aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-01-05 01:54:06 +0100
committerJauhien Piatlicki (jauhien) <piatlicki@gmail.com>2013-01-05 01:54:06 +0100
commit6bd8a32821812f518cfe17c9690916ef7e274e02 (patch)
treebbf16ad2898fbe175160dd1cdf2defafd875dffa /sci-mathematics
parentsci-astronomy/lephare: Fixed manifest and removed patch, thanks James Cloos (diff)
downloadsci-6bd8a32821812f518cfe17c9690916ef7e274e02.tar.gz
sci-6bd8a32821812f518cfe17c9690916ef7e274e02.tar.bz2
sci-6bd8a32821812f518cfe17c9690916ef7e274e02.zip
sci-mathematics/cdfplayer: version bump
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/cdfplayer/ChangeLog9
-rw-r--r--sci-mathematics/cdfplayer/cdfplayer-9.0.0.ebuild (renamed from sci-mathematics/cdfplayer/cdfplayer-8.0.4.ebuild)15
-rw-r--r--sci-mathematics/cdfplayer/files/cdfplayer-9.0.0-installer.patch (renamed from sci-mathematics/cdfplayer/files/cdfplayer-8.0.4-installer.patch)4
3 files changed, 23 insertions, 5 deletions
diff --git a/sci-mathematics/cdfplayer/ChangeLog b/sci-mathematics/cdfplayer/ChangeLog
index e9ba9c3b9..8a7c794a6 100644
--- a/sci-mathematics/cdfplayer/ChangeLog
+++ b/sci-mathematics/cdfplayer/ChangeLog
@@ -1,7 +1,14 @@
# ChangeLog for sci-mathematics/cdfplayer
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*cdfplayer-9.0.0 (05 Jan 2013)
+
+ 05 Jan 2013; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
+ -cdfplayer-8.0.4.ebuild, -files/cdfplayer-8.0.4-installer.patch,
+ +cdfplayer-9.0.0.ebuild, +files/cdfplayer-9.0.0-installer.patch:
+ version bump
+
*cdfplayer-8.0.4 (23 Nov 2012)
23 Nov 2012; Jauhien Piatlicki (jauhien) <piatlicki@gmail.com>
diff --git a/sci-mathematics/cdfplayer/cdfplayer-8.0.4.ebuild b/sci-mathematics/cdfplayer/cdfplayer-9.0.0.ebuild
index 2978e3e06..5987516cc 100644
--- a/sci-mathematics/cdfplayer/cdfplayer-8.0.4.ebuild
+++ b/sci-mathematics/cdfplayer/cdfplayer-9.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -7,6 +7,7 @@ EAPI=4
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/"
@@ -38,7 +39,17 @@ src_install() {
-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
- cp "${ED}/opt/wolfram/SystemFiles/Installation/wolfram-cdf8.desktop" \
+ cp "${MY_DESKTOPFILE}" \
"${ED}/usr/share/applications" || die
}
+
+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-8.0.4-installer.patch b/sci-mathematics/cdfplayer/files/cdfplayer-9.0.0-installer.patch
index 9deef53c5..65920ccab 100644
--- a/sci-mathematics/cdfplayer/files/cdfplayer-8.0.4-installer.patch
+++ b/sci-mathematics/cdfplayer/files/cdfplayer-9.0.0-installer.patch
@@ -1,5 +1,5 @@
---- CDFPlayer_8.0.4_LINUX.sh
-+++ CDFPlayer_8.0.4_LINUX.sh
+--- CDFPlayer_9.0.0_LINUX.sh
++++ CDFPlayer_9.0.0_LINUX.sh
@@ -261,11 +261,11 @@
fi
done