Date: Wednesday, April 10, 2013 @ 21:12:06 Author: heftig Revision: 182477
db-move: moved gconf-editor from [staging] to [testing] (i686, x86_64) Added: gconf-editor/repos/testing-i686/ gconf-editor/repos/testing-i686/PKGBUILD (from rev 182430, gconf-editor/repos/staging-i686/PKGBUILD) gconf-editor/repos/testing-i686/fix-assertion-failed-crash.patch (from rev 182430, gconf-editor/repos/staging-i686/fix-assertion-failed-crash.patch) gconf-editor/repos/testing-i686/gconf-editor.install (from rev 182430, gconf-editor/repos/staging-i686/gconf-editor.install) gconf-editor/repos/testing-x86_64/ gconf-editor/repos/testing-x86_64/PKGBUILD (from rev 182430, gconf-editor/repos/staging-x86_64/PKGBUILD) gconf-editor/repos/testing-x86_64/fix-assertion-failed-crash.patch (from rev 182430, gconf-editor/repos/staging-x86_64/fix-assertion-failed-crash.patch) gconf-editor/repos/testing-x86_64/gconf-editor.install (from rev 182430, gconf-editor/repos/staging-x86_64/gconf-editor.install) Deleted: gconf-editor/repos/staging-i686/ gconf-editor/repos/staging-x86_64/ -------------------------------------------------+ testing-i686/PKGBUILD | 35 ++++++++++++++++++++++ testing-i686/fix-assertion-failed-crash.patch | 34 +++++++++++++++++++++ testing-i686/gconf-editor.install | 22 +++++++++++++ testing-x86_64/PKGBUILD | 35 ++++++++++++++++++++++ testing-x86_64/fix-assertion-failed-crash.patch | 34 +++++++++++++++++++++ testing-x86_64/gconf-editor.install | 22 +++++++++++++ 6 files changed, 182 insertions(+) Copied: gconf-editor/repos/testing-i686/PKGBUILD (from rev 182430, gconf-editor/repos/staging-i686/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2013-04-10 19:12:06 UTC (rev 182477) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@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/testing-i686/fix-assertion-failed-crash.patch (from rev 182430, gconf-editor/repos/staging-i686/fix-assertion-failed-crash.patch) =================================================================== --- testing-i686/fix-assertion-failed-crash.patch (rev 0) +++ testing-i686/fix-assertion-failed-crash.patch 2013-04-10 19:12:06 UTC (rev 182477) @@ -0,0 +1,34 @@ +From 25d823099337f7ede4782f46fea46f251646dc3e Mon Sep 17 00:00:00 2001 +From: Edward Sheldrake <ejsheldr...@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/testing-i686/gconf-editor.install (from rev 182430, gconf-editor/repos/staging-i686/gconf-editor.install) =================================================================== --- testing-i686/gconf-editor.install (rev 0) +++ testing-i686/gconf-editor.install 2013-04-10 19:12:06 UTC (rev 182477) @@ -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/testing-x86_64/PKGBUILD (from rev 182430, gconf-editor/repos/staging-x86_64/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2013-04-10 19:12:06 UTC (rev 182477) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@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/testing-x86_64/fix-assertion-failed-crash.patch (from rev 182430, gconf-editor/repos/staging-x86_64/fix-assertion-failed-crash.patch) =================================================================== --- testing-x86_64/fix-assertion-failed-crash.patch (rev 0) +++ testing-x86_64/fix-assertion-failed-crash.patch 2013-04-10 19:12:06 UTC (rev 182477) @@ -0,0 +1,34 @@ +From 25d823099337f7ede4782f46fea46f251646dc3e Mon Sep 17 00:00:00 2001 +From: Edward Sheldrake <ejsheldr...@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/testing-x86_64/gconf-editor.install (from rev 182430, gconf-editor/repos/staging-x86_64/gconf-editor.install) =================================================================== --- testing-x86_64/gconf-editor.install (rev 0) +++ testing-x86_64/gconf-editor.install 2013-04-10 19:12:06 UTC (rev 182477) @@ -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 +}