diff --git a/srcpkgs/GConf/patches/gconf-reload.patch b/srcpkgs/GConf/patches/gconf-reload.patch new file mode 100644 index 00000000000..9cccb7fbc7c --- /dev/null +++ b/srcpkgs/GConf/patches/gconf-reload.patch @@ -0,0 +1,20 @@ +--- gconf/gconftool.c.orig 2006-10-14 17:37:14.000000000 +0000 ++++ gconf/gconftool.c 2006-10-14 17:39:27.000000000 +0000 +@@ -963,6 +963,8 @@ main (int argc, char** argv) + + gconf_engine_unref (conf); + ++ g_spawn_command_line_sync ("/usr/bin/killall -q -TERM " GCONF_SERVERDIR "/" GCONFD, NULL, NULL, NULL, NULL); ++ + return retval; + } + +@@ -975,6 +977,8 @@ main (int argc, char** argv) + + gconf_engine_unref (conf); + ++ g_spawn_command_line_sync ("/usr/bin/killall -q -TERM " GCONF_SERVERDIR "/" GCONFD, NULL, NULL, NULL, NULL); ++ + return retval; + } + diff --git a/srcpkgs/GConf/template b/srcpkgs/GConf/template index 87ee739e0f9..457d2694792 100644 --- a/srcpkgs/GConf/template +++ b/srcpkgs/GConf/template @@ -1,22 +1,20 @@ # Template file for 'GConf' pkgname=GConf -version=2.28.0 +version=2.28.1 distfiles="${GNOME_SITE}/GConf/2.28/GConf-$version.tar.bz2" build_style=gnu_configure configure_args="--without-openldap --enable-gtk" short_desc="A process-transparent configuration system" maintainer="Juan RP " -checksum=d057dcfe2bfb2a80e592349c2a78d7dce12d19542aeced466c64fb701c806ac8 +checksum=53c477f9086057b0c84816a1c979e01537b862fbcacb6af4b62f8cffec4b3000 long_desc=" GConf is a process-transparent configuration database API used to store user preferences. It has pluggable backends and features to support workgroup administration." -conf_files=" -/etc/dbus-1/system.d/org.gnome.GConf.Defaults.conf -/etc/gconf/2/path" - +conf_files="/etc/gconf/2/path" subpackages="$pkgname-devel" + Add_dependency run glibc Add_dependency run glib Add_dependency run dbus-libs @@ -44,3 +42,15 @@ Add_dependency build dbus-glib-devel Add_dependency build ORBit2-devel Add_dependency build polkit-devel Add_dependency build libxml2-devel + +post_install() +{ + # Create GCONF_SCHEMAS_DIR + install -d ${DESTDIR}/usr/share/gconf/schemas + touch -f ${DESTDIR}/usr/share/gconf/schemas/.empty_on_purpose + # Create required sysconfdir dirs. + for d in defaults mandatory system; do + install -d ${DESTDIR}/etc/gconf/gconf.xml.${d} + touch -f ${DESTDIR}/etc/gconf/gconf.xml.${d}/.empty_on_purpose + done +}