1 |
maekke 09/09/27 14:26:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: graphviz-2.24.0-r2.ebuild |
5 |
Removed: graphviz-2.24.0-r1.ebuild |
6 |
Log: |
7 |
revision bump: disable automagic dep on media-libs/devil wrt bug #285750 |
8 |
(Portage version: 2.2_rc42/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.202 media-gfx/graphviz/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.202&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.202&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?r1=1.201&r2=1.202 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v |
20 |
retrieving revision 1.201 |
21 |
retrieving revision 1.202 |
22 |
diff -u -r1.201 -r1.202 |
23 |
--- ChangeLog 15 Sep 2009 22:19:16 -0000 1.201 |
24 |
+++ ChangeLog 27 Sep 2009 14:26:28 -0000 1.202 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-gfx/graphviz |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.201 2009/09/15 22:19:16 maekke Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.202 2009/09/27 14:26:28 maekke Exp $ |
30 |
+ |
31 |
+*graphviz-2.24.0-r2 (27 Sep 2009) |
32 |
+ |
33 |
+ 27 Sep 2009; Markus Meier <maekke@g.o> -graphviz-2.24.0-r1.ebuild, |
34 |
+ +graphviz-2.24.0-r2.ebuild: |
35 |
+ revision bump: disable automagic dep on media-libs/devil wrt bug #285750 |
36 |
|
37 |
*graphviz-2.24.0-r1 (15 Sep 2009) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 media-gfx/graphviz/graphviz-2.24.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/graphviz-2.24.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/graphviz-2.24.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: graphviz-2.24.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.24.0-r2.ebuild,v 1.1 2009/09/27 14:26:28 maekke Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils autotools multilib python |
55 |
|
56 |
DESCRIPTION="Open Source Graph Visualization Software" |
57 |
HOMEPAGE="http://www.graphviz.org/" |
58 |
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" |
59 |
|
60 |
LICENSE="CPL-1.0" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
63 |
IUSE="cairo doc examples gtk java lasi nls perl python ruby tcl" |
64 |
|
65 |
# Requires ksh |
66 |
RESTRICT="test" |
67 |
|
68 |
RDEPEND=" |
69 |
>=dev-libs/expat-2.0.0 |
70 |
>=dev-libs/glib-2.11.1 |
71 |
>=media-libs/fontconfig-2.3.95 |
72 |
>=media-libs/freetype-2.1.10 |
73 |
>=media-libs/gd-2.0.28[jpeg,png] |
74 |
>=media-libs/jpeg-6b |
75 |
>=media-libs/libpng-1.2.10 |
76 |
virtual/libiconv |
77 |
cairo? ( |
78 |
x11-libs/libXaw |
79 |
>=x11-libs/pango-1.12 |
80 |
>=x11-libs/cairo-1.1.10[svg] |
81 |
) |
82 |
gtk? ( |
83 |
>=x11-libs/gtk+-2 |
84 |
x11-libs/libXaw |
85 |
>=x11-libs/pango-1.12 |
86 |
>=x11-libs/cairo-1.1.10 |
87 |
) |
88 |
lasi? ( media-libs/lasi ) |
89 |
ruby? ( dev-lang/ruby ) |
90 |
tcl? ( >=dev-lang/tcl-8.3 )" |
91 |
DEPEND="${RDEPEND} |
92 |
dev-util/pkgconfig |
93 |
sys-devel/flex |
94 |
java? ( dev-lang/swig ) |
95 |
nls? ( >=sys-devel/gettext-0.14.5 ) |
96 |
perl? ( dev-lang/swig ) |
97 |
python? ( dev-lang/swig ) |
98 |
ruby? ( dev-lang/swig ) |
99 |
tcl? ( || ( <dev-lang/swig-1.3.38[tcl] |
100 |
>=dev-lang/swig-1.3.38 ) )" |
101 |
|
102 |
# Dependency description / Maintainer-Info: |
103 |
|
104 |
# Rendering is done via the following plugins (/plugins): |
105 |
# - core, dot_layout, neato_layout, gd , dot |
106 |
# the ones which are always compiled in, depend on zlib, gd |
107 |
# - gtk |
108 |
# Directly depends on gtk-2. |
109 |
# gtk-2 depends on pango, cairo and libX11 directly. |
110 |
# - gdk-pixbuf |
111 |
# Disabled, GTK-1 junk. |
112 |
# - ming |
113 |
# Disabled, depends on ming-3.0 which is still p.masked. |
114 |
# - cairo: |
115 |
# Needs pango for text layout, uses cairo methods to draw stuff |
116 |
# - xlib : |
117 |
# needs cairo+pango, |
118 |
# can make use of gnomeui and inotify support, |
119 |
# needs libXaw for UI |
120 |
|
121 |
# There can be swig-generated bindings for the following languages (/tclpkg/gv): |
122 |
# - c-sharp (disabled) |
123 |
# - scheme (enabled via guile) ... broken on ~x86 |
124 |
# - io (disabled) |
125 |
# - java (enabled via java) *2 |
126 |
# - lua (enabled via lua) |
127 |
# - ocaml (enabled via ocaml) |
128 |
# - perl (enabled via perl) *1 |
129 |
# - php (enabled via php) *2 |
130 |
# - python (enabled via python) *1 |
131 |
# - ruby (enabled via ruby) *1 |
132 |
# - tcl (enabled via tcl) |
133 |
# *1 = The ${P}-bindings.patch takes care that those bindings are installed to the right location |
134 |
# *2 = Those bindings don't build because the paths for the headers/libs aren't |
135 |
# detected correctly and/or the options passed to swig are wrong (-php instead of -php4/5) |
136 |
|
137 |
# There are several other tools in /tclpkg: |
138 |
# gdtclft, tcldot, tclhandle, tclpathplan, tclstubs ; enabled with: --with-tcl |
139 |
# tkspline, tkstubs ; enabled with: --with-tk |
140 |
|
141 |
# And the commands (/cmd): |
142 |
# - dot, dotty, gvpr, lefty, lneato, tools/* :) |
143 |
# Lefty needs Xaw and X to build |
144 |
|
145 |
src_prepare() { |
146 |
# ToDo: Do the same thing for examples and/or |
147 |
# write a patch for a configuration-option |
148 |
# and send it to upstream |
149 |
if ! use doc ; then |
150 |
find . -iname Makefile.am \ |
151 |
| xargs sed -i -e '/html_DATA/d' -e '/pdf_DATA/d' || die |
152 |
fi |
153 |
|
154 |
# This is an old version of libtool |
155 |
rm -rf libltdl |
156 |
sed -i -e '/libltdl/d' configure.ac || die |
157 |
sed -i -e 's/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/' configure.ac || die |
158 |
|
159 |
# Update this file from our local libtool which is much newer than the |
160 |
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD. |
161 |
if has_version ">=sys-devel/libtool-2" ; then |
162 |
cp /usr/share/libtool/config/install-sh config || die |
163 |
else |
164 |
cp /usr/share/libtool/install-sh config || die |
165 |
fi |
166 |
|
167 |
# no nls, no gettext, no iconv macro, so disable it |
168 |
use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
169 |
|
170 |
# Nuke the dead symlinks for the bindings |
171 |
sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
172 |
|
173 |
# replace the whitespace with tabs |
174 |
sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
175 |
|
176 |
eautoreconf |
177 |
} |
178 |
|
179 |
src_configure() { |
180 |
# libtool file collision, bug 276609 |
181 |
local myconf="--disable-ltdl-install" |
182 |
|
183 |
# Core functionality: |
184 |
# All of X, cairo-output, gtk need the pango+cairo functionality |
185 |
if use gtk || use cairo ; then |
186 |
myconf="${myconf} --with-x" |
187 |
else |
188 |
myconf="${myconf} --without-x" |
189 |
fi |
190 |
myconf="${myconf} |
191 |
$(use_with cairo pangocairo) |
192 |
$(use_with gtk) |
193 |
$(use_with lasi) |
194 |
--with-digcola |
195 |
--with-fontconfig |
196 |
--with-freetype2 |
197 |
--with-ipsepcola |
198 |
--with-libgd |
199 |
--without-gdk-pixbuf |
200 |
--without-ming" |
201 |
|
202 |
# new/experimental features, to be tested, disable for now |
203 |
myconf="${myconf} |
204 |
--without-cgraph |
205 |
--without-devil |
206 |
--without-digcola |
207 |
--without-ipsepcola |
208 |
--without-sfdp |
209 |
--without-smyrna" |
210 |
|
211 |
# Bindings: |
212 |
myconf="${myconf} |
213 |
--disable-guile |
214 |
--disable-io |
215 |
$(use_enable java) |
216 |
--disable-lua |
217 |
--disable-ocaml |
218 |
$(use_enable perl) |
219 |
--disable-php |
220 |
$(use_enable python) |
221 |
--disable-r |
222 |
$(use_enable ruby) |
223 |
--disable-sharp |
224 |
$(use_enable tcl)" |
225 |
|
226 |
econf \ |
227 |
--enable-ltdl \ |
228 |
${myconf} |
229 |
} |
230 |
|
231 |
src_install() { |
232 |
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
233 |
|
234 |
emake DESTDIR="${D}" \ |
235 |
txtdir=/usr/share/doc/${PF} \ |
236 |
htmldir=/usr/share/doc/${PF}/html \ |
237 |
htmlinfodir=/usr/share/doc/${PF}/html/info \ |
238 |
pdfdir=/usr/share/doc/${PF}/pdf \ |
239 |
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \ |
240 |
install || die "emake install failed" |
241 |
|
242 |
use examples || rm -rf "${D}/usr/share/graphviz/demo" |
243 |
|
244 |
dodoc AUTHORS ChangeLog NEWS README |
245 |
} |
246 |
|
247 |
pkg_postinst() { |
248 |
# This actually works if --enable-ltdl is passed |
249 |
# to configure |
250 |
dot -c |
251 |
if use python ; then |
252 |
python_mod_optimize |
253 |
fi |
254 |
} |
255 |
|
256 |
pkg_postrm() { |
257 |
if use python ; then |
258 |
python_mod_cleanup |
259 |
fi |
260 |
} |