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