summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-05-24 09:50:34 +0000
committerMarkus Meier <maekke@gentoo.org>2008-05-24 09:50:34 +0000
commit10febad965631ed95ac17240cb009dd612dc9b8a (patch)
treede6005bc4d3d3e2c2ab9fd731569711564c55842 /media-gfx/graphviz
parentFix building on alpha, bug #221853 comment #6, patch from fedora. Move libtoo... (diff)
downloadhistorical-10febad965631ed95ac17240cb009dd612dc9b8a.tar.gz
historical-10febad965631ed95ac17240cb009dd612dc9b8a.tar.bz2
historical-10febad965631ed95ac17240cb009dd612dc9b8a.zip
old
Package-Manager: portage-2.1.5.2
Diffstat (limited to 'media-gfx/graphviz')
-rw-r--r--media-gfx/graphviz/ChangeLog5
-rw-r--r--media-gfx/graphviz/Manifest13
-rw-r--r--media-gfx/graphviz/graphviz-2.16.1-r4.ebuild227
3 files changed, 15 insertions, 230 deletions
diff --git a/media-gfx/graphviz/ChangeLog b/media-gfx/graphviz/ChangeLog
index 2323675f02de..818aa448fb42 100644
--- a/media-gfx/graphviz/ChangeLog
+++ b/media-gfx/graphviz/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/graphviz
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.161 2008/05/18 07:26:12 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.162 2008/05/24 09:50:34 maekke Exp $
+
+ 24 May 2008; Markus Meier <maekke@gentoo.org> -graphviz-2.16.1-r4.ebuild:
+ old
18 May 2008; Jeroen Roovers <jer@gentoo.org> graphviz-2.18.ebuild:
Stable for HPPA (bug #221843).
diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest
index 7d2316d47b80..7fca64086e5b 100644
--- a/media-gfx/graphviz/Manifest
+++ b/media-gfx/graphviz/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX graphviz-2.12-bindings.patch 4589 RMD160 129ec88bc42df0555ac96abfa9bf8d4e48378b6c SHA1 1f591d4a9e884fdc6181aad822eab9f06832901b SHA256 75120e3c7d9636fc35e2802d7c1b9902faa5e901a17ab88f939a020970776820
AUX graphviz-2.12-configure.patch 856 RMD160 3d1fe3d11498629bb7738d5219a824857830a5e9 SHA1 d420c55e28bbcdbf030ff203f0581b40bbceca3e SHA256 660a8df758487f21810e6d7fa647221d4443463eca2c2053399b2e782b208348
AUX graphviz-2.12-find-system-libgd.patch 379 RMD160 0e9fc08b07c038986955353f7063fd954e70b5ab SHA1 b1a6f1f950a0e7484960f6604e9b0d9469e71633 SHA256 b578b083ae55b959f6aac0208296aaa5513627802441e5a4a79ed4f09d26ccb8
@@ -13,8 +16,14 @@ DIST graphviz-2.12.tar.gz 4607023 RMD160 68d55176cd5ce0e6a25c90b443529747e738d5c
DIST graphviz-2.16.1.tar.gz 8076271 RMD160 6d0f23fa176a1bef7ee0ca48cf1b700fe6cbfb42 SHA1 46b704bd9b81922bcd17167c88f3278a9645e894 SHA256 32c1a185ba39961935f104cc47d2bceea327c0de8c5636edc6ab83ac3c0c56d1
DIST graphviz-2.18.tar.gz 13322519 RMD160 2c7f23af1a9e480ab6cc5f5f39edad7a5da3ceae SHA1 b638181cf776bc4bb1fa8f95525a3943feb18b4a SHA256 6bc51969fa54c6ee3e64d8a4277c576931d50577b02114115668eeb5e515b42c
EBUILD graphviz-2.12.ebuild 5508 RMD160 54ba09cf066c8be004f59800b0963e31aa2093f3 SHA1 ae7ab99f53b044b05b964be4ce44d121d9960b63 SHA256 eb54344754b76dd0724e43289697af54a1cce1b4099379ed691fcc97ee1364cc
-EBUILD graphviz-2.16.1-r4.ebuild 6049 RMD160 f5b457ebaf425f1d10280c4610a9aaf201c03530 SHA1 00f86018d25b84ed0262ba4dbbdb614f4bf6f1e1 SHA256 dbeffe00069a2198a93a2655bb9719e4654f0af0cd9218f2afc8cb59820649d1
EBUILD graphviz-2.16.1.ebuild 5994 RMD160 55056c9a34909cb12432cfd59d636538fb4daa0a SHA1 804dd7b929b5046c40bb7dce5879e9d2d7782fa2 SHA256 fba8a9d319b7704bb9fefd5f27a260fad28dab4dadfe80b07c0078c5e43574cd
EBUILD graphviz-2.18.ebuild 5957 RMD160 1f0d5c7157d601461c2f22f2a37103f98130131b SHA1 7bd87588941c9673d98c923d909fa9dcedf9cdc6 SHA256 2055c43dd3f0127993254d341ce237aab1c06c6899cb35fda057d6ae67ab347d
-MISC ChangeLog 24252 RMD160 7acaccf0aabf922c6c9261f4ac017f41c2ba68c5 SHA1 53477b7b7f66c692966bd4bfffe6ced072a88648 SHA256 5851cd30d00aeae281b1e80a0c05b37f05818e873a0001fda89dbcb1c5448a99
+MISC ChangeLog 24338 RMD160 3cc86674749cf87a437196939c36e276fbe92d0c SHA1 28ea3772fd98c58ea6f036c8b38979316fe25f1e SHA256 bdfcac1a68f3c44308093c939367a615b3154145d1d7a5910c18fc2177897369
MISC metadata.xml 1540 RMD160 4652a8cc1044e37e34e06be5480a9ee6f842c333 SHA1 b493bbaade7ae395c87ada0bbef0b0f0e7f7fb08 SHA256 c2a220f962a3048cc026e4c376b6555bfd0be7b401206d0ae3d265d628f231a1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkg35RsACgkQkKaRLQcq0GIoiwCfR4zHkcl38liFNWV6RL1FrzWa
+zZkAmwYFzp4R0mi8j5SPCkIOZIRAelMQ
+=k0cO
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/graphviz/graphviz-2.16.1-r4.ebuild b/media-gfx/graphviz/graphviz-2.16.1-r4.ebuild
deleted file mode 100644
index c5711af32f57..000000000000
--- a/media-gfx/graphviz/graphviz-2.16.1-r4.ebuild
+++ /dev/null
@@ -1,227 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.16.1-r4.ebuild,v 1.8 2008/05/11 19:54:58 maekke Exp $
-
-WANT_AUTOCONF=latest
-WANT_AUTOMAKE=latest
-
-inherit eutils autotools multilib python
-
-DESCRIPTION="Open Source Graph Visualization Software"
-HOMEPAGE="http://www.graphviz.org/"
-SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
-
-LICENSE="CPL-1.0"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="doc examples gnome gtk jpeg nls perl png python ruby tcl tk"
-
-# Requires ksh
-RESTRICT="test"
-
-RDEPEND="
- >=dev-libs/expat-2.0.0
- >=dev-libs/glib-2.11.1
- >=media-libs/fontconfig-2.3.95
- >=media-libs/freetype-2.1.10
- >=media-libs/gd-2.0.28
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.10
- virtual/libiconv
- ruby? ( dev-lang/ruby )
- tcl? ( >=dev-lang/tcl-8.3 )
- tk? ( >=dev-lang/tk-8.3 )
- gtk? (
- >=x11-libs/gtk+-2
- x11-libs/libXaw
- >=x11-libs/pango-1.12
- >=x11-libs/cairo-1.1.10
- gnome? ( gnome-base/libgnomeui )
- )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.20
- sys-devel/flex
- nls? ( >=sys-devel/gettext-0.14.5 )
- perl? ( dev-lang/swig )
- python? ( dev-lang/swig )
- ruby? ( dev-lang/swig )
- tcl? ( dev-lang/swig )"
-
-# Dependency description / Maintainer-Info:
-
-# Rendering is done via the following plugins (/plugins):
-# - core, dot_layout, neato_layout, gd , dot
-# the ones which are always compiled in, depend on zlib, gd
-# - gtk
-# Directly depends on gtk-2.
-# gtk-2 depends on pango, cairo and libX11 directly.
-# - gdk-pixbuf
-# Disabled, GTK-1 junk.
-# - ming
-# Disabled, depends on ming-3.0 which is still p.masked.
-# - cairo:
-# Needs pango for text layout, uses cairo methods to draw stuff
-# - xlib :
-# needs cairo+pango,
-# can make use of gnomeui and inotify support,
-# needs libXaw for UI
-
-# There can be swig-generated bindings for the following languages (/tclpkg/gv):
-# - c-sharp (disabled)
-# - scheme (enabled via guile) ... broken on ~x86
-# - io (disabled)
-# - java (enabled via java) *2
-# - lua (enabled via lua)
-# - ocaml (enabled via ocaml)
-# - perl (enabled via perl) *1
-# - php (enabled via php) *2
-# - python (enabled via python) *1
-# - ruby (enabled via ruby) *1
-# - tcl (enabled via tcl)
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location
-# *2 = Those bindings don't build because the paths for the headers/libs aren't
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5)
-
-# There are several other tools in /tclpkg:
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl
-# tkspline, tkstubs ; enabled with: --with-tk
-
-# And the commands (/cmd):
-# - dot, dotty, gvpr, lefty, lneato, tools/* :)
-# Lefty needs Xaw and X to build
-
-pkg_setup() {
- if use tcl && ! built_with_use dev-lang/swig tcl ; then
- eerror "SWIG has to be built with tcl support."
- die "Missing tcl USE-flag for dev-lang/swig"
- fi
-
- # bug 181147
- local gdflags
- use png && gdflags="png"
- use jpeg && gdflags="${gdflags} jpeg"
- if [[ -n ${gdflags} ]] && ! built_with_use media-libs/gd ${gdflags} ; then
- local diemsg="Re-emerge media-libs/gd with USE=\"${gdflags}\""
- eerror "${diemsg}"
- die "${diemsg}"
- fi
-
- # bug 202781
- if use gtk && ! built_with_use x11-libs/cairo svg ; then
- eerror "x11-libs/cairo has to be built with svg support"
- die "emerge x11-libs/cairo with USE=\"svg\""
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${P}-bindings.patch
- epatch "${FILESDIR}"/${P}-gcc43-missing-includes.patch
- epatch "${FILESDIR}"/${P}-python-buildfix.patch
- epatch "${FILESDIR}"/${P}-pango-optional.patch
- epatch "${FILESDIR}"/${P}-tcltk.patch
- epatch "${FILESDIR}"/${P}-python-345.patch
-
- # ToDo: Do the same thing for examples and/or
- # write a patch for a configuration-option
- # and send it to upstream
- if ! use doc ; then
- find . -iname Makefile.am \
- | xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die
- fi
-
- # This is an old version of libtool
- rm -rf libltdl
- sed -i -e '/libltdl/d' configure.ac || die
-
- # Update this file from our local libtool which is much newer than the
- # bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD.
- cp /usr/share/libtool/install-sh config
-
- # no nls, no gettext, no iconv macro, so disable it
- use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; }
-
- # Nuke the dead symlinks for the bindings
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die
-
- eautoreconf
-}
-
-src_compile() {
- local myconf
-
- # Core functionality:
- # All of X, cairo-output, gtk need the pango+cairo functionality
- myconf="${myconf}
- $(use_with gtk)
- $(use_with gtk x)
- $(use_with gtk pangocairo)
- --without-ming
- --with-digcola
- --with-ipsepcola
- --with-fontconfig
- --with-freetype
- --with-libgd
- --without-gdk-pixbuf
- --disable-python23
- --disable-python24
- --disable-python25"
-
- use gtk && myconf="${myconf} $(use_with gnome gnomeui)"
-
- # Bindings:
- myconf="${myconf}
- --disable-guile
- --disable-java
- --disable-io
- --disable-lua
- --disable-ocaml
- $(use_enable perl)
- --disable-php
- $(use_enable python)
- $(use_enable ruby)
- --disable-sharp
- $(use_enable tcl)
- $(use_enable tk)"
-
- econf \
- --enable-ltdl \
- ${myconf} \
- || die "econf failed"
-
- emake || die "emake failed"
-}
-
-src_install() {
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die
-
- emake DESTDIR="${D}" \
- txtdir=/usr/share/doc/${PF} \
- htmldir=/usr/share/doc/${PF}/html \
- htmlinfodir=/usr/share/doc/${PF}/html/info \
- pdfdir=/usr/share/doc/${PF}/pdf \
- pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
- install || die "emake install failed"
-
- use examples || rm -rf "${D}/usr/share/graphviz/demo"
-
- dodoc AUTHORS ChangeLog NEWS README
-}
-
-pkg_postinst() {
- # This actually works if --enable-ltdl is passed
- # to configure
- dot -c
- if use python ; then
- python_mod_optimize
- fi
-}
-
-pkg_postrm() {
- if use python ; then
- python_mod_cleanup
- fi
-}