From 5060cac4ab81a2d1f5edc22aa5ebfe4ba37db8d2 Mon Sep 17 00:00:00 2001 From: piernov Date: Wed, 22 Feb 2012 17:22:19 +0100 Subject: gconf dans extra --- gconf/Pkgfile | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) (limited to 'gconf/Pkgfile') 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 } -- cgit v1.2.3-54-g00ecf