summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-04-28 23:47:56 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-04-28 23:47:56 +0000
commitfab3251ffce19da83c7d0e4c116ccc5cf4ab2b9b (patch)
treef21d382407239d8ebde050727ca1ef89be26d830 /media-gfx/gimp-print
parentReopening bug report (diff)
downloadgentoo-2-fab3251ffce19da83c7d0e4c116ccc5cf4ab2b9b.tar.gz
gentoo-2-fab3251ffce19da83c7d0e4c116ccc5cf4ab2b9b.tar.bz2
gentoo-2-fab3251ffce19da83c7d0e4c116ccc5cf4ab2b9b.zip
new version
Diffstat (limited to 'media-gfx/gimp-print')
-rw-r--r--media-gfx/gimp-print/ChangeLog4
-rw-r--r--media-gfx/gimp-print/files/digest-gimp-print-4.2.11
-rw-r--r--media-gfx/gimp-print/gimp-print-4.2.1.ebuild77
3 files changed, 81 insertions, 1 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog
index 58f607b1e9af..e0495f577227 100644
--- a/media-gfx/gimp-print/ChangeLog
+++ b/media-gfx/gimp-print/ChangeLog
@@ -1,6 +1,8 @@
# ChangeLog for media-gfx/gimp-print
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.2 2002/04/02 08:17:58 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.3 2002/04/28 23:47:28 azarah Exp $
+
+*gimp-print-4.2.1 (29 Apr 2002)
*gimp-print-4.1.99_beta4-r1 (2 Apr 2002)
diff --git a/media-gfx/gimp-print/files/digest-gimp-print-4.2.1 b/media-gfx/gimp-print/files/digest-gimp-print-4.2.1
new file mode 100644
index 000000000000..f649ccd7fe60
--- /dev/null
+++ b/media-gfx/gimp-print/files/digest-gimp-print-4.2.1
@@ -0,0 +1 @@
+MD5 62f59f0bf0b4d2843cc9953f3b4f894f gimp-print-4.2.1.tar.gz 4691313
diff --git a/media-gfx/gimp-print/gimp-print-4.2.1.ebuild b/media-gfx/gimp-print/gimp-print-4.2.1.ebuild
new file mode 100644
index 000000000000..fb831c69eb32
--- /dev/null
+++ b/media-gfx/gimp-print/gimp-print-4.2.1.ebuild
@@ -0,0 +1,77 @@
+# 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-gfx/gimp-print/gimp-print-4.2.1.ebuild,v 1.1 2002/04/28 23:47:28 azarah Exp $
+
+MY_P="${PN}-`echo ${PV} |sed -e 's:_:-:' -e 's:eta::'`"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Gimp Plugin and Ghostscript driver for Gimp"
+SRC_URI="http://prdownloads.sourceforge.net/gimp-print/${MY_P}.tar.gz"
+HOMEPAGE="http://gimp-print.sourceforge.net/"
+
+DEPEND=">=media-gfx/gimp-1.2.1
+ doc? ( app-text/texi2html )
+ gtk? ( ~x11-libs/gtk+-1.2.10 )
+ cups? ( net-print/cups )"
+
+RDEPEND="virtual/glibc"
+
+
+src_compile() {
+
+ local myconf
+
+ use cups \
+ && myconf="${myconf} --with-cups" \
+ || myconf="${myconf} --without-cups"
+
+ use nls || myconf="${myconf} --disable-nls"
+
+ libtoolize --copy --force
+ aclocal
+
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc/gimp/1.2/ \
+ --with-gimp-exec-prefix=/usr \
+ ${myconf} || die
+
+ cp src/gimp/Makefile src/gimp/Makefile.orig
+ sed -e 's:--install-admin-bin:--install-bin:g' \
+ src/gimp/Makefile.orig >src/gimp/Makefile
+
+ emake || die
+}
+
+src_install() {
+
+ dodir /usr/lib/gimp/1.2/.gimp-1.2/plug-ins
+
+ make prefix=${D}/usr \
+ bindir=${D}/usr/bin \
+ mandir=${D}/usr/share/man \
+ infodir=${D}/usr/share/info \
+ sysconfdir=${D}/etc/gimp/1.2 \
+ libdir=${D}/usr/lib \
+ datadir=${D}/usr/share \
+ cups_conf_serverbin=${D}/usr/lib/cups \
+ cups_conf_datadir=${D}/usr/share/cups \
+ cups_conf_serverroot=${D}/etc/cups \
+ HOME=${D}/usr/lib/gimp/1.2 \
+ install || die
+
+ # NOTE: this build use gimptool to install the plugin, so
+ # if we dont do it this way, it will install to / no
+ # matter what.
+ #
+ # NOTE to whoever commented this: Please DO NOT!
+ mv ${D}/usr/lib/gimp/1.2/.gimp-1.2/plug-ins/ \
+ ${D}/usr/lib/gimp/1.2/
+ rm -rf ${D}/usr/lib/gimp/1.2/.gimp-1.2/
+
+ dodoc AUTHORS ChangeLog COPYING NEWS README*
+ dohtml -r doc
+}
+