From e3156b007d2ae99c75489dc7518535140d7ab574 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Thu, 25 Apr 2002 18:23:11 +0000 Subject: [PATCH] fix to install gconf schemas 2002-04-25 Havoc Pennington * metacity.spec: fix to install gconf schemas --- ChangeLog | 4 ++++ metacity.spec | 17 ++++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6eb0f6f87..f506569d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-04-25 Havoc Pennington + + * metacity.spec: fix to install gconf schemas + 2002-04-25 jacob berkman * src/session.c (load_state): g_file_get_contents() takes a gsize diff --git a/metacity.spec b/metacity.spec index 721bf213b..09a86129d 100644 --- a/metacity.spec +++ b/metacity.spec @@ -1,7 +1,7 @@ Summary: Metacity window manager Name: metacity Version: 2.3.89 -Release: 1 +Release: 2 URL: http://people.redhat.com/~hp/metacity/ Source0: %{name}-%{version}.tar.gz License: GPL @@ -24,11 +24,22 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT + +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall +unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %clean rm -rf $RPM_BUILD_ROOT +%post + +export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` +SCHEMAS="metacity.schemas" +for S in $SCHEMAS; do + gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null +done + %files %defattr(-,root,root) %doc README AUTHORS COPYING NEWS HACKING theme-format.txt @@ -39,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/metacity %changelog +* Thu Apr 25 2002 Havoc Pennington +- rebuild in different environment +- add gconf schemas boilerplate + * Mon Apr 15 2002 Havoc Pennington - 2.3.89