1 |
ottxor 14/12/28 23:34:41 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gnuplot-5.0_rc3.ebuild |
5 |
Removed: gnuplot-5.0_rc2.ebuild |
6 |
Log: |
7 |
version bump |
8 |
|
9 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key C2000586) |
10 |
|
11 |
Revision Changes Path |
12 |
1.259 sci-visualization/gnuplot/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gnuplot/ChangeLog?rev=1.259&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gnuplot/ChangeLog?rev=1.259&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gnuplot/ChangeLog?r1=1.258&r2=1.259 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v |
21 |
retrieving revision 1.258 |
22 |
retrieving revision 1.259 |
23 |
diff -u -r1.258 -r1.259 |
24 |
--- ChangeLog 8 Nov 2014 20:38:11 -0000 1.258 |
25 |
+++ ChangeLog 28 Dec 2014 23:34:41 -0000 1.259 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for sci-visualization/gnuplot |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.258 2014/11/08 20:38:11 ottxor Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.259 2014/12/28 23:34:41 ottxor Exp $ |
31 |
+ |
32 |
+*gnuplot-5.0_rc3 (28 Dec 2014) |
33 |
+ |
34 |
+ 28 Dec 2014; Christoph Junghans <ottxor@g.o> +gnuplot-5.0_rc3.ebuild, |
35 |
+ -files/gnuplot-5.0_rc1-libcerf.patch, -gnuplot-5.0_rc2.ebuild: |
36 |
+ version bump |
37 |
|
38 |
*gnuplot-4.6.6 (08 Nov 2014) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 sci-visualization/gnuplot/gnuplot-5.0_rc3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gnuplot/gnuplot-5.0_rc3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-visualization/gnuplot/gnuplot-5.0_rc3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gnuplot-5.0_rc3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-5.0_rc3.ebuild,v 1.1 2014/12/28 23:34:41 ottxor Exp $ |
53 |
|
54 |
EAPI=5 |
55 |
|
56 |
inherit eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets |
57 |
|
58 |
DESCRIPTION="Command-line driven interactive plotting program" |
59 |
HOMEPAGE="http://www.gnuplot.info/" |
60 |
|
61 |
if [[ -z ${PV%%*9999} ]]; then |
62 |
inherit autotools cvs |
63 |
ECVS_SERVER="gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot" |
64 |
ECVS_MODULE="gnuplot" |
65 |
ECVS_BRANCH="branch-5-0-stable" |
66 |
ECVS_USER="anonymous" |
67 |
ECVS_CVS_OPTIONS="-dP" |
68 |
MY_P="${PN}" |
69 |
SRC_URI="" |
70 |
KEYWORDS="" |
71 |
else |
72 |
MY_P="${P/_/.}" |
73 |
SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz" |
74 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
75 |
inherit autotools |
76 |
fi |
77 |
|
78 |
LICENSE="gnuplot bitmap? ( free-noncomm )" |
79 |
SLOT="0" |
80 |
IUSE="aqua bitmap cairo doc examples +gd ggi latex libcaca libcerf lua qt4 readline svga wxwidgets X" |
81 |
|
82 |
RDEPEND=" |
83 |
cairo? ( |
84 |
x11-libs/cairo |
85 |
x11-libs/pango ) |
86 |
gd? ( >=media-libs/gd-2.0.35-r3[png] ) |
87 |
ggi? ( media-libs/libggi ) |
88 |
latex? ( |
89 |
virtual/latex-base |
90 |
lua? ( |
91 |
dev-tex/pgf |
92 |
>=dev-texlive/texlive-latexrecommended-2008-r2 ) ) |
93 |
libcaca? ( media-libs/libcaca ) |
94 |
lua? ( dev-lang/lua ) |
95 |
qt4? ( >=dev-qt/qtcore-4.5:4 |
96 |
>=dev-qt/qtgui-4.5:4 |
97 |
>=dev-qt/qtsvg-4.5:4 ) |
98 |
readline? ( sys-libs/readline ) |
99 |
libcerf? ( sci-libs/libcerf ) |
100 |
svga? ( media-libs/svgalib ) |
101 |
wxwidgets? ( |
102 |
x11-libs/wxGTK:2.8[X] |
103 |
x11-libs/cairo |
104 |
x11-libs/pango |
105 |
x11-libs/gtk+:2 ) |
106 |
X? ( x11-libs/libXaw )" |
107 |
DEPEND="${RDEPEND} |
108 |
virtual/pkgconfig |
109 |
doc? ( |
110 |
virtual/latex-base |
111 |
dev-texlive/texlive-latexextra |
112 |
app-text/ghostscript-gpl )" |
113 |
|
114 |
S="${WORKDIR}/${MY_P}" |
115 |
|
116 |
GP_VERSION="${PV%.*}" |
117 |
E_SITEFILE="lisp/50${PN}-gentoo.el" |
118 |
TEXMF="${EPREFIX}/usr/share/texmf-site" |
119 |
|
120 |
src_prepare() { |
121 |
if [[ -z ${PV%%*9999} ]]; then |
122 |
local dir |
123 |
for dir in config demo m4 term tutorial; do |
124 |
emake -C "$dir" -f Makefile.am.in Makefile.am |
125 |
done |
126 |
eautoreconf |
127 |
fi |
128 |
|
129 |
# Add special version identification as required by provision 2 |
130 |
# of the gnuplot license |
131 |
sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die |
132 |
|
133 |
# hacky workaround |
134 |
# Please hack the buildsystem if you like |
135 |
if use prefix && use qt4; then |
136 |
append-ldflags -Wl,-rpath,"${EPREFIX}"/usr/$(get_libdir)/qt4 |
137 |
fi |
138 |
|
139 |
DOC_CONTENTS='Gnuplot no longer links against pdflib, see the ChangeLog |
140 |
for details. You can use the "pdfcairo" terminal for PDF output.' |
141 |
use cairo || DOC_CONTENTS+=' It is available with USE="cairo".' |
142 |
use svga && DOC_CONTENTS+='\n\nIn order to enable ordinary users to use |
143 |
SVGA console graphics, gnuplot needs to be set up as setuid root. |
144 |
Please note that this is usually considered to be a security hazard. |
145 |
As root, manually "chmod u+s /usr/bin/gnuplot".' |
146 |
use gd && DOC_CONTENTS+='\n\nFor font support in png/jpeg/gif output, |
147 |
you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT |
148 |
environment variables. See the FAQ file in /usr/share/doc/${PF}/ |
149 |
for more information.' |
150 |
} |
151 |
|
152 |
src_configure() { |
153 |
if ! use latex; then |
154 |
sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die |
155 |
fi |
156 |
|
157 |
if use wxwidgets; then |
158 |
WX_GTK_VER="2.8" |
159 |
need-wxwidgets unicode |
160 |
fi |
161 |
|
162 |
tc-export CC CXX #453174 |
163 |
|
164 |
econf \ |
165 |
--without-pdf \ |
166 |
--with-texdir="${TEXMF}/tex/latex/${PN}" \ |
167 |
--with-readline=$(usex readline gnu builtin) \ |
168 |
$(use_with bitmap bitmap-terminals) \ |
169 |
$(use_with cairo) \ |
170 |
$(use_with doc tutorial) \ |
171 |
$(use_with gd) \ |
172 |
"$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \ |
173 |
"$(use_with ggi xmi "${EPREFIX}/usr/$(get_libdir)")" \ |
174 |
"$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \ |
175 |
$(use_with libcerf) \ |
176 |
$(use_with lua) \ |
177 |
$(use_with svga linux-vga) \ |
178 |
$(use_with X x) \ |
179 |
--enable-stats \ |
180 |
$(use_with qt4 qt qt4) \ |
181 |
$(use_enable wxwidgets) \ |
182 |
DIST_CONTACT="http://bugs.gentoo.org/" \ |
183 |
EMACS=no |
184 |
} |
185 |
|
186 |
src_compile() { |
187 |
# Prevent access violations, see bug 201871 |
188 |
VARTEXFONTS="${T}/fonts" |
189 |
|
190 |
# We believe that the following line is no longer needed. |
191 |
# In case of problems file a bug report at bugs.gentoo.org. |
192 |
#addwrite /dev/svga:/dev/mouse:/dev/tts/0 |
193 |
|
194 |
emake all |
195 |
|
196 |
if use doc; then |
197 |
# Avoid sandbox violation in epstopdf/ghostscript |
198 |
addpredict /var/cache/fontconfig |
199 |
emake -C docs gnuplot.pdf |
200 |
emake -C tutorial pdf |
201 |
fi |
202 |
} |
203 |
|
204 |
src_install () { |
205 |
emake DESTDIR="${D}" install |
206 |
|
207 |
dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README* |
208 |
newdoc term/PostScript/README README-ps |
209 |
newdoc term/js/README README-js |
210 |
use lua && newdoc term/lua/README README-lua |
211 |
readme.gentoo_create_doc |
212 |
|
213 |
if use examples; then |
214 |
# Demo files |
215 |
insinto /usr/share/${PN}/${GP_VERSION} |
216 |
doins -r demo |
217 |
rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile* |
218 |
rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary* |
219 |
fi |
220 |
|
221 |
if use doc; then |
222 |
# Manual, tutorial, FAQ |
223 |
dodoc docs/gnuplot.pdf tutorial/{tutorial.dvi,tutorial.pdf} FAQ.pdf |
224 |
# Documentation for making PostScript files |
225 |
docinto psdoc |
226 |
dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README} |
227 |
fi |
228 |
} |
229 |
|
230 |
src_test() { |
231 |
GNUTERM="unknown" default_src_test |
232 |
} |
233 |
|
234 |
pkg_postinst() { |
235 |
use latex && texmf-update |
236 |
readme.gentoo_print_elog |
237 |
} |
238 |
|
239 |
pkg_postrm() { |
240 |
use latex && texmf-update |
241 |
} |