grozin      15/04/28 15:21:10

  Modified:             ChangeLog
  Added:                wxmaxima-15.04.0-r1.ebuild
  Removed:              wxmaxima-15.04.0.ebuild
  Log:
  Changing wxMaxima -> wxmaxima in new places, #547548
  
  (Portage version: 2.2.18/cvs/Linux i686, signed Manifest commit with key 
0x3AFFCE974D34BD8C!)

Revision  Changes    Path
1.50                 sci-mathematics/wxmaxima/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.50&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?rev=1.50&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog?r1=1.49&r2=1.50

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- ChangeLog   22 Apr 2015 06:57:11 -0000      1.49
+++ ChangeLog   28 Apr 2015 15:21:10 -0000      1.50
@@ -1,6 +1,10 @@
 # ChangeLog for sci-mathematics/wxmaxima
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.49 
2015/04/22 06:57:11 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/ChangeLog,v 1.50 
2015/04/28 15:21:10 grozin Exp $
+
+  28 Apr 2015; Andrey Grozin <[email protected]> -wxmaxima-15.04.0.ebuild,
+  +wxmaxima-15.04.0-r1.ebuild:
+  Changing wxMaxima -> wxmaxima in new places, #547548
 
   22 Apr 2015; Justin Lecher <[email protected]> -wxmaxima-0.8.2.ebuild,
   -wxmaxima-12.01.0.ebuild, -wxmaxima-12.04.0.ebuild, -wxmaxima-12.09.0.ebuild,
@@ -13,6 +17,12 @@
   21 Apr 2015; Pacho Ramos <[email protected]> wxmaxima-13.04.2.ebuild:
   x86 stable wrt bug #406779
 
+*wxmaxima-15.04.0-r1 (28 Apr 2015)
+
+  28 Apr 2015; Andrey Grozin <[email protected]> -wxmaxima-15.04.0.ebuild,
+  +wxmaxima-15.04.0-r1.ebuild:
+  Changing wxMaxima -> wxmaxima in new places, #547548
+
 *wxmaxima-15.04.0 (16 Apr 2015)
 
   16 Apr 2015; Andrey Grozin <[email protected]> +wxmaxima-15.04.0.ebuild:



1.1                  sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-15.04.0-r1.ebuild?rev=1.1&view=markup
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

Index: wxmaxima-15.04.0-r1.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $

EAPI=5

WX_GTK_VER="3.0"

inherit eutils gnome2-utils wxwidgets fdo-mime

DESCRIPTION="Graphical frontend to Maxima, using the wxWidgets toolkit"
HOMEPAGE="http://andrejv.github.io/wxmaxima/";
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"

DEPEND="
        dev-libs/libxml2:2
        x11-libs/wxGTK:${WX_GTK_VER}"
RDEPEND="${DEPEND}
        media-fonts/jsmath
        sci-visualization/gnuplot[wxwidgets]
        sci-mathematics/maxima"

src_prepare() {
        local i

        # consistent package names
        sed -e "s:\${datadir}/wxMaxima:\${datadir}/${PN}:g" \
                -i Makefile.in data/Makefile.in || die "sed failed"

        sed -e 's:share/wxMaxima:share/wxmaxima:g' \
                -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.cpp \
                -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Dirstructure.h 
src/Dirstructure.cpp \
                || die "sed failed"

        # correct gettext behavior
        if [[ -n "${LINGUAS+x}" ]] ; then
                for i in $(cd "${S}"/locales ; echo *.mo) ; do
                        if ! has ${i%.mo} ${LINGUAS} ; then
                                sed -i \
                                        -e "/^WXMAXIMA_LINGUAS/s# ${i%.mo}##" \
                                        -e "/^WXWIN_LINGUAS/s# ${i%.mo}##" \
                                        locales/Makefile.in || die
                        fi
                done
        fi
}

src_configure() {
        econf \
                --enable-printing \
                --with-wx-config=${WX_CONFIG}
}

src_install () {
        default
        doicon -s 128 data/wxmaxima.png
        make_desktop_entry wxmaxima wxMaxima wxmaxima
        dosym /usr/share/${PN}/README /usr/share/doc/${PF}/README
}

pkg_preinst() {
        gnome2_icon_savelist
}

pkg_postinst() {
        gnome2_icon_cache_update
        fdo-mime_desktop_database_update
}

pkg_postrm() {
        gnome2_icon_cache_update
        fdo-mime_desktop_database_update
}




Reply via email to