[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-02-13 Thread Conrad Kostecki
commit: faf82017b76ae13aed64c28aa7764573695485dd
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 13 00:20:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 13 21:07:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf82017

sci-misc/cdfplayer: fix DeprecatedInsinto

Signed-off-by: Conrad Kostecki  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index 6120fae9e88b..a5abe4c0c16b 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit multilib versionator
+inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
@@ -70,12 +70,12 @@ src_install() {
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
-   insinto /usr/share/applications
+   local filename
for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
echo Fixing "${filename}"
sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
+   domenu "${filename}"
done
 
# install a wrapper



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-10-01 Thread Michał Górny
commit: 27c4481bc09cce6cb59550d1707192d04f94f1dd
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Sep 23 06:10:52 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Oct  1 19:13:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27c4481b

sci-misc/cdfplayer: Update for sys-libs/ncurses-compat

Signed-off-by: Michał Górny  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 2 +-
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index f31ff177a77..cf38ea4120d 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
 "
 
 # we need this a few times

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index c51894cb359..a2c1dfbad55 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -40,7 +40,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
-   sys-libs/ncurses:5/5
+   sys-libs/ncurses-compat:5
media-libs/freetype
 "
 



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2020-12-30 Thread Andrey Grozin
commit: faa7a828a790c38627847804f3d5ea1a1c47980f
Author: Andrey Grozin  gentoo  org>
AuthorDate: Thu Dec 31 05:59:08 2020 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Thu Dec 31 05:59:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa7a828

sci-misc/cdfplayer: bump to 12.2.0

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrey Grozin  gentoo.org>

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 92 ++
 2 files changed, 93 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index cb91835ca78..43586506a2d 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,3 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
 DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
+DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
new file mode 100644
index 000..6120fae9e88
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses-compat:5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="WolframPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2021-01-20 Thread David Seifert
commit: c2d326758a26853b65dc235731b3f29ebf950cf4
Author: Jakov Smolic  sartura  hr>
AuthorDate: Wed Jan 20 10:16:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Jan 20 10:16:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d32675

sci-misc/cdfplayer: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-misc/cdfplayer/Manifest|  2 -
 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 81 -
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 --
 3 files changed, 177 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 43586506a2d..01697f32210 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,3 +1 @@
-DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a
 DIST WolframPlayer_12.2.0_LINUX.sh 1003754320 BLAKE2B 
b37e2500e09543efd5084b6fadd6f5d6d6f7f2b75627fc8cb3819578d41de00a8ba5f529440d64efebabcf9d26a77b51b01969135f02baca851c42811ef521b7
 SHA512 
dc4449836419dd7abe8590319912b07019a4f2cf542e31759c15bde0055bfc6bebc880fd6ab88809758d5723862bbbe971affa07429a660b728698d24a4c9d20

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
deleted file mode 100644
index cf38ea4120d..000
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_11.2.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym ../Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
deleted file mode 100644
index a2c1dfbad55..000
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-01-22 Thread Andreas K. Hüttel
commit: a1d15c39f66f7599e55fde6cf5bf8bc2d0bc7b92
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Tue Jan 22 14:13:22 2019 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Tue Jan 22 14:16:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d15c39

sci-misc/cdfplayer: Upstream distfile was modified...

Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-misc/cdfplayer/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 2a68544f07c..cb91835ca78 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
-DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151070 BLAKE2B 
652adda3989bdac10f02c5fc648ded7189e56555bab9d48f75c642a9ca6b0ca70771cae54142f55bc2d19a720a17fad04abd3c7240a114a237dee69e4f8ca303
 SHA512 
d28939481772e1a2ec6296b5f4d7e98628ccc015c75c084b09a90937525415c6a447111c1488482bf355917ac2ddb8dc154f46b8864d0d001bb7d419cd2f671a



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2019-02-05 Thread Ben Kohler
commit: 187304ea84044e09c47399fb1c7a400efd94ee16
Author: Ben Kohler  gentoo  org>
AuthorDate: Tue Feb  5 18:44:50 2019 +
Commit: Ben Kohler  gentoo  org>
CommitDate: Tue Feb  5 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187304ea

sci-misc/cdfplayer: don't reference ${DISTDIR} in pkg_nofetch

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Ben Kohler  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild | 4 ++--
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index c449fbfa451..f31ff177a77 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -77,5 +77,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
index 48a91ccdd74..c51894cb359 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -90,5 +90,5 @@ src_install() {
 pkg_nofetch() {
einfo "Sadly Wolfram provides no permanent link to the player files."
einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
 }



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-01-25 Thread Andreas Hüttel
commit: b80a642876f2a912db1fa095fb3bbc18deb8be5e
Author: Andreas K. Huettel  gentoo  org>
AuthorDate: Wed Jan 25 16:25:29 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Jan 25 16:25:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80a6428

sci-misc/cdfplayer: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild | 82 ++
 2 files changed, 83 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index a8c35fb..0491ae3 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
+DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
new file mode 100644
index ..2887ea4
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.0.1_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2018-03-21 Thread Andrey Grozin
commit: 776771a1244fd1594ca1f378ec5846565c7eed4d
Author: Andrey Grozin  gentoo  org>
AuthorDate: Wed Mar 21 12:22:41 2018 +
Commit: Andrey Grozin  gentoo  org>
CommitDate: Wed Mar 21 12:22:41 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776771a1

sci-misc/cdfplayer: bump to 11.3.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild | 94 ++
 2 files changed, 95 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index f9700eccf68..2a68544f07c 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1 +1,2 @@
 DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470
+DIST CDFPlayer_11.3.0_LINUX.sh 1556151072 BLAKE2B 
a5067933400ec20fdf9bc0fb17dc592745beac42cc2a0968dc633ff967f1566831dc7df02bd7f97ea4e46314fa00db5c7b041c266a245b61ac7d189b4ad7fa8d
 SHA512 
62e648e36fd0debff13755671f95e9fae7c1c8ab684b5d0ff2ec53555afa48a4cee5414b3c047024b1354ccb86a843f0ebf4dccd4f390da7aba61d7d5fab56b0

diff --git a/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
new file mode 100644
index 000..48a91ccdd74
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-11.3.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_11.3.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+   sys-libs/ncurses:5/5
+   media-libs/freetype
+"
+
+# we need this a few times
+MPN="CDFPlayer"
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   local ARCH
+   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+
+   # move all over
+   mv "${S}"/opt "${D}"/opt || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}"/opt/bin/* || die
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+   rm "${D}"/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+   dosym ../SystemFiles/Kernel/Binaries/Linux${ARCH}/wolframscript 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframscript
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf11.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+
+   # install a wrapper
+   echo '#!/bin/sh' >> ${PN}
+   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframcdfplayer \$*" \
+>> ${PN}
+   dobin ${PN}
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2017-12-27 Thread Andreas Hüttel
commit: 60f1e6c1bfdb855d1c15313aba1e579656aed868
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Wed Dec 27 21:16:39 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Wed Dec 27 23:29:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60f1e6c1

sci-misc/cdfplayer: Version bump; remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-misc/cdfplayer/Manifest|  3 +-
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 --
 ...layer-11.0.1.ebuild => cdfplayer-11.2.0.ebuild} |  8 +--
 3 files changed, 5 insertions(+), 87 deletions(-)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
index 0491ae3d6f3..f9700eccf68 100644
--- a/sci-misc/cdfplayer/Manifest
+++ b/sci-misc/cdfplayer/Manifest
@@ -1,2 +1 @@
-DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3
-DIST CDFPlayer_11.0.1_LINUX.sh 1630401312 SHA256 
0f5f89d252481ea7fb49bd6c6c9b0a38956d4f0c32c361d02a543a8582c472e8 SHA512 
bf52caa6a495ce78670ab6931e8caa3167121d5193e6839bb745026883f32c536d460faa960a59e593486fbf1a90d1ca51cb8e8a52eedff20e48eb1cb1a80701
 WHIRLPOOL 
9946110dffe973043dc4d89fd015ebcadfbd6e747b3993059cc811ce7e8f09df37db80daf9a3701cbd09de2331c3e534a20064876eabc256561aeca9fe4357a3
+DIST CDFPlayer_11.2.0_LINUX.sh 1821479711 BLAKE2B 
7d12a94b43fdd60dc6af3d78fe45f85a2aa68752c690de023d4cd0cc5d24f8b091db7846d3732d7618d7df659b982fbcf19543d7d0c0116ddcae7f7b1aa11d88
 SHA512 
8a9a98ed5dceb18db41e52269dedf2a00ee89015a76eb650b852f8e1c19040918ecfa7594737f2982118c7358eab4d1e85694eecbe059edc963d4bdc8533b470

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
deleted file mode 100644
index c8687b11278..000
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit versionator
-
-DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
-HOMEPAGE="http://www.wolfram.com/cdf-player/";
-
-LICENSE="WolframCDFPlayer"
-KEYWORDS="-* ~amd64 ~x86"
-SLOT="0"
-IUSE=""
-
-RESTRICT="strip mirror bindist fetch"
-
-DEPEND=""
-
-# this list comes from lsof output
-# probably there are still some libraries missing
-RDEPEND="
-   x11-libs/libICE
-   x11-libs/libSM
-   x11-libs/libX11
-   x11-libs/libXau
-   x11-libs/libXcursor
-   x11-libs/libXdmcp
-   x11-libs/libXext
-   x11-libs/libXfixes
-   x11-libs/libXi
-   x11-libs/libXmu
-   x11-libs/libXrandr
-   x11-libs/libXrender
-   x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
-"
-
-# we need this a few times
-MPV=$(get_version_component_range 1-2)
-
-# we might as well list all files in all QA variables...
-QA_PREBUILT="opt/*"
-
-S=${WORKDIR}
-
-src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
-}
-
-src_install() {
-   # move all over
-   mv "${S}/opt" "${D}/opt" || die
-
-   # the autogenerated symlinks point into sandbox, redo
-   rm "${D}/opt/bin/"* || die
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
-   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
-
-   # fix some embedded paths and install desktop files
-   insinto /usr/share/applications
-   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
-   doins "${filename}"
-   done
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
-}

