1 |
commit: 26681eadc76506344ab74c6523af57753f5aaf88 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 10:05:12 2015 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 10:05:29 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26681ead |
7 |
|
8 |
media-gfx/graphviz: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
media-gfx/graphviz/Manifest | 3 - |
13 |
.../files/graphviz-2.28.0-Xaw-configure.patch | 71 ------ |
14 |
.../files/graphviz-2.28.0-automake-1.11.2.patch | 33 --- |
15 |
.../graphviz-2.28.0-dot-pangocairo-link.patch | 13 -- |
16 |
.../files/graphviz-2.38-fix-backslashes.patch | 34 --- |
17 |
media-gfx/graphviz/graphviz-2.28.0.ebuild | 255 -------------------- |
18 |
media-gfx/graphviz/graphviz-2.34.0.ebuild | 260 --------------------- |
19 |
media-gfx/graphviz/graphviz-2.36.0.ebuild | 256 -------------------- |
20 |
...-2.36.0-r1.ebuild => graphviz-2.38.0-r1.ebuild} | 20 +- |
21 |
media-gfx/graphviz/graphviz-2.38.0.ebuild | 256 -------------------- |
22 |
10 files changed, 13 insertions(+), 1188 deletions(-) |
23 |
|
24 |
diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest |
25 |
index 0d3b41f..c42f116 100644 |
26 |
--- a/media-gfx/graphviz/Manifest |
27 |
+++ b/media-gfx/graphviz/Manifest |
28 |
@@ -1,5 +1,2 @@ |
29 |
DIST graphviz-2.26.3.tar.gz 17092429 SHA256 f410996e69b1095237c2128deae5fc7b6ce99055b095271abb14447bc2f37fa1 SHA512 6225141752318af0b50714d70d31dd1ef1bc414d134d22f066f159843991194215bb9bc4e8df38a194e1de67ebbf137d371e875948fa6a6eebfca9df1a414a6d WHIRLPOOL ca35d0ed9cb3751ae968e1c6d425efe42e8b681685eb66f975c0ff1b73e245fc3db6418ec69300331c94275fe3bfcdcd168b931b880c280f3dd63f1f03c4d4db |
30 |
-DIST graphviz-2.28.0.tar.gz 19620087 SHA256 d3aa7973c578cae4cc26d9d6498c57ed06680cab9a4e940d0357a3c6527afc76 SHA512 d6dbcd99487e382f9ca83ef63a3ff3fbe9208f6d3969cf03d15b8944dfb58c7fefe1bf96939e3e69019ae9a562619c6d64ad24e390c408b7271caade443233e0 WHIRLPOOL f0274567661f16993a107f45685f0716e64ea493e064efd2e72a4680120cbee8989fb0eab6429d432d18106d42bfc37d4113816efb14e7888d00014b83dea72a |
31 |
-DIST graphviz-2.34.0.tar.gz 23921350 SHA256 d94abca5745aa4c5808ab56cd3d0ec9ed14fb76a5a88d39e1f234fa84d22d764 SHA512 73dc8c25bc5747fda717d6d2162a8b37bf883544a13b487354a6000d528816a69a021f33cbeec0f6e718a7e9905ab2a04ee63f787ca7f79226055b2da21f4832 WHIRLPOOL 0fe3bf7420eccef9de51789ae9a8d8cab55b6fae7382e557604fb974e04eaa1e0610392dc7f6d5fa85a0b83a3cc955a4ff08d594bf8805c7f06625c7d9ac9007 |
32 |
-DIST graphviz-2.36.0.tar.gz 23846318 SHA256 37fd66d8def158575c75c4f6dbf536839e4ee468aa59314eb472d1aecb076361 SHA512 cca1339cea8d36acbae647a78ff6743a4f77bfa208e74fef615a99dc7d380d2a0a0f0b3fc00de09a9f67c3fad16dc3837ef3aefbfce5a8a3d0f974ed5afbbab5 WHIRLPOOL c9f25f28869afef943121a24b580518d822eb76f30b4c874554f2f1dd4f16ffaf2683644c59746f4295aa574c4b5541f1205787870eed5567cd4bd5c755e5f8b |
33 |
DIST graphviz-2.38.0.tar.gz 25848858 SHA256 81aa238d9d4a010afa73a9d2a704fc3221c731e1e06577c2ab3496bdef67859e SHA512 0e51a97dae595f4e80bc9e4a12ba3c48485fab19941a28d522f5a0624b6a767e0ba720e9e55bff8efe8308dd1cd3793e2c99cb5fdfceb2d5cafb0cbee907e531 WHIRLPOOL b59bb517c4aa690ffd23e1b4d448d5dbaae5594eb1059d574e0cb3bf2091beb9ed867bd4fa7e8ca0259863f24849c96d4d1da056091922bf33ace7da43c8b5d4 |
34 |
|
35 |
diff --git a/media-gfx/graphviz/files/graphviz-2.28.0-Xaw-configure.patch b/media-gfx/graphviz/files/graphviz-2.28.0-Xaw-configure.patch |
36 |
deleted file mode 100644 |
37 |
index 095354f..0000000 |
38 |
--- a/media-gfx/graphviz/files/graphviz-2.28.0-Xaw-configure.patch |
39 |
+++ /dev/null |
40 |
@@ -1,71 +0,0 @@ |
41 |
---- configure.ac.old 2011-05-07 05:25:24.000000000 +0200 |
42 |
-+++ configure.ac 2011-06-24 13:24:49.000000000 +0200 |
43 |
-@@ -1924,6 +1924,10 @@ |
44 |
- # so we set HAVE_LIBXPMFORLEFTY instead of the usual HAVE_LIBXPM |
45 |
- # |
46 |
- |
47 |
-+AC_ARG_WITH(lefty, |
48 |
-+ [AS_HELP_STRING([--with-lefty=yes],[build lefty])], |
49 |
-+ [],[with_xaw=yes]) |
50 |
-+ |
51 |
- AC_ARG_WITH(Xpmincludedir, |
52 |
- [AS_HELP_STRING([--with-Xpmincludedir=DIR],[use Xpm includes from DIR])], |
53 |
- [XPM_INCLUDES="-I$withval"]) |
54 |
-@@ -1931,6 +1935,17 @@ |
55 |
- [AS_HELP_STRING([--with-Xpmlibdir=DIR],[use Xpm libraries from DIR])], |
56 |
- [XPM_LIBS="-L$withval"]) |
57 |
- |
58 |
-+AC_ARG_WITH(Xawincludedir, |
59 |
-+ [AS_HELP_STRING([--with-Xawincludedir=DIR],[use Xaw includes from DIR])], |
60 |
-+ [XAW_INCLUDES="-I$withval"]) |
61 |
-+AC_ARG_WITH(Xawlibdir, |
62 |
-+ [AS_HELP_STRING([--with-Xawlibdir=DIR],[use Xaw libraries from DIR])], |
63 |
-+ [XAW_LIBS="-L$withval"]) |
64 |
-+ |
65 |
-+if test "x$with_xaw" != "xyes"; then |
66 |
-+ use_lefty="No (disabled)" |
67 |
-+else |
68 |
-+ |
69 |
- save_CPPFLAGS=$CPPFLAGS |
70 |
- save_LDFLAGS=$LDFLAGS |
71 |
- CPPFLAGS="$CPPFLAGS $XPM_INCLUDES $X_CFLAGS" |
72 |
-@@ -1941,18 +1956,10 @@ |
73 |
- AC_MSG_WARN(Optional Xpm library not available), [-lXmu -lXt -lX11 -lXext $SOCKET_LIBS]) |
74 |
- LDFLAGS=$save_LDFLAGS |
75 |
- CPPFLAGS=$save_CPPFLAGS |
76 |
--AC_SUBST(XPM_INCLUDES) |
77 |
--AC_SUBST(XPM_LIBS) |
78 |
- |
79 |
- dnl ----------------------------------- |
80 |
- dnl INCLUDES and LIBS for XAW |
81 |
- |
82 |
--AC_ARG_WITH(Xawincludedir, |
83 |
-- [AS_HELP_STRING([--with-Xawincludedir=DIR],[use Xaw includes from DIR])], |
84 |
-- [XAW_INCLUDES="-I$withval"]) |
85 |
--AC_ARG_WITH(Xawlibdir, |
86 |
-- [AS_HELP_STRING([--with-Xawlibdir=DIR],[use Xaw libraries from DIR])], |
87 |
-- [XAW_LIBS="-L$withval"]) |
88 |
- save_CPPFLAGS=$CPPFLAGS |
89 |
- save_LDFLAGS=$LDFLAGS |
90 |
- CPPFLAGS="$CPPFLAGS $XAW_INCLUDES $X_CFLAGS" |
91 |
-@@ -1978,12 +1985,17 @@ |
92 |
- fi |
93 |
- LDFLAGS=$save_LDFLAGS |
94 |
- CPPFLAGS=$save_CPPFLAGS |
95 |
-+ |
96 |
-+fi |
97 |
-+ |
98 |
-+AC_SUBST(XPM_INCLUDES) |
99 |
-+AC_SUBST(XPM_LIBS) |
100 |
- AC_SUBST(XAW_INCLUDES) |
101 |
- AC_SUBST(XAW_LIBS) |
102 |
--AM_CONDITIONAL(WITH_XAW, [test "x$with_xaw" != "xno"]) |
103 |
--if test "x$with_xaw" = "xno"; then |
104 |
-+AM_CONDITIONAL(WITH_XAW, [test "x$with_xaw" = "xyes"]) |
105 |
-+if test "x$with_xaw" != "xyes"; then |
106 |
- if test "x$no_x" != "xyes"; then |
107 |
-- AC_MSG_WARN(Lefty cannot be built) |
108 |
-+ AC_MSG_WARN(Lefty will not be built) |
109 |
- fi |
110 |
- fi |
111 |
- |
112 |
|
113 |
diff --git a/media-gfx/graphviz/files/graphviz-2.28.0-automake-1.11.2.patch b/media-gfx/graphviz/files/graphviz-2.28.0-automake-1.11.2.patch |
114 |
deleted file mode 100644 |
115 |
index 7b279fc..0000000 |
116 |
--- a/media-gfx/graphviz/files/graphviz-2.28.0-automake-1.11.2.patch |
117 |
+++ /dev/null |
118 |
@@ -1,33 +0,0 @@ |
119 |
-Install dir ( buiding with media-libs/ming ): |
120 |
- /usr/$(get_libdir)/graphviz/Bitstream_Vera_Serif.fdb |
121 |
- /usr/$(get_libdir)/graphviz/Bitstream_Vera_Sans.fdb |
122 |
- /usr/include/graphviz/gv.cpp |
123 |
- /usr/include/graphviz/gv.i |
124 |
- |
125 |
-Due to the following change, {pkglib,pkginclude}_DATA is invalid: |
126 |
- http://git.savannah.gnu.org/cgit/automake.git/commit/?id=9ca632642b006ac6b0fc4ce0ae5b34023faa8cbf |
127 |
- |
128 |
---- |
129 |
---- a/plugin/ming/Makefile.am |
130 |
-+++ b/plugin/ming/Makefile.am |
131 |
-@@ -17,7 +17,8 @@ lib_LTLIBRARIES = libgvplugin_ming.la |
132 |
- else |
133 |
- pkglib_LTLIBRARIES = libgvplugin_ming.la |
134 |
- endif |
135 |
--pkglib_DATA = Bitstream_Vera_Sans.fdb Bitstream_Vera_Serif.fdb |
136 |
-+fdblibdir = $(libdir)/@PACKAGE@ |
137 |
-+fdblib_DATA = Bitstream_Vera_Sans.fdb Bitstream_Vera_Serif.fdb |
138 |
- endif |
139 |
- |
140 |
- libgvplugin_ming_C_la_SOURCES = \ |
141 |
---- a/tclpkg/gv/Makefile.am |
142 |
-+++ b/tclpkg/gv/Makefile.am |
143 |
-@@ -257,7 +257,7 @@ $(TCL_data): gv_tcl.cpp |
144 |
- gv_tcl.cpp: gv.i |
145 |
- $(SWIG) -c++ -tcl -namespace -o gv_tcl.cpp $(srcdir)/gv.i |
146 |
- |
147 |
--pkginclude_DATA = gv.i gv.cpp |
148 |
-+pkginclude_HEADERS = gv.i gv.cpp |
149 |
- pkglib_LTLIBRARIES = |
150 |
- man_MANS = |
151 |
- DEVTSTS = |
152 |
|
153 |
diff --git a/media-gfx/graphviz/files/graphviz-2.28.0-dot-pangocairo-link.patch b/media-gfx/graphviz/files/graphviz-2.28.0-dot-pangocairo-link.patch |
154 |
deleted file mode 100644 |
155 |
index cf1715c..0000000 |
156 |
--- a/media-gfx/graphviz/files/graphviz-2.28.0-dot-pangocairo-link.patch |
157 |
+++ /dev/null |
158 |
@@ -1,13 +0,0 @@ |
159 |
---- cmd/dot/Makefile.am 2012-05-29 01:00:08.965321443 +0200 |
160 |
-+++ cmd/dot/Makefile.am 2012-05-29 01:01:57.471964924 +0200 |
161 |
-@@ -115,8 +115,8 @@ |
162 |
- endif |
163 |
- |
164 |
- if WITH_PANGOCAIRO |
165 |
--dot_static_LDADD += $(top_builddir)/plugin/pango/.libs/libgvplugin_pango_C.a $(PANGOCAIRO_LIBS) |
166 |
--dot_builtins_LDADD += $(top_builddir)/plugin/pango/libgvplugin_pango.la $(PANGOCAIRO_LIBS) |
167 |
-+dot_static_LDADD += $(top_builddir)/plugin/pango/.libs/libgvplugin_pango_C.a $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS) |
168 |
-+dot_builtins_LDADD += $(top_builddir)/plugin/pango/libgvplugin_pango.la $(PANGOCAIRO_LIBS) $(PANGOFT2_LIBS) |
169 |
- endif |
170 |
- |
171 |
- EXTRA_DIST = Makefile.old dot.1 dot.1.pdf osage.1 osage.1.pdf patchwork.1 patchwork.1.pdf dot.vcproj |
172 |
|
173 |
diff --git a/media-gfx/graphviz/files/graphviz-2.38-fix-backslashes.patch b/media-gfx/graphviz/files/graphviz-2.38-fix-backslashes.patch |
174 |
deleted file mode 100644 |
175 |
index b4e911d..0000000 |
176 |
--- a/media-gfx/graphviz/files/graphviz-2.38-fix-backslashes.patch |
177 |
+++ /dev/null |
178 |
@@ -1,34 +0,0 @@ |
179 |
-User reported a regression between 2.26 and 2.36 |
180 |
-when trying to .dot the following graph: |
181 |
- |
182 |
- digraph g { |
183 |
- 1 -> 2 [label="\\"] |
184 |
- } |
185 |
- |
186 |
-2.26 shows it as '\' while 2.36 fails as: |
187 |
- $ dot -Tpng a.dot -o a.png |
188 |
- Warning: 1.dot: syntax error in line 2 near '' |
189 |
- |
190 |
-Thanks to Ulya Trofimovich who found and bisected |
191 |
-the problem down to this commit, which fixes problem |
192 |
-only in git version. |
193 |
- |
194 |
-commit 386e47c14b3a8e83bdf3ec8772963213095a7294 |
195 |
-Author: Emden R. Gansner <erg@××××××××.edu> |
196 |
-Date: Thu Jan 30 08:45:06 2014 -0500 |
197 |
- |
198 |
- Remove change made in d19b672a3c06f0ae95b1da38b63b068f71eb266f until we can |
199 |
- remember why this change was made. |
200 |
- |
201 |
-diff --git a/lib/cgraph/scan.l b/lib/cgraph/scan.l |
202 |
-index 0a31f0c..5bb30b7 100644 |
203 |
---- a/lib/cgraph/scan.l |
204 |
-+++ b/lib/cgraph/scan.l |
205 |
-@@ -199,6 +199,7 @@ ID ({NAME}|{NUMBER}) |
206 |
- ["] BEGIN(qstring); beginstr(); |
207 |
- <qstring>["] BEGIN(INITIAL); endstr(); return (T_qatom); |
208 |
- <qstring>[\\]["] addstr ("\""); |
209 |
-+<qstring>[\\][\\] addstr ("\\\\"); |
210 |
- <qstring>[\\][\n] line_num++; /* ignore escaped newlines */ |
211 |
- <qstring>([^"\\]*|[\\]) addstr(yytext); |
212 |
- [<] BEGIN(hstring); html_nest = 1; beginstr(); |
213 |
|
214 |
diff --git a/media-gfx/graphviz/graphviz-2.28.0.ebuild b/media-gfx/graphviz/graphviz-2.28.0.ebuild |
215 |
deleted file mode 100644 |
216 |
index b702ab3..0000000 |
217 |
--- a/media-gfx/graphviz/graphviz-2.28.0.ebuild |
218 |
+++ /dev/null |
219 |
@@ -1,255 +0,0 @@ |
220 |
-# Copyright 1999-2015 Gentoo Foundation |
221 |
-# Distributed under the terms of the GNU General Public License v2 |
222 |
-# $Id$ |
223 |
- |
224 |
-EAPI=5 |
225 |
- |
226 |
-PYTHON_COMPAT=( python2_7 ) |
227 |
- |
228 |
-inherit autotools eutils flag-o-matic multilib python-single-r1 |
229 |
- |
230 |
-DESCRIPTION="Open Source Graph Visualization Software" |
231 |
-HOMEPAGE="http://www.graphviz.org/" |
232 |
-SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" |
233 |
- |
234 |
-LICENSE="CPL-1.0" |
235 |
-SLOT="0" |
236 |
-#original KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" |
237 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
238 |
-IUSE="+cairo devil doc examples gtk gts java lasi nls perl postscript python qt4 ruby svg static-libs tcl X elibc_FreeBSD" |
239 |
- |
240 |
-# Requires ksh |
241 |
-RESTRICT="test" |
242 |
- |
243 |
-RDEPEND=" |
244 |
- sys-libs/zlib |
245 |
- >=dev-libs/expat-2 |
246 |
- >=dev-libs/glib-2.11.1 |
247 |
- >=media-libs/fontconfig-2.3.95 |
248 |
- >=media-libs/freetype-2.1.10 |
249 |
- >=media-libs/gd-2.0.34[fontconfig,jpeg,png,truetype,zlib] |
250 |
- >=media-libs/libpng-1.2:0 |
251 |
- !<=sci-chemistry/cluster-1.3.081231 |
252 |
- virtual/jpeg:0 |
253 |
- virtual/libiconv |
254 |
- X? ( |
255 |
- x11-libs/libXaw |
256 |
- x11-libs/libX11 |
257 |
- x11-libs/libXmu |
258 |
- x11-libs/libXpm |
259 |
- x11-libs/libXt |
260 |
- ) |
261 |
- cairo? ( |
262 |
- >=x11-libs/pango-1.12 |
263 |
- >=x11-libs/cairo-1.1.10[svg] |
264 |
- ) |
265 |
- devil? ( media-libs/devil[png,jpeg] ) |
266 |
- postscript? ( app-text/ghostscript-gpl ) |
267 |
- gtk? ( x11-libs/gtk+:2 ) |
268 |
- gts? ( sci-libs/gts ) |
269 |
- lasi? ( media-libs/lasi ) |
270 |
- perl? ( dev-lang/perl:= ) |
271 |
- python? ( ${PYTHON_DEPS} ) |
272 |
- qt4? ( |
273 |
- dev-qt/qtcore:4 |
274 |
- dev-qt/qtgui:4 |
275 |
- ) |
276 |
- ruby? ( dev-lang/ruby ) |
277 |
- svg? ( gnome-base/librsvg ) |
278 |
- tcl? ( >=dev-lang/tcl-8.3:0= )" |
279 |
-DEPEND="${RDEPEND} |
280 |
- virtual/pkgconfig |
281 |
- sys-devel/flex |
282 |
- java? ( dev-lang/swig ) |
283 |
- nls? ( >=sys-devel/gettext-0.14.5 ) |
284 |
- perl? ( dev-lang/swig ) |
285 |
- python? ( |
286 |
- dev-lang/swig |
287 |
- ${PYTHON_DEPS} |
288 |
- ) |
289 |
- ruby? ( dev-lang/swig ) |
290 |
- tcl? ( dev-lang/swig )" |
291 |
-REQUIRED_USE=" |
292 |
- !cairo? ( !X !gtk !postscript !lasi ) |
293 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
294 |
- |
295 |
-# Dependency description / Maintainer-Info: |
296 |
- |
297 |
-# Rendering is done via the following plugins (/plugins): |
298 |
-# - core, dot_layout, neato_layout, gd , dot |
299 |
-# the ones which are always compiled in, depend on zlib, gd |
300 |
-# - gtk |
301 |
-# Directly depends on gtk-2. |
302 |
-# needs 'pangocairo' enabled in graphviz configuration |
303 |
-# gtk-2 depends on pango, cairo and libX11 directly. |
304 |
-# - gdk-pixbuf |
305 |
-# Disabled, GTK-1 junk. |
306 |
-# - glitz |
307 |
-# Disabled, no particular reason |
308 |
-# needs 'pangocairo' enabled in graphviz configuration |
309 |
-# - ming |
310 |
-# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's |
311 |
-# incomplete. |
312 |
-# - cairo/pango: |
313 |
-# Needs pango for text layout, uses cairo methods to draw stuff |
314 |
-# - xlib: |
315 |
-# needs cairo+pango, |
316 |
-# can make use of gnomeui and inotify support (??? unsure), |
317 |
-# needs libXaw for UI |
318 |
-# UI also links directly against libX11, libXmu, and libXt |
319 |
-# and uses libXpm if available so we make sure it always is |
320 |
- |
321 |
-# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
322 |
-# - c-sharp (disabled) |
323 |
-# - scheme (enabled via guile) ... broken on ~x86 |
324 |
-# - io (disabled) |
325 |
-# - java (enabled via java) *2 |
326 |
-# - lua (enabled via lua) |
327 |
-# - ocaml (enabled via ocaml) |
328 |
-# - perl (enabled via perl) *1 |
329 |
-# - php (enabled via php) *2 |
330 |
-# - python (enabled via python) *1 |
331 |
-# - ruby (enabled via ruby) *1 |
332 |
-# - tcl (enabled via tcl) |
333 |
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
334 |
-# *2 = Those bindings don't build because the paths for the headers/libs aren't |
335 |
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
336 |
- |
337 |
-# There are several other tools in /tclpkg: |
338 |
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
339 |
-# tkspline, tkstubs ; enabled with: --with-tk |
340 |
- |
341 |
-# And the commands (/cmd): |
342 |
-# - dot, dotty, gvedit, gvpr, lefty, lneato, smyrna, tools/* :) |
343 |
-# sci-libs/gts can be used for some of these |
344 |
-# - lefty: |
345 |
-# needs Xaw and X to build |
346 |
-# - gvedit (via 'qt4'): |
347 |
-# based on ./configure it needs qt-core and qt-gui only |
348 |
-# - smyrna : experimental opengl front-end (via 'smyrna') |
349 |
-# currently disabled -- it segfaults a lot |
350 |
-# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut |
351 |
-# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' |
352 |
-# with flags enabled at configure time |
353 |
- |
354 |
-pkg_setup() { |
355 |
- use python && python-single-r1_pkg_setup |
356 |
-} |
357 |
- |
358 |
-src_prepare() { |
359 |
- epatch \ |
360 |
- "${FILESDIR}"/${P}-Xaw-configure.patch \ |
361 |
- "${FILESDIR}"/${P}-automake-1.11.2.patch \ |
362 |
- "${FILESDIR}"/${P}-dot-pangocairo-link.patch |
363 |
- |
364 |
- # ToDo: Do the same thing for examples and/or |
365 |
- # write a patch for a configuration-option |
366 |
- # and send it to upstream |
367 |
- # note - the longer sed expression removes multi-line assignments that are extended via '\' |
368 |
- if ! use doc ; then |
369 |
- find . -iname Makefile.am \ |
370 |
- | xargs sed -i -e '/^\(html\|pdf\)_DATA.*\\[[:space:]]*$/{:m;N;s/\\\n//;tm;d}' \ |
371 |
- -e '/^\(html\|pdf\)_DATA/d' || die |
372 |
- fi |
373 |
- |
374 |
- # This is an old version of libtool |
375 |
- # use the ./configure option to exclude its use, and |
376 |
- # delete the dir since we don't need to eautoreconf it |
377 |
- rm -rf libltdl |
378 |
- |
379 |
- # no nls, no gettext, no iconv macro, so disable it |
380 |
- use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
381 |
- |
382 |
- # Nuke the dead symlinks for the bindings |
383 |
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
384 |
- |
385 |
- # replace the whitespace with tabs |
386 |
- sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
387 |
- |
388 |
- # workaround for http://www.graphviz.org/mantisbt/view.php?id=1895 |
389 |
- use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos) |
390 |
- |
391 |
- eautoreconf |
392 |
-} |
393 |
- |
394 |
-src_configure() { |
395 |
- # libtool file collision, bug 276609 |
396 |
- local myconf="--without-included-ltdl --disable-ltdl-install" |
397 |
- |
398 |
- myconf="${myconf} |
399 |
- $(use_with cairo pangocairo) |
400 |
- $(use_with devil) |
401 |
- $(use_with gtk) |
402 |
- $(use_with gts) |
403 |
- $(use_with qt4) |
404 |
- $(use_with lasi) |
405 |
- $(use_with svg rsvg) |
406 |
- $(use_with X x) |
407 |
- $(use_with X xaw) |
408 |
- $(use_with X lefty) |
409 |
- --with-digcola |
410 |
- --with-fontconfig |
411 |
- --with-freetype2 |
412 |
- --with-ipsepcola |
413 |
- --with-libgd |
414 |
- --with-sfdp |
415 |
- --without-gdk-pixbuf |
416 |
- --without-ming" |
417 |
- |
418 |
- # new/experimental features, to be tested, disable for now |
419 |
- myconf="${myconf} |
420 |
- --without-cgraph |
421 |
- --without-glitz |
422 |
- --without-ipsepcola |
423 |
- --without-smyrna |
424 |
- --without-visio" |
425 |
- |
426 |
- # Bindings: |
427 |
- myconf="${myconf} |
428 |
- --disable-guile |
429 |
- --disable-io |
430 |
- $(use_enable java) |
431 |
- --disable-lua |
432 |
- --disable-ocaml |
433 |
- $(use_enable perl) |
434 |
- --disable-php |
435 |
- $(use_enable python) |
436 |
- --disable-r |
437 |
- $(use_enable ruby) |
438 |
- --disable-sharp |
439 |
- $(use_enable tcl)" |
440 |
- |
441 |
- econf \ |
442 |
- --enable-ltdl \ |
443 |
- --disable-silent-rules \ |
444 |
- $(use_enable static-libs static) \ |
445 |
- ${myconf} |
446 |
-} |
447 |
- |
448 |
-src_install() { |
449 |
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
450 |
- |
451 |
- emake DESTDIR="${D}" \ |
452 |
- txtdir="${EPREFIX}"/usr/share/doc/${PF} \ |
453 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
454 |
- htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \ |
455 |
- pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \ |
456 |
- pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ |
457 |
- install |
458 |
- |
459 |
- use examples || rm -rf "${ED}"/usr/share/graphviz/demo |
460 |
- |
461 |
- use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
462 |
- |
463 |
- dodoc AUTHORS ChangeLog NEWS README |
464 |
- |
465 |
- use python && python_optimize \ |
466 |
- "${D}$(python_get_sitedir)" \ |
467 |
- "${D}/usr/$(get_libdir)/graphviz/python" |
468 |
-} |
469 |
- |
470 |
-pkg_postinst() { |
471 |
- # This actually works if --enable-ltdl is passed |
472 |
- # to configure |
473 |
- dot -c |
474 |
-} |
475 |
|
476 |
diff --git a/media-gfx/graphviz/graphviz-2.34.0.ebuild b/media-gfx/graphviz/graphviz-2.34.0.ebuild |
477 |
deleted file mode 100644 |
478 |
index 5844049..0000000 |
479 |
--- a/media-gfx/graphviz/graphviz-2.34.0.ebuild |
480 |
+++ /dev/null |
481 |
@@ -1,260 +0,0 @@ |
482 |
-# Copyright 1999-2015 Gentoo Foundation |
483 |
-# Distributed under the terms of the GNU General Public License v2 |
484 |
-# $Id$ |
485 |
- |
486 |
-EAPI=5 |
487 |
- |
488 |
-PYTHON_COMPAT=( python2_7 ) |
489 |
- |
490 |
-inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 |
491 |
- |
492 |
-DESCRIPTION="Open Source Graph Visualization Software" |
493 |
-HOMEPAGE="http://www.graphviz.org/" |
494 |
-SRC_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/${P}.tar.gz" |
495 |
- |
496 |
-LICENSE="CPL-1.0" |
497 |
-SLOT="0" |
498 |
-#original KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris" |
499 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
500 |
-IUSE="+cairo devil doc examples gdk-pixbuf gtk gts guile java lasi nls pdf perl postscript python qt4 ruby svg static-libs tcl X elibc_FreeBSD" |
501 |
- |
502 |
-# Requires ksh |
503 |
-RESTRICT="test" |
504 |
- |
505 |
-RDEPEND=" |
506 |
- sys-libs/zlib |
507 |
- >=dev-libs/expat-2 |
508 |
- >=dev-libs/glib-2.11.1 |
509 |
- >=media-libs/fontconfig-2.3.95 |
510 |
- >=media-libs/freetype-2.1.10 |
511 |
- >=media-libs/gd-2.0.34[fontconfig,jpeg,png,truetype,zlib] |
512 |
- >=media-libs/libpng-1.2:0 |
513 |
- !<=sci-chemistry/cluster-1.3.081231 |
514 |
- virtual/jpeg:0 |
515 |
- virtual/libiconv |
516 |
- X? ( |
517 |
- x11-libs/libXaw |
518 |
- x11-libs/libX11 |
519 |
- x11-libs/libXmu |
520 |
- x11-libs/libXpm |
521 |
- x11-libs/libXt |
522 |
- ) |
523 |
- cairo? ( |
524 |
- >=x11-libs/pango-1.12 |
525 |
- >=x11-libs/cairo-1.1.10[svg] |
526 |
- ) |
527 |
- devil? ( media-libs/devil[png,jpeg] ) |
528 |
- postscript? ( app-text/ghostscript-gpl ) |
529 |
- gtk? ( x11-libs/gtk+:2 ) |
530 |
- gts? ( sci-libs/gts ) |
531 |
- lasi? ( media-libs/lasi ) |
532 |
- pdf? ( app-text/poppler ) |
533 |
- perl? ( dev-lang/perl:= ) |
534 |
- python? ( ${PYTHON_DEPS} ) |
535 |
- qt4? ( |
536 |
- dev-qt/qtcore:4 |
537 |
- dev-qt/qtgui:4 |
538 |
- ) |
539 |
- ruby? ( dev-lang/ruby ) |
540 |
- svg? ( gnome-base/librsvg ) |
541 |
- tcl? ( >=dev-lang/tcl-8.3:0= )" |
542 |
-DEPEND="${RDEPEND} |
543 |
- virtual/pkgconfig |
544 |
- sys-devel/flex |
545 |
- guile? ( dev-scheme/guile dev-lang/swig ) |
546 |
- java? ( >=virtual/jdk-1.5 dev-lang/swig ) |
547 |
- nls? ( >=sys-devel/gettext-0.14.5 ) |
548 |
- perl? ( dev-lang/swig ) |
549 |
- python? ( |
550 |
- dev-lang/swig |
551 |
- ${PYTHON_DEPS} |
552 |
- ) |
553 |
- ruby? ( dev-lang/swig ) |
554 |
- tcl? ( dev-lang/swig )" |
555 |
-REQUIRED_USE=" |
556 |
- !cairo? ( !X !gtk !postscript !lasi ) |
557 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
558 |
- |
559 |
-# Dependency description / Maintainer-Info: |
560 |
- |
561 |
-# Rendering is done via the following plugins (/plugins): |
562 |
-# - core, dot_layout, neato_layout, gd , dot |
563 |
-# the ones which are always compiled in, depend on zlib, gd |
564 |
-# - gtk |
565 |
-# Directly depends on gtk-2. |
566 |
-# needs 'pangocairo' enabled in graphviz configuration |
567 |
-# gtk-2 depends on pango, cairo and libX11 directly. |
568 |
-# - gdk-pixbuf |
569 |
-# Disabled, GTK-1 junk. |
570 |
-# - glitz |
571 |
-# Disabled, no particular reason |
572 |
-# needs 'pangocairo' enabled in graphviz configuration |
573 |
-# - ming |
574 |
-# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's |
575 |
-# incomplete. |
576 |
-# - cairo/pango: |
577 |
-# Needs pango for text layout, uses cairo methods to draw stuff |
578 |
-# - xlib: |
579 |
-# needs cairo+pango, |
580 |
-# can make use of gnomeui and inotify support (??? unsure), |
581 |
-# needs libXaw for UI |
582 |
-# UI also links directly against libX11, libXmu, and libXt |
583 |
-# and uses libXpm if available so we make sure it always is |
584 |
- |
585 |
-# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
586 |
-# - c-sharp (disabled) |
587 |
-# - scheme (enabled via guile) ... no longer broken on ~x86 |
588 |
-# - io (disabled) |
589 |
-# - java (enabled via java) *2 |
590 |
-# - lua (enabled via lua) |
591 |
-# - ocaml (enabled via ocaml) |
592 |
-# - perl (enabled via perl) *1 |
593 |
-# - php (enabled via php) *2 |
594 |
-# - python (enabled via python) *1 |
595 |
-# - ruby (enabled via ruby) *1 |
596 |
-# - tcl (enabled via tcl) |
597 |
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
598 |
-# *2 = Those bindings don't build because the paths for the headers/libs aren't |
599 |
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
600 |
- |
601 |
-# There are several other tools in /tclpkg: |
602 |
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
603 |
-# tkspline, tkstubs ; enabled with: --with-tk |
604 |
- |
605 |
-# And the commands (/cmd): |
606 |
-# - dot, dotty, gvedit, gvpr, lefty, lneato, smyrna, tools/* :) |
607 |
-# sci-libs/gts can be used for some of these |
608 |
-# - lefty: |
609 |
-# needs Xaw and X to build |
610 |
-# - gvedit (via 'qt4'): |
611 |
-# based on ./configure it needs qt-core and qt-gui only |
612 |
-# - smyrna : experimental opengl front-end (via 'smyrna') |
613 |
-# currently disabled -- it segfaults a lot |
614 |
-# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut |
615 |
-# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' |
616 |
-# with flags enabled at configure time |
617 |
- |
618 |
-pkg_setup() { |
619 |
- use python && python-single-r1_pkg_setup |
620 |
- |
621 |
- java-pkg-opt-2_pkg_setup |
622 |
-} |
623 |
- |
624 |
-src_prepare() { |
625 |
- epatch \ |
626 |
- "${FILESDIR}"/${P}-Xaw-configure.patch \ |
627 |
- "${FILESDIR}"/${P}-dot-pangocairo-link.patch |
628 |
- |
629 |
- # ToDo: Do the same thing for examples and/or |
630 |
- # write a patch for a configuration-option |
631 |
- # and send it to upstream |
632 |
- # note - the longer sed expression removes multi-line assignments that are extended via '\' |
633 |
- if ! use doc ; then |
634 |
- find . -iname Makefile.am \ |
635 |
- | xargs sed -i -e '/^\(html\|pdf\)_DATA.*\\[[:space:]]*$/{:m;N;s/\\\n//;tm;d}' \ |
636 |
- -e '/^\(html\|pdf\)_DATA/d' || die |
637 |
- fi |
638 |
- |
639 |
- # This is an old version of libtool |
640 |
- # use the ./configure option to exclude its use, and |
641 |
- # delete the dir since we don't need to eautoreconf it |
642 |
- rm -rf libltdl |
643 |
- |
644 |
- # no nls, no gettext, no iconv macro, so disable it |
645 |
- use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
646 |
- |
647 |
- # Nuke the dead symlinks for the bindings |
648 |
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
649 |
- |
650 |
- # replace the whitespace with tabs |
651 |
- sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
652 |
- |
653 |
- # workaround for http://www.graphviz.org/mantisbt/view.php?id=1895 |
654 |
- use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos) |
655 |
- |
656 |
- use java && append-cppflags $(java-pkg_get-jni-cflags) |
657 |
- |
658 |
- eautoreconf |
659 |
-} |
660 |
- |
661 |
-src_configure() { |
662 |
- # libtool file collision, bug 276609 |
663 |
- local myconf="--without-included-ltdl --disable-ltdl-install" |
664 |
- |
665 |
- myconf="${myconf} |
666 |
- $(use_with cairo pangocairo) |
667 |
- $(use_with devil) |
668 |
- $(use_with gtk) |
669 |
- $(use_with gts) |
670 |
- $(use_with qt4) |
671 |
- $(use_with lasi) |
672 |
- $(use_with svg rsvg) |
673 |
- $(use_with X x) |
674 |
- $(use_with X xaw) |
675 |
- $(use_with X lefty) |
676 |
- --with-digcola |
677 |
- --with-fontconfig |
678 |
- --with-freetype2 |
679 |
- --with-ipsepcola |
680 |
- --with-libgd |
681 |
- --with-sfdp |
682 |
- $(use_enable gdk-pixbuf) |
683 |
- --without-ming" |
684 |
- |
685 |
- # new/experimental features, to be tested, disable for now |
686 |
- myconf="${myconf} |
687 |
- --with-cgraph |
688 |
- --without-glitz |
689 |
- --without-ipsepcola |
690 |
- --without-smyrna |
691 |
- --without-visio" |
692 |
- |
693 |
- # Bindings: |
694 |
- myconf="${myconf} |
695 |
- $(use_enable guile) |
696 |
- --disable-io |
697 |
- $(use_enable java) |
698 |
- --disable-lua |
699 |
- --disable-ocaml |
700 |
- $(use_enable perl) |
701 |
- --disable-php |
702 |
- $(use_enable python) |
703 |
- --disable-r |
704 |
- $(use_enable ruby) |
705 |
- --disable-sharp |
706 |
- $(use_enable tcl)" |
707 |
- |
708 |
- econf \ |
709 |
- --enable-ltdl \ |
710 |
- --disable-silent-rules \ |
711 |
- $(use_enable static-libs static) \ |
712 |
- ${myconf} |
713 |
-} |
714 |
- |
715 |
-src_install() { |
716 |
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
717 |
- |
718 |
- emake DESTDIR="${D}" \ |
719 |
- txtdir="${EPREFIX}"/usr/share/doc/${PF} \ |
720 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
721 |
- htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \ |
722 |
- pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \ |
723 |
- pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ |
724 |
- install |
725 |
- |
726 |
- use examples || rm -rf "${ED}"/usr/share/graphviz/demo |
727 |
- |
728 |
- use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
729 |
- |
730 |
- dodoc AUTHORS ChangeLog NEWS README |
731 |
- |
732 |
- use python && python_optimize \ |
733 |
- "${D}$(python_get_sitedir)" \ |
734 |
- "${D}/usr/$(get_libdir)/graphviz/python" |
735 |
-} |
736 |
- |
737 |
-pkg_postinst() { |
738 |
- # This actually works if --enable-ltdl is passed |
739 |
- # to configure |
740 |
- dot -c |
741 |
-} |
742 |
|
743 |
diff --git a/media-gfx/graphviz/graphviz-2.36.0.ebuild b/media-gfx/graphviz/graphviz-2.36.0.ebuild |
744 |
deleted file mode 100644 |
745 |
index 19ce277..0000000 |
746 |
--- a/media-gfx/graphviz/graphviz-2.36.0.ebuild |
747 |
+++ /dev/null |
748 |
@@ -1,256 +0,0 @@ |
749 |
-# Copyright 1999-2015 Gentoo Foundation |
750 |
-# Distributed under the terms of the GNU General Public License v2 |
751 |
-# $Id$ |
752 |
- |
753 |
-EAPI=5 |
754 |
-PYTHON_COMPAT=( python2_7 ) |
755 |
- |
756 |
-inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 |
757 |
- |
758 |
-DESCRIPTION="Open Source Graph Visualization Software" |
759 |
-HOMEPAGE="http://www.graphviz.org/" |
760 |
-SRC_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/${P}.tar.gz" |
761 |
- |
762 |
-LICENSE="CPL-1.0" |
763 |
-SLOT="0" |
764 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
765 |
-IUSE="+cairo devil doc examples gdk-pixbuf gtk gts guile java lasi nls pdf perl postscript python qt4 ruby svg static-libs tcl X elibc_FreeBSD" |
766 |
- |
767 |
-# Requires ksh |
768 |
-RESTRICT="test" |
769 |
- |
770 |
-RDEPEND=" |
771 |
- sys-libs/zlib |
772 |
- >=dev-libs/expat-2 |
773 |
- >=dev-libs/glib-2.11.1 |
774 |
- >=media-libs/fontconfig-2.3.95 |
775 |
- >=media-libs/freetype-2.1.10 |
776 |
- >=media-libs/gd-2.0.34[fontconfig,jpeg,png,truetype,zlib] |
777 |
- >=media-libs/libpng-1.2:0 |
778 |
- !<=sci-chemistry/cluster-1.3.081231 |
779 |
- sys-devel/libtool |
780 |
- virtual/jpeg:0 |
781 |
- virtual/libiconv |
782 |
- X? ( |
783 |
- x11-libs/libXaw |
784 |
- x11-libs/libX11 |
785 |
- x11-libs/libXmu |
786 |
- x11-libs/libXpm |
787 |
- x11-libs/libXt |
788 |
- ) |
789 |
- cairo? ( |
790 |
- >=x11-libs/pango-1.12 |
791 |
- >=x11-libs/cairo-1.1.10[svg] |
792 |
- ) |
793 |
- devil? ( media-libs/devil[png,jpeg] ) |
794 |
- postscript? ( app-text/ghostscript-gpl ) |
795 |
- gtk? ( x11-libs/gtk+:2 ) |
796 |
- gts? ( sci-libs/gts ) |
797 |
- lasi? ( media-libs/lasi ) |
798 |
- pdf? ( app-text/poppler ) |
799 |
- perl? ( dev-lang/perl:= ) |
800 |
- python? ( ${PYTHON_DEPS} ) |
801 |
- qt4? ( |
802 |
- dev-qt/qtcore:4 |
803 |
- dev-qt/qtgui:4 |
804 |
- ) |
805 |
- ruby? ( dev-lang/ruby ) |
806 |
- svg? ( gnome-base/librsvg ) |
807 |
- tcl? ( >=dev-lang/tcl-8.3:0= )" |
808 |
-DEPEND="${RDEPEND} |
809 |
- virtual/pkgconfig |
810 |
- sys-devel/flex |
811 |
- guile? ( dev-scheme/guile dev-lang/swig ) |
812 |
- java? ( >=virtual/jdk-1.5 dev-lang/swig ) |
813 |
- nls? ( >=sys-devel/gettext-0.14.5 ) |
814 |
- perl? ( dev-lang/swig ) |
815 |
- python? ( dev-lang/swig ) |
816 |
- ruby? ( dev-lang/swig ) |
817 |
- tcl? ( dev-lang/swig )" |
818 |
-REQUIRED_USE=" |
819 |
- !cairo? ( !X !gtk !postscript !lasi ) |
820 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
821 |
- |
822 |
-# Dependency description / Maintainer-Info: |
823 |
- |
824 |
-# Rendering is done via the following plugins (/plugins): |
825 |
-# - core, dot_layout, neato_layout, gd , dot |
826 |
-# the ones which are always compiled in, depend on zlib, gd |
827 |
-# - gtk |
828 |
-# Directly depends on gtk-2. |
829 |
-# needs 'pangocairo' enabled in graphviz configuration |
830 |
-# gtk-2 depends on pango, cairo and libX11 directly. |
831 |
-# - gdk-pixbuf |
832 |
-# Disabled, GTK-1 junk. |
833 |
-# - glitz |
834 |
-# Disabled, no particular reason |
835 |
-# needs 'pangocairo' enabled in graphviz configuration |
836 |
-# - ming |
837 |
-# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's |
838 |
-# incomplete. |
839 |
-# - cairo/pango: |
840 |
-# Needs pango for text layout, uses cairo methods to draw stuff |
841 |
-# - xlib: |
842 |
-# needs cairo+pango, |
843 |
-# can make use of gnomeui and inotify support (??? unsure), |
844 |
-# needs libXaw for UI |
845 |
-# UI also links directly against libX11, libXmu, and libXt |
846 |
-# and uses libXpm if available so we make sure it always is |
847 |
- |
848 |
-# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
849 |
-# - c-sharp (disabled) |
850 |
-# - scheme (enabled via guile) ... no longer broken on ~x86 |
851 |
-# - io (disabled) |
852 |
-# - java (enabled via java) *2 |
853 |
-# - lua (enabled via lua) |
854 |
-# - ocaml (enabled via ocaml) |
855 |
-# - perl (enabled via perl) *1 |
856 |
-# - php (enabled via php) *2 |
857 |
-# - python (enabled via python) *1 |
858 |
-# - ruby (enabled via ruby) *1 |
859 |
-# - tcl (enabled via tcl) |
860 |
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
861 |
-# *2 = Those bindings don't build because the paths for the headers/libs aren't |
862 |
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
863 |
- |
864 |
-# There are several other tools in /tclpkg: |
865 |
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
866 |
-# tkspline, tkstubs ; enabled with: --with-tk |
867 |
- |
868 |
-# And the commands (/cmd): |
869 |
-# - dot, dotty, gvedit, gvpr, lefty, lneato, smyrna, tools/* :) |
870 |
-# sci-libs/gts can be used for some of these |
871 |
-# - lefty: |
872 |
-# needs Xaw and X to build |
873 |
-# - gvedit (via 'qt4'): |
874 |
-# based on ./configure it needs qt-core and qt-gui only |
875 |
-# - smyrna : experimental opengl front-end (via 'smyrna') |
876 |
-# currently disabled -- it segfaults a lot |
877 |
-# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut |
878 |
-# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' |
879 |
-# with flags enabled at configure time |
880 |
- |
881 |
-pkg_setup() { |
882 |
- use python && python-single-r1_pkg_setup |
883 |
- |
884 |
- java-pkg-opt-2_pkg_setup |
885 |
-} |
886 |
- |
887 |
-src_prepare() { |
888 |
- epatch \ |
889 |
- "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch \ |
890 |
- "${FILESDIR}"/${PN}-2.34.0-dot-pangocairo-link.patch |
891 |
- |
892 |
- # ToDo: Do the same thing for examples and/or |
893 |
- # write a patch for a configuration-option |
894 |
- # and send it to upstream |
895 |
- # note - the longer sed expression removes multi-line assignments that are extended via '\' |
896 |
- if ! use doc ; then |
897 |
- find . -iname Makefile.am \ |
898 |
- | xargs sed -i -e '/^\(html\|pdf\)_DATA.*\\[[:space:]]*$/{:m;N;s/\\\n//;tm;d}' \ |
899 |
- -e '/^\(html\|pdf\)_DATA/d' || die |
900 |
- fi |
901 |
- |
902 |
- # This is an old version of libtool |
903 |
- # use the ./configure option to exclude its use, and |
904 |
- # delete the dir since we don't need to eautoreconf it |
905 |
- rm -rf libltdl |
906 |
- |
907 |
- # no nls, no gettext, no iconv macro, so disable it |
908 |
- use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
909 |
- |
910 |
- # Nuke the dead symlinks for the bindings |
911 |
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
912 |
- |
913 |
- # replace the whitespace with tabs |
914 |
- sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
915 |
- |
916 |
- # workaround for http://www.graphviz.org/mantisbt/view.php?id=1895 |
917 |
- use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos) |
918 |
- |
919 |
- use java && append-cppflags $(java-pkg_get-jni-cflags) |
920 |
- |
921 |
- eautoreconf |
922 |
-} |
923 |
- |
924 |
-src_configure() { |
925 |
- # libtool file collision, bug 276609 |
926 |
- local myconf="--without-included-ltdl --disable-ltdl-install" |
927 |
- |
928 |
- myconf="${myconf} |
929 |
- $(use_with cairo pangocairo) |
930 |
- $(use_with devil) |
931 |
- $(use_with gtk) |
932 |
- $(use_with gts) |
933 |
- $(use_with qt4) |
934 |
- $(use_with lasi) |
935 |
- $(use_with svg rsvg) |
936 |
- $(use_with X x) |
937 |
- $(use_with X xaw) |
938 |
- $(use_with X lefty) |
939 |
- --with-digcola |
940 |
- --with-fontconfig |
941 |
- --with-freetype2 |
942 |
- --with-ipsepcola |
943 |
- --with-libgd |
944 |
- --with-sfdp |
945 |
- $(use_enable gdk-pixbuf) |
946 |
- --without-ming" |
947 |
- |
948 |
- # new/experimental features, to be tested, disable for now |
949 |
- myconf="${myconf} |
950 |
- --with-cgraph |
951 |
- --without-glitz |
952 |
- --without-ipsepcola |
953 |
- --without-smyrna |
954 |
- --without-visio" |
955 |
- |
956 |
- # Bindings: |
957 |
- myconf="${myconf} |
958 |
- $(use_enable guile) |
959 |
- --disable-io |
960 |
- $(use_enable java) |
961 |
- --disable-lua |
962 |
- --disable-ocaml |
963 |
- $(use_enable perl) |
964 |
- --disable-php |
965 |
- $(use_enable python) |
966 |
- --disable-r |
967 |
- $(use_enable ruby) |
968 |
- --disable-sharp |
969 |
- $(use_enable tcl)" |
970 |
- |
971 |
- econf \ |
972 |
- --enable-ltdl \ |
973 |
- --disable-silent-rules \ |
974 |
- $(use_enable static-libs static) \ |
975 |
- ${myconf} |
976 |
-} |
977 |
- |
978 |
-src_install() { |
979 |
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
980 |
- |
981 |
- emake DESTDIR="${D}" \ |
982 |
- txtdir="${EPREFIX}"/usr/share/doc/${PF} \ |
983 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
984 |
- htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \ |
985 |
- pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \ |
986 |
- pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ |
987 |
- install |
988 |
- |
989 |
- use examples || rm -rf "${ED}"/usr/share/graphviz/demo |
990 |
- |
991 |
- use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
992 |
- |
993 |
- dodoc AUTHORS ChangeLog NEWS README |
994 |
- |
995 |
- use python && python_optimize \ |
996 |
- "${D}$(python_get_sitedir)" \ |
997 |
- "${D}/usr/$(get_libdir)/graphviz/python" |
998 |
-} |
999 |
- |
1000 |
-pkg_postinst() { |
1001 |
- # This actually works if --enable-ltdl is passed |
1002 |
- # to configure |
1003 |
- dot -c |
1004 |
-} |
1005 |
|
1006 |
diff --git a/media-gfx/graphviz/graphviz-2.36.0-r1.ebuild b/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild |
1007 |
similarity index 96% |
1008 |
rename from media-gfx/graphviz/graphviz-2.36.0-r1.ebuild |
1009 |
rename to media-gfx/graphviz/graphviz-2.38.0-r1.ebuild |
1010 |
index b29219c..6b1b1f6 100644 |
1011 |
--- a/media-gfx/graphviz/graphviz-2.36.0-r1.ebuild |
1012 |
+++ b/media-gfx/graphviz/graphviz-2.38.0-r1.ebuild |
1013 |
@@ -4,6 +4,7 @@ |
1014 |
|
1015 |
EAPI=5 |
1016 |
PYTHON_COMPAT=( python2_7 ) |
1017 |
+WANT_AUTOMAKE=1.13 #547168 |
1018 |
|
1019 |
inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 |
1020 |
|
1021 |
@@ -22,13 +23,13 @@ RESTRICT="test" |
1022 |
RDEPEND=" |
1023 |
sys-libs/zlib |
1024 |
>=dev-libs/expat-2 |
1025 |
- >=dev-libs/glib-2.11.1 |
1026 |
+ >=dev-libs/glib-2.11.1:2 |
1027 |
+ dev-libs/libltdl:0 |
1028 |
>=media-libs/fontconfig-2.3.95 |
1029 |
>=media-libs/freetype-2.1.10 |
1030 |
>=media-libs/gd-2.0.34[fontconfig,jpeg,png,truetype,zlib] |
1031 |
>=media-libs/libpng-1.2:0 |
1032 |
!<=sci-chemistry/cluster-1.3.081231 |
1033 |
- sys-devel/libtool |
1034 |
virtual/jpeg:0 |
1035 |
virtual/libiconv |
1036 |
X? ( |
1037 |
@@ -54,12 +55,13 @@ RDEPEND=" |
1038 |
dev-qt/qtcore:4 |
1039 |
dev-qt/qtgui:4 |
1040 |
) |
1041 |
- ruby? ( dev-lang/ruby ) |
1042 |
+ ruby? ( dev-lang/ruby:* ) |
1043 |
svg? ( gnome-base/librsvg ) |
1044 |
tcl? ( >=dev-lang/tcl-8.3:0= )" |
1045 |
DEPEND="${RDEPEND} |
1046 |
virtual/pkgconfig |
1047 |
sys-devel/flex |
1048 |
+ sys-devel/libtool |
1049 |
guile? ( dev-scheme/guile dev-lang/swig ) |
1050 |
java? ( >=virtual/jdk-1.5 dev-lang/swig ) |
1051 |
nls? ( >=sys-devel/gettext-0.14.5 ) |
1052 |
@@ -141,9 +143,6 @@ src_prepare() { |
1053 |
"${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch \ |
1054 |
"${FILESDIR}"/${PN}-2.34.0-dot-pangocairo-link.patch |
1055 |
|
1056 |
- epatch \ |
1057 |
- "${FILESDIR}"/${PN}-2.38-fix-backslashes.patch |
1058 |
- |
1059 |
# ToDo: Do the same thing for examples and/or |
1060 |
# write a patch for a configuration-option |
1061 |
# and send it to upstream |
1062 |
@@ -185,8 +184,10 @@ src_configure() { |
1063 |
$(use_with devil) |
1064 |
$(use_with gtk) |
1065 |
$(use_with gts) |
1066 |
- $(use_with qt4) |
1067 |
+ $(use_with qt4 qt) |
1068 |
$(use_with lasi) |
1069 |
+ $(use_with pdf poppler) |
1070 |
+ $(use_with postscript ghostscript) |
1071 |
$(use_with svg rsvg) |
1072 |
$(use_with X x) |
1073 |
$(use_with X xaw) |
1074 |
@@ -257,3 +258,8 @@ pkg_postinst() { |
1075 |
# to configure |
1076 |
dot -c |
1077 |
} |
1078 |
+ |
1079 |
+pkg_postrm() { |
1080 |
+ # Remove cruft, bug #547344 |
1081 |
+ rm -f "${EROOT}usr/lib/graphviz/config{,6}" |
1082 |
+} |
1083 |
|
1084 |
diff --git a/media-gfx/graphviz/graphviz-2.38.0.ebuild b/media-gfx/graphviz/graphviz-2.38.0.ebuild |
1085 |
deleted file mode 100644 |
1086 |
index 19ce277..0000000 |
1087 |
--- a/media-gfx/graphviz/graphviz-2.38.0.ebuild |
1088 |
+++ /dev/null |
1089 |
@@ -1,256 +0,0 @@ |
1090 |
-# Copyright 1999-2015 Gentoo Foundation |
1091 |
-# Distributed under the terms of the GNU General Public License v2 |
1092 |
-# $Id$ |
1093 |
- |
1094 |
-EAPI=5 |
1095 |
-PYTHON_COMPAT=( python2_7 ) |
1096 |
- |
1097 |
-inherit autotools eutils flag-o-matic java-pkg-opt-2 multilib python-single-r1 |
1098 |
- |
1099 |
-DESCRIPTION="Open Source Graph Visualization Software" |
1100 |
-HOMEPAGE="http://www.graphviz.org/" |
1101 |
-SRC_URI="http://www.graphviz.org/pub/graphviz/stable/SOURCES/${P}.tar.gz" |
1102 |
- |
1103 |
-LICENSE="CPL-1.0" |
1104 |
-SLOT="0" |
1105 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
1106 |
-IUSE="+cairo devil doc examples gdk-pixbuf gtk gts guile java lasi nls pdf perl postscript python qt4 ruby svg static-libs tcl X elibc_FreeBSD" |
1107 |
- |
1108 |
-# Requires ksh |
1109 |
-RESTRICT="test" |
1110 |
- |
1111 |
-RDEPEND=" |
1112 |
- sys-libs/zlib |
1113 |
- >=dev-libs/expat-2 |
1114 |
- >=dev-libs/glib-2.11.1 |
1115 |
- >=media-libs/fontconfig-2.3.95 |
1116 |
- >=media-libs/freetype-2.1.10 |
1117 |
- >=media-libs/gd-2.0.34[fontconfig,jpeg,png,truetype,zlib] |
1118 |
- >=media-libs/libpng-1.2:0 |
1119 |
- !<=sci-chemistry/cluster-1.3.081231 |
1120 |
- sys-devel/libtool |
1121 |
- virtual/jpeg:0 |
1122 |
- virtual/libiconv |
1123 |
- X? ( |
1124 |
- x11-libs/libXaw |
1125 |
- x11-libs/libX11 |
1126 |
- x11-libs/libXmu |
1127 |
- x11-libs/libXpm |
1128 |
- x11-libs/libXt |
1129 |
- ) |
1130 |
- cairo? ( |
1131 |
- >=x11-libs/pango-1.12 |
1132 |
- >=x11-libs/cairo-1.1.10[svg] |
1133 |
- ) |
1134 |
- devil? ( media-libs/devil[png,jpeg] ) |
1135 |
- postscript? ( app-text/ghostscript-gpl ) |
1136 |
- gtk? ( x11-libs/gtk+:2 ) |
1137 |
- gts? ( sci-libs/gts ) |
1138 |
- lasi? ( media-libs/lasi ) |
1139 |
- pdf? ( app-text/poppler ) |
1140 |
- perl? ( dev-lang/perl:= ) |
1141 |
- python? ( ${PYTHON_DEPS} ) |
1142 |
- qt4? ( |
1143 |
- dev-qt/qtcore:4 |
1144 |
- dev-qt/qtgui:4 |
1145 |
- ) |
1146 |
- ruby? ( dev-lang/ruby ) |
1147 |
- svg? ( gnome-base/librsvg ) |
1148 |
- tcl? ( >=dev-lang/tcl-8.3:0= )" |
1149 |
-DEPEND="${RDEPEND} |
1150 |
- virtual/pkgconfig |
1151 |
- sys-devel/flex |
1152 |
- guile? ( dev-scheme/guile dev-lang/swig ) |
1153 |
- java? ( >=virtual/jdk-1.5 dev-lang/swig ) |
1154 |
- nls? ( >=sys-devel/gettext-0.14.5 ) |
1155 |
- perl? ( dev-lang/swig ) |
1156 |
- python? ( dev-lang/swig ) |
1157 |
- ruby? ( dev-lang/swig ) |
1158 |
- tcl? ( dev-lang/swig )" |
1159 |
-REQUIRED_USE=" |
1160 |
- !cairo? ( !X !gtk !postscript !lasi ) |
1161 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
1162 |
- |
1163 |
-# Dependency description / Maintainer-Info: |
1164 |
- |
1165 |
-# Rendering is done via the following plugins (/plugins): |
1166 |
-# - core, dot_layout, neato_layout, gd , dot |
1167 |
-# the ones which are always compiled in, depend on zlib, gd |
1168 |
-# - gtk |
1169 |
-# Directly depends on gtk-2. |
1170 |
-# needs 'pangocairo' enabled in graphviz configuration |
1171 |
-# gtk-2 depends on pango, cairo and libX11 directly. |
1172 |
-# - gdk-pixbuf |
1173 |
-# Disabled, GTK-1 junk. |
1174 |
-# - glitz |
1175 |
-# Disabled, no particular reason |
1176 |
-# needs 'pangocairo' enabled in graphviz configuration |
1177 |
-# - ming |
1178 |
-# flash plugin via -Tswf requires media-libs/ming-0.4. Disabled as it's |
1179 |
-# incomplete. |
1180 |
-# - cairo/pango: |
1181 |
-# Needs pango for text layout, uses cairo methods to draw stuff |
1182 |
-# - xlib: |
1183 |
-# needs cairo+pango, |
1184 |
-# can make use of gnomeui and inotify support (??? unsure), |
1185 |
-# needs libXaw for UI |
1186 |
-# UI also links directly against libX11, libXmu, and libXt |
1187 |
-# and uses libXpm if available so we make sure it always is |
1188 |
- |
1189 |
-# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
1190 |
-# - c-sharp (disabled) |
1191 |
-# - scheme (enabled via guile) ... no longer broken on ~x86 |
1192 |
-# - io (disabled) |
1193 |
-# - java (enabled via java) *2 |
1194 |
-# - lua (enabled via lua) |
1195 |
-# - ocaml (enabled via ocaml) |
1196 |
-# - perl (enabled via perl) *1 |
1197 |
-# - php (enabled via php) *2 |
1198 |
-# - python (enabled via python) *1 |
1199 |
-# - ruby (enabled via ruby) *1 |
1200 |
-# - tcl (enabled via tcl) |
1201 |
-# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
1202 |
-# *2 = Those bindings don't build because the paths for the headers/libs aren't |
1203 |
-# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
1204 |
- |
1205 |
-# There are several other tools in /tclpkg: |
1206 |
-# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
1207 |
-# tkspline, tkstubs ; enabled with: --with-tk |
1208 |
- |
1209 |
-# And the commands (/cmd): |
1210 |
-# - dot, dotty, gvedit, gvpr, lefty, lneato, smyrna, tools/* :) |
1211 |
-# sci-libs/gts can be used for some of these |
1212 |
-# - lefty: |
1213 |
-# needs Xaw and X to build |
1214 |
-# - gvedit (via 'qt4'): |
1215 |
-# based on ./configure it needs qt-core and qt-gui only |
1216 |
-# - smyrna : experimental opengl front-end (via 'smyrna') |
1217 |
-# currently disabled -- it segfaults a lot |
1218 |
-# needs x11-libs/gtkglext, gnome-base/libglade, media-libs/freeglut |
1219 |
-# sci-libs/gts, x11-libs/gtk. Also needs 'gtk','glade','glut','gts' and 'png' |
1220 |
-# with flags enabled at configure time |
1221 |
- |
1222 |
-pkg_setup() { |
1223 |
- use python && python-single-r1_pkg_setup |
1224 |
- |
1225 |
- java-pkg-opt-2_pkg_setup |
1226 |
-} |
1227 |
- |
1228 |
-src_prepare() { |
1229 |
- epatch \ |
1230 |
- "${FILESDIR}"/${PN}-2.34.0-Xaw-configure.patch \ |
1231 |
- "${FILESDIR}"/${PN}-2.34.0-dot-pangocairo-link.patch |
1232 |
- |
1233 |
- # ToDo: Do the same thing for examples and/or |
1234 |
- # write a patch for a configuration-option |
1235 |
- # and send it to upstream |
1236 |
- # note - the longer sed expression removes multi-line assignments that are extended via '\' |
1237 |
- if ! use doc ; then |
1238 |
- find . -iname Makefile.am \ |
1239 |
- | xargs sed -i -e '/^\(html\|pdf\)_DATA.*\\[[:space:]]*$/{:m;N;s/\\\n//;tm;d}' \ |
1240 |
- -e '/^\(html\|pdf\)_DATA/d' || die |
1241 |
- fi |
1242 |
- |
1243 |
- # This is an old version of libtool |
1244 |
- # use the ./configure option to exclude its use, and |
1245 |
- # delete the dir since we don't need to eautoreconf it |
1246 |
- rm -rf libltdl |
1247 |
- |
1248 |
- # no nls, no gettext, no iconv macro, so disable it |
1249 |
- use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
1250 |
- |
1251 |
- # Nuke the dead symlinks for the bindings |
1252 |
- sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
1253 |
- |
1254 |
- # replace the whitespace with tabs |
1255 |
- sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
1256 |
- |
1257 |
- # workaround for http://www.graphviz.org/mantisbt/view.php?id=1895 |
1258 |
- use elibc_FreeBSD && append-flags $(test-flags -fno-builtin-sincos) |
1259 |
- |
1260 |
- use java && append-cppflags $(java-pkg_get-jni-cflags) |
1261 |
- |
1262 |
- eautoreconf |
1263 |
-} |
1264 |
- |
1265 |
-src_configure() { |
1266 |
- # libtool file collision, bug 276609 |
1267 |
- local myconf="--without-included-ltdl --disable-ltdl-install" |
1268 |
- |
1269 |
- myconf="${myconf} |
1270 |
- $(use_with cairo pangocairo) |
1271 |
- $(use_with devil) |
1272 |
- $(use_with gtk) |
1273 |
- $(use_with gts) |
1274 |
- $(use_with qt4) |
1275 |
- $(use_with lasi) |
1276 |
- $(use_with svg rsvg) |
1277 |
- $(use_with X x) |
1278 |
- $(use_with X xaw) |
1279 |
- $(use_with X lefty) |
1280 |
- --with-digcola |
1281 |
- --with-fontconfig |
1282 |
- --with-freetype2 |
1283 |
- --with-ipsepcola |
1284 |
- --with-libgd |
1285 |
- --with-sfdp |
1286 |
- $(use_enable gdk-pixbuf) |
1287 |
- --without-ming" |
1288 |
- |
1289 |
- # new/experimental features, to be tested, disable for now |
1290 |
- myconf="${myconf} |
1291 |
- --with-cgraph |
1292 |
- --without-glitz |
1293 |
- --without-ipsepcola |
1294 |
- --without-smyrna |
1295 |
- --without-visio" |
1296 |
- |
1297 |
- # Bindings: |
1298 |
- myconf="${myconf} |
1299 |
- $(use_enable guile) |
1300 |
- --disable-io |
1301 |
- $(use_enable java) |
1302 |
- --disable-lua |
1303 |
- --disable-ocaml |
1304 |
- $(use_enable perl) |
1305 |
- --disable-php |
1306 |
- $(use_enable python) |
1307 |
- --disable-r |
1308 |
- $(use_enable ruby) |
1309 |
- --disable-sharp |
1310 |
- $(use_enable tcl)" |
1311 |
- |
1312 |
- econf \ |
1313 |
- --enable-ltdl \ |
1314 |
- --disable-silent-rules \ |
1315 |
- $(use_enable static-libs static) \ |
1316 |
- ${myconf} |
1317 |
-} |
1318 |
- |
1319 |
-src_install() { |
1320 |
- sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
1321 |
- |
1322 |
- emake DESTDIR="${D}" \ |
1323 |
- txtdir="${EPREFIX}"/usr/share/doc/${PF} \ |
1324 |
- htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
1325 |
- htmlinfodir="${EPREFIX}"/usr/share/doc/${PF}/html/info \ |
1326 |
- pdfdir="${EPREFIX}"/usr/share/doc/${PF}/pdf \ |
1327 |
- pkgconfigdir="${EPREFIX}"/usr/$(get_libdir)/pkgconfig \ |
1328 |
- install |
1329 |
- |
1330 |
- use examples || rm -rf "${ED}"/usr/share/graphviz/demo |
1331 |
- |
1332 |
- use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + |
1333 |
- |
1334 |
- dodoc AUTHORS ChangeLog NEWS README |
1335 |
- |
1336 |
- use python && python_optimize \ |
1337 |
- "${D}$(python_get_sitedir)" \ |
1338 |
- "${D}/usr/$(get_libdir)/graphviz/python" |
1339 |
-} |
1340 |
- |
1341 |
-pkg_postinst() { |
1342 |
- # This actually works if --enable-ltdl is passed |
1343 |
- # to configure |
1344 |
- dot -c |
1345 |
-} |