1 |
commit: c6d2308a30a5986984b52f34bc2f52afb239c7e5 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 7 06:45:18 2021 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 7 06:45:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6d2308a |
7 |
|
8 |
sci-visualization/gnuplot: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.22, Repoman-3.0.3 |
11 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
12 |
|
13 |
sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild | 206 ---------------------- |
14 |
1 file changed, 206 deletions(-) |
15 |
|
16 |
diff --git a/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild b/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 1b6af60e70a..00000000000 |
19 |
--- a/sci-visualization/gnuplot/gnuplot-5.4.1-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,206 +0,0 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-LUA_COMPAT=( lua5-{1,2,3} ) |
28 |
-WX_GTK_VER="3.0-gtk3" |
29 |
- |
30 |
-inherit autotools lua-single readme.gentoo-r1 toolchain-funcs wxwidgets |
31 |
- |
32 |
-DESCRIPTION="Command-line driven interactive plotting program" |
33 |
-HOMEPAGE="http://www.gnuplot.info/" |
34 |
- |
35 |
-if [[ -z ${PV%%*9999} ]]; then |
36 |
- inherit git-r3 |
37 |
- EGIT_REPO_URI="https://git.code.sf.net/p/gnuplot/gnuplot-main" |
38 |
- EGIT_BRANCH="master" |
39 |
- MY_P="${PN}" |
40 |
- EGIT_CHECKOUT_DIR="${WORKDIR}/${MY_P}" |
41 |
-else |
42 |
- MY_P="${P/_/.}" |
43 |
- SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz" |
44 |
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
45 |
-fi |
46 |
- |
47 |
-S="${WORKDIR}/${MY_P}" |
48 |
- |
49 |
-LICENSE="gnuplot" |
50 |
-SLOT="0" |
51 |
-IUSE="aqua bitmap cairo doc examples +gd ggi latex libcaca libcerf lua qt5 readline regis wxwidgets X" |
52 |
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
53 |
- |
54 |
-RDEPEND=" |
55 |
- cairo? ( |
56 |
- x11-libs/cairo |
57 |
- x11-libs/pango ) |
58 |
- gd? ( >=media-libs/gd-2.0.35-r3:2=[png] ) |
59 |
- ggi? ( media-libs/libggi ) |
60 |
- latex? ( |
61 |
- virtual/latex-base |
62 |
- lua? ( |
63 |
- dev-tex/pgf |
64 |
- >=dev-texlive/texlive-latexrecommended-2008-r2 ) ) |
65 |
- libcaca? ( media-libs/libcaca ) |
66 |
- lua? ( ${LUA_DEPS} ) |
67 |
- qt5? ( |
68 |
- dev-qt/qtcore:5= |
69 |
- dev-qt/qtgui:5= |
70 |
- dev-qt/qtnetwork:5= |
71 |
- dev-qt/qtprintsupport:5= |
72 |
- dev-qt/qtsvg:5= |
73 |
- dev-qt/qtwidgets:5= ) |
74 |
- readline? ( sys-libs/readline:0= ) |
75 |
- libcerf? ( sci-libs/libcerf ) |
76 |
- wxwidgets? ( |
77 |
- x11-libs/wxGTK:${WX_GTK_VER}[X] |
78 |
- x11-libs/cairo |
79 |
- x11-libs/pango |
80 |
- x11-libs/gtk+:3 ) |
81 |
- X? ( x11-libs/libXaw )" |
82 |
- |
83 |
-DEPEND="${RDEPEND}" |
84 |
- |
85 |
-BDEPEND=" |
86 |
- virtual/pkgconfig |
87 |
- doc? ( |
88 |
- virtual/latex-base |
89 |
- dev-texlive/texlive-latexextra |
90 |
- dev-texlive/texlive-langgreek |
91 |
- app-text/ghostscript-gpl ) |
92 |
- qt5? ( dev-qt/linguist-tools:5 )" |
93 |
- |
94 |
-GP_VERSION="${PV%.*}" |
95 |
-E_SITEFILE="lisp/50${PN}-gentoo.el" |
96 |
-TEXMF="${EPREFIX}/usr/share/texmf-site" |
97 |
- |
98 |
-PATCHES=( |
99 |
- "${FILESDIR}"/${PN}-5.0.1-fix-underlinking.patch |
100 |
- "${FILESDIR}"/${PN}-5.0.6-no-picins.patch |
101 |
-) |
102 |
- |
103 |
-pkg_setup() { |
104 |
- use lua && lua-single_pkg_setup |
105 |
-} |
106 |
- |
107 |
-src_prepare() { |
108 |
- default |
109 |
- |
110 |
- if [[ ${PV##*.} = 9999 ]]; then |
111 |
- local dir |
112 |
- for dir in config demo m4 term tutorial; do |
113 |
- emake -C "$dir" -f Makefile.am.in Makefile.am |
114 |
- done |
115 |
- fi |
116 |
- |
117 |
- # Add special version identification as required by provision 2 |
118 |
- # of the gnuplot license |
119 |
- sed -i -e "1s/.*/& (Gentoo revision ${PR})/" PATCHLEVEL || die |
120 |
- |
121 |
- eautoreconf |
122 |
- |
123 |
- # Make sure we don't mix build & host flags. |
124 |
- sed -i \ |
125 |
- -e 's:@CPPFLAGS@:$(BUILD_CPPFLAGS):' \ |
126 |
- -e 's:@CFLAGS@:$(BUILD_CFLAGS):' \ |
127 |
- -e 's:@LDFLAGS@:$(BUILD_LDFLAGS):' \ |
128 |
- -e 's:@CC@:$(CC_FOR_BUILD):' \ |
129 |
- docs/Makefile.in || die |
130 |
-} |
131 |
- |
132 |
-src_configure() { |
133 |
- if ! use latex; then |
134 |
- sed -i -e '/SUBDIRS/s/LaTeX//' share/Makefile.in || die |
135 |
- fi |
136 |
- |
137 |
- use wxwidgets && setup-wxwidgets |
138 |
- |
139 |
- tc-export CC CXX #453174 |
140 |
- tc-export_build_env BUILD_CC |
141 |
- export CC_FOR_BUILD=${BUILD_CC} |
142 |
- |
143 |
- econf \ |
144 |
- --with-texdir="${TEXMF}/tex/latex/${PN}" \ |
145 |
- --with-readline=$(usex readline gnu builtin) \ |
146 |
- $(use_with bitmap bitmap-terminals) \ |
147 |
- $(use_with cairo) \ |
148 |
- $(use_with gd) \ |
149 |
- "$(use_with ggi ggi "${EPREFIX}/usr/$(get_libdir)")" \ |
150 |
- "$(use_with libcaca caca "${EPREFIX}/usr/$(get_libdir)")" \ |
151 |
- $(use_with libcerf) \ |
152 |
- $(use_with lua) \ |
153 |
- $(use_with regis) \ |
154 |
- $(use_with X x) \ |
155 |
- --enable-stats \ |
156 |
- $(use_with qt5 qt qt5) \ |
157 |
- $(use_enable wxwidgets) \ |
158 |
- DIST_CONTACT="https://bugs.gentoo.org/" \ |
159 |
- EMACS=no |
160 |
-} |
161 |
- |
162 |
-src_compile() { |
163 |
- # Prevent access violations, see bug 201871 |
164 |
- export VARTEXFONTS="${T}/fonts" |
165 |
- |
166 |
- emake all |
167 |
- |
168 |
- if use doc; then |
169 |
- # Avoid sandbox violation in epstopdf/ghostscript |
170 |
- addpredict /var/cache/fontconfig |
171 |
- if use cairo; then |
172 |
- emake -C docs pdf |
173 |
- else |
174 |
- ewarn "Cannot build figures unless cairo is enabled." |
175 |
- ewarn "Building documentation without figures." |
176 |
- emake -C docs pdf_nofig |
177 |
- mv docs/nofigures.pdf docs/gnuplot.pdf || die |
178 |
- fi |
179 |
- fi |
180 |
-} |
181 |
- |
182 |
-src_install() { |
183 |
- emake DESTDIR="${D}" install |
184 |
- |
185 |
- dodoc BUGS NEWS PGPKEYS README* RELEASE_NOTES |
186 |
- newdoc term/PostScript/README README-ps |
187 |
- newdoc term/js/README README-js |
188 |
- use lua && newdoc term/lua/README README-lua |
189 |
- |
190 |
- local DOC_CONTENTS='Gnuplot no longer links against pdflib. You can |
191 |
- use the "pdfcairo" terminal for PDF output.' |
192 |
- use cairo || DOC_CONTENTS+=' It is available with USE="cairo".' |
193 |
- use gd && DOC_CONTENTS+="\n\nFor font support in png/jpeg/gif output, |
194 |
- you may have to set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT |
195 |
- environment variables. See the FAQ file in /usr/share/doc/${PF}/ |
196 |
- for more information." |
197 |
- readme.gentoo_create_doc |
198 |
- |
199 |
- if use examples; then |
200 |
- # Demo files |
201 |
- insinto /usr/share/${PN}/${GP_VERSION} |
202 |
- doins -r demo |
203 |
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/Makefile* |
204 |
- rm -f "${ED}"/usr/share/${PN}/${GP_VERSION}/demo/binary* |
205 |
- fi |
206 |
- |
207 |
- if use doc; then |
208 |
- # Manual, FAQ |
209 |
- dodoc docs/gnuplot.pdf FAQ.pdf |
210 |
- # Documentation for making PostScript files |
211 |
- docinto psdoc |
212 |
- dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README} |
213 |
- fi |
214 |
-} |
215 |
- |
216 |
-src_test() { |
217 |
- emake check GNUTERM="dumb" |
218 |
-} |
219 |
- |
220 |
-pkg_postinst() { |
221 |
- use latex && texmf-update |
222 |
- readme.gentoo_print_elog |
223 |
-} |
224 |
- |
225 |
-pkg_postrm() { |
226 |
- use latex && texmf-update |
227 |
-} |