diff --git a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild 
b/sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
similarity index 87%
rename from sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
rename to sci-misc/cdfplayer/cdfplayer-11.2.0.ebuild
index 561ed97e381..c449fbfa451 100644
--- a/sci-misc/cdfplayer/cdfplayer-11.0.1.ebuild
+++ b/sci-misc/cdf

[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-12-17 Thread Andreas Hüttel
commit: e348921d2f596a198217bcdaaeabe3fcaafbef30
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Dec 17 19:31:58 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Dec 17 19:31:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e348921d

sci-misc/cdfplayer: Add missing dependency

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
index 49d8e1a..326bdf0 100644
--- a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -41,6 +41,7 @@ RDEPEND="
dev-libs/icu
x11-libs/libxcb
dev-libs/libxml2
+   || ( sys-libs/ncurses:5/5 sys-libs/ncurses:0/5 )
 "
 
 # we need this a few times



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2016-04-09 Thread Andreas Hüttel
commit: 7e522f4c82eeed079aad0eb47702f8ec7619dbe5
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sat Apr  9 20:06:09 2016 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Sat Apr  9 21:00:46 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e522f4c

sci-misc/cdfplayer: New application, fetch-restricted

 sci-misc/cdfplayer/Manifest|  1 +
 sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild | 81 ++
 sci-misc/cdfplayer/metadata.xml|  8 +++
 3 files changed, 90 insertions(+)

diff --git a/sci-misc/cdfplayer/Manifest b/sci-misc/cdfplayer/Manifest
new file mode 100644
index 000..a8c35fb
--- /dev/null
+++ b/sci-misc/cdfplayer/Manifest
@@ -0,0 +1 @@
+DIST CDFPlayer_10.4.0_LINUX.sh 1315941152 SHA256 
4c202541762839c766d6f484377e3413de9dd7c70f47484da615572c8e44f4ed SHA512 
13205dad6d3a57937b55f41d895e6eef5c7ebf1f41666cbe97a7de4a39c8d1b5c7424194c2aa4bca9020b52f52ef311af118d810c6065a1275e58d9580a1
 WHIRLPOOL 
36236338c6ec922a6294da34e5379ba5ecf087b307a484abd79c516804d1db6f859b33a1535a9dce6f1980a51972ec1ceff3b39a6270b9d9797beedabc03a0f3

diff --git a/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
new file mode 100644
index 000..49d8e1a
--- /dev/null
+++ b/sci-misc/cdfplayer/cdfplayer-10.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit versionator
+
+DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
+SRC_URI="CDFPlayer_10.4.0_LINUX.sh"
+HOMEPAGE="http://www.wolfram.com/cdf-player/";
+
+LICENSE="WolframCDFPlayer"
+KEYWORDS="-* ~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+RESTRICT="strip mirror bindist fetch"
+
+DEPEND=""
+
+# this list comes from lsof output
+# probably there are still some libraries missing
+RDEPEND="
+   x11-libs/libICE
+   x11-libs/libSM
+   x11-libs/libX11
+   x11-libs/libXau
+   x11-libs/libXcursor
+   x11-libs/libXdmcp
+   x11-libs/libXext
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXmu
+   x11-libs/libXrandr
+   x11-libs/libXrender
+   x11-libs/libXt
+   media-libs/alsa-lib
+   dev-libs/expat
+   media-libs/fontconfig
+   dev-libs/icu
+   x11-libs/libxcb
+   dev-libs/libxml2
+"
+
+# we need this a few times
+MPV=$(get_version_component_range 1-2)
+
+# we might as well list all files in all QA variables...
+QA_PREBUILT="opt/*"
+
+S=${WORKDIR}
+
+src_unpack() {
+   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/CDFPlayer/${MPV}" "-execdir=${S}/opt/bin" || die
+}
+
+src_install() {
+   # move all over
+   mv "${S}/opt" "${D}/opt" || die
+
+   # the autogenerated symlinks point into sandbox, redo
+   rm "${D}/opt/bin/"* || die
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/wolframcdfplayer 
opt/bin/wolframcdfplayer
+   dosym /opt/Wolfram/CDFPlayer/${MPV}/Executables/WolframCDFPlayer 
opt/bin/WolframCDFPlayer
+
+   # fix some embedded paths and install desktop files
+   insinto /usr/share/applications
+   for filename in $(find "${D}" -name "wolfram-cdf10.desktop") ; do
+   echo Fixing "${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   doins "${filename}"
+   done
+}
+
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it in ${DISTDIR}"
+}

