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 1JDNJQ-0002TO-IL for garchives@archives.gentoo.org; Fri, 11 Jan 2008 17:04:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6CBAFE0AE6; Fri, 11 Jan 2008 17:04:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 246C4E0AE6 for ; Fri, 11 Jan 2008 17:04:55 +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 AD60C64FDB for ; Fri, 11 Jan 2008 17:04:54 +0000 (UTC) Received: from maekke by stork.gentoo.org with local (Exim 4.68) (envelope-from ) id 1JDNJN-0006bP-M4 for gentoo-commits@lists.gentoo.org; Fri, 11 Jan 2008 17:04:53 +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.16.1-r3.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog graphviz-2.16.1-r3.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, 11 Jan 2008 17:04:53 +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: 774d59d6-4046-453e-acbf-c72797eb1e08 X-Archives-Hash: 73888bd9f533e05df3eafed9e6c593a1 maekke 08/01/11 17:04:53 Modified: ChangeLog Added: graphviz-2.16.1-r3.ebuild Log: this revision removes cairo and X USE-fag as they are pretty redundant = and should simplify things. bug #202781 should now be covered without the= se flags. (Portage version: 2.1.4_rc14) Revision Changes Path 1.135 media-gfx/graphviz/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?rev=3D1.135&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?rev=3D1.135&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /ChangeLog?r1=3D1.134&r2=3D1.135 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.134 retrieving revision 1.135 diff -u -r1.134 -r1.135 --- ChangeLog 3 Jan 2008 11:31:45 -0000 1.134 +++ ChangeLog 11 Jan 2008 17:04:53 -0000 1.135 @@ -1,6 +1,13 @@ # 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.134 = 2008/01/03 11:31:45 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.135 = 2008/01/11 17:04:53 maekke Exp $ + +*graphviz-2.16.1-r3 (11 Jan 2008) + + 11 Jan 2008; Markus Meier +graphviz-2.16.1-r3.ebui= ld: + this revision removes cairo and X USE-fag as they are pretty redundant= and + should simplify things. bug #202781 should now be covered without thes= e + flags. =20 03 Jan 2008; Markus Meier graphviz-2.16.1-r2.ebuil= d: sanitize built_with_use checks for media-libs/gd, thanks jakub in bug = #204153 1.1 media-gfx/graphviz/graphviz-2.16.1-r3.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /graphviz-2.16.1-r3.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz= /graphviz-2.16.1-r3.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: graphviz-2.16.1-r3.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.16.1-r3.= ebuild,v 1.1 2008/01/11 17:04:53 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"doc examples gnome gtk jpeg nls perl png python ruby tcl tk" # 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 ruby? ( dev-lang/ruby ) tcl? ( >=3Ddev-lang/tcl-8.3 ) tk? ( >=3Ddev-lang/tk-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 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 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=3D\"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 # 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. 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=3D"${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" use gtk && myconf=3D"${myconf} $(use_with gnome gnomeui)" # Bindings: myconf=3D"${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=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