Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 307077 Details for
Bug 410157
sci-visualization/zhu3d-4.2.4: version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
zhu3d-4.2.4.ebuild.patch
zhu3d-4.2.4.ebuild.patch (text/plain), 2.38 KB, created by
Michael Palimaka (kensington)
on 2012-03-29 14:13:08 UTC
(
hide
)
Description:
zhu3d-4.2.4.ebuild.patch
Filename:
MIME Type:
Creator:
Michael Palimaka (kensington)
Created:
2012-03-29 14:13:08 UTC
Size:
2.38 KB
patch
obsolete
>--- zhu3d-4.2.2.ebuild >+++ zhu3d-4.2.4.ebuild >@@ -2,52 +2,72 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sci-visualization/zhu3d/zhu3d-4.2.2.ebuild,v 1.6 2010/09/16 18:18:35 scarabeus Exp $ > >-EAPI=2 >+EAPI=4 >+LANGS="cs de es fr zh" > >-inherit eutils qt4 >+inherit eutils qt4-r2 > > DESCRIPTION="Interactive 3D mathematical function viewer" > HOMEPAGE="http://sourceforge.net/projects/zhu3d" >-LICENSE="GPL-2" >-SRC_URI="mirror://sourceforge/${PN}/${P}.zip" >+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" > >+LICENSE="GPL-3" >+SLOT="0" >+KEYWORDS="~amd64 ~x86" > IUSE="" > >-KEYWORDS="amd64 x86" >-SLOT="0" >+DEPEND="virtual/opengl >+ x11-libs/qt-core:4 >+ x11-libs/qt-gui:4 >+ x11-libs/qt-opengl:4" >+REPEND="${DEPEND}" > >-RDEPEND="x11-libs/qt-gui:4 >- x11-libs/qt-opengl:4 >- virtual/opengl" >-DEPEND="${RDEPEND} >- app-arch/unzip" >+PATCHES=( "${FILESDIR}/${P}-gold.patch" ) > > src_prepare() { >+ qt4-r2_src_prepare >+ > local datadir=/usr/share/${PN} > sed -i \ > -e "s:^SYSDIR=:SYSDIR=${datadir}/system:" \ > -e "s:^TEXDIR=:TEXDIR=${datadir}/textures:" \ > -e "s:^WORKDIR=:WORKDIR=${datadir}/work:" \ >- -e "s:^DOCDIR=:WORKDIR=/usr/share/doc/${PF}/html:" \ >+ -e "s:^DOCDIR=:DOCDIR=/usr/share/doc/${PF}/html:" \ > ${PN}.pri || die "sed zhu3d.pri failed" >- sed -i -e "/# Optimisation/,/# Include/d" zhu3d.pro || die >-} > >-src_configure() { >- eqmake4 >+ sed -i -e "/# Optimisation/,/# Include/d" zhu3d.pro \ >+ || die "optimisation sed failed" > } > > src_install() { > # not working: emake install INSTALL_ROOT="${D}" || die >- dobin zhu3d || die >+ dobin zhu3d > >- dodoc {readme,src/changelog}.txt || die >- dohtml doc/* || die >+ dodoc {readme,src/changelog}.txt >+ dohtml doc/*.png doc/${PN}_en.html >+ >+ local lang >+ for lang in ${LANGS} ; do >+ if use linguas_${lang} ; then >+ >+ insinto /usr/share/${PN}/system/languages >+ doins system/languages/${PN}_${lang}.qm >+ >+ if [ -e doc/${PN}_${lang}.html ] ; then >+ dohtml doc/${PN}_${lang}.html >+ fi >+ fi >+ done > > insinto /usr/share/${PN} >- rm -f system/languages/*.ts >- doins -r work system || die >+ doins -r work/textures >+ >+ insinto /usr/share/${PN}/work >+ doins -r work/*.zhu work/slideshow >+ >+ insinto /usr/share/${PN}/system >+ doins -r system/*.zhu system/icons > >- doicon system/icons/${PN}.png || die >+ doicon system/icons/${PN}.png > make_desktop_entry ${PN} "Zhu3D Function Viewer" ${PN} "Education;Science;Math;Qt" > }
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 410157
: 307077 |
307079