diff --git a/sci-misc/cdfplayer/metadata.xml b/sci-misc/cdfplayer/metadata.xml
new file mode 100644
index 000..80a71f5
--- /dev/null
+++ b/sci-misc/cdfplayer/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+dilfri...@gentoo.org
+Andreas K. Huettel
+  
+



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-09-21 Thread Sam James
commit: 3700ad07e75eaee97fb98454d3c0a117d6b9e018
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep 22 03:57:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep 22 04:05:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3700ad07

sci-misc/cdfplayer: use PV in SRC_URI

not that it really matters in this case, but still.

Signed-off-by: Sam James  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index a5abe4c0c16b..f36a206877d7 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 inherit desktop multilib versionator
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="WolframPlayer_12.2.0_LINUX.sh"
+SRC_URI="WolframPlayer_${PV}_LINUX.sh"
 HOMEPAGE="http://www.wolfram.com/cdf-player/";
 
 LICENSE="WolframCDFPlayer"



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-10-08 Thread Sam James
commit: 4751e78ecda10b844e2b2668a8e2c2df4c657160
Author: Sam James  gentoo  org>
AuthorDate: Sat Oct  8 19:21:08 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Oct  8 19:21:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4751e78e

sci-misc/cdfplayer: fix DeprecatedEclass (versionator)

