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