an update for a build problem (libtool related) that appeared on fresh systems
authorD.M.D. Ljungmark <spider@gentoo.org>
Thu, 24 Oct 2002 19:37:52 +0000 (19:37 +0000)
committerD.M.D. Ljungmark <spider@gentoo.org>
Thu, 24 Oct 2002 19:37:52 +0000 (19:37 +0000)
gnome-base/gconf/ChangeLog
gnome-base/gconf/files/digest-gconf-1.0.8-r4 [new file with mode: 0644]
gnome-base/gconf/gconf-1.0.8-r4.ebuild [new file with mode: 0644]

index 98465ad9ce02c3fbc0508b34850e2d2499cbf536..32da74a9ac6a37adf90ec82315783246ba8e368f 100644 (file)
@@ -1,7 +1,15 @@
 # ChangeLog for gnome-base/gconf
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.21 2002/08/06 04:42:12 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/ChangeLog,v 1.22 2002/10/24 19:37:51 spider Exp $
 
+
+*gconf-1.0.8-r4 (24 Oct 2002)
+  24 Oct 2002; Spider <spider@gentoo.org>  gconf-1.0.8-r4.ebuild : I made some 
+  Changes to the ebuild, libtool and others. the previous version broke during
+  galeon install on some clean 1.4 systems, where this version works. test on
+  other systems but it should be ok.
+  
+  
 *gconf-1.2.0-r5 (05 Aug 2002)
   05 Aug 2002; Leonardo Boshell <leonardop@gentoo.org> gconf-1.2.0-r5.ebuild:
   Fix sandbox violations affecting the installation under certain
diff --git a/gnome-base/gconf/files/digest-gconf-1.0.8-r4 b/gnome-base/gconf/files/digest-gconf-1.0.8-r4
new file mode 100644 (file)
index 0000000..94b9f10
--- /dev/null
@@ -0,0 +1 @@
+MD5 b0d662f3fa1dbab01796efe695577c74 GConf-1.0.8.tar.gz 1240140
diff --git a/gnome-base/gconf/gconf-1.0.8-r4.ebuild b/gnome-base/gconf/gconf-1.0.8-r4.ebuild
new file mode 100644 (file)
index 0000000..6c85e72
--- /dev/null
@@ -0,0 +1,72 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gconf/gconf-1.0.8-r4.ebuild,v 1.1 2002/10/24 19:37:52 spider Exp $
+
+IUSE="nls"
+
+S=${WORKDIR}/GConf-${PV}
+DESCRIPTION="Gconf"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/GConf/GConf-${PV}.tar.gz"
+HOMEPAGE="http://www.gnome.org/"
+
+SLOT="1"
+LICENSE="LGPL-2.1"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+inherit libtool
+
+
+RDEPEND=">=sys-libs/db-3.2.3h 
+       nls? ( sys-devel/gettext )"
+
+DEPEND="${RDEPEND} 
+       >=dev-util/guile-1.4
+       dev-util/indent
+       =dev-libs/glib-1.2*
+       dev-libs/libxml
+       dev-libs/popt
+       gnome-base/oaf
+       gnome-base/ORBit"
+
+src_compile() {
+       local myconf
+       
+       elibtoolize 
+       
+       use nls \
+               || myconf="--disable-nls"       \
+               && mkdir intl                   \
+               && touch intl/libgettext.h
+
+       ./configure --host=${CHOST}     \
+                   --prefix=/usr \
+                   --sysconfdir=/etc \
+                   --localstatedir=/var/lib \
+                   ${myconf} || die
+
+       make || die   # Doesn't work with -j 4 (hallski)
+}
+
+src_install() {
+       make prefix=${D}/usr \
+            sysconfdir=${D}/etc \
+            localstatedir=${D}/var/lib \
+            install || die
+       # gconf 1.0.8 seems to gets the perms wrong on this dir.
+       chmod 0755 ${D}/etc/gconf/gconf.xml.mandatory
+       # this fix closes bug #803
+       dodoc AUTHORS COPYING ChangeLog NEWS README* TODO
+}
+
+pkg_postinst() {
+       # this is to fix installations where the following dir
+       # has already been merged with incorrect permissions.
+       # We can remove this fix after gconf 1.0.8 is an ancient
+       # version.
+       if [ ! -e ${ROOT}/etc/gconf/gconf.xml.mandatory ]
+       then
+               #unmerge of older revisions nuke this one
+               mkdir -p ${ROOT}/etc/gconf/gconf.xml.mandatory
+       fi
+       chmod 0755 ${ROOT}/etc/gconf/gconf.xml.mandatory
+}