public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphviz/
Date: Fri,  8 Jul 2022 07:41:59 +0000 (UTC)	[thread overview]
Message-ID: <1657266107.5fb3516ebfbb4449b4073945bbdc9fc345ebab90.sam@gentoo> (raw)

commit:     5fb3516ebfbb4449b4073945bbdc9fc345ebab90
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  8 07:40:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul  8 07:41:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb3516e

media-gfx/graphviz: add 5.0.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/graphviz/Manifest              |   1 +
 media-gfx/graphviz/graphviz-5.0.0.ebuild | 216 +++++++++++++++++++++++++++++++
 2 files changed, 217 insertions(+)

diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest
index 87ba35a0f17f..37f8b492e946 100644
--- a/media-gfx/graphviz/Manifest
+++ b/media-gfx/graphviz/Manifest
@@ -1,2 +1,3 @@
 DIST graphviz-2.50.0.tar.xz 23031008 BLAKE2B a1789368a77384366bf813466d4a733765ffc0a04660cfcc002c643264780425b449087306b143cfddd70d2feabb67e82b6c04217684aba175824c3e83062085 SHA512 2b035559da20bad35e046bfa1b2c8ce1b395ff9b812f33bcf612d7f7c65ff9a226c9b209553b4283825330683fb925516563943de7922c2f6434baaf3c3b5ee2
 DIST graphviz-4.0.0.tar.xz 21494432 BLAKE2B b188feb5c6bad2537f7d404c330c314de38f6f274d72ce84040524d6be209642686161939a210f41e446dc37619266864353f7e1829d172c97e559632ba17971 SHA512 34e3e720152cb6a8f0d266f37ae1f66d432b89f44309f172d7abfcf8eba611a16e41250faa3eac64bf94e5e721a242ad5093ef8905238b61d6ad869b7853b9d2
+DIST graphviz-5.0.0.tar.xz 21495572 BLAKE2B b28cbc5a20b202441ed7e98ebbb85b878f9362d1f95816ca89f7aedd62302c77974efc3b63e2ab8b577da59946ca63c7607706da2e79afcae9089f8c2743cd4a SHA512 51576c0d0405aa2005e908b57c3bac5e30069e6efb355b467a35a46559b002b34eaec77c35b6d41c635d6d874351da7261a11cf0f857cea72ff7259d5f6c860d

