From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KEsvO-0000y8-54 for garchives@archives.gentoo.org; Fri, 04 Jul 2008 21:34:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 58B33E04E5; Fri, 4 Jul 2008 21:34:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 0D5BBE04E5 for ; Fri, 4 Jul 2008 21:34:37 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 955D066FB4 for ; Fri, 4 Jul 2008 21:34:36 +0000 (UTC) Received: from maekke by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1KEsvI-0008WG-HS for gentoo-commits@lists.gentoo.org; Fri, 04 Jul 2008 21:34:32 +0000 From: "Markus Meier (maekke)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, maekke@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/graphviz: ChangeLog graphviz-2.20.2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog graphviz-2.20.2.ebuild X-VCS-Directories: media-gfx/graphviz X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier Content-Type: text/plain; charset=utf8 Message-Id: Sender: Markus Meier Date: Fri, 04 Jul 2008 21:34:32 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6a9fe37e-9eee-4370-aa39-757118b0cf1a X-Archives-Hash: 678b0ad2ed79ffa8a3d8ca6a7b767730 maekke 08/07/04 21:34:32 Modified: ChangeLog Added: graphviz-2.20.2.ebuild Log: add cgraph USE-flag for media-gfx/graphviz (Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc8 i686) Revision Changes Path 1.163 media-gfx/graphviz/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?rev=3D1.163&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?rev=3D1.163&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?r1=3D1.162&r2=3D1.163 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v retrieving revision 1.162 retrieving revision 1.163 diff -u -r1.162 -r1.163 --- ChangeLog 24 May 2008 09:50:34 -0000 1.162 +++ ChangeLog 4 Jul 2008 21:34:32 -0000 1.163 @@ -1,6 +1,12 @@ # 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.162 = 2008/05/24 09:50:34 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.163 = 2008/07/04 21:34:32 maekke Exp $ + +*graphviz-2.20.2 (04 Jul 2008) + + 04 Jul 2008; Markus Meier +graphviz-2.20.2.ebuild: + bump to graphviz-2.20.2 (bug #230227) and readd cairo USE-flag (bug + #230683) =20 24 May 2008; Markus Meier -graphviz-2.16.1-r4.ebui= ld: old 1.1 media-gfx/graphviz/graphviz-2.20.2.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /graphviz-2.20.2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /graphviz-2.20.2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: graphviz-2.20.2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # 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.20.2.ebu= ild,v 1.1 2008/07/04 21:34:32 maekke Exp $ WANT_AUTOCONF=3Dlatest WANT_AUTOMAKE=3Dlatest inherit eutils autotools multilib python DESCRIPTION=3D"Open Source Graph Visualization Software" HOMEPAGE=3D"http://www.graphviz.org/" SRC_URI=3D"http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" LICENSE=3D"CPL-1.0" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~= sparc-fbsd ~x86 ~x86-fbsd" IUSE=3D"cairo cgraph doc examples gnome gtk java jpeg nls perl png python= ruby tcl" # Requires ksh RESTRICT=3D"test" RDEPEND=3D" >=3Ddev-libs/expat-2.0.0 >=3Ddev-libs/glib-2.11.1 >=3Dmedia-libs/fontconfig-2.3.95 >=3Dmedia-libs/freetype-2.1.10 >=3Dmedia-libs/gd-2.0.28 >=3Dmedia-libs/jpeg-6b >=3Dmedia-libs/libpng-1.2.10 virtual/libiconv cairo? ( x11-libs/libXaw >=3Dx11-libs/pango-1.12 >=3Dx11-libs/cairo-1.1.10 ) ruby? ( dev-lang/ruby ) tcl? ( >=3Ddev-lang/tcl-8.3 ) gtk? ( >=3Dx11-libs/gtk+-2 x11-libs/libXaw >=3Dx11-libs/pango-1.12 >=3Dx11-libs/cairo-1.1.10 gnome? ( gnome-base/libgnomeui ) )" DEPEND=3D"${RDEPEND} >=3Ddev-util/pkgconfig-0.20 sys-devel/flex java? ( dev-lang/swig ) nls? ( >=3Dsys-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 (/tclp= kg/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 =3D The ${P}-bindings.patch takes care that those bindings are insta= lled to the right location # *2 =3D Those bindings don't build because the paths for the headers/lib= s aren't # detected correctly and/or the options passed to swig are wrong (-p= hp instead of -php4/5) # There are several other tools in /tclpkg: # gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --wit= h-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=3D"png" use jpeg && gdflags=3D"${gdflags} jpeg" if [[ -n ${gdflags} ]] && ! built_with_use media-libs/gd ${gdflags} ; th= en local diemsg=3D"Re-emerge media-libs/gd with USE=3D\"${gdflags}\"" eerror "${diemsg}" die "${diemsg}" fi # bug 202781 if use cairo && ! 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=3D\"svg\"" fi } src_unpack() { unpack ${A} cd "${S}" # 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=3D-j2 to work on FreeBSD. if has_version ">=3Dsys-devel/libtool-2" ; then cp /usr/share/libtool/config/install-sh config || die else cp /usr/share/libtool/install-sh config || die fi # 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 # replace the whitespace with tabs sed -i -e 's: :\t:g' doc/info/Makefile.am || die eautoreconf } src_compile() { local myconf # Core functionality: # All of X, cairo-output, gtk need the pango+cairo functionality if use gtk ; then myconf=3D"${myconf} --with-x" elif use cairo ; then myconf=3D"${myconf} --with-x" else myconf=3D"${myconf} --without-x" fi myconf=3D"${myconf} $(use_with cgraph) $(use_with gtk) $(use_with cairo pangocairo) --without-ming --with-digcola --with-ipsepcola --with-fontconfig --with-freetype2 --with-libgd --without-gdk-pixbuf" # new/experimental features, to be tested, disable for now myconf=3D"${myconf} --without-sfdp --without-smyrna --without-digcola --without-ipsepcola" use gtk && myconf=3D"${myconf} $(use_with gnome gnomeui)" # Bindings: myconf=3D"${myconf} --disable-guile $(use_enable java) --disable-io --disable-lua --disable-ocaml $(use_enable perl) --disable-php $(use_enable python) --disable-r $(use_enable ruby) --disable-sharp $(use_enable tcl)" 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=3D"${D}" \ txtdir=3D/usr/share/doc/${PF} \ htmldir=3D/usr/share/doc/${PF}/html \ htmlinfodir=3D/usr/share/doc/${PF}/html/info \ pdfdir=3D/usr/share/doc/${PF}/pdf \ pkgconfigdir=3D/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 } --=20 gentoo-commits@lists.gentoo.org mailing list