Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: ChangeLog wxmaxima-0.7.3a.ebuild wxmaxima-0.7.2.ebuild
Date: Thu, 13 Sep 2007 14:21:36
Message-Id: E1IVpSS-0005BU-Qy@stork.gentoo.org
1 bicatali 07/09/13 14:14:16
2
3 Modified: ChangeLog
4 Added: wxmaxima-0.7.3a.ebuild
5 Removed: wxmaxima-0.7.2.ebuild
6 Log:
7 Version bump. Removing wxmaxima-0.7.2 and closing bug #180252.
8 (Portage version: 2.1.2.12)
9
10 Revision Changes Path
11 1.5 sci-mathematics/wxmaxima/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.4&r2=1.5
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- ChangeLog 10 Jul 2007 03:35:55 -0000 1.4
24 +++ ChangeLog 13 Sep 2007 14:14:16 -0000 1.5
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-mathematics/wxmaxima
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.4 2007/07/10 03:35:55 nerdboy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.5 2007/09/13 14:14:16 bicatali Exp $
30 +
31 +*wxmaxima-0.7.3a (13 Sep 2007)
32 +
33 + 13 Sep 2007; Sébastien Fabbro <bicatali@g.o>
34 + -wxmaxima-0.7.2.ebuild, +wxmaxima-0.7.3a.ebuild:
35 + Version bump. Removing wxmaxima-0.7.2 and closing bug #180252.
36
37 10 Jul 2007; Steve Arnold <nerdboy@g.o> wxmaxima-0.7.1.ebuild,
38 wxmaxima-0.7.2.ebuild:
39
40
41
42 1.1 sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild?rev=1.1&content-type=text/plain
46
47 Index: wxmaxima-0.7.3a.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.7.3a.ebuild,v 1.1 2007/09/13 14:14:16 bicatali Exp $
52
53 inherit eutils autotools wxwidgets fdo-mime
54
55 MYP=wxMaxima-${PV}
56
57 DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit."
58 HOMEPAGE="http://wxmaxima.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="unicode"
65 DEPEND=">=dev-libs/libxml2-2.5.0
66 >=x11-libs/wxGTK-2.6"
67 RDEPEND=">=sci-mathematics/maxima-5.13.0"
68
69 S=${WORKDIR}/${MYP}
70
71 src_compile () {
72 export WX_GTK_VER="2.6"
73 if use unicode; then
74 need-wxwidgets unicode
75 else
76 need-wxwidgets gtk2
77 fi
78
79 # consistent package names
80 sed -i \
81 -e 's:COPYING::' \
82 -e "s:${datadir}/wxMaxima:${datadir}/${PN}:g" \
83 Makefile.in data/Makefile.in || die "sed failed"
84
85 sed -i \
86 -e 's:share/wxMaxima:share/wxmaxima:g' \
87 src/wxMaxima.cpp || die "sed failed"
88
89 econf \
90 --enable-dnd \
91 --enable-printing \
92 --with-wx-config=${WX_CONFIG} \
93 $(use_unicode unicode-glyphs) \
94 || die "econf failed"
95
96 emake || die "emake failed"
97 }
98
99 src_install () {
100 emake DESTDIR="${D}" install || die "emake install failed"
101 newicon maxima-new.png wxmaxima.png
102 make_desktop_entry wxmaxima "wxMaxima ${PV}" wxmaxima \
103 "Science;Math;Education"
104
105 dosym ${PORTDIR}/licenses/${LICENSE} /usr/share/${PN}/COPYING
106 dodir /usr/share/doc/${PF}
107 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
108 dodoc AUTHORS
109 }
110
111 pkg_postinst() {
112 fdo-mime_desktop_database_update
113 }
114
115 pkg_postrm() {
116 fdo-mime_desktop_database_update
117 }
118
119
120
121 --
122 gentoo-commits@g.o mailing list