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-15.04.0-r1.ebuild wxmaxima-15.04.0.ebuild
Date: Tue, 28 Apr 2015 15:21:21
Message-Id: 20150428152111.B26E298E@oystercatcher.gentoo.org
1 grozin 15/04/28 15:21:10
2
3 Modified: ChangeLog
4 Added: wxmaxima-15.04.0-r1.ebuild
5 Removed: wxmaxima-15.04.0.ebuild
6 Log:
7 Changing wxMaxima -> wxmaxima in new places, #547548
8
9 (Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key 0x3AFFCE974D34BD8C!)
10
11 Revision Changes Path
12 1.50 sci-mathematics/wxmaxima/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.50&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.50&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.49&r2=1.50
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
21 retrieving revision 1.49
22 retrieving revision 1.50
23 diff -u -r1.49 -r1.50
24 --- ChangeLog 22 Apr 2015 06:57:11 -0000 1.49
25 +++ ChangeLog 28 Apr 2015 15:21:10 -0000 1.50
26 @@ -1,6 +1,10 @@
27 # ChangeLog for sci-mathematics/wxmaxima
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.49 2015/04/22 06:57:11 jlec Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.50 2015/04/28 15:21:10 grozin Exp $
31 +
32 + 28 Apr 2015; Andrey Grozin <grozin@g.o> -wxmaxima-15.04.0.ebuild,
33 + +wxmaxima-15.04.0-r1.ebuild:
34 + Changing wxMaxima -> wxmaxima in new places, #547548
35
36 22 Apr 2015; Justin Lecher <jlec@g.o> -wxmaxima-0.8.2.ebuild,
37 -wxmaxima-12.01.0.ebuild, -wxmaxima-12.04.0.ebuild, -wxmaxima-12.09.0.ebuild,
38 @@ -13,6 +17,12 @@
39 21 Apr 2015; Pacho Ramos <pacho@g.o> wxmaxima-13.04.2.ebuild:
40 x86 stable wrt bug #406779
41
42 +*wxmaxima-15.04.0-r1 (28 Apr 2015)
43 +
44 + 28 Apr 2015; Andrey Grozin <grozin@g.o> -wxmaxima-15.04.0.ebuild,
45 + +wxmaxima-15.04.0-r1.ebuild:
46 + Changing wxMaxima -> wxmaxima in new places, #547548
47 +
48 *wxmaxima-15.04.0 (16 Apr 2015)
49
50 16 Apr 2015; Andrey Grozin <grozin@g.o> +wxmaxima-15.04.0.ebuild:
51
52
53
54 1.1 sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild?rev=1.1&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild?rev=1.1&content-type=text/plain
58
59 Index: wxmaxima-15.04.0-r1.ebuild
60 ===================================================================
61 # Copyright 1999-2015 Gentoo Foundation
62 # Distributed under the terms of the GNU General Public License v2
63 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild,v 1.1 2015/04/28 15:21:10 grozin Exp $
64
65 EAPI=5
66
67 WX_GTK_VER="3.0"
68
69 inherit eutils gnome2-utils wxwidgets fdo-mime
70
71 DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
72 HOMEPAGE="http://andrejv.github.io/wxmaxima/"
73 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
74
75 LICENSE="GPL-2"
76 SLOT="0"
77 KEYWORDS="~amd64 ~ppc ~x86"
78
79 DEPEND="
80 dev-libs/libxml2:2
81 x11-libs/wxGTK:${WX_GTK_VER}"
82 RDEPEND="${DEPEND}
83 media-fonts/jsmath
84 sci-visualization/gnuplot[wxwidgets]
85 sci-mathematics/maxima"
86
87 src_prepare() {
88 local i
89
90 # consistent package names
91 sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
92 -i Makefile.in data/Makefile.in || die "sed failed"
93
94 sed -e 's:share/wxMaxima:share/wxmaxima:g' \
95 -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.cpp \
96 -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.h src/Dirstructure.cpp \
97 || die "sed failed"
98
99 # correct gettext behavior
100 if [[ -n "${LINGUAS+x}" ]] ; then
101 for i in $(cd "${S}"/locales ; echo *.mo) ; do
102 if ! has ${i%.mo} ${LINGUAS} ; then
103 sed -i \
104 -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
105 -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
106 locales/Makefile.in || die
107 fi
108 done
109 fi
110 }
111
112 src_configure() {
113 econf \
114 --enable-printing \
115 --with-wx-config=${WX_CONFIG}
116 }
117
118 src_install () {
119 default
120 doicon -s 128 data/wxmaxima.png
121 make_desktop_entry wxmaxima wxMaxima wxmaxima
122 dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
123 }
124
125 pkg_preinst() {
126 gnome2_icon_savelist
127 }
128
129 pkg_postinst() {
130 gnome2_icon_cache_update
131 fdo-mime_desktop_database_update
132 }
133
134 pkg_postrm() {
135 gnome2_icon_cache_update
136 fdo-mime_desktop_database_update
137 }