[arch-commits] Commit in gnome-shell/trunk (PKGBUILD hack-detached.diff)
Date: Wednesday, April 3, 2019 @ 18:39:14 Author: heftig Revision: 349811 3.32.0+46+gfea019277-1 Modified: gnome-shell/trunk/PKGBUILD Deleted: gnome-shell/trunk/hack-detached.diff + PKGBUILD | 13 - hack-detached.diff | 17 - 2 files changed, 4 insertions(+), 26 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-04-03 18:14:10 UTC (rev 349810) +++ PKGBUILD2019-04-03 18:39:14 UTC (rev 349811) @@ -3,7 +3,7 @@ # Contributor: Flamelab https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit; -"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git; -hack-detached.diff) +"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git;) sha256sums=('SKIP' -'SKIP' -'939e81f682ebafd60e86d444e49dbab277fba0f00420466b5ff783568b7dc931') +'SKIP') pkgver() { cd $pkgname @@ -34,9 +32,6 @@ prepare() { cd $pkgname - # Hack around broken detached locations - patch -Np1 -i ../hack-detached.diff - git submodule init git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control" git submodule update Deleted: hack-detached.diff === --- hack-detached.diff 2019-04-03 18:14:10 UTC (rev 349810) +++ hack-detached.diff 2019-04-03 18:39:14 UTC (rev 349811) @@ -1,17 +0,0 @@ -diff --git i/js/misc/weather.js w/js/misc/weather.js -index aaec36cf4..3b09c28c1 100644 i/js/misc/weather.js -+++ w/js/misc/weather.js -@@ -183,10 +183,8 @@ var WeatherClient = class { - - _onGClueLocationChanged() { - let geoLocation = this._gclueService.location; --let location = GWeather.Location.new_detached(geoLocation.description, -- null, -- geoLocation.latitude, -- geoLocation.longitude); -+let location = this._world.find_nearest_city(geoLocation.latitude, -+ geoLocation.longitude); - this._setLocation(location); - } -
[arch-commits] Commit in gnome-shell/trunk (PKGBUILD hack-detached.diff)
Date: Sunday, March 17, 2019 @ 02:43:12 Author: heftig Revision: 348538 3.32.0+16+g1341d5557-1 Added: gnome-shell/trunk/hack-detached.diff Modified: gnome-shell/trunk/PKGBUILD + PKGBUILD | 17 + hack-detached.diff | 17 + 2 files changed, 30 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-03-17 02:00:18 UTC (rev 348537) +++ PKGBUILD2019-03-17 02:43:12 UTC (rev 348538) @@ -3,7 +3,7 @@ # Contributor: Flamelab https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit; -"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git;) +"git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git; +hack-detached.diff) sha256sums=('SKIP' -'SKIP') +'SKIP' +'939e81f682ebafd60e86d444e49dbab277fba0f00420466b5ff783568b7dc931') pkgver() { cd $pkgname @@ -31,6 +33,13 @@ prepare() { cd $pkgname + + # Unbreak switcher + git cherry-pick -n 00a4891fb93a3846c48bc6fc1167205e2afab67b + + # Hack around broken detached locations + patch -Np1 -i ../hack-detached.diff + git submodule init git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control" git submodule update Added: hack-detached.diff === --- hack-detached.diff (rev 0) +++ hack-detached.diff 2019-03-17 02:43:12 UTC (rev 348538) @@ -0,0 +1,17 @@ +diff --git i/js/misc/weather.js w/js/misc/weather.js +index aaec36cf4..3b09c28c1 100644 +--- i/js/misc/weather.js w/js/misc/weather.js +@@ -183,10 +183,8 @@ var WeatherClient = class { + + _onGClueLocationChanged() { + let geoLocation = this._gclueService.location; +-let location = GWeather.Location.new_detached(geoLocation.description, +- null, +- geoLocation.latitude, +- geoLocation.longitude); ++let location = this._world.find_nearest_city(geoLocation.latitude, ++ geoLocation.longitude); + this._setLocation(location); + } +