[arch-commits] Commit in gconf-editor/repos (8 files)

Jan de Groot jgc at nymeria.archlinux.org
Wed Apr 3 10:25:33 UTC 2013


    Date: Wednesday, April 3, 2013 @ 12:25:33
  Author: jgc
Revision: 181335

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  gconf-editor/repos/gnome-unstable-i686/
  gconf-editor/repos/gnome-unstable-i686/PKGBUILD
    (from rev 181334, gconf-editor/trunk/PKGBUILD)
  gconf-editor/repos/gnome-unstable-i686/fix-assertion-failed-crash.patch
    (from rev 181334, gconf-editor/trunk/fix-assertion-failed-crash.patch)
  gconf-editor/repos/gnome-unstable-i686/gconf-editor.install
    (from rev 181334, gconf-editor/trunk/gconf-editor.install)
  gconf-editor/repos/gnome-unstable-x86_64/
  gconf-editor/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 181334, gconf-editor/trunk/PKGBUILD)
  gconf-editor/repos/gnome-unstable-x86_64/fix-assertion-failed-crash.patch
    (from rev 181334, gconf-editor/trunk/fix-assertion-failed-crash.patch)
  gconf-editor/repos/gnome-unstable-x86_64/gconf-editor.install
    (from rev 181334, gconf-editor/trunk/gconf-editor.install)

--------------------------------------------------------+
 gnome-unstable-i686/PKGBUILD                           |   35 +++++++++++++++
 gnome-unstable-i686/fix-assertion-failed-crash.patch   |   34 ++++++++++++++
 gnome-unstable-i686/gconf-editor.install               |   22 +++++++++
 gnome-unstable-x86_64/PKGBUILD                         |   35 +++++++++++++++
 gnome-unstable-x86_64/fix-assertion-failed-crash.patch |   34 ++++++++++++++
 gnome-unstable-x86_64/gconf-editor.install             |   22 +++++++++
 6 files changed, 182 insertions(+)

Copied: gconf-editor/repos/gnome-unstable-i686/PKGBUILD (from rev 181334, gconf-editor/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gconf-editor
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Graphical gconf registry editor"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gconf' 'hicolor-icon-theme')
+makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
+url="http://www.gnome.org"
+options=(!emptydirs)
+install=gconf-editor.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-assertion-failed-crash.patch)
+sha256sums=('9afc4fc0d0afe019998736f06c04cbfa0393c813e2aa755133d95e83835f8869'
+            '6550714ee06d09632244d0f4f41402224599f5230ef71376ea34291ce0d651bc')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "${srcdir}/fix-assertion-failed-crash.patch"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+     --localstatedir=/var --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gconf-editor "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+}

Copied: gconf-editor/repos/gnome-unstable-i686/fix-assertion-failed-crash.patch (from rev 181334, gconf-editor/trunk/fix-assertion-failed-crash.patch)
===================================================================
--- gnome-unstable-i686/fix-assertion-failed-crash.patch	                        (rev 0)
+++ gnome-unstable-i686/fix-assertion-failed-crash.patch	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,34 @@
+From 25d823099337f7ede4782f46fea46f251646dc3e Mon Sep 17 00:00:00 2001
+From: Edward Sheldrake <ejsheldrake at gmail.com>
+Date: Wed, 11 Apr 2012 07:27:16 +0000
+Subject: Fix assertion failed crash
+
+Fix "assertion failed: (last_slash != NULL)" crash while navigating the
+left tree view, fixed by having the model for the right list view emit
+all the row deleted signals before deleting any of its data.
+
+Fixes https://bugzilla.gnome.org/show_bug.cgi?id=670586
+---
+diff --git a/src/gconf-list-model.c b/src/gconf-list-model.c
+index 27e1af6..4fc60f8 100644
+--- a/src/gconf-list-model.c
++++ b/src/gconf-list-model.c
+@@ -133,11 +133,14 @@ gconf_list_model_set_root_path (GConfListModel *model, const gchar *root_path)
+ 
+ 	if (model->root_path != NULL) {
+ 		for (list = model->values; list; list = list->next) {
++			model->stamp++;
++			gtk_tree_model_row_deleted (GTK_TREE_MODEL (model), path);
++		}
++
++		for (list = model->values; list; list = list->next) {
+ 			GConfEntry *entry = list->data;
+ 
+ 			g_hash_table_remove (model->key_hash, gconf_entry_get_key (entry));
+-			model->stamp++;
+-			gtk_tree_model_row_deleted (GTK_TREE_MODEL (model), path);
+ 
+ 			gconf_entry_unref (entry);
+ 		}
+--
+cgit v0.9.0.2

Copied: gconf-editor/repos/gnome-unstable-i686/gconf-editor.install (from rev 181334, gconf-editor/trunk/gconf-editor.install)
===================================================================
--- gnome-unstable-i686/gconf-editor.install	                        (rev 0)
+++ gnome-unstable-i686/gconf-editor.install	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,22 @@
+pkgname=gconf-editor
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}

