diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-04-02 18:55:31 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-04-02 18:55:31 +0000 |
commit | 250e627d2b05ac7eee3a9099dba53e695353184b (patch) | |
tree | d14d07de349be52c073873a20c6a03d8cab65cac /media-libs/gdk-pixbuf | |
parent | new version (snapshot) for KDE/QT 3 (diff) | |
download | historical-250e627d2b05ac7eee3a9099dba53e695353184b.tar.gz historical-250e627d2b05ac7eee3a9099dba53e695353184b.tar.bz2 historical-250e627d2b05ac7eee3a9099dba53e695353184b.zip |
Compilation allowed without display -- thanks to blocke and Mandrake
Diffstat (limited to 'media-libs/gdk-pixbuf')
-rw-r--r-- | media-libs/gdk-pixbuf/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/files/digest-gdk-pixbuf-0.16.0-r7 | 1 | ||||
-rw-r--r-- | media-libs/gdk-pixbuf/gdk-pixbuf-0.16.0-r7.ebuild | 62 |
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 +} + |