1 |
commit: 2ae6987b6205edd5243a2f15655acb03812c836b |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jun 25 20:37:13 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 25 20:37:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae6987b |
7 |
|
8 |
media-gfx/graphviz: drop 2.49.0-r1 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/830925 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
media-gfx/graphviz/Manifest | 1 - |
14 |
media-gfx/graphviz/graphviz-2.49.0-r1.ebuild | 274 --------------------------- |
15 |
2 files changed, 275 deletions(-) |
16 |
|
17 |
diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest |
18 |
index d8da8d59e2bb..87ba35a0f17f 100644 |
19 |
--- a/media-gfx/graphviz/Manifest |
20 |
+++ b/media-gfx/graphviz/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST graphviz-2.49.0.tar.xz 23040392 BLAKE2B 74bc90e433c29662b292c0f086777648db4cded69b7640586647f46e3df46137044fa287d170a780e58f552289fec2d65e10def9ed68095bd4ec8efe9208f929 SHA512 5396b6cb4615ba509233a5a079956aef014245cac64635f01467dcb26e9d6e4b1d044110bc3a85132c747ba410597fa289bef3e503e84fa000c845e1e75c89b0 |
23 |
DIST graphviz-2.50.0.tar.xz 23031008 BLAKE2B a1789368a77384366bf813466d4a733765ffc0a04660cfcc002c643264780425b449087306b143cfddd70d2feabb67e82b6c04217684aba175824c3e83062085 SHA512 2b035559da20bad35e046bfa1b2c8ce1b395ff9b812f33bcf612d7f7c65ff9a226c9b209553b4283825330683fb925516563943de7922c2f6434baaf3c3b5ee2 |
24 |
DIST graphviz-4.0.0.tar.xz 21494432 BLAKE2B b188feb5c6bad2537f7d404c330c314de38f6f274d72ce84040524d6be209642686161939a210f41e446dc37619266864353f7e1829d172c97e559632ba17971 SHA512 34e3e720152cb6a8f0d266f37ae1f66d432b89f44309f172d7abfcf8eba611a16e41250faa3eac64bf94e5e721a242ad5093ef8905238b61d6ad869b7853b9d2 |
25 |
|
26 |
diff --git a/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild b/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index a909b34a3d40..000000000000 |
29 |
--- a/media-gfx/graphviz/graphviz-2.49.0-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,274 +0,0 @@ |
32 |
-# Copyright 1999-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-PYTHON_COMPAT=( python3_{8..10} ) |
38 |
-inherit autotools flag-o-matic java-pkg-opt-2 python-single-r1 qmake-utils |
39 |
- |
40 |
-DESCRIPTION="Open Source Graph Visualization Software" |
41 |
-HOMEPAGE="https://www.graphviz.org/ https://gitlab.com/graphviz/graphviz/" |
42 |
-# unfortunately upstream uses an "artifact" store for the pre-generated |
43 |
-# tarball now, which makes predictable URLs impossible. |
44 |
-SRC_URI="https://gitlab.com/api/v4/projects/4207231/packages/generic/graphviz-releases/${PV}/${P}.tar.xz" |
45 |
- |
46 |
-LICENSE="CPL-1.0" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" |
49 |
-IUSE="+cairo devil doc examples gtk2 gts guile java lasi lefty nls pdf perl postscript python qt5 ruby svg tcl webp X" |
50 |
- |
51 |
-REQUIRED_USE=" |
52 |
- !cairo? ( !X !gtk2 !postscript !lasi ) |
53 |
- pdf? ( cairo ) |
54 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
55 |
- |
56 |
-# Requires ksh, tests against installed package, missing files and directory |
57 |
-RESTRICT="test" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- >=dev-libs/expat-2 |
61 |
- >=dev-libs/glib-2.11.1:2 |
62 |
- dev-libs/libltdl:0 |
63 |
- >=media-libs/fontconfig-2.3.95 |
64 |
- >=media-libs/freetype-2.1.10 |
65 |
- >=media-libs/gd-2.0.34:=[fontconfig,jpeg,png,truetype,zlib] |
66 |
- >=media-libs/libpng-1.2:0= |
67 |
- sys-libs/zlib |
68 |
- virtual/jpeg:0 |
69 |
- virtual/libiconv |
70 |
- cairo? ( |
71 |
- >=x11-libs/cairo-1.1.10[svg] |
72 |
- >=x11-libs/pango-1.12 |
73 |
- ) |
74 |
- devil? ( media-libs/devil[png,jpeg] ) |
75 |
- gtk2? ( |
76 |
- x11-libs/gdk-pixbuf:2 |
77 |
- x11-libs/gtk+:2 |
78 |
- ) |
79 |
- gts? ( sci-libs/gts ) |
80 |
- guile? ( dev-scheme/guile ) |
81 |
- java? ( >=virtual/jre-1.8:* ) |
82 |
- lasi? ( media-libs/lasi ) |
83 |
- lefty? ( |
84 |
- x11-libs/libXaw |
85 |
- x11-libs/libXmu |
86 |
- ) |
87 |
- pdf? ( app-text/poppler ) |
88 |
- perl? ( dev-lang/perl:= ) |
89 |
- postscript? ( app-text/ghostscript-gpl ) |
90 |
- python? ( ${PYTHON_DEPS} ) |
91 |
- qt5? ( |
92 |
- dev-qt/qtcore:5 |
93 |
- dev-qt/qtgui:5 |
94 |
- dev-qt/qtprintsupport:5 |
95 |
- dev-qt/qtwidgets:5 |
96 |
- ) |
97 |
- ruby? ( dev-lang/ruby:* ) |
98 |
- svg? ( gnome-base/librsvg ) |
99 |
- tcl? ( >=dev-lang/tcl-8.3:0= ) |
100 |
- webp? ( media-libs/libwebp:= ) |
101 |
- X? ( x11-libs/libX11 )" |
102 |
-DEPEND="${RDEPEND} |
103 |
- lefty? ( x11-base/xorg-proto ) |
104 |
- X? ( x11-base/xorg-proto )" |
105 |
-BDEPEND=" |
106 |
- sys-devel/flex |
107 |
- sys-devel/libtool |
108 |
- virtual/pkgconfig |
109 |
- doc? ( |
110 |
- app-text/ghostscript-gpl |
111 |
- sys-apps/groff |
112 |
- ) |
113 |
- guile? ( |
114 |
- dev-lang/swig |
115 |
- dev-scheme/guile |
116 |
- ) |
117 |
- java? ( |
118 |
- dev-lang/swig |
119 |
- >=virtual/jdk-1.8:* |
120 |
- ) |
121 |
- nls? ( >=sys-devel/gettext-0.14.5 ) |
122 |
- perl? ( dev-lang/swig ) |
123 |
- python? ( dev-lang/swig ) |
124 |
- ruby? ( dev-lang/swig ) |
125 |
- tcl? ( dev-lang/swig )" |
126 |
- |
127 |
-# Dependency description / Maintainer-Info: |
128 |
- |
129 |
-# Rendering is done via the following plugins (/plugins): |
130 |
-# - core, dot_layout, neato_layout, gd , dot |
131 |
-# the ones which are always compiled in, depend on zlib, gd |
132 |
-# - gtk |
133 |
-# Directly depends on gtk-2. |
134 |
-# needs 'pangocairo' enabled in graphviz configuration |
135 |
-# gtk-2 depends on pango, cairo and libX11 directly. |
136 |
-# - gdk-pixbuf |
137 |
-# Directly depends on gtk-2 and gdk-pixbuf. |
138 |
-# - glitz |
139 |
-# Disabled, no particular reason |
140 |
-# needs 'pangocairo' enabled in graphviz configuration |
141 |
-# - ming |
142 |
-# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's |
143 |
-# incomplete. |
144 |
-# - cairo/pango: |
145 |
-# Needs pango for text layout, uses cairo methods to draw stuff |
146 |
-# - xlib: |
147 |
-# needs cairo+pango, |
148 |
-# can make use of gnomeui and inotify support (??? unsure), |
149 |
-# needs libXaw for UI |
150 |
-# UI also links directly against libX11, libXmu, and libXt |
151 |
-# and uses libXpm if available so we make sure it always is |
152 |
- |
153 |
-# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
154 |
-# - c-sharp (disabled) |
155 |
-# - scheme (enabled via guile) ... no longer broken on ~x86 |
156 |
-# - go (disabled) |
157 |
-# - io (disabled) |
158 |
-# - java (enabled via java) *2 |
159 |
-# - lua (enabled via lua) |
160 |
-# - ocaml (enabled via ocaml) |
161 |
-# - perl (enabled via perl) *1 |
162 |
-# - php (enabled via php) *2 |
163 |
-# - python (enabled via python) *1 |
164 |
-# - ruby (enabled via ruby) *1 |
165 |
-# - tcl (enabled via tcl) |
166 |
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
167 |
-# *2 = Those bindings don't build because the paths for the headers/libs aren't |
168 |
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
169 |
- |
170 |
-# There are several other tools in /tclpkg: |
171 |
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
172 |
-# tkspline, tkstubs ; enabled with: --with-tk |
173 |
- |
174 |
-# And the commands (/cmd): |
175 |
-# - dot, dotty, gvedit, gvpr, lefty, lneato, smyrna, tools/* :) |
176 |
-# sci-libs/gts can be used for some of these |
177 |
-# - lefty: |
178 |
-# needs Xaw and X to build |
179 |
-# - gvedit (via 'qt5'): |
180 |
-# based on ./configure it needs qt-core and qt-gui only |
181 |
-# - smyrna : experimental opengl front-end (via 'smyrna') |
182 |
-# currently disabled -- it segfaults a lot |
183 |
-# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut |
184 |
-# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' |
185 |
-# with flags enabled at configure time |
186 |
- |
187 |
-pkg_setup() { |
188 |
- use python && python-single-r1_pkg_setup |
189 |
- |
190 |
- java-pkg-opt-2_pkg_setup |
191 |
-} |
192 |
- |
193 |
-src_prepare() { |
194 |
- default |
195 |
- |
196 |
- # ToDo: Do the same thing for examples and/or |
197 |
- # write a patch for a configuration-option |
198 |
- # and send it to upstream |
199 |
- # note - the longer sed expression removes multi-line assignments that are extended via '\' |
200 |
- if ! use doc ; then |
201 |
- find . -iname Makefile.am \ |
202 |
- | xargs sed -i -e '/^\(html\|pdf\)_DATA.*\\[[:space:]]*$/{:m;N;s/\\\n//;tm;d}' \ |
203 |
- -e '/^\(html\|pdf\)_DATA/d' || die |
204 |
- fi |
205 |
- |
206 |
- # Nuke the dead symlinks for the bindings |
207 |
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
208 |
- |
209 |
- # replace the whitespace with tabs |
210 |
- sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
211 |
- |
212 |
- # use correct version of qmake. bug #567236 |
213 |
- sed -i -e "/AC_CHECK_PROGS(QMAKE/a AC_SUBST(QMAKE,$(qt5_get_bindir)/qmake)" configure.ac || die |
214 |
- |
215 |
- use java && append-cppflags $(java-pkg_get-jni-cflags) |
216 |
- |
217 |
- eautoreconf |
218 |
-} |
219 |
- |
220 |
-src_configure() { |
221 |
- local myconf=( |
222 |
- --disable-static |
223 |
- --enable-ltdl |
224 |
- $(use_with cairo pangocairo) |
225 |
- $(use_with devil) |
226 |
- $(use_with gtk2 gdk) |
227 |
- $(use_with gtk2 gdk-pixbuf) |
228 |
- $(use_with gtk2) |
229 |
- $(use_with gts) |
230 |
- $(use_with qt5 qt) |
231 |
- $(use_with lasi) |
232 |
- $(use_with pdf poppler) |
233 |
- $(use_with postscript ghostscript) |
234 |
- $(use_with svg rsvg) |
235 |
- $(use_with webp) |
236 |
- $(use_with X x) |
237 |
- $(use_enable lefty) |
238 |
- --with-digcola |
239 |
- --with-fontconfig |
240 |
- --with-freetype2 |
241 |
- --with-ipsepcola |
242 |
- --with-libgd |
243 |
- --with-sfdp |
244 |
- --without-ming |
245 |
- # new/experimental features, to be tested, disable for now |
246 |
- --without-glitz |
247 |
- --without-ipsepcola |
248 |
- --without-smyrna |
249 |
- --without-visio |
250 |
- # Bindings: |
251 |
- $(use_enable guile) |
252 |
- $(use_enable java) |
253 |
- $(use_enable perl) |
254 |
- $(use_enable python python3) |
255 |
- $(use_enable ruby) |
256 |
- $(use_enable tcl) |
257 |
- --disable-go |
258 |
- --disable-io |
259 |
- --disable-lua |
260 |
- --disable-ocaml |
261 |
- --disable-php |
262 |
- --disable-python |
263 |
- --disable-r |
264 |
- --disable-sharp |
265 |
- # libtool file collision, bug #276609 |
266 |
- --without-included-ltdl |
267 |
- --disable-ltdl-install |
268 |
- ) |
269 |
- econf "${myconf[@]}" |
270 |
-} |
271 |
- |
272 |
-src_install() { |
273 |
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
274 |
- |
275 |
- emake DESTDIR="${D}" \ |
276 |
- txtdir="${EPREFIX}"/usr/share/doc/${PF} \ |
277 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
278 |
- htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \ |
279 |
- pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \ |
280 |
- pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ |
281 |
- install |
282 |
- |
283 |
- if ! use examples; then |
284 |
- rm -rf "${ED}"/usr/share/graphviz/demo || die |
285 |
- fi |
286 |
- |
287 |
- find "${ED}" -name '*.la' -delete || die |
288 |
- |
289 |
- einstalldocs |
290 |
- |
291 |
- use python && python_optimize \ |
292 |
- "${D}"$(python_get_sitedir) \ |
293 |
- "${ED}"/usr/$(get_libdir)/graphviz/python3 |
294 |
-} |
295 |
- |
296 |
-pkg_postinst() { |
297 |
- # This actually works if --enable-ltdl is passed |
298 |
- # to configure |
299 |
- dot -c || die |
300 |
-} |
301 |
- |
302 |
-pkg_postrm() { |
303 |
- # Remove cruft, bug #547344 |
304 |
- rm -rf "${EROOT}"/usr/$(get_libdir)/graphviz/config{,6} || die |
305 |
-} |