Commit 65b8c833 authored by Luca Giambonini's avatar Luca Giambonini

imported gconf from gtk

parent a9baa9d0
......@@ -359,4 +359,4 @@ diff -up GConf-2.26.0/gconf/GConfX.idl.gettext GConf-2.26.0/gconf/GConfX.idl
+ string gettext_domain;
// Work around lack of recursive data types
string encoded_default_value;
};
};
\ No newline at end of file
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=gconf
pkgver=3.2.5
pkgrel=2
pkgver=3.2.6
pkgrel=5
pkgdesc="A configuration database system"
arch=('x86_64')
license=('LGPL')
depends=('orbit2' 'gtk2' 'libxml2' 'polkit' 'libldap' 'dbus-glib')
makedepends=('pkgconfig' 'intltool' 'gobject-introspection')
options=('!libtool')
depends=('libxml2' 'polkit' 'libldap' 'dbus-glib')
makedepends=('intltool' 'gobject-introspection')
install=gconf.install
url="http://www.gnome.org"
source=("http://ftp.gnome.org/pub/gnome/sources/GConf/3.2/GConf-${pkgver}.tar.xz"
'gconf-merge-schema'
'gconfpkg'
'gconf-reload.patch'
'01_xml-gettext-domain.patch')
md5sums=('1b803eb4f8576c572d072692cf40c9d8'
'240b473fa17b748fc9020caf372d936c'
'b745f04b4121d8724c002b14a4c110b6'
'cfcc8e15be7b8a48de4aa34336ff6090'
'1f9362976d71312bdb57c57fa031681d')
source=(http://ftp.gnome.org/pub/gnome/sources/GConf/3.2/GConf-$pkgver.tar.xz
gconf-merge-schema
gconfpkg
gconf-reload.patch
01_xml-gettext-domain.patch)
sha256sums=('1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c'
'ee6b6e6f4975dad13a8c45f1c1f0547a99373bdecdcd6604bfc12965c328a028'
'bf1928718caa5df2b9e54a13cfd0f15a8fe0e09e86b84385ce023616a114e898'
'567b78d8b4b4bbcb77c5f134d57bc503c34867fcc6341c0b01716bcaa4a21694'
'0cafdc069cb1c1f6645d37c6d8af4b08ad1712c2a7524b3806e999a6c2a19cbc')
prepare() {
cd "GConf-$pkgver"
build() {
cd "${srcdir}/GConf-${pkgver}"
# Patch from fedora - reloads gconf after installing schemas
patch -p1 -i "${srcdir}/gconf-reload.patch"
patch -Np1 -i "$srcdir/gconf-reload.patch"
# http://bugzilla.gnome.org/show_bug.cgi?id=568845
patch -p1 -i "${srcdir}/01_xml-gettext-domain.patch"
patch -Np1 -i "$srcdir/01_xml-gettext-domain.patch"
# Python2 fix
sed -i '1s|#!/usr/bin/env python$|&2|' gsettings/gsettings-schema-convert
}
build() {
cd "GConf-$pkgver"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --libexecdir=/usr/lib/GConf \
--disable-static --enable-defaults-service
--disable-static --enable-defaults-service \
--disable-orbit
make pkglibdir=/usr/lib/GConf
}
package() {
cd "${srcdir}/GConf-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "GConf-$pkgver"
make DESTDIR="$pkgdir" install
install -m755 -d "${pkgdir}/etc/gconf/gconf.xml.system"
install -m755 "${srcdir}/gconf-merge-schema" "${pkgdir}/usr/bin/"
install -Dm755 "${srcdir}/gconfpkg" "${pkgdir}/usr/sbin/gconfpkg"
install -m755 -d "$pkgdir/etc/gconf/gconf.xml.system"
install -m755 "$srcdir/gconf-merge-schema" "$pkgdir/usr/bin/"
install -m755 "$srcdir/gconfpkg" "$pkgdir/usr/bin/gconfpkg"
}
File mode changed from 100755 to 100644
......@@ -8,8 +8,10 @@ post_upgrade() {
ldconfig -r .
chmod 755 etc/gconf/gconf.xml.system
usr/bin/gio-querymodules usr/lib/gio/modules
pkill /usr/lib/GConf/gconfd-2 || return 0
}
post_remove() {
usr/bin/gio-querymodules usr/lib/gio/modules
}
\ No newline at end of file
}
File mode changed from 100755 to 100644
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment