summaryrefslogtreecommitdiff
path: root/testing/dconf
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
committerroot <root@rshg047.dnsready.net>2011-04-08 04:18:44 +0000
commit59075f0265483f32e9ac4c67ba9e69cb019ba044 (patch)
treed0384b724b17b888dcd1cf06dce9bc25655d1ba1 /testing/dconf
parent3b216f42d91b33161572550f4556a9ba93d1cecb (diff)
Fri Apr 8 04:18:44 UTC 2011
Diffstat (limited to 'testing/dconf')
-rw-r--r--testing/dconf/PKGBUILD33
-rw-r--r--testing/dconf/dconf.install11
-rw-r--r--testing/dconf/load-enum.patch22
3 files changed, 66 insertions, 0 deletions
diff --git a/testing/dconf/PKGBUILD b/testing/dconf/PKGBUILD
new file mode 100644
index 000000000..e650eba4c
--- /dev/null
+++ b/testing/dconf/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 118171 2011-04-05 17:33:39Z ibiru $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
+pkgname=dconf
+pkgver=0.7.3
+pkgrel=2
+pkgdesc="A low-level configuration system."
+arch=(i686 x86_64)
+url="http://live.gnome.org/dconf"
+license=('LGPL2.1')
+depends=('glib2')
+makedepends=('vala' 'gobject-introspection' 'gtk3')
+optdepends=('gtk3: for dconf-editor')
+install=dconf.install
+source=(http://download.gnome.org/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.bz2
+ load-enum.patch)
+sha256sums=('84efc95cb62b6637b2131e110ff447908be739c2185d69bebb300293b561dfd9'
+ '8ead56b2897b18c97b9b72b81bd6e9f9249e28743b05a2653bbf4e6af7d9f7cc')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ patch -Np1 -i "${srcdir}/load-enum.patch"
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/dconf
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/testing/dconf/dconf.install b/testing/dconf/dconf.install
new file mode 100644
index 000000000..5a87df82f
--- /dev/null
+++ b/testing/dconf/dconf.install
@@ -0,0 +1,11 @@
+post_install() {
+ usr/bin/gio-querymodules usr/lib/gio/modules
+}
+
+post_upgrade(){
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/testing/dconf/load-enum.patch b/testing/dconf/load-enum.patch
new file mode 100644
index 000000000..949de1e00
--- /dev/null
+++ b/testing/dconf/load-enum.patch
@@ -0,0 +1,22 @@
+From 0d00a6ad3385e08eff0c50efe970af8d5d63c536 Mon Sep 17 00:00:00 2001
+From: Robert Ancell <robert.ancell@canonical.com>
+Date: Tue, 29 Mar 2011 05:50:12 +0000
+Subject: editor: Load *.enums.xml as well as *.gschema.xml. This was stopping some enums from being loaded.
+
+Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=636880
+---
+diff --git a/editor/dconf-schema.vala b/editor/dconf-schema.vala
+index 2b34e28..c2654b5 100644
+--- a/editor/dconf-schema.vala
++++ b/editor/dconf-schema.vala
+@@ -371,7 +371,7 @@ public class SchemaList
+ while ((info = i.next_file (null)) != null) {
+ string name = info.get_name();
+
+- if (!name.has_suffix(".gschema.xml"))
++ if (!name.has_suffix(".gschema.xml") && !name.has_suffix(".enums.xml"))
+ continue;
+
+ string path = Path.build_filename(dir, name, null);
+--
+cgit v0.9