diff --git a/media-gfx/graphviz/graphviz-5.0.0.ebuild b/media-gfx/graphviz/graphviz-5.0.0.ebuild
new file mode 100644
index 000000000000..1f4507432c23
--- /dev/null
+++ b/media-gfx/graphviz/graphviz-5.0.0.ebuild
@@ -0,0 +1,216 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-single-r1
+
+DESCRIPTION="Open Source Graph Visualization Software"
+HOMEPAGE="https://www.graphviz.org/ https://gitlab.com/graphviz/graphviz/"
+# unfortunately upstream uses an "artifact" store for the pre-generated
+# tarball now, which makes predictable URLs impossible.
+SRC_URI="https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${PV}/${P}.tar.xz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris"
+IUSE="+cairo devil doc examples gtk2 gts guile lasi nls pdf perl postscript python qt5 ruby svg tcl webp X"
+
+REQUIRED_USE="
+	!cairo? ( !X !gtk2 !postscript !lasi )
+	pdf? ( cairo )
+	python? ( ${PYTHON_REQUIRED_USE} )"
+
+# Requires ksh, tests against installed package, missing files and directory
+RESTRICT="test"
+
+RDEPEND="
+	>=dev-libs/expat-2
+	>=dev-libs/glib-2.11.1:2
+	dev-libs/libltdl:0
+	>=media-libs/fontconfig-2.3.95
+	>=media-libs/freetype-2.1.10
+	>=media-libs/gd-2.0.34:=[fontconfig,jpeg,png,truetype,zlib]
+	media-libs/libjpeg-turbo:=
+	>=media-libs/libpng-1.2:0=
+	sys-libs/zlib
+	virtual/libiconv
+	cairo? (
+		>=x11-libs/cairo-1.1.10[svg]
+		>=x11-libs/pango-1.12
+	)
+	devil? ( media-libs/devil[png,jpeg] )
+	gtk2? (
+		x11-libs/gdk-pixbuf:2
+		x11-libs/gtk+:2
+	)
+	gts? ( sci-libs/gts )
+	guile? ( dev-scheme/guile )
+	lasi? ( media-libs/lasi )
+	pdf? ( app-text/poppler )
+	perl? ( dev-lang/perl:= )
+	postscript? ( app-text/ghostscript-gpl )
+	python? ( ${PYTHON_DEPS} )
+	qt5? (
+		dev-qt/qtcore:5
+		dev-qt/qtgui:5
+		dev-qt/qtprintsupport:5
+		dev-qt/qtwidgets:5
+	)
+	ruby? ( dev-lang/ruby:* )
+	svg? ( gnome-base/librsvg )
+	tcl? ( >=dev-lang/tcl-8.3:0= )
+	webp? ( media-libs/libwebp:= )
+	X? ( x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+	X? ( x11-base/xorg-proto )"
+BDEPEND="
+	sys-devel/flex
+	sys-devel/libtool
+	virtual/pkgconfig
+	doc? (
+		app-text/ghostscript-gpl
+		sys-apps/groff
+	)
+	guile? (
+		dev-lang/swig
+		dev-scheme/guile
+	)
+	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.
+#   needs 'pangocairo' enabled in graphviz configuration
+#   gtk-2 depends on pango, cairo and libX11 directly.
+# - gdk-pixbuf
+#   Directly depends on gtk-2 and gdk-pixbuf.
+#   needs 'pangocairo' enabled in graphviz configuration
+# - ming
+#   flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's
+#   incomplete.
+# - cairo/pango:
+#   Needs pango for text layout, uses cairo methods to draw stuff
+# - xlib:
+#   needs cairo+pango,
+#   can make use of gnomeui and inotify support (??? unsure),
+#   needs libXaw for UI
+#   UI also links directly against libX11, libXmu, and libXt
+#   and uses libXpm if available so we make sure it always is
+
+# There can be swig-generated bindings for the following languages (/tclpkg/gv):
+# - c-sharp (disabled)
+# - scheme (enabled via guile) ... no longer broken on ~x86
+# - go (disabled)
+# - io (disabled)
+# - 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, gvedit, gvpr, smyrna, tools/* :)
+#   sci-libs/gts can be used for some of these
+# - gvedit (via 'qt5'):
+#   based on ./configure it needs qt-core and qt-gui only
+# - smyrna : experimental opengl front-end (via 'smyrna')
+#   currently disabled -- it segfaults a lot
+#   needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut
+#   sci-libs/gts, x11-libs/gtk.  Also needs 'gtk','glade','glut','gts' and 'png'
+#   with flags enabled at configure time
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+	local myconf=(
+		# Speeds up the libltdl configure
+		--cache-file="${S}"/config.cache
+		--enable-ltdl
+		$(use_enable doc man-pdfs)
+		$(use_with cairo pangocairo)
+		$(use_with examples demos '$(docdir)/examples')
+		$(use_with devil)
+		$(use_with gtk2 gdk)
+		$(use_with gtk2 gdk-pixbuf)
+		$(use_with gtk2)
+		$(use_with gts)
+		$(use_with qt5 qt)
+		$(use_with lasi)
+		$(use_with pdf poppler)
+		$(use_with postscript ghostscript)
+		$(use_with svg rsvg)
+		$(use_with webp)
+		$(use_with X x)
+		--with-digcola
+		--with-fontconfig
+		--with-freetype2
+		--with-ipsepcola
+		--with-libgd
+		--with-sfdp
+		--without-ming
+		# new/experimental features, to be tested, disable for now
+		--without-ipsepcola
+		--without-smyrna
+		--without-visio
+		# Bindings:
+		$(use_enable guile)
+		$(use_enable perl)
+		$(use_enable python python3)
+		$(use_enable ruby)
+		$(use_enable tcl)
+		--disable-go
+		--disable-io
+		--disable-lua
+		--disable-java
+		--disable-ocaml
+		--disable-php
+		--disable-python
+		--disable-r
+		--disable-sharp
+		# libtool file collision, bug #276609
+		--without-included-ltdl
+		--disable-ltdl-install
+	)
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+
+	find "${ED}" -name '*.la' -delete || die
+
+	use python && python_optimize \
+		"${D}"$(python_get_sitedir) \
+		"${ED}"/usr/$(get_libdir)/graphviz/python3
+}
+
+pkg_postinst() {
+	# We need to register all plugins before they become usable
+	dot -c || die
+}
+
+pkg_postrm() {
+	# Remove cruft, bug #547344
+	rm -rf "${EROOT}"/usr/$(get_libdir)/graphviz/config{,6} || die
+}


             reply	other threads:[~2022-07-08  7:42 UTC|newest]

