From 534e7b287a879f6ea081e300bc7a22975d3e7e5a Mon Sep 17 00:00:00 2001 From: zcj Date: Sun, 8 Mar 2015 18:51:24 +0800 Subject: cdfplayer: Version bump; Patch is not needed. --- sci-mathematics/cdfplayer/ChangeLog | 9 +++- sci-mathematics/cdfplayer/Manifest | 2 +- sci-mathematics/cdfplayer/cdfplayer-10.0.2.ebuild | 50 ++++++++++++++++++++ sci-mathematics/cdfplayer/cdfplayer-9.0.1.ebuild | 54 ---------------------- .../files/cdfplayer-9.0.1-installer.patch | 19 -------- 5 files changed, 58 insertions(+), 76 deletions(-) create mode 100644 sci-mathematics/cdfplayer/cdfplayer-10.0.2.ebuild delete mode 100644 sci-mathematics/cdfplayer/cdfplayer-9.0.1.ebuild delete mode 100644 sci-mathematics/cdfplayer/files/cdfplayer-9.0.1-installer.patch (limited to 'sci-mathematics') diff --git a/sci-mathematics/cdfplayer/ChangeLog b/sci-mathematics/cdfplayer/ChangeLog index fff3a0ad2..41635cb40 100644 --- a/sci-mathematics/cdfplayer/ChangeLog +++ b/sci-mathematics/cdfplayer/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-mathematics/cdfplayer -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*cdfplayer-10.0.2 (08 Mar 2015) + + 08 Mar 2015; zcj +cdfplayer-10.0.2.ebuild, + -cdfplayer-9.0.1.ebuild, -files/cdfplayer-9.0.1-installer.patch: + sci-mathematics/cdfplayer: Version bump; Patch is not needed. + *cdfplayer-9.0.1 (11 Mar 2013) 11 Mar 2013; Jauhien Piatlicki (jauhien) @@ -22,4 +28,3 @@ +cdfplayer-8.0.4.ebuild, +files/cdfplayer-8.0.4-installer.patch, +metadata.xml: initial commit for bug #421019 - diff --git a/sci-mathematics/cdfplayer/Manifest b/sci-mathematics/cdfplayer/Manifest index 571c6ebcb..081ad1bdf 100644 --- a/sci-mathematics/cdfplayer/Manifest +++ b/sci-mathematics/cdfplayer/Manifest @@ -1 +1 @@ -DIST CDFPlayer_9.0.1_LINUX.sh 626338589 SHA256 fff328f92df33b502a7b3f90869ce48d61ae862a0ad404fb1a7e0f44d7514499 SHA512 74692895b8f463ee85b8da52458d05b8eabe015895fb5dac2b5f9fbac3a96aaaac6ae904e3238d3aa5201bb9fd83d5c8b2715ae9f4e334f871c2c5e375b6f33e WHIRLPOOL 162ee5bc00d8edaa3e346af37b9a8671265329b9b574031268db794af6b19b6e375daa9a80089fcdccd9f4f28eee6070878dcacfb7b7619e5cf571b21d852cd4 +DIST CDFPlayer_10.0.2_LINUX.sh 940706589 SHA256 e6e7f950c68a076a9e1bbe35f90fa24e4a60043d87883730e1641fc486c98219 SHA512 c1117ef746500a3befa3744a30c1914624ad7b624a2a4a0a2ac2a9e80776dc3732af6f03690fef37dee4a7f935fb94a11d0dea09f8b62f448cfbfb90e115e9b4 WHIRLPOOL 150a933303d5e1455d54fe0f5662b49a740902ab3cb987d33756d5907649cdb5f28ea6f0644bd1615afaaf13ca8a77ec020aa7c1b1cf9b236681bef4f26f620f diff --git a/sci-mathematics/cdfplayer/cdfplayer-10.0.2.ebuild b/sci-mathematics/cdfplayer/cdfplayer-10.0.2.ebuild new file mode 100644 index 000000000..231397f7e --- /dev/null +++ b/sci-mathematics/cdfplayer/cdfplayer-10.0.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit eutils + +MY_SCRIPT=CDFPlayer_${PV}_LINUX.sh +MY_DESKTOPFILE=${ED}/opt/wolfram/SystemFiles/Installation/wolfram-cdf10.desktop + +DESCRIPTION="Player for Wolfram CDF" +HOMEPAGE="http://www.wolfram.com/cdf-player/" +SRC_URI="http://www.wolfram.com/cdf-player/${MY_SCRIPT}" +LICENSE="cdfplayer" + +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RESTRICT="fetch test" + +pkg_nofetch() { + einfo Download ${MY_SCRIPT} from ${HOMEPAGE} + einfo and move it to ${DISTDIR} +} + +src_unpack() { + mkdir "${S}" || die + cp "${DISTDIR}/${MY_SCRIPT}" "${S}/${MY_SCRIPT}" || die + chmod u+x "${S}/${MY_SCRIPT}" || die +} + +src_install() { + "${S}/${MY_SCRIPT}" --target "${S}/${P}" --nox11 -- -auto -verbose -createdir=y \ + -targetdir="${ED}/opt/wolfram" -execdir="${ED}/usr/bin" || die + find "${ED}" -name '*.desktop' -exec \ + sed -i "s%${ED}%/%g" {} \; || die + sed -i "s/WolframCDFPlayer %F/WolframCDFPlayer -graphicssystem native %F/g" \ + "${MY_DESKTOPFILE}" \ + || die + mkdir -p "${ED}/usr/share/applications" || die + domenu "${MY_DESKTOPFILE}" +} + +pkg_postinst() { + elog "If you want to start CDFPlayer from command line" + elog "you will need to set your qtgraphicssystem to native" + elog "or start CDFPlayer with the '-graphicssystem native' option" + elog "see http://forums.gentoo.org/viewtopic-p-7202068.html for details." +} diff --git a/sci-mathematics/cdfplayer/cdfplayer-9.0.1.ebuild b/sci-mathematics/cdfplayer/cdfplayer-9.0.1.ebuild deleted file mode 100644 index b2052117e..000000000 --- a/sci-mathematics/cdfplayer/cdfplayer-9.0.1.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -inherit eutils - -MY_SCRIPT=CDFPlayer_${PV}_LINUX.sh -MY_DESKTOPFILE=${ED}/opt/wolfram/SystemFiles/Installation/wolfram-cdf9.desktop - -DESCRIPTION="Player for Wolfram CDF" -HOMEPAGE="http://www.wolfram.com/cdf-player/" -SRC_URI="http://www.wolfram.com/cdf-player/${MY_SCRIPT}" -LICENSE="cdfplayer" - -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RESTRICT="fetch test" - -pkg_nofetch() { - einfo Download ${MY_SCRIPT} from ${HOMEPAGE} - einfo and move it to ${DISTDIR} -} - -src_unpack() { - mkdir "${S}" || die - cp "${DISTDIR}/${MY_SCRIPT}" "${S}/${MY_SCRIPT}" || die - chmod u+x "${S}/${MY_SCRIPT}" || die -} - -src_prepare() { - epatch "${FILESDIR}/${P}-installer.patch" -} - -src_install() { - "${S}/${MY_SCRIPT}" --target "${S}/${P}" -- -auto -verbose -createdir=y \ - -targetdir="${ED}/opt/wolfram" -execdir="${ED}/usr/bin" || die - find "${ED}" -name '*.desktop' -exec \ - sed -i "s%${ED}%/%g" {} \; || die - sed -i "s/WolframCDFPlayer %F/WolframCDFPlayer -graphicssystem native %F/g" \ - "${MY_DESKTOPFILE}" \ - || die - mkdir -p "${ED}/usr/share/applications" || die - domenu "${MY_DESKTOPFILE}" -} - -pkg_postinst() { - elog "If you want to start CDFPlayer from command line" - elog "you will need to set your qtgraphicssystem to native" - elog "or start CDFPlayer with the '-graphicssystem native' option" - elog "see http://forums.gentoo.org/viewtopic-p-7202068.html for details." -} diff --git a/sci-mathematics/cdfplayer/files/cdfplayer-9.0.1-installer.patch b/sci-mathematics/cdfplayer/files/cdfplayer-9.0.1-installer.patch deleted file mode 100644 index 1ec036b14..000000000 --- a/sci-mathematics/cdfplayer/files/cdfplayer-9.0.1-installer.patch +++ /dev/null @@ -1,19 +0,0 @@ ---- CDFPlayer_9.0.1_LINUX.sh -+++ CDFPlayer_9.0.1_LINUX.sh -@@ -261,11 +261,11 @@ - fi - done - chmod a+x $0 || echo Please add execution rights on $0 -- if test `echo "$0" | cut -c1` = "/"; then # Spawn a terminal! -- exec $XTERM -title "$label" -e "$0" --xwin "$@" -- else -- exec $XTERM -title "$label" -e "./$0" --xwin "$@" -- fi -+ #if test `echo "$0" | cut -c1` = "/"; then # Spawn a terminal! -+ # exec $XTERM -title "$label" -e "$0" --xwin "$@" -+ #else -+ # exec $XTERM -title "$label" -e "./$0" --xwin "$@" -+ #fi - fi - fi - fi -- cgit v1.2.3-18-g5258