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