Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/gnuplot/
Date: Sat, 22 Mar 2014 23:31:21
Message-Id: 1395525723.174d53ce1e50d6d95f66ba9625d46361735fd550.ottxor@gentoo
1 commit: 174d53ce1e50d6d95f66ba9625d46361735fd550
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 22 09:55:42 2014 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 22 22:02:03 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=174d53ce
7
8 Don't install Emacs support files as the they have been removed from the CVS trunk, and the ones included with 4.6 are outdated, bug 504354.
9
10 Package-Manager: portage-2.2.8-r1
11
12 ---
13 sci-visualization/gnuplot/ChangeLog | 7 ++-
14 sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild | 64 +++--------------------
15 sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild | 47 ++---------------
16 3 files changed, 18 insertions(+), 100 deletions(-)
17
18 diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
19 index 539d7ec..5d9f363 100644
20 --- a/sci-visualization/gnuplot/ChangeLog
21 +++ b/sci-visualization/gnuplot/ChangeLog
22 @@ -1,7 +1,12 @@
23 # ChangeLog for sci-visualization/gnuplot
24 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
25 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: $
27
28 + 22 Mar 2014; Ulrich Müller <ulm@g.o> gnuplot-4.6.9999.ebuild,
29 + gnuplot-4.7.9999.ebuild:
30 + Don't install Emacs support files as the they have been removed from the CVS
31 + trunk, and the ones included with 4.6 are outdated, bug 504354.
32 +
33 14 Jul 2013; Christoph Junghans <ottxor@g.o> gnuplot-4.7.9999.ebuild:
34 build of info file broke again, drop it, will be shipped in the release anyhow
35
36
37 diff --git a/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild b/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
38 index b0a6152..9330bba 100644
39 --- a/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
40 +++ b/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
41 @@ -4,7 +4,7 @@
42
43 EAPI=5
44
45 -inherit elisp-common eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets
46 +inherit eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets
47
48 DESCRIPTION="Command-line driven interactive plotting program"
49 HOMEPAGE="http://www.gnuplot.info/"
50 @@ -24,19 +24,15 @@ else
51 mirror://gentoo/${PN}.info-4.6.2.tar.xz"
52 fi
53
54 -LICENSE="gnuplot GPL-2 bitmap? ( free-noncomm )"
55 +LICENSE="gnuplot bitmap? ( free-noncomm )"
56 SLOT="0"
57 KEYWORDS=""
58 -IUSE="aqua bitmap cairo doc emacs examples +gd ggi latex lua plotutils qt4 readline svga thin-splines wxwidgets X xemacs"
59 +IUSE="aqua bitmap cairo doc examples +gd ggi latex lua plotutils qt4 readline svga thin-splines wxwidgets X"
60
61 RDEPEND="
62 cairo? (
63 x11-libs/cairo
64 x11-libs/pango )
65 - emacs? ( virtual/emacs )
66 - !emacs? ( xemacs? (
67 - app-editors/xemacs
68 - app-xemacs/xemacs-base ) )
69 gd? ( >=media-libs/gd-2.0.35-r3[png] )
70 ggi? ( media-libs/libggi )
71 latex? (
72 @@ -62,14 +58,7 @@ DEPEND="${RDEPEND}
73 doc? (
74 virtual/latex-base
75 dev-texlive/texlive-latexextra
76 - app-text/ghostscript-gpl )
77 - !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
78 -
79 -if [[ -z ${PV%%*9999} ]]; then
80 - # The live ebuild always needs an Emacs for building of gnuplot.texi
81 - DEPEND="${DEPEND}
82 - || ( virtual/emacs app-xemacs/texinfo )"
83 -fi
84 + app-text/ghostscript-gpl )"
85
86 S="${WORKDIR}/${MY_P}"
87
88 @@ -124,34 +113,11 @@ src_configure() {
89
90 tc-export CC CXX #453174
91
92 - local emacs lispdir
93 - if use emacs; then
94 - emacs=emacs
95 - lispdir="${EPREFIX}${SITELISP}/${PN}"
96 - use xemacs \
97 - && ewarn "USE flag \"xemacs\" ignored (superseded by \"emacs\")"
98 - elif use xemacs; then
99 - emacs=xemacs
100 - lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/${PN}"
101 - else
102 - emacs=no
103 - lispdir=""
104 - if [[ -z ${PV%%*9999} ]]; then
105 - # Live ebuild needs an Emacs to build gnuplot.texi
106 - if has_version virtual/emacs; then emacs=emacs
107 - elif has_version app-xemacs/texinfo; then emacs=xemacs; fi
108 - # for emacs != no gnuplot will install lisp files in
109 - # ${lispdir}/ which will / for emtpy lispdir
110 - lispdir="${T}"
111 - fi
112 - fi
113 -
114 econf \
115 --without-pdf \
116 --with-texdir="${TEXMF}/tex/latex/${PN}" \
117 --with-readline=$(usex readline gnu builtin) \
118 - --with-lispdir="${lispdir}" \
119 - --with$([[ -z ${lispdir} ]] && echo out)-lisp-files \
120 + --without-lisp-files \
121 $(use_with bitmap bitmap-terminals) \
122 $(use_with cairo) \
123 $(use_with doc tutorial) \
124 @@ -167,7 +133,7 @@ src_configure() {
125 $(use_enable thin-splines) \
126 $(use_enable wxwidgets) \
127 DIST_CONTACT="http://bugs.gentoo.org/" \
128 - EMACS="${emacs}"
129 + EMACS=no
130 }
131
132 src_compile() {
133 @@ -178,27 +144,19 @@ src_compile() {
134 # In case of problems file a bug report at bugs.gentoo.org.
135 #addwrite /dev/svga:/dev/mouse:/dev/tts/0
136
137 - emake all info
138 + emake all
139
140 if use doc; then
141 # Avoid sandbox violation in epstopdf/ghostscript
142 addpredict /var/cache/fontconfig
143 emake -C docs pdf
144 emake -C tutorial pdf
145 - use emacs || use xemacs && emake -C lisp pdf
146 fi
147 }
148
149 src_install () {
150 emake DESTDIR="${D}" install
151
152 - if use emacs; then
153 - # Gentoo Emacs site-lisp configuration
154 - echo "(add-to-list 'load-path \"@SITELISP@\")" > ${E_SITEFILE}
155 - sed '/^;; move/,+3 d' lisp/dotemacs >> ${E_SITEFILE} || die
156 - elisp-site-file-install ${E_SITEFILE} || die
157 - fi
158 -
159 dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README*
160 newdoc term/PostScript/README README-ps
161 newdoc term/js/README README-js
162 @@ -220,12 +178,6 @@ src_install () {
163 docinto psdoc
164 dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
165 fi
166 -
167 - if use emacs || use xemacs; then
168 - docinto emacs
169 - dodoc lisp/ChangeLog lisp/README
170 - use doc && dodoc lisp/gpelcard.pdf
171 - fi
172 }
173
174 src_test() {
175 @@ -233,12 +185,10 @@ src_test() {
176 }
177
178 pkg_postinst() {
179 - use emacs && elisp-site-regen
180 use latex && texmf-update
181 readme.gentoo_print_elog
182 }
183
184 pkg_postrm() {
185 - use emacs && elisp-site-regen
186 use latex && texmf-update
187 }
188
189 diff --git a/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild b/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
190 index 8eccbc4..f5ff014 100644
191 --- a/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
192 +++ b/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
193 @@ -4,7 +4,7 @@
194
195 EAPI=5
196
197 -inherit elisp-common eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets
198 +inherit eutils flag-o-matic multilib readme.gentoo toolchain-funcs wxwidgets
199
200 DESCRIPTION="Command-line driven interactive plotting program"
201 HOMEPAGE="http://www.gnuplot.info/"
202 @@ -23,19 +23,15 @@ else
203 SRC_URI="mirror://sourceforge/gnuplot/${MY_P}.tar.gz"
204 fi
205
206 -LICENSE="gnuplot GPL-2 bitmap? ( free-noncomm )"
207 +LICENSE="gnuplot bitmap? ( free-noncomm )"
208 SLOT="0"
209 KEYWORDS=""
210 -IUSE="aqua bitmap cairo doc emacs examples +gd ggi latex lua qt4 readline svga thin-splines wxwidgets X xemacs"
211 +IUSE="aqua bitmap cairo doc examples +gd ggi latex lua qt4 readline svga thin-splines wxwidgets X"
212
213 RDEPEND="
214 cairo? (
215 x11-libs/cairo
216 x11-libs/pango )
217 - emacs? ( virtual/emacs )
218 - !emacs? ( xemacs? (
219 - app-editors/xemacs
220 - app-xemacs/xemacs-base ) )
221 gd? ( >=media-libs/gd-2.0.35-r3[png] )
222 ggi? ( media-libs/libggi )
223 latex? (
224 @@ -60,8 +56,7 @@ DEPEND="${RDEPEND}
225 doc? (
226 virtual/latex-base
227 dev-texlive/texlive-latexextra
228 - app-text/ghostscript-gpl )
229 - !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
230 + app-text/ghostscript-gpl )"
231
232 S="${WORKDIR}/${MY_P}"
233
234 @@ -113,26 +108,10 @@ src_configure() {
235
236 tc-export CC CXX #453174
237
238 - local emacs lispdir
239 - if use emacs; then
240 - emacs=emacs
241 - lispdir="${EPREFIX}${SITELISP}/${PN}"
242 - use xemacs \
243 - && ewarn "USE flag \"xemacs\" ignored (superseded by \"emacs\")"
244 - elif use xemacs; then
245 - emacs=xemacs
246 - lispdir="${EPREFIX}/usr/lib/xemacs/site-packages/${PN}"
247 - else
248 - emacs=no
249 - lispdir=""
250 - fi
251 -
252 econf \
253 --without-pdf \
254 --with-texdir="${TEXMF}/tex/latex/${PN}" \
255 --with-readline=$(usex readline gnu builtin) \
256 - --with-lispdir="${lispdir}" \
257 - --with$([[ -z ${lispdir} ]] && echo out)-lisp-files \
258 $(use_with bitmap bitmap-terminals) \
259 $(use_with cairo) \
260 $(use_with doc tutorial) \
261 @@ -147,7 +126,7 @@ src_configure() {
262 $(use_enable thin-splines) \
263 $(use_enable wxwidgets) \
264 DIST_CONTACT="http://bugs.gentoo.org/" \
265 - EMACS="${emacs}"
266 + EMACS=no
267 }
268
269 src_compile() {
270 @@ -165,20 +144,12 @@ src_compile() {
271 addpredict /var/cache/fontconfig
272 emake -C docs pdf
273 emake -C tutorial pdf
274 - use emacs || use xemacs && emake -C lisp pdf
275 fi
276 }
277
278 src_install () {
279 emake DESTDIR="${D}" install
280
281 - if use emacs; then
282 - # Gentoo Emacs site-lisp configuration
283 - echo "(add-to-list 'load-path \"@SITELISP@\")" > ${E_SITEFILE}
284 - sed '/^;; move/,+3 d' lisp/dotemacs >> ${E_SITEFILE} || die
285 - elisp-site-file-install ${E_SITEFILE} || die
286 - fi
287 -
288 dodoc BUGS ChangeLog NEWS PGPKEYS PORTING README*
289 newdoc term/PostScript/README README-ps
290 newdoc term/js/README README-js
291 @@ -200,12 +171,6 @@ src_install () {
292 docinto psdoc
293 dodoc docs/psdoc/{*.doc,*.tex,*.ps,*.gpi,README}
294 fi
295 -
296 - if use emacs || use xemacs; then
297 - docinto emacs
298 - dodoc lisp/ChangeLog lisp/README
299 - use doc && dodoc lisp/gpelcard.pdf
300 - fi
301 }
302
303 src_test() {
304 @@ -213,12 +178,10 @@ src_test() {
305 }
306
307 pkg_postinst() {
308 - use emacs && elisp-site-regen
309 use latex && texmf-update
310 readme.gentoo_print_elog
311 }
312
313 pkg_postrm() {
314 - use emacs && elisp-site-regen
315 use latex && texmf-update
316 }