1 |
maekke 09/03/11 23:35:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: graphviz-2.22.1.ebuild |
5 |
Log: |
6 |
bump to 2.22.1, should fix bug #261885 |
7 |
(Portage version: 2.2_rc24/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.186 media-gfx/graphviz/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.186&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.186&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/ChangeLog?r1=1.185&r2=1.186 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v |
19 |
retrieving revision 1.185 |
20 |
retrieving revision 1.186 |
21 |
diff -u -r1.185 -r1.186 |
22 |
--- ChangeLog 7 Mar 2009 23:09:36 -0000 1.185 |
23 |
+++ ChangeLog 11 Mar 2009 23:35:05 -0000 1.186 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-gfx/graphviz |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.185 2009/03/07 23:09:36 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.186 2009/03/11 23:35:05 maekke Exp $ |
29 |
+ |
30 |
+*graphviz-2.22.1 (11 Mar 2009) |
31 |
+ |
32 |
+ 11 Mar 2009; Markus Meier <maekke@g.o> +graphviz-2.22.1.ebuild: |
33 |
+ bump to 2.22.1, should fix bug #261885 |
34 |
|
35 |
*graphviz-2.22.0 (07 Mar 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 media-gfx/graphviz/graphviz-2.22.1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/graphviz-2.22.1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/graphviz/graphviz-2.22.1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: graphviz-2.22.1.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2009 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.22.1.ebuild,v 1.1 2009/03/11 23:35:05 maekke Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
|
53 |
inherit eutils autotools multilib python |
54 |
|
55 |
DESCRIPTION="Open Source Graph Visualization Software" |
56 |
HOMEPAGE="http://www.graphviz.org/" |
57 |
SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz" |
58 |
|
59 |
LICENSE="CPL-1.0" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
62 |
IUSE="cairo cgraph doc examples gnome gtk java jpeg nls perl png python ruby tcl" |
63 |
|
64 |
# Requires ksh |
65 |
RESTRICT="test" |
66 |
|
67 |
RDEPEND=" |
68 |
>=dev-libs/expat-2.0.0 |
69 |
>=dev-libs/glib-2.11.1 |
70 |
>=media-libs/fontconfig-2.3.95 |
71 |
>=media-libs/freetype-2.1.10 |
72 |
>=media-libs/gd-2.0.28[png?,jpeg?] |
73 |
>=media-libs/jpeg-6b |
74 |
>=media-libs/libpng-1.2.10 |
75 |
virtual/libiconv |
76 |
cairo? ( |
77 |
x11-libs/libXaw |
78 |
>=x11-libs/pango-1.12 |
79 |
>=x11-libs/cairo-1.1.10[svg] |
80 |
) |
81 |
ruby? ( dev-lang/ruby ) |
82 |
tcl? ( >=dev-lang/tcl-8.3 ) |
83 |
gtk? ( |
84 |
>=x11-libs/gtk+-2 |
85 |
x11-libs/libXaw |
86 |
>=x11-libs/pango-1.12 |
87 |
>=x11-libs/cairo-1.1.10 |
88 |
gnome? ( gnome-base/libgnomeui ) |
89 |
)" |
90 |
|
91 |
DEPEND="${RDEPEND} |
92 |
>=dev-util/pkgconfig-0.20 |
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 |
|
158 |
# Update this file from our local libtool which is much newer than the |
159 |
# bundled one. This allows MAKEOPTS=-j2 to work on FreeBSD. |
160 |
if has_version ">=sys-devel/libtool-2" ; then |
161 |
cp /usr/share/libtool/config/install-sh config || die |
162 |
else |
163 |
cp /usr/share/libtool/install-sh config || die |
164 |
fi |
165 |
|
166 |
# no nls, no gettext, no iconv macro, so disable it |
167 |
use nls || { sed -i -e '/^AM_ICONV/d' configure.ac || die; } |
168 |
|
169 |
# Nuke the dead symlinks for the bindings |
170 |
sed -i -e '/$(pkgluadir)/d' tclpkg/gv/Makefile.am || die |
171 |
|
172 |
# replace the whitespace with tabs |
173 |
sed -i -e 's: :\t:g' doc/info/Makefile.am || die |
174 |
|
175 |
eautoreconf |
176 |
} |
177 |
|
178 |
src_configure() { |
179 |
local myconf |
180 |
|
181 |
# Core functionality: |
182 |
# All of X, cairo-output, gtk need the pango+cairo functionality |
183 |
if use gtk || use cairo ; then |
184 |
myconf="${myconf} --with-x" |
185 |
else |
186 |
myconf="${myconf} --without-x" |
187 |
fi |
188 |
myconf="${myconf} |
189 |
$(use_with cairo pangocairo) |
190 |
$(use_with cgraph) |
191 |
$(use_with gtk) |
192 |
--with-digcola |
193 |
--with-fontconfig |
194 |
--with-freetype2 |
195 |
--with-ipsepcola |
196 |
--with-libgd |
197 |
--without-gdk-pixbuf |
198 |
--without-ming" |
199 |
|
200 |
# new/experimental features, to be tested, disable for now |
201 |
myconf="${myconf} |
202 |
--without-digcola |
203 |
--without-ipsepcola |
204 |
--without-sfdp |
205 |
--without-smyrna" |
206 |
|
207 |
use gtk && myconf="${myconf} $(use_with gnome gnomeui)" |
208 |
|
209 |
# Bindings: |
210 |
myconf="${myconf} |
211 |
--disable-guile |
212 |
--disable-io |
213 |
$(use_enable java) |
214 |
--disable-lua |
215 |
--disable-ocaml |
216 |
$(use_enable perl) |
217 |
--disable-php |
218 |
$(use_enable python) |
219 |
--disable-r |
220 |
$(use_enable ruby) |
221 |
--disable-sharp |
222 |
$(use_enable tcl)" |
223 |
|
224 |
econf \ |
225 |
--enable-ltdl \ |
226 |
${myconf} |
227 |
} |
228 |
|
229 |
src_install() { |
230 |
sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile || die |
231 |
|
232 |
emake DESTDIR="${D}" \ |
233 |
txtdir=/usr/share/doc/${PF} \ |
234 |
htmldir=/usr/share/doc/${PF}/html \ |
235 |
htmlinfodir=/usr/share/doc/${PF}/html/info \ |
236 |
pdfdir=/usr/share/doc/${PF}/pdf \ |
237 |
pkgconfigdir=/usr/$(get_libdir)/pkgconfig \ |
238 |
install || die "emake install failed" |
239 |
|
240 |
use examples || rm -rf "${D}/usr/share/graphviz/demo" |
241 |
|
242 |
dodoc AUTHORS ChangeLog NEWS README |
243 |
} |
244 |
|
245 |
pkg_postinst() { |
246 |
# This actually works if --enable-ltdl is passed |
247 |
# to configure |
248 |
dot -c |
249 |
if use python ; then |
250 |
python_mod_optimize |
251 |
fi |
252 |
} |
253 |
|
254 |
pkg_postrm() { |
255 |
if use python ; then |
256 |
python_mod_cleanup |
257 |
fi |
258 |
} |