Weather apps

If there's software you need and you can't find, make a request for it.
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Weather apps

Post by Tim CowChip »

I managed to build adesklets-o.6.1-x86_64-1.txz
gkrellweather-2.0.8-x86_64-1.txz
gkrellsun-1.0.0-x86_64-1.txz
wmSun-1.10-x86_64-1_SBo.tgz
and
wmfrog-0.3.1-x86_64-1.txz
with SRC2PKG.
Grabweather needs to be copied from /tmp/gkrellweather-2.0.8-src-1 to /usr/bin for gkrellweather to access weathar data.

I'd like to be able to build adesklets weather, but I get an error message

Code: Select all

Checking for GNUmakefile rule: 'install' None found
Notice - No install rule in GNUmakefile. Falling back to DEFAULT install.
FAILED!
I tried

Code: Select all

src2pkg -i='make install install-data'  weather-0.0.5.tar.bz2
but it also failed.
I saw what looks like adesklets weather, though it might be gdesklets weather in a screenshot by lapjrns in the "Artwork" section of this forum. I was wondering anyone has built either adesklets or gdesklets weather apps. If not I would like to request either or both of these.
I know there are weather plasmoids in KDE and xfce4-weather-plugin for the XFCE panel, but it would be nice to see weather forecast eye candy on a lowres window manager .
Has anyone been able to make conkyforecast template look right? I get a garbled mess of fonts displayed when using it.
ImageImage
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Weather apps

Post by Shador »

Did you use the conkyforecast package from the Salix binary repository? If you get a garbled mess of fonts displayed, that might be due to missing special fonts needed by conkyforecast. But that problem doesn't exist with my packages.

I'm using the following template:

Code: Select all

${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF]${font}
[--location=GMXX0087 --datatype=HT --hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=4 --hideunits --centeredwidth=3]

${color C5D6E7} [--location=GMXX0087 --datatype=DW --startday=1 --shortweekday]
${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF --startday=1 --spaces=1]${font}
[--location=GMXX0087 --datatype=HT --startday=1 --hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=1 --hideunits --centeredwidth=3]

 [--location=GMXX0087 --datatype=DW --startday=2 --shortweekday]
${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF --startday=2 --spaces=1]${font}
[--location=GMXX0087 --datatype=HT --startday=2 --hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=2 --hideunits --centeredwidth=3]

 [--location=GMXX0087 --datatype=DW --startday=3 --shortweekday]
${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF --startday=3 --spaces=1]${font}
[--location=GMXX0087 --datatype=HT --startday=3 --hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=3 --hideunits --centeredwidth=3]

 [--location=GMXX0087 --datatype=DW --startday=4 --shortweekday]
${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF --startday=4 --spaces=1]${font}
[--location=GMXX0087 --datatype=HT --startday=4 --hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=4 --hideunits --centeredwidth=3]

 [--location=GMXX0087 --datatype=DW --startday=5 --shortweekday]
${font ConkyWeather:size=30}[--location=GMXX0087 --datatype=WF --startday=5 --spaces=1]${font}
[--location=GMXX0087 --datatype=HT --startday=45--hideunits --centeredwidth=3]/[--location=GMXX0087 --datatype=LT --startday=5 --hideunits --centeredwidth=3]
and this conky config:

Code: Select all

own_window             yes
own_window_type        normal
own_window_transparent yes
own_window_hints       undecorated,below,sticky,skip_taskbar,skip_pager


background yes
use_xft yes
xftfont Terminus:size=12
#xftalpha 0.8
update_interval 60
double_buffer yes
own_window yes
own_window_type desktop
default_color white
default_shade_color black
default_outline_color black
draw_shades no
draw_outline yes
override_utf8_locale yes
alignment tr
gap_x 10
gap_y 125
maximum_width 50
use_spacer no
text_buffer_size 1024
if_up_strictness address
update_interval 60

TEXT
${execp conkyForecast -t $HOME/.conky/conkyForecast.template}
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: Weather apps

Post by Tim CowChip »

  • '/usr/share/fonts/TTF/conkyforecast/ConkyWeather.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWind.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWindN.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWindNESW.ttf'
These are the fonts that were installed from the salix repo. I changed the *.otf to *.ttf because I read somewhere that it would help.
ImageImage
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Weather apps

Post by Shador »

Tim CowChip wrote:
  • '/usr/share/fonts/TTF/conkyforecast/ConkyWeather.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWind.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWindN.ttf'
    '/usr/share/fonts/TTF/conkyforecast/ConkyWindNESW.ttf'
