Package: xfce4-weather-plugin / 0.8.3-2

Metadata

Package Version Patches format
xfce4-weather-plugin 0.8.3-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_link libm.patch | (download)

configure.ac | 6 3 + 3 - 0 !
panel-plugin/Makefile.am | 4 2 + 2 - 0 !
2 files changed, 5 insertions(+), 5 deletions(-)

 link to libmath and clean up ac_check_headers.

(Patch slightly altered to patch configure.ac instead of configure.ac.in, not
present in release tarballs)

02_fix color parsing.patch | (download)

panel-plugin/weather.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix color parsing when reading config file.

This turned out to be a stupid copy & paste mistake.

03_fix panel icon size.patch | (download)

panel-plugin/weather.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fix panel icon size.

Since the toggle button has been added, or maybe even before that,
the icon is cut off at the borders. Fix this by subtracting two pixels
from the icon size.

git_support locationforecast 1.2.patch | (download)

panel-plugin/weather-parsers.c | 3 2 + 1 - 0 !
panel-plugin/weather-translate.c | 70 69 + 1 - 0 !
panel-plugin/weather-translate.h | 2 2 + 0 - 0 !
3 files changed, 73 insertions(+), 2 deletions(-)

 make plugin ready for met.no locationforecast-1.2 api (bug #10916).

http://api.yr.no/weatherapi/locationforecastlts/1.1/documentation#version_1_2___2014_05_20

The updated API version uses CamelCase symbol names instead of UPPERCASE
ones and has added some new names (like 'Drizzle'), which unfortunately
have not been documented (yet?).

What's more, the typo 'celcius' has been replaced by the fixed 'celsius',
but luckily the plugin will not be affected by that change.

What's a bit more unfortunate is that the existing icon themes do not
cover the new symbol names, so one would have to create quite a lot of
new icons. Also, new translations would have to be added for the symbols,
and maybe existing ones would have to be altered. To prevent this, we're
simply going to map the new symbols to existing ones as good as possible.
This should be good enough for the time being.


git_use locationforecast 1.2.patch | (download)

panel-plugin/weather.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 switch to met.no locationforecastlts-1.2 api (bug #10916).