[arch-commits] Commit in gnome-weather/trunk (PKGBUILD hack-detached.diff)

Jan Steffens heftig at archlinux.org
Fri Apr 5 19:25:01 UTC 2019


    Date: Friday, April 5, 2019 @ 19:25:01
  Author: heftig
Revision: 350149

3.32.1-1

Modified:
  gnome-weather/trunk/PKGBUILD
Deleted:
  gnome-weather/trunk/hack-detached.diff

--------------------+
 PKGBUILD           |   15 +++++----------
 hack-detached.diff |   17 -----------------
 2 files changed, 5 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-05 19:22:17 UTC (rev 350148)
+++ PKGBUILD	2019-04-05 19:25:01 UTC (rev 350149)
@@ -1,8 +1,8 @@
 # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=gnome-weather
-pkgver=3.32.0
-pkgrel=2
+pkgver=3.32.1
+pkgrel=1
 pkgdesc="Access current weather conditions and forecasts"
 url="https://wiki.gnome.org/Apps/Weather"
 arch=(any)
@@ -10,11 +10,9 @@
 depends=(gtk3 gjs libgweather geoclue2 gnome-desktop)
 makedepends=(gobject-introspection appstream-glib git meson)
 groups=(gnome)
-_commit=0ca6ff30ad42246ac62f42d86d978f029266f724  # tags/3.32.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gnome-weather.git#commit=$_commit"
-        hack-detached.diff)
-sha256sums=('SKIP'
-            '47bc9707d7e768aed06ce7feafd038c4d95a8c84fee58ec3bc38a35425eb27be')
+_commit=9a35adeea3b8a9a734ca873c95f1222b23772959  # tags/3.32.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-weather.git#commit=$_commit")
+sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
@@ -23,9 +21,6 @@
 
 prepare() {
   cd $pkgname
-
-  # Hack around broken detached locations
-  patch -Np1 -i ../hack-detached.diff
 }
 
 build() {

Deleted: hack-detached.diff
===================================================================
--- hack-detached.diff	2019-04-05 19:22:17 UTC (rev 350148)
+++ hack-detached.diff	2019-04-05 19:25:01 UTC (rev 350149)
@@ -1,17 +0,0 @@
-diff --git i/src/app/currentLocationController.js w/src/app/currentLocationController.js
-index 67538d2..4cad182 100644
---- i/src/app/currentLocationController.js
-+++ w/src/app/currentLocationController.js
-@@ -87,10 +87,8 @@ var CurrentLocationController = class CurrentLocationController {
-     _onLocationUpdated(simple) {
-         let geoclueLocation = simple.get_location();
- 
--        this.currentLocation = GWeather.Location.new_detached(geoclueLocation.description,
--                                                              null,
--                                                              geoclueLocation.latitude,
--                                                              geoclueLocation.longitude);
-+        this.currentLocation = this._world._world.find_nearest_city(geoclueLocation.latitude,
-+                                                                    geoclueLocation.longitude);
-         this._world.currentLocationChanged(this.currentLocation);
-     }
- 


More information about the arch-commits mailing list