View | Details | Raw Unified | Return to bug 222909
Collapse All | Expand All

(-)Makefile (-3 / +5 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	xfce4-weather-plugin
4
PORTNAME=	xfce4-weather-plugin
5
PORTVERSION=	0.8.9
5
PORTVERSION=	0.8.9
6
PORTREVISION=	1
6
CATEGORIES=	misc xfce geography
7
CATEGORIES=	misc xfce geography
7
MASTER_SITES=	XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
8
MASTER_SITES=	XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
8
DIST_SUBDIR=	xfce4
9
DIST_SUBDIR=	xfce4
Lines 17-28 Link Here
17
	libfontconfig.so:x11-fonts/fontconfig \
18
	libfontconfig.so:x11-fonts/fontconfig \
18
	libfreetype.so:print/freetype2
19
	libfreetype.so:print/freetype2
19
20
21
USES=		gettext gmake libtool pkgconfig xfce tar:bzip2
20
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
23
USE_GNOME=	glib20 gtk20 intltool intlhack libxml2 cairo
24
USE_XFCE=	panel
21
INSTALLS_ICONS=	yes
25
INSTALLS_ICONS=	yes
26
USE_LDCONFIG=	yes
22
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
23
USES=		gettext gmake libtool pkgconfig xfce tar:bzip2
24
USE_GNOME=	glib20 gtk20 intltool intlhack libxml2 cairo
25
USE_XFCE=	panel
26
28
27
OPTIONS_DEFINE=	UPOWER
29
OPTIONS_DEFINE=	UPOWER
28
UPOWER_DESC=	Power management tasks
30
UPOWER_DESC=	Power management tasks
(-)files/patch-panel-plugin_weather.c (+14 lines)
Line 0 Link Here
1
--- panel-plugin/weather.c.orig	2017-02-16 18:59:12 UTC
2
+++ panel-plugin/weather.c
3
@@ -1849,6 +1849,8 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
4
 
5
     /* Setup session for HTTP connections */
6
     data->session = soup_session_async_new();
7
+    g_object_set(data->session, SOUP_SESSION_USER_AGENT,
8
+                 PACKAGE_NAME "-" PACKAGE_VERSION, NULL);
9
     g_object_set(data->session, SOUP_SESSION_TIMEOUT,
10
                  CONN_TIMEOUT, NULL);
11
 
12
yes
13
native
14
text/plain

Return to bug 222909