Thread overview: 226+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  7:41 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-19 14:10 [gentoo-commits] repo/gentoo:master commit in: media-gfx/graphviz/ Sam James
2024-11-19 14:10 Sam James
2024-11-13 11:22 David Seifert
2024-11-08 11:57 Sam James
2024-11-08 10:59 Sam James
2024-11-08  6:31 Sam James
2024-11-08  3:54 Sam James
2024-11-02  3:47 Sam James
2024-10-18 17:32 Arthur Zamarin
2024-10-18 16:44 Arthur Zamarin
2024-10-17  7:26 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:19 Sam James
2024-10-17  7:19 Sam James
2024-09-28 20:07 David Seifert
2024-09-28 20:07 David Seifert
2024-07-05 16:31 Arthur Zamarin
2024-07-05 13:26 Arthur Zamarin
2024-07-05 13:26 Arthur Zamarin
2024-07-05 11:13 Arthur Zamarin
2024-07-05 11:10 Arthur Zamarin
2024-07-05 10:39 Arthur Zamarin
2024-07-05 10:20 Arthur Zamarin
2024-07-04 13:31 David Seifert
2024-07-04 13:31 David Seifert
2024-05-11 16:22 David Seifert
2024-03-10 15:24 Sam James
2024-03-09 12:04 David Seifert
2024-03-09 12:04 David Seifert
2024-03-09 12:04 David Seifert
2024-03-06  3:37 Sam James
2024-02-22  4:45 Ionen Wolkens
2024-02-02  1:02 Sam James
2024-01-23  4:42 Sam James
2024-01-19 12:30 Sam James
2024-01-19 12:25 Arthur Zamarin
2024-01-19 11:01 Sam James
2024-01-19 11:01 Sam James
2024-01-19 11:01 Sam James
2023-09-30 19:50 David Seifert
2023-08-13 16:51 David Seifert
2023-08-13  0:35 Sam James
2023-08-12 22:21 Sam James
2023-08-12 18:36 Arthur Zamarin
2023-08-12  7:52 Arthur Zamarin
2023-08-05 22:35 Sam James
2023-08-05 15:11 Arthur Zamarin
2023-08-05 13:48 Arthur Zamarin
2023-08-05 13:27 Arthur Zamarin
2023-07-09 19:58 David Seifert
2023-06-26 17:10 David Seifert
2023-06-02 18:15 David Seifert
2023-06-02 14:56 Sam James
2023-06-02 14:11 Sam James
2023-05-30 18:17 Arthur Zamarin
2023-05-30 16:37 Arthur Zamarin
2023-05-30 14:18 Sam James
2023-05-30 13:28 Sam James
2023-05-30 13:05 Sam James
2023-05-30 13:05 Sam James
2023-05-18 13:00 David Seifert
2023-04-27 10:25 David Seifert
2023-04-25  9:30 David Seifert
2023-04-25  9:30 David Seifert
2023-04-25  0:31 Sam James
2023-04-25  0:31 Sam James
2023-04-24 14:40 Jakov Smolić
2023-04-15  2:10 Sam James
2023-04-15  0:14 Sam James
2023-04-14 23:52 Sam James
2023-04-14 23:52 Sam James
2023-04-14 23:52 Sam James
2023-03-30 13:04 David Seifert
2023-03-11 19:15 David Seifert
2023-03-11 18:34 David Seifert
2023-03-11 14:56 Arthur Zamarin
2023-03-10  9:55 Sam James
2023-02-20 19:30 Arthur Zamarin
2023-02-19 16:38 Sam James
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2023-02-19 12:55 Arthur Zamarin
2022-12-24  8:20 Sam James
2022-12-24  8:20 Sam James
2022-12-11 21:30 Sam James
2022-12-03  8:10 Sam James
2022-11-24 12:21 David Seifert
2022-10-24 21:02 David Seifert
2022-10-08 22:15 Sam James
2022-10-03  9:57 David Seifert
2022-10-03  0:45 Sam James
2022-09-27 15:57 Sam James
2022-09-26 14:09 Arthur Zamarin
2022-09-26 14:09 Arthur Zamarin
2022-09-26 14:09 Arthur Zamarin
2022-09-26 12:27 Sam James
2022-09-26 12:27 Sam James
2022-09-26 11:23 Arthur Zamarin
2022-09-19  3:05 Sam James
2022-09-19  3:05 Sam James
2022-08-26  5:08 Sam James
2022-06-25 20:37 David Seifert
2022-06-25 20:37 David Seifert
2022-06-22 16:02 Arthur Zamarin
2022-06-18  8:58 David Seifert
2022-06-07  6:43 Jakov Smolić
2022-06-05 13:03 Jakov Smolić
2022-06-05 13:03 Jakov Smolić
2022-06-05 12:55 Jakov Smolić
2022-06-05 12:55 Jakov Smolić
2022-06-05  7:09 Agostino Sarubbo
2022-06-05  7:06 Agostino Sarubbo
2022-06-03  4:31 Sam James
2022-05-17  7:56 WANG Xuerui
2022-04-12 17:39 Matt Turner
2022-04-12 17:39 Matt Turner
2022-04-12 17:39 Matt Turner
2021-12-08 11:12 David Seifert
2021-10-21 23:26 Sam James
2021-10-20  0:22 Sam James
2021-10-18 15:22 Agostino Sarubbo
2021-10-17 19:09 Sam James
2021-10-16 22:05 Sam James
2021-10-16 22:05 Sam James
2021-10-16 22:04 Sam James
2021-10-16 22:00 Sam James
2021-10-16  9:17 David Seifert
2021-09-20 10:41 James Le Cuirot
2021-09-04 16:50 David Seifert
2021-07-27 23:36 David Seifert
2021-07-27 22:51 David Seifert
2021-07-06  9:32 David Seifert
2021-07-04 20:59 David Seifert
2021-05-12 19:07 Mikle Kolyada
2021-05-11 20:43 Sergei Trofimovich
2021-05-11 20:35 Sergei Trofimovich
2021-05-09 21:48 Sam James
2021-05-09  6:00 Sam James
2021-05-09  4:05 Sam James
2021-05-09  1:29 Sam James
2021-05-07  9:46 David Seifert
2021-04-27  7:59 David Seifert
2021-01-06 14:07 Fabian Groffen
2021-01-02 11:52 Sergei Trofimovich
2020-12-22  5:14 Sam James
2020-12-22  5:09 Sam James
2020-12-20 21:32 Sam James
2020-12-20 16:45 Sam James
2020-12-20 16:30 Thomas Deutschmann
2020-12-19 21:50 Sergei Trofimovich
2020-12-19 19:36 Sam James
2020-12-19 14:27 Sam James
2020-10-11 21:33 Andreas Sturmlechner
2020-08-20 20:29 Mikle Kolyada
2020-08-20 19:23 Mikle Kolyada
2020-08-20 19:17 Mikle Kolyada
2020-07-29 20:15 Mikle Kolyada
2020-07-29 20:08 Mikle Kolyada
2020-05-25  8:38 Mikle Kolyada
2020-04-16 18:20 David Seifert
2020-04-15 18:37 Mikle Kolyada
2020-02-10 11:54 Michał Górny
2019-12-31  8:18 Agostino Sarubbo
2019-12-30 16:13 Agostino Sarubbo
2019-12-30 15:30 Agostino Sarubbo
2019-12-28 17:10 Sergei Trofimovich
2019-12-28 15:49 Mikle Kolyada
2019-12-28 12:31 Sergei Trofimovich
2019-12-25 10:28 Sergei Trofimovich
2019-12-24 19:52 Mikle Kolyada
2019-12-24  8:08 Agostino Sarubbo
2019-12-23 14:11 Agostino Sarubbo
2019-11-25  0:01 Andreas Sturmlechner
2019-11-24 17:13 Andreas Sturmlechner
2019-11-24 17:13 Andreas Sturmlechner
2019-11-17  7:21 Matt Turner
2019-11-13 11:28 Agostino Sarubbo
2019-11-12 16:02 Agostino Sarubbo
2019-11-12 10:38 Agostino Sarubbo
2019-11-12 10:13 Agostino Sarubbo
2019-11-08  8:35 Mikle Kolyada
2019-11-07  0:50 Aaron Bauman
2019-11-01 20:02 Sergei Trofimovich
2019-11-01 10:53 Mikle Kolyada
2019-10-28  7:41 Agostino Sarubbo
2019-10-27 23:20 Thomas Deutschmann
2019-09-14 14:59 Andreas Sturmlechner
2019-09-14 14:59 Andreas Sturmlechner
2019-09-14 14:59 Andreas Sturmlechner
2019-09-14 14:59 Andreas Sturmlechner
2018-06-22 10:15 Mikle Kolyada
2018-05-29 11:58 Mart Raudsepp
2018-04-03 18:13 Aaron Bauman
2018-03-14 18:42 Sebastian Pipping
2018-03-13 22:33 Sergei Trofimovich
2018-02-27 20:28 Sergei Trofimovich
2018-02-07  6:37 Thomas Deutschmann
2018-02-05 21:27 Markus Meier
2018-01-28 16:59 Tobias Klausmann
2018-01-14 15:30 Agostino Sarubbo
2018-01-14 12:43 Sergei Trofimovich
2018-01-13 20:24 Sergei Trofimovich
2018-01-07 16:02 Andreas Sturmlechner
2018-01-07 13:43 Andreas Sturmlechner
2018-01-07 13:43 Andreas Sturmlechner
2018-01-07 13:43 Andreas Sturmlechner
2018-01-07 13:43 Andreas Sturmlechner
2017-12-10 13:12 Jonas Stein
2017-11-26 23:02 David Seifert
2017-06-17 14:41 Alexis Ballier
2017-05-30  7:45 Lars Wendler
2016-06-05  0:12 Mikle Kolyada
2016-02-01 13:34 Tobias Klausmann
2015-12-20 14:33 Michael Palimaka
2015-12-20 14:33 Michael Palimaka
2015-11-18  9:32 Agostino Sarubbo
2015-11-12 10:51 Agostino Sarubbo
2015-11-07 12:11 Markus Meier
2015-10-06 13:32 Mikle Kolyada
2015-10-05  4:24 Jeroen Roovers
2015-10-04  9:52 Agostino Sarubbo
2015-10-03 10:19 Pacho Ramos
2015-10-03 10:07 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1657266107.5fb3516ebfbb4449b4073945bbdc9fc345ebab90.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox