- Update xfce4-weather-plugin to 1.10.2
- Remove patches present in upstream code
This commit is contained in:
parent
231326d80e
commit
7914030697
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=554826
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= xfce4-weather-plugin
|
||||
PORTVERSION= 0.10.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.10.2
|
||||
CATEGORIES= misc xfce geography
|
||||
MASTER_SITES= XFCE/panel-plugins
|
||||
DIST_SUBDIR= xfce4
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1582560801
|
||||
SHA256 (xfce4/xfce4-weather-plugin-0.10.1.tar.bz2) = afb2af5f3effc2ea6181636ed0e82e6dafd556ec1b8478100802f85a5d167a89
|
||||
SIZE (xfce4/xfce4-weather-plugin-0.10.1.tar.bz2) = 3026945
|
||||
TIMESTAMP = 1604957727
|
||||
SHA256 (xfce4/xfce4-weather-plugin-0.10.2.tar.bz2) = 9017790b92953090c849b17b357b42fa8c562bf0e25af2fd2e5f53cfebc662c6
|
||||
SIZE (xfce4/xfce4-weather-plugin-0.10.2.tar.bz2) = 3049859
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- panel-plugin/weather.c.orig 2020-02-23 00:39:53 UTC
|
||||
+++ panel-plugin/weather.c
|
||||
@@ -656,7 +656,7 @@ update_handler(plugin_data *data)
|
||||
/* build url */
|
||||
url = g_strdup_printf("https://api.met.no"
|
||||
"/weatherapi/locationforecast/%s/"
|
||||
- "?lat=%s&lon=%s&msl=%d",
|
||||
+ "classic?lat=%s&lon=%s&altitude=%d",
|
||||
api_version,
|
||||
data->lat, data->lon, data->msl);
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- panel-plugin/weather.h.orig 2020-02-23 00:39:53 UTC
|
||||
+++ panel-plugin/weather.h
|
||||
@@ -31,7 +31,7 @@
|
||||
#define MAX_FORECAST_DAYS 10
|
||||
#define DEFAULT_FORECAST_DAYS 5
|
||||
#define MAX_SCROLLBOX_LINES 10
|
||||
-#define FORECAST_API "1.9"
|
||||
+#define FORECAST_API "2.0"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
@ -12,6 +12,7 @@ lib/xfce4/panel/plugins/libweather.so
|
||||
%%NLS%%share/locale/en_AU/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/en_GB/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/et/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/eu/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/fi/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
@ -19,6 +20,7 @@ lib/xfce4/panel/plugins/libweather.so
|
||||
%%NLS%%share/locale/he/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/hr/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/hu/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/hye/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/id/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/is/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
%%NLS%%share/locale/it/LC_MESSAGES/xfce4-weather-plugin.mo
|
||||
|
Loading…
Reference in New Issue
Block a user