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-12.04.0.ebuild wxmaxima-11.08.0.ebuild
Date: Wed, 06 Jun 2012 21:44:17
Message-Id: 20120606214402.B9A1B2004B@flycatcher.gentoo.org
1 bicatali 12/06/06 21:44:02
2
3 Modified: ChangeLog
4 Added: wxmaxima-12.04.0.ebuild
5 Removed: wxmaxima-11.08.0.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.10.63/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.39 sci-mathematics/wxmaxima/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.39&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.39&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.38&r2=1.39
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
21 retrieving revision 1.38
22 retrieving revision 1.39
23 diff -u -r1.38 -r1.39
24 --- ChangeLog 21 May 2012 20:00:05 -0000 1.38
25 +++ ChangeLog 6 Jun 2012 21:44:02 -0000 1.39
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-mathematics/wxmaxima
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.38 2012/05/21 20:00:05 ssuominen Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.39 2012/06/06 21:44:02 bicatali Exp $
31 +
32 +*wxmaxima-12.04.0 (06 Jun 2012)
33 +
34 + 06 Jun 2012; Sébastien Fabbro <bicatali@g.o>
35 + -wxmaxima-11.08.0.ebuild, +wxmaxima-12.04.0.ebuild:
36 + Version bump
37
38 21 May 2012; Samuli Suominen <ssuominen@g.o> wxmaxima-0.8.2.ebuild,
39 wxmaxima-11.08.0.ebuild, wxmaxima-12.01.0.ebuild:
40
41
42
43 1.1 sci-mathematics/wxmaxima/wxmaxima-12.04.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-12.04.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-12.04.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wxmaxima-12.04.0.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-12.04.0.ebuild,v 1.1 2012/06/06 21:44:02 bicatali Exp $
53
54 EAPI=4
55 WX_GTK_VER="2.8"
56 inherit eutils wxwidgets fdo-mime
57
58 MYP=wxMaxima-${PV}
59
60 DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit."
61 HOMEPAGE="http://wxmaxima.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~amd64 ~ppc ~x86"
67 IUSE="unicode"
68
69 DEPEND="dev-libs/libxml2:2
70 x11-libs/wxGTK:2.8"
71 RDEPEND="${DEPEND}
72 media-fonts/jsmath
73 sci-visualization/gnuplot[wxwidgets]
74 sci-mathematics/maxima"
75
76 S="${WORKDIR}/${MYP}"
77
78 src_prepare() {
79 # consistent package names
80 sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
81 -i Makefile.in data/Makefile.in || die "sed failed"
82
83 sed -e 's:share/wxMaxima:share/wxmaxima:g' \
84 -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.cpp \
85 || die "sed failed"
86 }
87
88 src_configure() {
89 econf \
90 --enable-dnd \
91 --enable-printing \
92 --with-wx-config=${WX_CONFIG} \
93 $(use_enable unicode unicode-glyphs)
94 }
95
96 src_install () {
97 default
98 doicon data/wxmaxima.png
99 make_desktop_entry wxmaxima wxMaxima wxmaxima
100 dodir /usr/share/doc/${PF}
101 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
102 }
103
104 pkg_postinst() {
105 fdo-mime_desktop_database_update
106 }
107
108 pkg_postrm() {
109 fdo-mime_desktop_database_update
110 }