Copied: gconf-editor/repos/gnome-unstable-x86_64/PKGBUILD (from rev 181334, gconf-editor/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gconf-editor
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="Graphical gconf registry editor"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('gconf' 'hicolor-icon-theme')
+makedepends=('pkgconfig' 'intltool' 'gnome-doc-utils')
+url="http://www.gnome.org"
+options=(!emptydirs)
+install=gconf-editor.install
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
+        fix-assertion-failed-crash.patch)
+sha256sums=('9afc4fc0d0afe019998736f06c04cbfa0393c813e2aa755133d95e83835f8869'
+            '6550714ee06d09632244d0f4f41402224599f5230ef71376ea34291ce0d651bc')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i "${srcdir}/fix-assertion-failed-crash.patch"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+     --localstatedir=/var --disable-scrollkeeper
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" install
+
+  install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+  gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain gconf-editor "$pkgdir"/etc/gconf/schemas/*.schemas
+  rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+}

Copied: gconf-editor/repos/gnome-unstable-x86_64/fix-assertion-failed-crash.patch (from rev 181334, gconf-editor/trunk/fix-assertion-failed-crash.patch)
===================================================================
--- gnome-unstable-x86_64/fix-assertion-failed-crash.patch	                        (rev 0)
+++ gnome-unstable-x86_64/fix-assertion-failed-crash.patch	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,34 @@
+From 25d823099337f7ede4782f46fea46f251646dc3e Mon Sep 17 00:00:00 2001
+From: Edward Sheldrake <ejsheldrake at gmail.com>
+Date: Wed, 11 Apr 2012 07:27:16 +0000
+Subject: Fix assertion failed crash
+
+Fix "assertion failed: (last_slash != NULL)" crash while navigating the
+left tree view, fixed by having the model for the right list view emit
+all the row deleted signals before deleting any of its data.
+
+Fixes https://bugzilla.gnome.org/show_bug.cgi?id=670586
+---
+diff --git a/src/gconf-list-model.c b/src/gconf-list-model.c
+index 27e1af6..4fc60f8 100644
+--- a/src/gconf-list-model.c
++++ b/src/gconf-list-model.c
+@@ -133,11 +133,14 @@ gconf_list_model_set_root_path (GConfListModel *model, const gchar *root_path)
+ 
+ 	if (model->root_path != NULL) {
+ 		for (list = model->values; list; list = list->next) {
++			model->stamp++;
++			gtk_tree_model_row_deleted (GTK_TREE_MODEL (model), path);
++		}
++
++		for (list = model->values; list; list = list->next) {
+ 			GConfEntry *entry = list->data;
+ 
+ 			g_hash_table_remove (model->key_hash, gconf_entry_get_key (entry));
+-			model->stamp++;
+-			gtk_tree_model_row_deleted (GTK_TREE_MODEL (model), path);
+ 
+ 			gconf_entry_unref (entry);
+ 		}
+--
+cgit v0.9.0.2

Copied: gconf-editor/repos/gnome-unstable-x86_64/gconf-editor.install (from rev 181334, gconf-editor/trunk/gconf-editor.install)
===================================================================
--- gnome-unstable-x86_64/gconf-editor.install	                        (rev 0)
+++ gnome-unstable-x86_64/gconf-editor.install	2013-04-03 10:25:33 UTC (rev 181335)
@@ -0,0 +1,22 @@
+pkgname=gconf-editor
+
+post_install() {
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  pre_remove $1
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}




More information about the arch-commits mailing list