These are the fonts that were installed from the salix repo. I changed the *.otf to *.ttf because I read somewhere that it would help.
You can't just change the ending of a file. That won't convert the data stored in that file. So change it back to what it was.
Are you sure those are all fonts in that directory? Because the package management says here those files were installed:

Code: Select all

usr/share/fonts/TTF/conkyforecast/Arrows.sfd.tar.gz
usr/share/fonts/TTF/conkyforecast/Arrows.ttf
usr/share/fonts/TTF/conkyforecast/ConkyWeather.otf
usr/share/fonts/TTF/conkyforecast/ConkyWind.otf
usr/share/fonts/TTF/conkyforecast/ConkyWind.sfd.tar.gz
usr/share/fonts/TTF/conkyforecast/ConkyWindN.otf
usr/share/fonts/TTF/conkyforecast/ConkyWindNESW.otf
usr/share/fonts/TTF/conkyforecast/Moon Phases.ttf
usr/share/fonts/TTF/conkyforecast/StyleBats.ttf
Also try reinstalling the conkyforecast package and then run this:

Code: Select all

( cd /; /var/log/scripts/conkyforecast-2.09-x86_64-1ab )
In any case did you try the configs I posted?
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: Weather apps

Post by Tim CowChip »

The fonts that I originally listed were left behind when I removed ConkyForecast, probably because I had renamed them.
I re-installed ConkyForecast then ran the script

Code: Select all

doinst() {
	# Update mkfontscale and mkfontdir:
	if [ -x usr/bin/mkfontdir ]; then
		( cd usr/share/fonts/TTF/
		mkfontscale .
		mkfontdir .
		)
	fi

	# Update the X font indexes:
	if [ -x usr/bin/fc-cache ]; then
		usr/bin/fc-cache -f 1>/dev/null 2>&1
	fi
}
doinst
It didn't help. I also tried your template and config which yeilded a smaller, yet still garbled display.
I'll post screenshots, if it helps.
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: Weather apps

Post by Tim CowChip »

Here's the screenshot of your template

Image

Here's the screenshot of the default template and standard output.
Image
ImageImage
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: Weather apps

Post by Tim CowChip »

conkyforecast-2.20-x86_64-1.txz
Image

Sure wish someone would make a desklets package.
ImageImage
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Weather apps

Post by laprjns »

Here's a SLKBUILD to build adesklets: ftp://laprjns.com/in/adesklets/
Just download all three files ( SLKBUILD, adesklet source and the patch files) to the same directory and run

Code: Select all

fakeroot slkbuild -X
I didn't have to to fire up my 64 bit machine to build the x64 package but the slkbuild did successfully build the 32 bit package. Also didn't have time to actually install and run the package because you need to download applets and get them configured correctly.
You should also know that the project has been discontinued by the developer.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: Weather apps

Post by Shador »

Ok, this still doesn't explain why it's not working here with 2.09 for you, because it always did here seamlessly. The reason why I didn't anymore update the package is because I wasn't anymore able to locate any new releases. Just a development repository on launchpad.
But after some more searching around right now and confirming that the launchpad web ui sucks, I was able to acquire a link to a recent release. I'm sparing the details, because they would turn anybody's guts inside out. ;)
Finally I can update the package. It would be great if you could test that build too. :)
Image
User avatar
Tim CowChip
Posts: 304
Joined: 27. May 2011, 03:35
Location: Cascade Locks, OR

Re: Weather apps

Post by Tim CowChip »

I be happy to test your new build, Shador.
The 2.20 version installs these configs and scripts:
  • '/usr/share/conkyforecast/example/conkyForecast.fontbased.conkyrc' '/usr/share/conkyforecast/example/conkyForecast.fontbased.sh' '/usr/share/conkyforecast/example/conkyForecast.fontbasedtemplate.conkyrc' '/usr/share/conkyforecast/example/conkyForecast.fontbasedtemplate.sh' '/usr/share/conkyforecast/example/conkyForecast.fontbasedtemplate.template' '/usr/share/conkyforecast/example/conkyForecast.imagebasedtemplate.conkyrc' '/usr/share/conkyforecast/example/conkyForecast.imagebasedtemplate.sh' '/usr/share/conkyforecast/example/conkyForecast.imagebasedtemplate.template'
I used the "fontbased" for my screenshot. The other configs don't work. The display that they yield looks pretty much like the garbled template and standard output screenshot in my other post.
Last edited by Tim CowChip on 22. Sep 2011, 16:49, edited 1 time in total.
ImageImage
Post Reply