Signed-off-by: Sam James  gentoo.org>

 sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
index f36a206877d7..21828e52bedd 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit desktop multilib versionator
+inherit desktop eapi7-ver multilib
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
 SRC_URI="WolframPlayer_${PV}_LINUX.sh"
@@ -46,7 +46,7 @@ RDEPEND="
 
 # we need this a few times
 MPN="WolframPlayer"
-MPV=$(get_version_component_range 1-2)
+MPV=$(ver_cut 1-2)
 
 # we might as well list all files in all QA variables...
 QA_PREBUILT="opt/*"



[gentoo-commits] repo/gentoo:master commit in: sci-misc/cdfplayer/

2022-12-26 Thread David Seifert
commit: 4d50c7b5b44287e36019071f118579b24620ecc1
Author: David Seifert  gentoo  org>
AuthorDate: Mon Dec 26 12:52:17 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 26 12:52:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d50c7b5

sci-misc/cdfplayer: update EAPI 6 -> 8

Signed-off-by: David Seifert  gentoo.org>

 ...er-12.2.0.ebuild => cdfplayer-12.2.0-r1.ebuild} | 69 +++---
 1 file changed, 33 insertions(+), 36 deletions(-)

diff --git a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild 
b/sci-misc/cdfplayer/cdfplayer-12.2.0-r1.ebuild
similarity index 70%
rename from sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
rename to sci-misc/cdfplayer/cdfplayer-12.2.0-r1.ebuild
index 21828e52bedd..39c3c27587c7 100644
--- a/sci-misc/cdfplayer/cdfplayer-12.2.0.ebuild
+++ b/sci-misc/cdfplayer/cdfplayer-12.2.0-r1.ebuild
@@ -1,30 +1,35 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
-inherit desktop eapi7-ver multilib
+inherit desktop
 
 DESCRIPTION="Wolfram Player for the interactive Computable Document Format 
