Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Oct 2017 07:21:42 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451735 - in head/misc/xfce4-weather-plugin: . files
Message-ID:  <201710110721.v9B7LgTY039924@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Wed Oct 11 07:21:42 2017
New Revision: 451735
URL: https://svnweb.freebsd.org/changeset/ports/451735

Log:
  Import xfce4-weather-plugin upstream patch required to make location
  search work after external site added additional requirement.
  
  PR:		222909
  Submitted by:	Olivier Duchateau <duchateau.olivier@gmail.com>
  Obtained from:	https://git.xfce.org/panel-plugins/xfce4-weather-plugin/commit/?id=7c976663e8790e5b06ca31a4a3165b11aeb89f11
  MFH:		2017Q4

Added:
  head/misc/xfce4-weather-plugin/files/
  head/misc/xfce4-weather-plugin/files/patch-panel-plugin_weather.c   (contents, props changed)
Modified:
  head/misc/xfce4-weather-plugin/Makefile

Modified: head/misc/xfce4-weather-plugin/Makefile
==============================================================================
--- head/misc/xfce4-weather-plugin/Makefile	Wed Oct 11 07:17:14 2017	(r451734)
+++ head/misc/xfce4-weather-plugin/Makefile	Wed Oct 11 07:21:42 2017	(r451735)
@@ -3,6 +3,7 @@
 
 PORTNAME=	xfce4-weather-plugin
 PORTVERSION=	0.8.9
+PORTREVISION=	1
 CATEGORIES=	misc xfce geography
 MASTER_SITES=	XFCE/src/panel-plugins/${PORTNAME}/${PORTVERSION:R}
 DIST_SUBDIR=	xfce4
@@ -17,12 +18,13 @@ LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup \
 	libfontconfig.so:x11-fonts/fontconfig \
 	libfreetype.so:print/freetype2
 
-GNU_CONFIGURE=	yes
-INSTALLS_ICONS=	yes
-INSTALL_TARGET=	install-strip
 USES=		gettext gmake libtool pkgconfig xfce tar:bzip2
+GNU_CONFIGURE=	yes
 USE_GNOME=	glib20 gtk20 intltool intlhack libxml2 cairo
 USE_XFCE=	panel
+INSTALLS_ICONS=	yes
+USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	UPOWER
 UPOWER_DESC=	Power management tasks

Added: head/misc/xfce4-weather-plugin/files/patch-panel-plugin_weather.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/xfce4-weather-plugin/files/patch-panel-plugin_weather.c	Wed Oct 11 07:21:42 2017	(r451735)
@@ -0,0 +1,11 @@
+--- panel-plugin/weather.c.orig	2017-02-16 18:59:12 UTC
++++ panel-plugin/weather.c
+@@ -1849,6 +1849,8 @@ xfceweather_create_control(XfcePanelPlugin *plugin)
+ 
+     /* Setup session for HTTP connections */
+     data->session = soup_session_async_new();
++    g_object_set(data->session, SOUP_SESSION_USER_AGENT,
++                 PACKAGE_NAME "-" PACKAGE_VERSION, NULL);
+     g_object_set(data->session, SOUP_SESSION_TIMEOUT,
+                  CONN_TIMEOUT, NULL);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710110721.v9B7LgTY039924>