[arch-commits] Commit in gnome-shell/repos (10 files)
Jan de Groot
jgc at archlinux.org
Tue Mar 22 20:19:16 UTC 2016
Date: Tuesday, March 22, 2016 @ 21:19:16
Author: jgc
Revision: 262415
archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64
Added:
gnome-shell/repos/gnome-unstable-i686/
gnome-shell/repos/gnome-unstable-i686/PKGBUILD
(from rev 262414, gnome-shell/trunk/PKGBUILD)
gnome-shell/repos/gnome-unstable-i686/gnome-shell.install
(from rev 262414, gnome-shell/trunk/gnome-shell.install)
gnome-shell/repos/gnome-unstable-i686/libsecret-crash.patch
(from rev 262414, gnome-shell/trunk/libsecret-crash.patch)
gnome-shell/repos/gnome-unstable-i686/nm-libexecdir.patch
(from rev 262414, gnome-shell/trunk/nm-libexecdir.patch)
gnome-shell/repos/gnome-unstable-x86_64/
gnome-shell/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 262414, gnome-shell/trunk/PKGBUILD)
gnome-shell/repos/gnome-unstable-x86_64/gnome-shell.install
(from rev 262414, gnome-shell/trunk/gnome-shell.install)
gnome-shell/repos/gnome-unstable-x86_64/libsecret-crash.patch
(from rev 262414, gnome-shell/trunk/libsecret-crash.patch)
gnome-shell/repos/gnome-unstable-x86_64/nm-libexecdir.patch
(from rev 262414, gnome-shell/trunk/nm-libexecdir.patch)
---------------------------------------------+
gnome-unstable-i686/PKGBUILD | 52 ++++++++++++++++++++++++++
gnome-unstable-i686/gnome-shell.install | 19 +++++++++
gnome-unstable-i686/libsecret-crash.patch | 32 ++++++++++++++++
gnome-unstable-i686/nm-libexecdir.patch | 12 ++++++
gnome-unstable-x86_64/PKGBUILD | 52 ++++++++++++++++++++++++++
gnome-unstable-x86_64/gnome-shell.install | 19 +++++++++
gnome-unstable-x86_64/libsecret-crash.patch | 32 ++++++++++++++++
gnome-unstable-x86_64/nm-libexecdir.patch | 12 ++++++
8 files changed, 230 insertions(+)
Copied: gnome-shell/repos/gnome-unstable-i686/PKGBUILD (from rev 262414, gnome-shell/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD (rev 0)
+++ gnome-unstable-i686/PKGBUILD 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Flamelab <panosfilip at gmail.com
+
+pkgname=gnome-shell
+pkgver=3.20.0
+pkgrel=1
+pkgdesc="The next generation GNOME Shell"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Projects/GnomeShell"
+license=(GPL2)
+depends=(accountsservice caribou gcr gjs gnome-bluetooth gnome-menus upower
+ gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
+ libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
+ telepathy-logger telepathy-mission-control unzip gstreamer)
+makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python gobject-introspection)
+optdepends=('gnome-control-center: System settings'
+ 'evolution-data-server: Evolution calendar integration')
+install=gnome-shell.install
+groups=(gnome)
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+ nm-libexecdir.patch)
+sha256sums=('ee69f461dd3d03caf788dfc64241275868ec0bcd1ef814f3cd2803c25796b888'
+ 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # FS#30747 FS#32730 Problems due to libexecdir different from NM
+ patch -Np1 -i ../nm-libexecdir.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gnome-shell \
+ --localstatedir=/var --disable-static \
+ --disable-schemas-compile
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # Must exist; FS#37412
+ mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
+}
Copied: gnome-shell/repos/gnome-unstable-i686/gnome-shell.install (from rev 262414, gnome-shell/trunk/gnome-shell.install)
===================================================================
--- gnome-unstable-i686/gnome-shell.install (rev 0)
+++ gnome-unstable-i686/gnome-shell.install 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,19 @@
+pkgname=gnome-shell
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: gnome-shell/repos/gnome-unstable-i686/libsecret-crash.patch (from rev 262414, gnome-shell/trunk/libsecret-crash.patch)
===================================================================
--- gnome-unstable-i686/libsecret-crash.patch (rev 0)
+++ gnome-unstable-i686/libsecret-crash.patch 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,32 @@
+From 021cecbce289f1d9c68a156d5b8dd204a73bc715 Mon Sep 17 00:00:00 2001
+From: Christophe Fergeau <cfergeau at redhat.com>
+Date: Sun, 20 Dec 2015 20:51:52 +0100
+Subject: NetworkAgent: Fix double-unref in get_secrets_keyring_cb()
+
+In get_secrets_keyring_cb, we own a ref on the 'attributes' hash table
+from secret_item_get_attributes), and a ref on the 'secret' object (from
+secret_item_get_secret(), but in the SHELL_KEYRING_SK_TAG case, we unref
+these once before breaking out of the loop, and the second time after
+breaking out of the loop.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=759708
+---
+ src/shell-network-agent.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
+index 5d99167..da0f7e5 100644
+--- a/src/shell-network-agent.c
++++ b/src/shell-network-agent.c
+@@ -314,8 +314,6 @@ get_secrets_keyring_cb (GObject *source,
+
+ secrets_found = TRUE;
+
+- g_hash_table_unref (attributes);
+- secret_value_unref (secret);
+ break;
+ }
+ }
+--
+cgit v0.11.2
+
Copied: gnome-shell/repos/gnome-unstable-i686/nm-libexecdir.patch (from rev 262414, gnome-shell/trunk/nm-libexecdir.patch)
===================================================================
--- gnome-unstable-i686/nm-libexecdir.patch (rev 0)
+++ gnome-unstable-i686/nm-libexecdir.patch 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,12 @@
+diff -u -Nr gnome-shell-3.6.3.1/js/ui/components/networkAgent.js gnome-shell-3.6.3.1-nmlibexecdir/js/ui/components/networkAgent.js
+--- gnome-shell-3.6.3.1/js/ui/components/networkAgent.js 2013-02-20 20:31:03.000000000 +0100
++++ gnome-shell-3.6.3.1-nmlibexecdir/js/ui/components/networkAgent.js 2013-03-10 17:13:46.120907065 +0100
+@@ -686,7 +686,7 @@
+ } catch(e) { } // ignore errors if key does not exist
+ let path = binary;
+ if (!GLib.path_is_absolute(path)) {
+- path = GLib.build_filenamev([Config.LIBEXECDIR, path]);
++ path = GLib.build_filenamev(["/usr/lib/networkmanager", path]);
+ }
+
+ if (GLib.file_test(path, GLib.FileTest.IS_EXECUTABLE))
Copied: gnome-shell/repos/gnome-unstable-x86_64/PKGBUILD (from rev 262414, gnome-shell/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Flamelab <panosfilip at gmail.com
+
+pkgname=gnome-shell
+pkgver=3.20.0
+pkgrel=1
+pkgdesc="The next generation GNOME Shell"
+arch=(i686 x86_64)
+url="https://wiki.gnome.org/Projects/GnomeShell"
+license=(GPL2)
+depends=(accountsservice caribou gcr gjs gnome-bluetooth gnome-menus upower
+ gnome-session gnome-settings-daemon gnome-themes-standard gsettings-desktop-schemas
+ libcanberra-pulse libcroco libgdm libsecret mutter nm-connection-editor
+ telepathy-logger telepathy-mission-control unzip gstreamer)
+makedepends=(intltool gtk-doc gnome-control-center evolution-data-server python gobject-introspection)
+optdepends=('gnome-control-center: System settings'
+ 'evolution-data-server: Evolution calendar integration')
+install=gnome-shell.install
+groups=(gnome)
+source=(https://download.gnome.org/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz
+ nm-libexecdir.patch)
+sha256sums=('ee69f461dd3d03caf788dfc64241275868ec0bcd1ef814f3cd2803c25796b888'
+ 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # FS#30747 FS#32730 Problems due to libexecdir different from NM
+ patch -Np1 -i ../nm-libexecdir.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/gnome-shell \
+ --localstatedir=/var --disable-static \
+ --disable-schemas-compile
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # Must exist; FS#37412
+ mkdir -p "$pkgdir/usr/share/gnome-shell/modes"
+}
Copied: gnome-shell/repos/gnome-unstable-x86_64/gnome-shell.install (from rev 262414, gnome-shell/trunk/gnome-shell.install)
===================================================================
--- gnome-unstable-x86_64/gnome-shell.install (rev 0)
+++ gnome-unstable-x86_64/gnome-shell.install 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,19 @@
+pkgname=gnome-shell
+
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+pre_upgrade() {
+ if [ -f /usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: gnome-shell/repos/gnome-unstable-x86_64/libsecret-crash.patch (from rev 262414, gnome-shell/trunk/libsecret-crash.patch)
===================================================================
--- gnome-unstable-x86_64/libsecret-crash.patch (rev 0)
+++ gnome-unstable-x86_64/libsecret-crash.patch 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,32 @@
+From 021cecbce289f1d9c68a156d5b8dd204a73bc715 Mon Sep 17 00:00:00 2001
+From: Christophe Fergeau <cfergeau at redhat.com>
+Date: Sun, 20 Dec 2015 20:51:52 +0100
+Subject: NetworkAgent: Fix double-unref in get_secrets_keyring_cb()
+
+In get_secrets_keyring_cb, we own a ref on the 'attributes' hash table
+from secret_item_get_attributes), and a ref on the 'secret' object (from
+secret_item_get_secret(), but in the SHELL_KEYRING_SK_TAG case, we unref
+these once before breaking out of the loop, and the second time after
+breaking out of the loop.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=759708
+---
+ src/shell-network-agent.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/shell-network-agent.c b/src/shell-network-agent.c
+index 5d99167..da0f7e5 100644
+--- a/src/shell-network-agent.c
++++ b/src/shell-network-agent.c
+@@ -314,8 +314,6 @@ get_secrets_keyring_cb (GObject *source,
+
+ secrets_found = TRUE;
+
+- g_hash_table_unref (attributes);
+- secret_value_unref (secret);
+ break;
+ }
+ }
+--
+cgit v0.11.2
+
Copied: gnome-shell/repos/gnome-unstable-x86_64/nm-libexecdir.patch (from rev 262414, gnome-shell/trunk/nm-libexecdir.patch)
===================================================================
--- gnome-unstable-x86_64/nm-libexecdir.patch (rev 0)
+++ gnome-unstable-x86_64/nm-libexecdir.patch 2016-03-22 20:19:16 UTC (rev 262415)
@@ -0,0 +1,12 @@
+diff -u -Nr gnome-shell-3.6.3.1/js/ui/components/networkAgent.js gnome-shell-3.6.3.1-nmlibexecdir/js/ui/components/networkAgent.js
+--- gnome-shell-3.6.3.1/js/ui/components/networkAgent.js 2013-02-20 20:31:03.000000000 +0100
++++ gnome-shell-3.6.3.1-nmlibexecdir/js/ui/components/networkAgent.js 2013-03-10 17:13:46.120907065 +0100
+@@ -686,7 +686,7 @@
+ } catch(e) { } // ignore errors if key does not exist
+ let path = binary;
+ if (!GLib.path_is_absolute(path)) {
+- path = GLib.build_filenamev([Config.LIBEXECDIR, path]);
++ path = GLib.build_filenamev(["/usr/lib/networkmanager", path]);
+ }
+
+ if (GLib.file_test(path, GLib.FileTest.IS_EXECUTABLE))
More information about the arch-commits
mailing list