[141775] users/devans/GNOME-3/stable/dports/gnome/gnome-weather

devans at macports.org devans at macports.org
Sat Dec 12 02:57:24 PST 2015


Revision: 141775
          https://trac.macports.org/changeset/141775
Author:   devans at macports.org
Date:     2015-10-27 23:20:05 -0700 (Tue, 27 Oct 2015)
Log Message:
-----------
GNOME-3/stable: gnome-weather, don't try to print corrupt GeoClue2 service error message, fixes runtime error on failed GeoClue2 connection attempt, increment revision.

Modified Paths:
--------------
    users/devans/GNOME-3/stable/dports/gnome/gnome-weather/Portfile

Added Paths:
-----------
    users/devans/GNOME-3/stable/dports/gnome/gnome-weather/files/patch-src-app-currentLocationController.js.diff

Modified: users/devans/GNOME-3/stable/dports/gnome/gnome-weather/Portfile
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-weather/Portfile	2015-10-28 06:14:59 UTC (rev 141774)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-weather/Portfile	2015-10-28 06:20:05 UTC (rev 141775)
@@ -6,7 +6,7 @@
 
 name                gnome-weather
 version             3.18.1
-revision            1
+revision            2
 license             GPL-2+
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         A small application that allows you to monitor the current weather \
@@ -43,6 +43,8 @@
 
 gobject_introspection yes
 
+patchfiles          patch-src-app-currentLocationController.js.diff
+
 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
 
 post-patch {

Added: users/devans/GNOME-3/stable/dports/gnome/gnome-weather/files/patch-src-app-currentLocationController.js.diff
===================================================================
--- users/devans/GNOME-3/stable/dports/gnome/gnome-weather/files/patch-src-app-currentLocationController.js.diff	                        (rev 0)
+++ users/devans/GNOME-3/stable/dports/gnome/gnome-weather/files/patch-src-app-currentLocationController.js.diff	2015-10-28 06:20:05 UTC (rev 141775)
@@ -0,0 +1,11 @@
+--- src/app/currentLocationController.js.orig	2015-10-27 22:55:05.000000000 -0700
++++ src/app/currentLocationController.js	2015-10-27 22:55:46.000000000 -0700
+@@ -99,7 +99,7 @@
+     },
+ 
+     _geoLocationFailed: function(e) {
+-        log ("Failed to connect to GeoClue2 service: " + e.message);
++        log ("Failed to connect to GeoClue2 service");
+         this.autoLocation = AutoLocation.NOT_AVAILABLE;
+         GLib.idle_add(GLib.PRIORITY_DEFAULT, Lang.bind(this, function() {
+             this._world.currentLocationChanged(null);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/ab0c9c8a/attachment.html>


More information about the macports-changes mailing list