1 |
markusle 09/08/25 02:59:51 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: plplot-5.9.4.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.22 sci-libs/plplot/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plplot/ChangeLog?rev=1.22&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plplot/ChangeLog?rev=1.22&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plplot/ChangeLog?r1=1.21&r2=1.22 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v |
19 |
retrieving revision 1.21 |
20 |
retrieving revision 1.22 |
21 |
diff -u -r1.21 -r1.22 |
22 |
--- ChangeLog 14 Mar 2009 13:57:15 -0000 1.21 |
23 |
+++ ChangeLog 25 Aug 2009 02:59:51 -0000 1.22 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-libs/plplot |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.21 2009/03/14 13:57:15 bicatali Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/plplot/ChangeLog,v 1.22 2009/08/25 02:59:51 markusle Exp $ |
29 |
+ |
30 |
+*plplot-5.9.4 (25 Aug 2009) |
31 |
+ |
32 |
+ 25 Aug 2009; Markus Dittrich <markusle@g.o> +plplot-5.9.4.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
14 Mar 2009; Sébastien Fabbro <bicatali@g.o> -plplot-5.9.0.ebuild, |
36 |
plplot-5.9.2.ebuild: |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-libs/plplot/plplot-5.9.4.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plplot/plplot-5.9.4.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/plplot/plplot-5.9.4.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: plplot-5.9.4.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/sci-libs/plplot/plplot-5.9.4.ebuild,v 1.1 2009/08/25 02:59:51 markusle Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
WX_GTK_VER="2.8" |
53 |
inherit eutils fortran cmake-utils wxwidgets java-pkg-opt-2 |
54 |
|
55 |
DESCRIPTION="Multi-language scientific plotting library" |
56 |
HOMEPAGE="http://plplot.sourceforge.net/" |
57 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
58 |
|
59 |
LICENSE="LGPL-2" |
60 |
SLOT="0" |
61 |
KEYWORDS="~amd64 ~x86" |
62 |
IUSE="ada cairo doc examples fortran gd gnome java jpeg latex octave |
63 |
pdf perl png python qhull svg svga tcl threads tk truetype wxwindows X" |
64 |
|
65 |
RDEPEND="ada? ( virtual/gnat ) |
66 |
cairo? ( x11-libs/cairo[svg?,X?] ) |
67 |
java? ( >=virtual/jre-1.5 ) |
68 |
gd? ( media-libs/gd[jpeg?,png?] ) |
69 |
gnome? ( gnome-base/libgnomeui |
70 |
gnome-base/libgnomeprintui |
71 |
python? ( dev-python/gnome-python ) ) |
72 |
latex? ( virtual/latex-base virtual/ghostscript ) |
73 |
octave? ( >=sci-mathematics/octave-3 ) |
74 |
pdf? ( media-libs/libharu ) |
75 |
perl? ( dev-perl/PDL dev-perl/XML-DOM ) |
76 |
python? ( dev-python/numpy ) |
77 |
svga? ( media-libs/svgalib ) |
78 |
tcl? ( dev-lang/tcl dev-tcltk/itcl ) |
79 |
tk? ( dev-lang/tk dev-tcltk/itk ) |
80 |
truetype? ( media-fonts/freefont-ttf |
81 |
media-libs/lasi |
82 |
gd? ( media-libs/gd[truetype] ) ) |
83 |
wxwindows? ( x11-libs/wxGTK:2.8[X] x11-libs/agg ) |
84 |
X? ( x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp )" |
85 |
|
86 |
DEPEND="${RDEPEND} |
87 |
>=dev-util/cmake-2.6 |
88 |
dev-util/pkgconfig |
89 |
doc? ( app-text/opensp |
90 |
app-text/jadetex |
91 |
app-text/docbook2X |
92 |
app-text/docbook-dsssl-stylesheets |
93 |
dev-perl/XML-DOM |
94 |
virtual/latex-base |
95 |
virtual/ghostscript |
96 |
sys-apps/texinfo ) |
97 |
java? ( >=virtual/jdk-1.5 dev-lang/swig ) |
98 |
python? ( dev-lang/swig ) |
99 |
qhull? ( media-libs/qhull )" |
100 |
|
101 |
pkg_setup() { |
102 |
if use fortran; then |
103 |
FORTRAN="gfortran ifc g77" |
104 |
fortran_pkg_setup |
105 |
fi |
106 |
export FC=${FORTRANC} F77=${FORTRANC} |
107 |
|
108 |
wxwidgets_pkg_setup |
109 |
} |
110 |
|
111 |
src_prepare() { |
112 |
# path for python independent of python version |
113 |
epatch "${FILESDIR}"/${PN}-5.9.0-python.patch |
114 |
|
115 |
# remove license |
116 |
sed -i -e '/COPYING.LIB/d' CMakeLists.txt || die |
117 |
|
118 |
# change default install directories for doc and examples |
119 |
sed -i \ |
120 |
-e 's:${DATA_DIR}/examples:${DOC_DIR}/examples:g' \ |
121 |
examples/CMakeLists.txt examples/*/CMakeLists.txt || die |
122 |
sed -i \ |
123 |
-e 's:${VERSION}::g' \ |
124 |
-e "s:doc/\${PACKAGE}:doc/${PF}:" \ |
125 |
cmake/modules/instdirs.cmake || die |
126 |
|
127 |
# haru pdf devide does not build with HPDF_SHARED |
128 |
sed -i \ |
129 |
-e 's:-DHPDF_SHARED::' \ |
130 |
cmake/modules/pdf.cmake || die |
131 |
|
132 |
# default location for docbook crap |
133 |
sed -i \ |
134 |
-e 's:xml/declaration:sgml:' \ |
135 |
cmake/modules/docbook.cmake || die |
136 |
} |
137 |
|
138 |
src_configure() { |
139 |
# see http://www.miscdebris.net/plplot_wiki/index.php?title=CMake_options_for_PLplot |
140 |
|
141 |
cmake-utils_pld() { _use_me_now PLD "$@" ; } |
142 |
|
143 |
mycmakeargs=" |
144 |
-DUSE_RPATH=OFF |
145 |
-DDEFAULT_ALL_DEVICES=ON |
146 |
-DCMAKE_INSTALL_LIBDIR=/usr/$(get_libdir) |
147 |
$(cmake-utils_has python numpy) |
148 |
$(cmake-utils_has qhull QHULL) |
149 |
$(cmake-utils_has threads PTHREAD) |
150 |
$(cmake-utils_has truetype FREETYPE) |
151 |
$(cmake-utils_use_enable ada ada) |
152 |
$(cmake-utils_use_enable fortran f77) |
153 |
$(cmake-utils_use_enable java java) |
154 |
$(cmake-utils_use_enable gnome gnome2) |
155 |
$(cmake-utils_use_enable octave octave) |
156 |
$(cmake-utils_use_enable perl pdl) |
157 |
$(cmake-utils_use_enable python python) |
158 |
$(cmake-utils_use_enable tcl tcl) |
159 |
$(cmake-utils_use_enable tcl itcl) |
160 |
$(cmake-utils_use_enable tk tk) |
161 |
$(cmake-utils_use_enable tk itk) |
162 |
$(cmake-utils_use_enable wxwindows wxwidgets) |
163 |
$(cmake-utils_pld pdf pdf) |
164 |
$(cmake-utils_pld truetype psttf) |
165 |
$(cmake-utils_pld latex pstex) |
166 |
$(cmake-utils_pld svga linuxvga)" |
167 |
|
168 |
use fortran && [[ ${FORTRANC} != g77 ]] && \ |
169 |
mycmakeargs="${mycmakeargs} $(cmake-utils_use_enable fortran f95)" |
170 |
|
171 |
use truetype && mycmakeargs="${mycmakeargs} |
172 |
-DPL_FREETYPE_FONT_PATH:PATH=/usr/share/fonts/freefont-ttf" |
173 |
|
174 |
if use python && use gnome; then |
175 |
mycmakeargs="${mycmakeargs} -DENABLE_pygcw=ON" |
176 |
else |
177 |
mycmakeargs="${mycmakeargs} -DENABLE_pygcw=OFF" |
178 |
fi |
179 |
if use cairo; then |
180 |
# memcairo buggy, see cmake/modules/drivers-init.cmake |
181 |
mycmakeargs="${mycmakeargs} |
182 |
-DPLD_memcairo=OFF |
183 |
-DPLD_extcairo=OFF |
184 |
-DPLD_pdfcairo=ON |
185 |
-DPLD_pngcairo=ON |
186 |
-DPLD_pscairo=ON |
187 |
$(cmake-utils_pld svg svgcairo) |
188 |
$(cmake-utils_pld X xcairo)" |
189 |
else |
190 |
mycmakeargs="${mycmakeargs} |
191 |
-DPLD_memcairo=OFF |
192 |
-DPLD_extcairo=OFF |
193 |
-DPLD_pdfcairo=OFF |
194 |
-DPLD_pngcairo=OFF |
195 |
-DPLD_pscairo=OFF |
196 |
-DPLD_svgcairo=OFF |
197 |
-DPLD_xcairo=OFF" |
198 |
fi |
199 |
cmake-utils_src_configure |
200 |
} |
201 |
|
202 |
src_compile() { |
203 |
# separate doc and normal because doc building crashes with parallel |
204 |
cmake-utils_src_make |
205 |
if use doc; then |
206 |
mycmakeargs="${mycmakeargs} -DBUILD_DOC=ON" |
207 |
mycmakeargs="${mycmakeargs} -DHAVE_DB_DTD=ON" |
208 |
mycmakeargs="${mycmakeargs} -DHAVE_DSSSL_DTD=ON" |
209 |
mycmakeargs="${mycmakeargs} -DHAVE_HTML_SS=ON" |
210 |
mycmakeargs="${mycmakeargs} -DHAVE_PRINT_SS=ON" |
211 |
cmake-utils_src_configure |
212 |
cmake-utils_src_make -j1 |
213 |
fi |
214 |
} |
215 |
|
216 |
src_install() { |
217 |
cmake-utils_src_install |
218 |
use examples || rm -rf "${D}"usr/share/doc/${PF}/examples |
219 |
} |