Package: gkrellweather
Version: 2.0.8-2.1
Severity: normal

Dear Maintainer,

when I start gkrellm from a terminal, enable the gkrellweather plugin
and set the station ID to EDVE (Braunschweig, Germany), it seems that
gkrellweather cannot fetch data. It repeatedly prints

  sh: 1: /usr/local/share/gkrellm/GrabWeather: not found

every few minutes or so, and temperature stays at -99°C.

I can edit ~/.gkrellm2/user-config and set the command to
/usr/share/gkrellm/GrabWeather manually, but it would be better to have
a sane default. Apparently, gkrellweather.c lines 724 and 989 say:

  snprintf(options.command, 512, PREFIX "/share/gkrellm/GrabWeather %s", 
options.station);

and PREFIX is hardcoded in Makefile as /usr/local, so I suggest to add
the attached patch ot change PREFIX to /usr.

Cheers,
 - Roland

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gkrellweather depends on:
ii  gkrellm       2.3.10-1
ii  libc6         2.27-3
ii  libglib2.0-0  2.56.0-6
ii  libgtk2.0-0   2.24.32-1
ii  libwww-perl   6.33-1
ii  perl          5.26.1-5
ii  wget          1.19.4-1

gkrellweather recommends no packages.

gkrellweather suggests no packages.

-- no debconf information

Reply via email to