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-11.08.0.ebuild wxmaxima-0.8.7.ebuild
Date: Fri, 25 Nov 2011 20:55:57
Message-Id: 20111125205548.6324E2004B@flycatcher.gentoo.org
1 bicatali 11/11/25 20:55:48
2
3 Modified: ChangeLog
4 Added: wxmaxima-11.08.0.ebuild
5 Removed: wxmaxima-0.8.7.ebuild
6 Log:
7 Version bump
8
9 (Portage version: 2.1.10.37/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.35 sci-mathematics/wxmaxima/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.35&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.35&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.34&r2=1.35
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
21 retrieving revision 1.34
22 retrieving revision 1.35
23 diff -u -r1.34 -r1.35
24 --- ChangeLog 9 Jun 2011 22:53:39 -0000 1.34
25 +++ ChangeLog 25 Nov 2011 20:55:48 -0000 1.35
26 @@ -1,6 +1,12 @@
27 # ChangeLog for sci-mathematics/wxmaxima
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.34 2011/06/09 22:53:39 bicatali Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.35 2011/11/25 20:55:48 bicatali Exp $
31 +
32 +*wxmaxima-11.08.0 (25 Nov 2011)
33 +
34 + 25 Nov 2011; Sébastien Fabbro <bicatali@g.o> -wxmaxima-0.8.7.ebuild,
35 + +wxmaxima-11.08.0.ebuild:
36 + Version bump
37
38 *wxmaxima-11.04.0 (09 Jun 2011)
39
40
41
42
43 1.1 sci-mathematics/wxmaxima/wxmaxima-11.08.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-11.08.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-11.08.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: wxmaxima-11.08.0.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-11.08.0.ebuild,v 1.1 2011/11/25 20:55:48 bicatali Exp $
53
54 WX_GTK_VER="2.8"
55 EAPI=4
56 inherit 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 }