(CDF)"
-SRC_URI="WolframPlayer_${PV}_LINUX.sh"
 HOMEPAGE="http://www.wolfram.com/cdf-player/";
+SRC_URI="WolframPlayer_${PV}_LINUX.sh"
+S="${WORKDIR}"
 
 LICENSE="WolframCDFPlayer"
 KEYWORDS="-* ~amd64 ~x86"
 SLOT="0"
-IUSE=""
-
 RESTRICT="strip mirror bindist fetch"
 
-DEPEND=""
-
 # this list comes from lsof output
 # probably there are still some libraries missing
 RDEPEND="
+   dev-libs/expat
+   dev-libs/icu
+   dev-libs/libxml2
+   media-libs/alsa-lib
+   media-libs/fontconfig
+   media-libs/freetype
+   sys-libs/ncurses-compat:5
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
+   x11-libs/libxcb
x11-libs/libXcursor
x11-libs/libXdmcp
x11-libs/libXext
@@ -34,14 +39,6 @@ RDEPEND="
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXt
-   media-libs/alsa-lib
-   dev-libs/expat
-   media-libs/fontconfig
-   dev-libs/icu
-   x11-libs/libxcb
-   dev-libs/libxml2
-   sys-libs/ncurses-compat:5
-   media-libs/freetype
 "
 
 # we need this a few times
@@ -51,42 +48,42 @@ MPV=$(ver_cut 1-2)
 # we might as well list all files in all QA variables...
 QA_PREBUILT="opt/*"
 
-S=${WORKDIR}
+pkg_nofetch() {
+   einfo "Sadly Wolfram provides no permanent link to the player files."
+   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
+   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+}
 
 src_unpack() {
-   /bin/sh "${DISTDIR}/${A}" --nox11 --confirm --keep -- -auto 
"-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin" || die
+   ${CONFIG_SHELL:-${BASH}} "${DISTDIR}/${A}" --nox11 --confirm --keep -- 
-auto "-targetdir=${S}/opt/Wolfram/${MPN}/${MPV}" "-execdir=${S}/opt/bin"
 }
 
 src_install() {
-   local ARCH
-   if use amd64; then ARCH='-x86-64'; else ARCH=''; fi
+   local ARCH=$(usev amd64 '-x86-64')
 
# move all over
-   mv "${S}"/opt "${D}"/opt || die
+   (
+   insinto /
+   doins -r opt
+   )
 
# the autogenerated symlinks point into sandbox, redo
-   rm "${D}"/opt/bin/* || die
+   rm "${ED}"/opt/bin/* || die
dosym ../Wolfram/${MPN}/${MPV}/Executables/wolframplayer 
opt/bin/wolframplayer
dosym ../Wolfram/${MPN}/${MPV}/Executables/WolframPlayer 
opt/bin/WolframPlayer
 
# fix some embedded paths and install desktop files
local filename
-   for filename in $(find "${D}" -name "wolfram-cdf12.desktop") ; do
-   echo Fixing "${filename}"
-   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}"
-   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}"
+   while IFS="" read -d $'\0' -r filename ; do
+   einfo "Fixing ${filename}"
+   sed -e "s:${S}::g" -e 's:^\t\t::g' -i "${filename}" || die
+   echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}" 
|| die
domenu "${filename}"
-   done
+   done < <(find "${ED}" -type f -name "wolfram-cdf12.desktop" -print0)
 
# install a wrapper
-   echo '#!/bin/sh' >> ${PN}
-   echo "LD_PRELOAD=/usr/$(get_libdir)/libfreetype.so.6:/lib/libz.so.1 
/opt/Wolfram/${MPN}/${MPV}/Executables/wolframplayer \$*" \
->> ${PN}
-   dobin ${PN}
-}
-
-pkg_nofetch() {
-   einfo "Sadly Wolfram provides no permanent link to the player files."
-   einfo "Please download the Wolfram CFD Player installation file 
${SRC_URI} from"
-   einfo "${HOMEPAGE} and place it into your DISTDIR directory."
+   newbin - ${PN} <<- _EOF_
+   #!/usr/bin/env sh
+   
LD_PRELOAD=${EPREFIX}/usr/$(get_libdir)/libf