revbump
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Oct 2005 15:41:36 +0000 (15:41 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 24 Oct 2005 15:41:36 +0000 (15:41 +0000)
Package-Manager: portage-2.0.53_rc6

media-gfx/graphviz/ChangeLog
media-gfx/graphviz/Manifest
media-gfx/graphviz/files/digest-graphviz-1.16-r1 [new file with mode: 0644]
media-gfx/graphviz/graphviz-1.16-r1.ebuild [new file with mode: 0644]

index a262600624044de8f4134c62fc3e5579ff225bd1..ed43731654ea977fae8084012e696fe40e9e8436 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/graphviz
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.62 2005/10/24 13:26:48 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.63 2005/10/24 15:41:36 lu_zero Exp $
+
+*graphviz-1.16-r1 (24 Oct 2005)
+
+  24 Oct 2005; Luca Barbato <lu_zero@gentoo.org> +graphviz-1.16-r1.ebuild:
+  revbump
 
   24 Oct 2005; Luca Barbato <lu_zero@gentoo.org>
   +files/graphviz-1.16-tempdir.patch, graphviz-1.16.ebuild:
index c97c5d89235ebce8de20e133b711a7ffed9f1f0b..b020df23eb76b7b0dbeaac14cea72e4da2675d4b 100644 (file)
@@ -1,8 +1,9 @@
-MD5 b34a5a400c3b8355f2979f4f5a608569 ChangeLog 9039
+MD5 a716a35a72dc9477eb917b3e15b5419a ChangeLog 9158
 MD5 ea7e00b7c49179d3961458a98aee9d6c files/digest-graphviz-1.10 66
 MD5 cea8244a5db85a3bc5e74e4ecd3c9a2b files/digest-graphviz-1.12 66
 MD5 54cdc52906c56a19e4e09cd0773d4633 files/digest-graphviz-1.12-r1 139
 MD5 f903a12f0ed9c89432dee821776f4e97 files/digest-graphviz-1.16 141
+MD5 5454fe576c2f133250774cc9b9633e24 files/digest-graphviz-1.16-r1 141
 MD5 9ebf9ffcce27ea71d28da323a9221356 files/digest-graphviz-2.2 65
 MD5 fd083ee967ab029fd47a155ba572ac60 files/digest-graphviz-2.2.1 67
 MD5 fd083ee967ab029fd47a155ba572ac60 files/digest-graphviz-2.2.1-r1 67
@@ -17,6 +18,7 @@ MD5 6f4c558cccabd9d79fe071b4b21fa67b files/graphviz-2.4.conf 236
 MD5 2339df982693f89bc4ea845062b0597d graphviz-1.10.ebuild 1276
 MD5 56c7e33463f29fd71f4af44c0fa687a5 graphviz-1.12-r1.ebuild 1913
 MD5 3cfddfbe2fa0fe541cb4243d9e109e69 graphviz-1.12.ebuild 1408
+MD5 29acea9f458fe592d5b2e9aa66b470be graphviz-1.16-r1.ebuild 2228
 MD5 885ceebba109e987a9538733178f3139 graphviz-1.16.ebuild 2226
 MD5 4eead72d8554c4afd813032f4ce96ddf graphviz-2.2.1-r1.ebuild 1215
 MD5 a5310746d1a39897c72cd3fd0477646c graphviz-2.2.1.ebuild 1159
diff --git a/media-gfx/graphviz/files/digest-graphviz-1.16-r1 b/media-gfx/graphviz/files/digest-graphviz-1.16-r1
new file mode 100644 (file)
index 0000000..959fa10
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 4bb340f3154679f952a1a45fdf11ffc1 graphviz-1.16-panic.patch.tar.bz2 201
+MD5 a2a3bd1b9fe807c46e676fb9a3f0ba22 graphviz-1.16.tar.gz 4387670
diff --git a/media-gfx/graphviz/graphviz-1.16-r1.ebuild b/media-gfx/graphviz/graphviz-1.16-r1.ebuild
new file mode 100644 (file)
index 0000000..5c1ab09
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-1.16-r1.ebuild,v 1.1 2005/10/24 15:41:36 lu_zero Exp $
+
+inherit gnuconfig eutils flag-o-matic
+
+DESCRIPTION="open source graph drawing software"
+HOMEPAGE="http://www.research.att.com/sw/tools/graphviz/"
+SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz
+       ppc-macos? ( mirror://gentoo/${P}-panic.patch.tar.bz2 )"
+
+LICENSE="as-is ATT"
+SLOT="0"
+KEYWORDS="alpha ~amd64 arm hppa ia64 mips ppc ppc-macos ppc64 s390 sparc x86"
+IUSE="tcltk"
+
+#Can use freetype-1.3 or 2.0, but not both
+DEPEND=">=sys-libs/zlib-1.1.3
+       >=media-libs/libpng-1.2
+       >=media-libs/jpeg-6b
+       media-libs/freetype
+       dev-util/pkgconfig
+       sys-devel/gettext
+       >=media-libs/gd-2.0.29
+       media-libs/fontconfig
+       tcltk? ( >=dev-lang/tk-8.3 )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/${P}-build.patch
+       epatch ${FILESDIR}/${P}-tempdir.patch
+
+       if use ppc-macos; then
+               # fixes weird make issue
+               epatch ${WORKDIR}/${P}-panic.patch
+               epatch ${FILESDIR}/${P}-common_h.patch
+       fi
+
+       # Run gnuconfig_update on all arches, needed at least for mips
+       gnuconfig_update
+
+       if ! use ppc-macos; then
+               #EPATCH_OPTS="-p1 -d${S}" epatch ${FILESDIR}/${P}-fontconfig-externalgd.diff || die "Failed to patch"
+               einfo "Running aclocal/automake/autoconf"
+               aclocal && libtoolize --copy --force && automake -a && autoconf || die "Failed  to aclocal/libtoolize/automake/autoconf"
+       fi
+}
+
+src_compile() {
+       local myconf
+
+       # if no tcltk, this will generate configure warnings, but will
+       # compile without tcltk support
+       use tcltk || myconf="${myconf} --without-tcl --without-tk"
+
+       myconf="${myconf} --enable-dynagraph --with-mylibgd"
+       use ppc-macos && myconf="${myconf} --with-expatincludedir=/usr/X11R6/include --with-expatlibdir=/usr/X11R6/lib --with-fontconfigincludedir=/usr/X11R6/include --with-fontconfiglibdir=/usr/X11R6/lib"
+       econf ${myconf} || die "econf failed"
+
+       emake || die
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+
+       dodoc AUTHORS ChangeLog FAQ.txt INSTALL*  MINTERMS.txt \
+               NEWS README*
+
+       insinto /usr/share/doc/${PF}/
+       doins doc/*.pdf
+
+       dohtml -r .
+       dodoc doc/*.pdf doc/Dot.ref
+}