Gentoo Archives: gentoo-commits

From: Christoph Junghans <kleiner_otti@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-visualization/gnuplot/
Date: Sat, 28 Jan 2012 03:28:28
Message-Id: 9cd99b68d1feffc7052442f06344ee188ea331ab.kleiner_otti@gentoo
1 commit: 9cd99b68d1feffc7052442f06344ee188ea331ab
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 28 03:26:31 2012 +0000
4 Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
5 CommitDate: Sat Jan 28 03:26:31 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9cd99b68
7
8 sync with tree and bug #400999#c7
9
10 (Portage version: 2.2.0_alpha84/git/Linux i686, unsigned Manifest commit)
11
12 ---
13 sci-visualization/gnuplot/ChangeLog | 4 ++
14 sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild | 42 ++++++++++++---------
15 sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild | 42 ++++++++++++---------
16 3 files changed, 52 insertions(+), 36 deletions(-)
17
18 diff --git a/sci-visualization/gnuplot/ChangeLog b/sci-visualization/gnuplot/ChangeLog
19 index 6d0b375..b149287 100644
20 --- a/sci-visualization/gnuplot/ChangeLog
21 +++ b/sci-visualization/gnuplot/ChangeLog
22 @@ -2,6 +2,10 @@
23 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
24 # $Header: $
25
26 + 28 Jan 2012; Christoph Junghans <ottxor@g.o> gnuplot-4.6.9999.ebuild,
27 + gnuplot-4.7.9999.ebuild:
28 + sync with tree and bug #400999#c7
29 +
30 *gnuplot-4.7.9999 (27 Jan 2012)
31 *gnuplot-4.6.9999 (27 Jan 2012)
32
33
34 diff --git a/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild b/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
35 index 3153e2f..89556a7 100644
36 --- a/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
37 +++ b/sci-visualization/gnuplot/gnuplot-4.6.9999.ebuild
38 @@ -1,6 +1,6 @@
39 # Copyright 1999-2012 Gentoo Foundation
40 # Distributed under the terms of the GNU General Public License v2
41 -# $Header: $
42 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild,v 1.3 2012/01/27 16:05:06 ulm Exp $
43
44 EAPI=4
45
46 @@ -61,9 +61,15 @@ DEPEND="${RDEPEND}
47 dev-util/pkgconfig
48 doc? (
49 virtual/latex-base
50 + dev-texlive/texlive-latexextra
51 app-text/ghostscript-gpl )
52 - !emacs? ( xemacs? ( app-xemacs/texinfo ) )
53 + !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
54 +
55 +if [[ -z ${PV%%*9999} ]]; then
56 + # The live ebuild always needs an Emacs for building of gnuplot.texi
57 + DEPEND="${DEPEND}
58 !emacs? ( !xemacs? ( || ( virtual/emacs app-xemacs/texinfo ) ) )"
59 +fi
60
61 S="${WORKDIR}/${MY_P}"
62
63 @@ -116,15 +122,15 @@ src_configure() {
64 && myconf="${myconf} --with-readline=gnu" \
65 || myconf="${myconf} --with-readline=builtin"
66
67 - if has_version virtual/emacs; then
68 - emacs="emacs"
69 - elif has_version app-xemacs/texinfo; then
70 - emacs="xemacs"
71 + local emacs=$(usev emacs || usev xemacs || echo no)
72 + if [[ -z ${PV%%*9999} && ${emacs} = no ]]; then
73 + #live ebuild needs an emacs to build texi
74 + has_version virtual/emacs && emacs="emacs" || emacs="xemacs"
75 fi
76
77 econf ${myconf} \
78 DIST_CONTACT="http://bugs.gentoo.org/" \
79 - EMACS="${emacs}"
80 + EMACS=${emacs}
81
82 if use xemacs; then
83 einfo "Configuring gnuplot-mode for XEmacs ..."
84 @@ -232,23 +238,23 @@ pkg_postinst() {
85 use emacs && elisp-site-regen
86 use latex && texmf-update
87
88 - einfo "Gnuplot no longer links against pdflib, see the ChangeLog for"
89 - einfo "details. You can use the \"pdfcairo\" terminal for PDF output."
90 - use cairo || einfo "It is available with USE=\"cairo\"."
91 + elog "Gnuplot no longer links against pdflib, see the ChangeLog for"
92 + elog "details. You can use the \"pdfcairo\" terminal for PDF output."
93 + use cairo || elog "It is available with USE=\"cairo\"."
94
95 if use svga; then
96 echo
97 - einfo "In order to enable ordinary users to use SVGA console graphics"
98 - einfo "gnuplot needs to be set up as setuid root. Please note that"
99 - einfo "this is usually considered to be a security hazard."
100 - einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
101 + elog "In order to enable ordinary users to use SVGA console graphics"
102 + elog "gnuplot needs to be set up as setuid root. Please note that"
103 + elog "this is usually considered to be a security hazard."
104 + elog "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
105 fi
106 if use gd; then
107 echo
108 - einfo "For font support in png/jpeg/gif output, you may have to"
109 - einfo "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment"
110 - einfo "variables. See the FAQ file in /usr/share/doc/${PF}/"
111 - einfo "for more information."
112 + elog "For font support in png/jpeg/gif output, you may have to"
113 + elog "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment"
114 + elog "variables. See the FAQ file in /usr/share/doc/${PF}/"
115 + elog "for more information."
116 fi
117 }
118
119
120 diff --git a/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild b/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
121 index af41315..3cb5c17 100644
122 --- a/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
123 +++ b/sci-visualization/gnuplot/gnuplot-4.7.9999.ebuild
124 @@ -1,6 +1,6 @@
125 # Copyright 1999-2012 Gentoo Foundation
126 # Distributed under the terms of the GNU General Public License v2
127 -# $Header: $
128 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.6_rc1.ebuild,v 1.3 2012/01/27 16:05:06 ulm Exp $
129
130 EAPI=4
131
132 @@ -61,9 +61,15 @@ DEPEND="${RDEPEND}
133 dev-util/pkgconfig
134 doc? (
135 virtual/latex-base
136 + dev-texlive/texlive-latexextra
137 app-text/ghostscript-gpl )
138 - !emacs? ( xemacs? ( app-xemacs/texinfo ) )
139 + !emacs? ( xemacs? ( app-xemacs/texinfo ) )"
140 +
141 +if [[ -z ${PV%%*9999} ]]; then
142 + # The live ebuild always needs an Emacs for building of gnuplot.texi
143 + DEPEND="${DEPEND}
144 !emacs? ( !xemacs? ( || ( virtual/emacs app-xemacs/texinfo ) ) )"
145 +fi
146
147 S="${WORKDIR}/${MY_P}"
148
149 @@ -116,15 +122,15 @@ src_configure() {
150 && myconf="${myconf} --with-readline=gnu" \
151 || myconf="${myconf} --with-readline=builtin"
152
153 - if has_version virtual/emacs; then
154 - emacs="emacs"
155 - elif has_version app-xemacs/texinfo; then
156 - emacs="xemacs"
157 + local emacs=$(usev emacs || usev xemacs || echo no)
158 + if [[ -z ${PV%%*9999} && ${emacs} = no ]]; then
159 + #live ebuild needs an emacs to build texi
160 + has_version virtual/emacs && emacs="emacs" || emacs="xemacs"
161 fi
162
163 econf ${myconf} \
164 DIST_CONTACT="http://bugs.gentoo.org/" \
165 - EMACS="${emacs}"
166 + EMACS=${emacs}
167
168 if use xemacs; then
169 einfo "Configuring gnuplot-mode for XEmacs ..."
170 @@ -232,23 +238,23 @@ pkg_postinst() {
171 use emacs && elisp-site-regen
172 use latex && texmf-update
173
174 - einfo "Gnuplot no longer links against pdflib, see the ChangeLog for"
175 - einfo "details. You can use the \"pdfcairo\" terminal for PDF output."
176 - use cairo || einfo "It is available with USE=\"cairo\"."
177 + elog "Gnuplot no longer links against pdflib, see the ChangeLog for"
178 + elog "details. You can use the \"pdfcairo\" terminal for PDF output."
179 + use cairo || elog "It is available with USE=\"cairo\"."
180
181 if use svga; then
182 echo
183 - einfo "In order to enable ordinary users to use SVGA console graphics"
184 - einfo "gnuplot needs to be set up as setuid root. Please note that"
185 - einfo "this is usually considered to be a security hazard."
186 - einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
187 + elog "In order to enable ordinary users to use SVGA console graphics"
188 + elog "gnuplot needs to be set up as setuid root. Please note that"
189 + elog "this is usually considered to be a security hazard."
190 + elog "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
191 fi
192 if use gd; then
193 echo
194 - einfo "For font support in png/jpeg/gif output, you may have to"
195 - einfo "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment"
196 - einfo "variables. See the FAQ file in /usr/share/doc/${PF}/"
197 - einfo "for more information."
198 + elog "For font support in png/jpeg/gif output, you may have to"
199 + elog "set the GDFONTPATH and GNUPLOT_DEFAULT_GDFONT environment"
200 + elog "variables. See the FAQ file in /usr/share/doc/${PF}/"
201 + elog "for more information."
202 fi
203 }