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