summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2002-04-02 18:55:31 +0000
committerSeemant Kulleen <seemant@gentoo.org>2002-04-02 18:55:31 +0000
commit78079b7570eb6fc3db9e0647cd38d9cb798e1750 (patch)
treeefa2ec775dbf28c09995269d5bc8ee8f3affc7e8 /media-libs/gdk-pixbuf
parentnew version (snapshot) for KDE/QT 3 (diff)
downloadgentoo-2-78079b7570eb6fc3db9e0647cd38d9cb798e1750.tar.gz
gentoo-2-78079b7570eb6fc3db9e0647cd38d9cb798e1750.tar.bz2
gentoo-2-78079b7570eb6fc3db9e0647cd38d9cb798e1750.zip
Compilation allowed without display -- thanks to blocke and Mandrake
Diffstat (limited to 'media-libs/gdk-pixbuf')
-rw-r--r--media-libs/gdk-pixbuf/ChangeLog10
-rw-r--r--media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r71
-rw-r--r--media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild62
3 files changed, 72 insertions, 1 deletions
diff --git a/media-libs/gdk-pixbuf/ChangeLog b/media-libs/gdk-pixbuf/ChangeLog
index 016927d77c84..1df0ebac6efd 100644
--- a/media-libs/gdk-pixbuf/ChangeLog
+++ b/media-libs/gdk-pixbuf/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/gdk-pixbuf
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.4 2002/04/01 06:55:37 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/ChangeLog,v 1.5 2002/04/02 18:55:30 seemant Exp $
+
+*gdk-pixbuf-0.16.0-r7 (2 Apr 2002)
+
+ 2 Apr 2002; Seemant Kulleen <seemant@gentoo.org> gdk-pixbuf-0.16.0-r7.ebuild :
+
+ For the record: blocke is a sheer genius. His idea was to look at an RPM, so
+ I had a look at Mandrake's src.rpm, and lo! David BAUDENS
+ <baudens@mandrakesoft.com> had a fix for compiling without the display.
*gdk-pixbuf-0.16.0-r6 (31 Mar 2002)
diff --git a/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r7 b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r7
new file mode 100644
index 000000000000..a42280783e68
--- /dev/null
+++ b/media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r7
@@ -0,0 +1 @@
+MD5 941eb582ea273651945feb26299d8266 gdk-pixbuf-0.16.0.tar.gz 530090
diff --git a/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild
new file mode 100644
index 000000000000..32d584e4dbad
--- /dev/null
+++ b/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Achim Gottinger <achim@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild,v 1.1 2002/04/02 18:55:31 seemant Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="GNOME Image Library"
+SRC_URI="ftp://ftp.gnome.org/pub/GNOME/unstable/sources/${PN}/${P}.tar.gz"
+
+DEPEND=">=x11-libs/gtk+-1.2.10-r4
+ media-libs/libpng
+ media-libs/tiff
+ media-libs/jpeg
+ dev-libs/glib
+ sys-libs/zlib
+ >=gnome-base/gnome-libs-1.4.1.2-r1"
+# We need gnome-libs here, else gnome support do not get compiled into
+# gdk-pixbuf (the GnomeCanvasPixbuf library )
+
+src_unpack() {
+
+ unpack ${A}
+
+ cp ${S}/demo/Makefile.in ${S}/demo/Makefile.in.orig
+ sed -e 's:LDADD = :LDADD = $(LIBJPEG) $(LIBTIFF) $(LIBPNG) :' \
+ ${S}/demo/Makefile.in.orig > ${S}/demo/Makefile.in
+}
+
+src_compile() {
+
+ #update libtool, else we get the "relink bug"
+ libtoolize --copy --force
+ aclocal
+ autoconf
+ automake --add-missing
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc/X11/gdk-pixbuf || die
+
+ # Mandrake's hack to allow compiling without the X display
+ XDISPLAY=$(i=0; while [ -f /tmp/.X${i}-lock ] ; do i=$((${i}+1));done; echo ${i})
+ /usr/X11R6/bin/Xvfb :${XDISPLAY} >& /dev/null &
+ DISPLAY=:${XDISPLAY} emake || die
+
+ kill $(cat /tmp/.X${XDISPLAY}-lock)
+
+}
+
+src_install() {
+
+ make prefix=${D}/usr \
+ sysconfdir=${D}/etc/X11/gdk-pixbuf \
+ install || die
+
+ #fix permissions on the loaders
+ chmod a+rx ${D}/usr/lib/gdk-pixbuf/loaders
+ chmod a+r ${D}/usr/lib/gdk-pixbuf/loaders/*
+
+ dodoc AUTHORS COPYING* ChangeLog INSTALL README NEWS TODO
+}
+