Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (opfer)" <opfer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-visualization/gnuplot: ChangeLog gnuplot-4.2.2.ebuild
Date: Sat, 15 Sep 2007 09:10:13
Message-Id: E1IWTY6-0008JP-SR@stork.gentoo.org
1 opfer 07/09/15 09:02:46
2
3 Modified: ChangeLog gnuplot-4.2.2.ebuild
4 Log:
5 removing latex-package.eclass again as it would pull in virtual/tetex unconditionally; introducing own rehash function based on work from latex-package.eclass; thanks to drac for sighting
6 (Portage version: 2.1.2.12)
7
8 Revision Changes Path
9 1.36 sci-visualization/gnuplot/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/ChangeLog?rev=1.36&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/ChangeLog?rev=1.36&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/ChangeLog?r1=1.35&r2=1.36
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v
18 retrieving revision 1.35
19 retrieving revision 1.36
20 diff -u -r1.35 -r1.36
21 --- ChangeLog 14 Sep 2007 15:42:36 -0000 1.35
22 +++ ChangeLog 15 Sep 2007 09:02:46 -0000 1.36
23 @@ -1,6 +1,11 @@
24 # ChangeLog for sci-visualization/gnuplot
25 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.35 2007/09/14 15:42:36 opfer Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/ChangeLog,v 1.36 2007/09/15 09:02:46 opfer Exp $
28 +
29 + 15 Sep 2007; Christian Faulhammer <opfer@g.o> gnuplot-4.2.2.ebuild:
30 + removing latex-package.eclass again as it would pull in virtual/tetex
31 + unconditionally; introducing own rehash function based on work from
32 + latex-package.eclass; thanks to drac for sighting
33
34 14 Sep 2007; Christian Faulhammer <opfer@g.o> gnuplot-4.2.2.ebuild:
35 do a rehash if USE flag tetex is set, see bug 192471by Sebastian Schubert
36
37
38
39 1.4 sci-visualization/gnuplot/gnuplot-4.2.2.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild?rev=1.4&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild?rev=1.4&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild?r1=1.3&r2=1.4
44
45 Index: gnuplot-4.2.2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild,v
48 retrieving revision 1.3
49 retrieving revision 1.4
50 diff -u -r1.3 -r1.4
51 --- gnuplot-4.2.2.ebuild 14 Sep 2007 15:42:36 -0000 1.3
52 +++ gnuplot-4.2.2.ebuild 15 Sep 2007 09:02:46 -0000 1.4
53 @@ -1,8 +1,8 @@
54 # Copyright 1999-2007 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild,v 1.3 2007/09/14 15:42:36 opfer Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gnuplot/gnuplot-4.2.2.ebuild,v 1.4 2007/09/15 09:02:46 opfer Exp $
58
59 -inherit eutils elisp-common latex-package multilib wxwidgets
60 +inherit eutils elisp-common multilib wxwidgets
61
62 MY_P="${P/_/.}"
63
64 @@ -38,6 +38,14 @@
65
66 E_SITEFILE="50gnuplot-gentoo.el"
67
68 +latex_rehash() {
69 + if has_version '>=app-text/tetex-3' || has_version '>=app-text/ptex-3.1.8' ; then
70 + texmf-update
71 + else
72 + texconfig rehash
73 + fi
74 +}
75 +
76 pkg_setup() {
77 if use gd && ! built_with_use media-libs/gd png; then
78 eerror "media-libs/gd needs to be built with PNG support"
79 @@ -161,10 +169,10 @@
80 einfo "this is usually considered to be a security hazard."
81 einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
82 fi
83 - use tetex && latex-package_rehash
84 + use tetex && latex_rehash
85 }
86
87 pkg_postrm() {
88 use emacs && elisp-site-regen
89 - use tetex && latex-package_rehash
90 + use tetex && latex_rehash
91 }
92
93
94
95 --
96 gentoo-commits@g.o mailing list