FreeBSD Bugzilla – Attachment 216045 Details for
Bug 247644
misc/xfce4-weather-plugin: Switch to the 2.0 API for locationforecast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Switch to the 2.0 API for locationforecast
xfce4-weather-plugin.diff (text/plain), 2.26 KB, created by
Olivier Duchateau
on 2020-06-29 19:03:57 UTC
(
hide
)
Description:
Switch to the 2.0 API for locationforecast
Filename:
MIME Type:
Creator:
Olivier Duchateau
Created:
2020-06-29 19:03:57 UTC
Size:
2.26 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (révision 540823) >+++ Makefile (copie de travail) >@@ -3,6 +3,7 @@ > > PORTNAME= xfce4-weather-plugin > PORTVERSION= 0.10.1 >+PORTREVISION= 1 > CATEGORIES= misc xfce geography > MASTER_SITES= XFCE/panel-plugins > DIST_SUBDIR= xfce4 >Index: files/patch-panel-plugin_weather.c >=================================================================== >--- files/patch-panel-plugin_weather.c (nonexistent) >+++ files/patch-panel-plugin_weather.c (copie de travail) >@@ -0,0 +1,11 @@ >+--- 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); >+ > >Property changes on: files/patch-panel-plugin_weather.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-panel-plugin_weather.h >=================================================================== >--- files/patch-panel-plugin_weather.h (nonexistent) >+++ files/patch-panel-plugin_weather.h (copie de travail) >@@ -0,0 +1,11 @@ >+--- 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 >+ > >Property changes on: files/patch-panel-plugin_weather.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247644
: 216045