From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: wxmaxima-0.8.7.ebuild ChangeLog wxmaxima-0.8.4.ebuild |
Date: | Thu, 27 Jan 2011 00:08:55 |
Message-Id: | 20110127000843.DAE1420054@flycatcher.gentoo.org |
1 | bicatali 11/01/27 00:08:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: wxmaxima-0.8.7.ebuild |
5 | Removed: wxmaxima-0.8.4.ebuild |
6 | Log: |
7 | Version bump |
8 | |
9 | (Portage version: 2.1.9.35/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.31 sci-mathematics/wxmaxima/ChangeLog |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.31&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.31&content-type=text/plain |
16 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.30&r2=1.31 |
17 | |
18 | Index: ChangeLog |
19 | =================================================================== |
20 | RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v |
21 | retrieving revision 1.30 |
22 | retrieving revision 1.31 |
23 | diff -u -r1.30 -r1.31 |
24 | --- ChangeLog 26 Sep 2010 16:36:36 -0000 1.30 |
25 | +++ ChangeLog 27 Jan 2011 00:08:43 -0000 1.31 |
26 | @@ -1,6 +1,12 @@ |
27 | # ChangeLog for sci-mathematics/wxmaxima |
28 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.30 2010/09/26 16:36:36 bicatali Exp $ |
30 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
31 | +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.31 2011/01/27 00:08:43 bicatali Exp $ |
32 | + |
33 | +*wxmaxima-0.8.7 (26 Jan 2011) |
34 | + |
35 | + 26 Jan 2011; Sébastien Fabbro <bicatali@g.o> -wxmaxima-0.8.4.ebuild, |
36 | + +wxmaxima-0.8.7.ebuild: |
37 | + Version bump |
38 | |
39 | *wxmaxima-0.8.6 (26 Sep 2010) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 sci-mathematics/wxmaxima/wxmaxima-0.8.7.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.7.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.7.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: wxmaxima-0.8.7.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2011 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-0.8.7.ebuild,v 1.1 2011/01/27 00:08:43 bicatali Exp $ |
54 | |
55 | WX_GTK_VER="2.8" |
56 | EAPI="2" |
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 |
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 || 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 | emake DESTDIR="${D}" install || die "emake install failed" |
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 | dodoc AUTHORS |
103 | } |
104 | |
105 | pkg_postinst() { |
106 | fdo-mime_desktop_database_update |
107 | } |
108 | |
109 | pkg_postrm() { |
110 | fdo-mime_desktop_database_update |
111 | } |