[gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/vesta-bin/

2022-09-13 Thread Ronny Gutbrod
commit: 0cf72a0dbe583cc5baa85697cde7061758378ee4
Author: Patrick J Taylor  gmail  com>
AuthorDate: Tue Sep 13 17:09:18 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Tue Sep 13 18:27:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cf72a0d

sci-chemistry/vesta-bin: add explicit GTK2 dependency

Closes: https://bugs.gentoo.org/869944
Signed-off-by: Patrick J Taylor  gmail.com>

 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild 
b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index f532d32a7..e52f9072f 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -20,7 +20,8 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 # As of 3.5.6, wayland support required for gtk even when running on xorg.
-RDEPEND=">=x11-libs/gtk+-3.24.34[wayland]
+RDEPEND="x11-libs/gtk+:3[wayland]
+   x11-libs/gtk+:2
>=virtual/glu-9.0-r2
>=virtual/jdk-17"
 



[gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/vesta-bin/

2022-09-13 Thread Ronny Gutbrod
commit: e5bdcf04d1e64e13c519609089fb30e3f9ad0b33
Author: Patrick J Taylor  gmail  com>
AuthorDate: Tue Sep 13 16:57:04 2022 +
Commit: Ronny Gutbrod  tastytea  de>
CommitDate: Tue Sep 13 18:27:24 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5bdcf04

sci-chemistry/vesta-bin: set QA_PREBUILT to silence QA warnings

Closes: https://bugs.gentoo.org/869938
Closes: https://bugs.gentoo.org/869941
Signed-off-by: Patrick J Taylor  gmail.com>

 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild 
b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index 65ce1ce48..f532d32a7 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -26,6 +26,8 @@ RDEPEND=">=x11-libs/gtk+-3.24.34[wayland]
 
 RESTRICT="strip"
 
+QA_PREBUILT="opt/VESTA/*"
+
 src_install() {
insinto /opt/VESTA
doins -r "${S}"/*



[gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/vesta-bin/files/, sci-chemistry/vesta-bin/

2022-09-12 Thread Florian Schmaus
commit: d03410871366d089e0888d0743dd438ce4a0f85b
Author: Patrick J Taylor  gmail  com>
AuthorDate: Sat Sep 10 23:37:28 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sat Sep 10 23:37:28 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0341087

sci-chemistry/vesta-bin: new package, add 3.5.8

Signed-off-by: Patrick J Taylor  gmail.com>

 sci-chemistry/vesta-bin/Manifest   |  1 +
 sci-chemistry/vesta-bin/files/VESTA.desktop|  8 ++
 sci-chemistry/vesta-bin/metadata.xml   |  8 ++
 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 40 ++
 4 files changed, 57 insertions(+)

diff --git a/sci-chemistry/vesta-bin/Manifest b/sci-chemistry/vesta-bin/Manifest
new file mode 100644
index 0..eddda12fc
--- /dev/null
+++ b/sci-chemistry/vesta-bin/Manifest
@@ -0,0 +1 @@
+DIST VESTA-gtk3.tar.bz2 24963082 BLAKE2B 
e3f32358c841ba3dadcb95df68385ef7bd3d004abdd4aad67ad170b04c252318bf49c8bf52eed505277342df22d59d80a1e68440d248c52d08fb12c870c519a2
 SHA512 
d6ec6ed11a173b899b8d29da0b727f454272e5b3127544c1992a0a8a5a9d4318b0e021230beddd0b43b92cdd5a077a1394dc987dd9dae1b40f00e8ebddef9843

diff --git a/sci-chemistry/vesta-bin/files/VESTA.desktop 
b/sci-chemistry/vesta-bin/files/VESTA.desktop
new file mode 100644
index 0..240692b76
--- /dev/null
+++ b/sci-chemistry/vesta-bin/files/VESTA.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=VESTA
+Type=Application
+Comment=For the visualisation of molecular and crystal structures.
+Exec=VESTA
+TryExec=VESTA
+Icon=/usr/share/icons/hicolor/128x128/apps/VESTA.png
+Categories=Science;

diff --git a/sci-chemistry/vesta-bin/metadata.xml 
b/sci-chemistry/vesta-bin/metadata.xml
new file mode 100644
index 0..50dcf2837
--- /dev/null
+++ b/sci-chemistry/vesta-bin/metadata.xml
@@ -0,0 +1,8 @@
+
+https://www.gentoo.org/dtd/metadata.dtd'>
+
+   
+   patrick.joseph.tay...@gmail.com
+   Patrick J Taylor
+   
+

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild 
b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
new file mode 100644
index 0..38cf7d8a9
--- /dev/null
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+
+DESCRIPTION="Visualisation for Electronic and STructural Analysis."
+
+HOMEPAGE="https://jp-minerals.org/vesta/en/;
+
+SRC_URI="https://jp-minerals.org/vesta/archives/${PV}/VESTA-gtk3.tar.bz2;
+
+S="${WORKDIR}/VESTA-gtk3"
+
+LICENSE="VESTA"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+# As of 3.5.6, wayland support required for gtk even when running on xorg.
+RDEPEND=">=x11-libs/gtk+-3.24.34[wayland]
+   >=virtual/glu-9.0-r2
+   >=virtual/jdk-17"
+
+RESTRICT="strip"
+
+src_install() {
+   insinto /opt/VESTA
+   doins -r ${S}/*
+   fperms +x /opt/VESTA/VESTA
+   fperms +x /opt/VESTA/VESTA-gui
+
+   domenu "${FILESDIR}/VESTA.desktop"
+   newicon -s 128x128 ${D}/opt/VESTA/img/logo.png VESTA.png
+
+   dosym /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
+   dosym /opt/VESTA/VESTA-gui /usr/bin/VESTA
+}



[gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/vesta-bin/files/, sci-chemistry/vesta-bin/

2022-09-12 Thread Florian Schmaus
commit: e2c88d95b6cf9b32b65f525119d7cd4ba241c23a
Author: Patrick J Taylor  gmail  com>
AuthorDate: Sun Sep 11 01:09:01 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 11 01:09:01 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2c88d95

sci-chemistry/vesta-bin: remove absolute symlink

Signed-off-by: Patrick J Taylor  gmail.com>

 sci-chemistry/vesta-bin/files/VESTA.desktop| 4 ++--
 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-chemistry/vesta-bin/files/VESTA.desktop 
b/sci-chemistry/vesta-bin/files/VESTA.desktop
index 240692b76..8741428db 100644
--- a/sci-chemistry/vesta-bin/files/VESTA.desktop
+++ b/sci-chemistry/vesta-bin/files/VESTA.desktop
@@ -2,7 +2,7 @@
 Name=VESTA
 Type=Application
 Comment=For the visualisation of molecular and crystal structures.
-Exec=VESTA
-TryExec=VESTA
+Exec=/opt/VESTA/VESTA
+TryExec=/opt/VESTA/VESTA
 Icon=/usr/share/icons/hicolor/128x128/apps/VESTA.png
 Categories=Science;

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild 
b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index 7969e59ca..65ce1ce48 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -36,5 +36,4 @@ src_install() {
newicon -s 128x128 "${D}"/opt/VESTA/img/logo.png VESTA.png
 
dosym -r /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
-   dosym "${EPREFIX}"/opt/VESTA/VESTA /usr/bin/VESTA
 }



[gentoo-commits] repo/proj/guru:master commit in: sci-chemistry/vesta-bin/

2022-09-12 Thread Florian Schmaus
commit: f18a1954b9ed034bb3d4d5fc6e6b0d79725c4e31
Author: Patrick J Taylor  gmail  com>
AuthorDate: Sun Sep 11 00:37:19 2022 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Sep 11 00:37:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f18a1954

sci-chemistry/vesta-bin: fix symlinks and very minor syntax changes

Signed-off-by: Patrick J Taylor  gmail.com>

 sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild 
b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
index 38cf7d8a9..7969e59ca 100644
--- a/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
+++ b/sci-chemistry/vesta-bin/vesta-bin-3.5.8.ebuild
@@ -28,13 +28,13 @@ RESTRICT="strip"
 
 src_install() {
insinto /opt/VESTA
-   doins -r ${S}/*
+   doins -r "${S}"/*
fperms +x /opt/VESTA/VESTA
fperms +x /opt/VESTA/VESTA-gui
 
-   domenu "${FILESDIR}/VESTA.desktop"
-   newicon -s 128x128 ${D}/opt/VESTA/img/logo.png VESTA.png
+   domenu "${FILESDIR}"/VESTA.desktop
+   newicon -s 128x128 "${D}"/opt/VESTA/img/logo.png VESTA.png
 
-   dosym /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
-   dosym /opt/VESTA/VESTA-gui /usr/bin/VESTA
+   dosym -r /opt/VESTA/libVESTA.so /usr/lib64/libVESTA.so
+   dosym "${EPREFIX}"/opt/VESTA/VESTA /usr/bin/VESTA
 }