bugfix revision bump
authorMarinus Schraal <foser@gentoo.org>
Fri, 11 Oct 2002 12:16:13 +0000 (12:16 +0000)
committerMarinus Schraal <foser@gentoo.org>
Fri, 11 Oct 2002 12:16:13 +0000 (12:16 +0000)
app-office/gaby/ChangeLog
app-office/gaby/files/digest-gaby-2.0.2-r2 [new file with mode: 0644]
app-office/gaby/gaby-2.0.2-r2.ebuild [new file with mode: 0644]

index b99a7aed21d1857a6e7232a671a51c8c430f51fb..efd637f2e1ae7bed0824a35b6a470b51feaf068b 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for app-office/gaby
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-office/gaby/ChangeLog,v 1.2 2002/07/25 19:29:33 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/gaby/ChangeLog,v 1.3 2002/10/11 12:16:13 foser Exp $
+
+*gaby-2.0.2-r2 (11 Oct 2002)
+
+  11 Oct 2002; foser <foser@gentoo.org> gaby-2.0.2-r1.ebuild :
+  Fixed a lot of sandbox violations and added a patch to 
+  compensate for Makefile shortcomings.
 
 *gaby-2.0.2-r1 (1 Feb 2002)
 
diff --git a/app-office/gaby/files/digest-gaby-2.0.2-r2 b/app-office/gaby/files/digest-gaby-2.0.2-r2
new file mode 100644 (file)
index 0000000..730ab25
--- /dev/null
@@ -0,0 +1 @@
+MD5 1203f7a548e46bc0bf5987fb2e1508ee gaby-2.0.2.tar.gz 1097783
diff --git a/app-office/gaby/gaby-2.0.2-r2.ebuild b/app-office/gaby/gaby-2.0.2-r2.ebuild
new file mode 100644 (file)
index 0000000..727a037
--- /dev/null
@@ -0,0 +1,92 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/gaby/gaby-2.0.2-r2.ebuild,v 1.1 2002/10/11 12:16:13 foser Exp $
+
+IUSE="nls esd gnome"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A small personal databases manager for Linux"
+SRC_URI="http://gaby.sourceforge.net/archives/${P}.tar.gz"
+HOMEPAGE="http://gaby.sourceforge.net"
+KEYWORDS="x86"
+SLOT="0"
+LICENSE="GPL-2"
+
+DEPEND="=x11-libs/gtk+-1.2*
+       virtual/python
+       >=media-libs/gdk-pixbuf-0.11.0-r1
+       dev-libs/libxml
+       <dev-python/gnome-python-1.99
+       =gnome-base/libglade-0.17*
+       gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )
+       esd? ( >=media-sound/esound-0.2.8 )
+       nls? ( sys-devel/gettext )"
+
+src_unpack() {
+       unpack ${A}
+       #patches a few makefile bugs
+       #some necessary, others not because multimedia is disabled
+       patch -p0 < ${FILESDIR}/gaby-2.0.2-makefile.patch
+}
+
+src_compile() {
+
+       local myopts
+
+       if [ "`use gnome`" ]
+       then
+               myopts="--enable-gnome"
+       else
+               myopts="--disable-gnome"
+       fi
+
+       if [ -z "`use nls`" ]
+       then
+               myopts="${myopts} --disable-nls"
+       fi
+
+       cp ${FILESDIR}/Makefile.in intl/Makefile.in
+
+       cp configure configure.orig
+       sed -e "7293 c\ if test -f /usr/include/pygtk/pygtk.h; then" \
+       < configure.orig > configure
+
+       #disable multimedia for now, saves me a lot of patching
+       ./configure     \
+               --host=${CHOST} \
+               ${myopts}       \
+               --disable-multimedia \
+               --prefix=/usr   \
+               --datadir=/usr/share || die
+
+       cd src
+       cp Makefile Makefile.orig
+       sed -e "s:install-exec-local::" \
+               -e "s:^\::gentoo change\::" Makefile.orig > Makefile
+
+       #Fix localization files sandbox issue
+       cd ${S}/po
+       cp Makefile Makefile.orig
+       sed -e "s:prefix = /usr:prefix = \${DESTDIR}/usr:" Makefile.orig > Makefile
+       
+       emake || die
+}
+
+src_install () {
+
+       make DESTDIR=${D} install || die
+
+       dosym gaby ${prefix}/bin/gbc
+       dosym gaby ${prefix}/bin/gcd
+       dosym gaby ${prefix}/bin/videobase
+       dosym gaby ${prefix}/bin/gnomecard
+       dosym gaby ${prefix}/bin/appindex
+
+       dodoc ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS
+       dodoc README TODO TODO.more
+
+       insinto ${prefix}/share/pixmaps
+       insopt -m 0644
+       doins gnome-gaby-builder.png gnome-gaby.png
+       
+}