Gentoo Archives: gentoo-commits

From: "Andrey Grozin (grozin)" <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/wxmaxima: ChangeLog wxmaxima-13.04.2.ebuild
Date: Sat, 25 May 2013 11:05:11
Message-Id: 20130525110507.621172171D@flycatcher.gentoo.org
1 grozin 13/05/25 11:05:07
2
3 Modified: ChangeLog
4 Added: wxmaxima-13.04.2.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha176/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
9
10 Revision Changes Path
11 1.42 sci-mathematics/wxmaxima/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 9 Apr 2013 06:40:05 -0000 1.41
24 +++ ChangeLog 25 May 2013 11:05:07 -0000 1.42
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-mathematics/wxmaxima
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.41 2013/04/09 06:40:05 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.42 2013/05/25 11:05:07 grozin Exp $
30 +
31 +*wxmaxima-13.04.2 (25 May 2013)
32 +
33 + 25 May 2013; Andrey Grozin <grozin@g.o> +wxmaxima-13.04.2.ebuild:
34 + Version bump
35
36 09 Apr 2013; Justin Lecher <jlec@g.o> wxmaxima-12.09.0.ebuild,
37 metadata.xml:
38
39
40
41 1.1 sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: wxmaxima-13.04.2.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-13.04.2.ebuild,v 1.1 2013/05/25 11:05:07 grozin Exp $
51
52 EAPI=5
53
54 WX_GTK_VER="2.8"
55
56 inherit eutils gnome2-utils 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
68 DEPEND="
69 dev-libs/libxml2:2
70 x11-libs/wxGTK:${WX_GTK_VER}"
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 local i
80
81 # consistent package names
82 sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
83 -i Makefile.in data/Makefile.in || die "sed failed"
84
85 sed -e 's:share/wxMaxima:share/wxmaxima:g' \
86 -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.cpp \
87 || die "sed failed"
88
89 # correct gettext behavior
90 if [[ -n "${LINGUAS+x}" ]] ; then
91 for i in $(cd "${S}"/locales ; echo *.mo) ; do
92 if ! has ${i%.mo} ${LINGUAS} ; then
93 sed -i \
94 -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
95 -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
96 locales/Makefile.in || die
97 fi
98 done
99 fi
100 }
101
102 src_configure() {
103 econf \
104 --enable-printing \
105 --with-wx-config=${WX_CONFIG}
106 }
107
108 src_install () {
109 default
110 doicon -s 128 data/wxmaxima.png
111 make_desktop_entry wxmaxima wxMaxima wxmaxima
112 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
113 }
114
115 pkg_preinst() {
116 gnome2_icon_savelist
117 }
118
119 pkg_postinst() {
120 gnome2_icon_cache_update
121 fdo-mime_desktop_database_update
122 }
123
124 pkg_postrm() {
125 gnome2_icon_cache_update
126 fdo-mime_desktop_database_update
127 }