GConf: update to 2.28.1.

--HG--
extra : convert_revision : 145f8741e24430be4996d97be6031438f5e8db71
This commit is contained in:
Juan RP 2010-04-11 12:51:56 +02:00
parent 3ef6148916
commit 840f9b76ed
2 changed files with 36 additions and 6 deletions

View file

@ -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;
}

View file

@ -1,22 +1,20 @@
# Template file for 'GConf' # Template file for 'GConf'
pkgname=GConf pkgname=GConf
version=2.28.0 version=2.28.1
distfiles="${GNOME_SITE}/GConf/2.28/GConf-$version.tar.bz2" distfiles="${GNOME_SITE}/GConf/2.28/GConf-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--without-openldap --enable-gtk" configure_args="--without-openldap --enable-gtk"
short_desc="A process-transparent configuration system" short_desc="A process-transparent configuration system"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d057dcfe2bfb2a80e592349c2a78d7dce12d19542aeced466c64fb701c806ac8 checksum=53c477f9086057b0c84816a1c979e01537b862fbcacb6af4b62f8cffec4b3000
long_desc=" long_desc="
GConf is a process-transparent configuration database API used to GConf is a process-transparent configuration database API used to
store user preferences. It has pluggable backends and features to store user preferences. It has pluggable backends and features to
support workgroup administration." support workgroup administration."
conf_files=" conf_files="/etc/gconf/2/path"
/etc/dbus-1/system.d/org.gnome.GConf.Defaults.conf
/etc/gconf/2/path"
subpackages="$pkgname-devel" subpackages="$pkgname-devel"
Add_dependency run glibc Add_dependency run glibc
Add_dependency run glib Add_dependency run glib
Add_dependency run dbus-libs Add_dependency run dbus-libs
@ -44,3 +42,15 @@ Add_dependency build dbus-glib-devel
Add_dependency build ORBit2-devel Add_dependency build ORBit2-devel
Add_dependency build polkit-devel Add_dependency build polkit-devel
Add_dependency build libxml2-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
}