Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 343538 Details for
Bug 463624
sci-mathematics/wxmaxima-12.09.0 does not respect LINGUAS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
wxmaxima-12.09.0-r1.ebuild.diff
wxmaxima-12.09.0-r1.ebuild.diff (text/plain), 1.77 KB, created by
Julian Ospald
on 2013-03-28 16:45:26 UTC
(
hide
)
Description:
wxmaxima-12.09.0-r1.ebuild.diff
Filename:
MIME Type:
Creator:
Julian Ospald
Created:
2013-03-28 16:45:26 UTC
Size:
1.77 KB
patch
obsolete
>--- sci-mathematics/wxmaxima/wxmaxima-12.09.0.ebuild >+++ sci-mathematics/wxmaxima/wxmaxima-12.09.0-r1.ebuild >@@ -2,9 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/wxmaxima/wxmaxima-12.09.0.ebuild,v 1.1 2012/09/16 15:57:30 grozin Exp $ > >-EAPI=4 >+EAPI=5 > WX_GTK_VER="2.8" >-inherit eutils wxwidgets fdo-mime >+inherit eutils gnome2-utils wxwidgets fdo-mime > > MYP=wxMaxima-${PV} > >@@ -15,10 +15,9 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~ppc ~x86" >-IUSE="unicode" > > DEPEND="dev-libs/libxml2:2 >- x11-libs/wxGTK:2.8" >+ x11-libs/wxGTK:${WX_GTK_VER}" > RDEPEND="${DEPEND} > media-fonts/jsmath > sci-visualization/gnuplot[wxwidgets] >@@ -34,28 +33,43 @@ > sed -e 's:share/wxMaxima:share/wxmaxima:g' \ > -i src/wxMaxima.cpp src/wxMaximaFrame.cpp src/Config.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-dnd \ > --enable-printing \ >- --with-wx-config=${WX_CONFIG} \ >- $(use_enable unicode unicode-glyphs) >+ --with-wx-config=${WX_CONFIG} > } > > src_install () { > default >- doicon data/wxmaxima.png >+ doicon -s 128 data/wxmaxima.png > make_desktop_entry wxmaxima wxMaxima wxmaxima >- dodir /usr/share/doc/${PF} > 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 > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 463624
: 343538