summaryrefslogtreecommitdiffstats
path: root/gconf/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gconf/Pkgfile')
-rw-r--r--gconf/Pkgfile38
1 files changed, 27 insertions, 11 deletions
diff --git a/gconf/Pkgfile b/gconf/Pkgfile
index cb0d75ada..aca537240 100644
--- a/gconf/Pkgfile
+++ b/gconf/Pkgfile
@@ -2,24 +2,40 @@
# URL: http://www.gnome.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: orbit2, polkit, dbus-glib, gtk, libldap
-# Run on: orbit2,polkit,dbus-glib,gtk,libldap
+# Depends on: gtk3, orbit2, polkit, dbus-glib, gtk, libldap, libxml2
+# Run on: gtk3,orbit2,polkit,dbus-glib,gtk,libldap,libxml2
name=gconf
-version=2.32.4
+version=3.2.3
release=1
-source=(http://ftp.gnome.org/pub/gnome/sources/GConf/${version%.*}/GConf-$version.tar.bz2)
+source=(http://ftp.gnome.org/pub/gnome/sources/GConf/${version%.*}/GConf-$version.tar.xz
+ gconf-merge-schema
+ gconfpkg
+ gconf-reload.patch
+ 01_xml-gettext-domain.patch)
build() {
cd GConf-$version
+
+ # Patch de Fedora - Recharge GConf après l'installation de schemas
+ patch -Np1 -i ../gconf-reload.patch
+ # http://bugzilla.gnome.org/show_bug.cgi?id=568845
+ patch -Np1 -i ../01_xml-gettext-domain.patch
+ sed -i '1s|#!/usr/bin/env python$|&2|' gsettings/gsettings-schema-convert
+
./configure --prefix=/usr \
- --sysconfdir=/etc \
- --disable-static \
- --enable-defaults-service \
- --libexecdir=/usr/lib/GConf \
- --mandir=/usr/share/man
- make
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-defaults-service \
+ --libexecdir=/usr/lib/GConf \
+ --mandir=/usr/share/man \
+ --with-gtk=3.0
+
+ make pkglibdir=/usr/lib/GConf
make DESTDIR=$PKG install
rm -r $PKG/usr/share/gtk-doc
- install -v -m755 -d $PKG/etc/gconf/gconf.xml.system
+
+ install -m755 -d $PKG/etc/gconf/gconf.xml.system
+ install -m755 ../gconf-merge-schema $PKG/usr/bin/
+ install -Dm755 ../gconfpkg $PKG/usr/sbin/gconfpkg
}