[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2024-03-16 Thread Conrad Kostecki
commit: 13bd5b6ecc9ff8645e51f1839d41385e714c2bf9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Mar 16 20:17:07 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Mar 16 20:17:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13bd5b6e

app-misc/kryoflux-dtc: call udev_reload

Closes: https://bugs.gentoo.org/924874
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild | 15 +--
 app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild   |  4 ++--
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
index 59dfb7d11bf7..206c1cc0e6dc 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,9 +16,9 @@ SRC_URI="
 "
 S="${WORKDIR}/${MY_P}"
 
-KEYWORDS="-* amd64 x86"
 LICENSE="SPS"
 SLOT="0"
+KEYWORDS="-* amd64 x86"
 IUSE="demos doc fast-firmware gui static"
 
 RDEPEND="
@@ -94,6 +94,8 @@ pkg_postinst() {
elog "If you want to access your Kryoflux without root access,"
elog "please add yourself to the floppy group."
 
+   udev_reload
+
if use fast-firmware; then
elog ""
elog "You have enabled the fast firmware. Please keep in mind,"
@@ -105,3 +107,12 @@ pkg_postinst() {
xdg_mimeinfo_database_update
fi
 }
+
+pkg_postrm() {
+   udev_reload
+
+   if use gui; then
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   fi
+}

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
index 4f0411445ae3..48383872ffef 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -15,9 +15,9 @@ HOMEPAGE="https://www.kryoflux.com;
 SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz;
 S="${WORKDIR}/${MY_P}"
 
-KEYWORDS="-* amd64 ~arm64"
 LICENSE="SPS"
 SLOT="0"
+KEYWORDS="-* amd64 ~arm64"
 IUSE="demos doc gui"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2022-05-24 Thread Conrad Kostecki
commit: 67eeef80cea20125a11615b4bda448613e9a3c8d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue May 24 22:11:26 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue May 24 22:11:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67eeef80

app-misc/kryoflux-dtc: amd64 stable

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

 app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
index fa32d86a4167..4f0411445ae3 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://www.kryoflux.com;
 SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz;
 S="${WORKDIR}/${MY_P}"
 
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* amd64 ~arm64"
 LICENSE="SPS"
 SLOT="0"
 IUSE="demos doc gui"



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2022-04-24 Thread Conrad Kostecki
commit: 47753023d8ca9c105f00147b43d37542954d8297
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Apr 24 21:21:41 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Apr 24 21:21:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47753023

app-misc/kryoflux-dtc: add ~arm64 keyword

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

 app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
index 6fced826be94..fa32d86a4167 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://www.kryoflux.com;
 SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz;
 S="${WORKDIR}/${MY_P}"
 
-KEYWORDS="-* ~amd64"
+KEYWORDS="-* ~amd64 ~arm64"
 LICENSE="SPS"
 SLOT="0"
 IUSE="demos doc gui"



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2022-04-23 Thread Conrad Kostecki
commit: f02fbaa2c1c29de8c6b254ac1db310bb24b162f7
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Apr 23 20:36:55 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Apr 23 20:37:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02fbaa2

app-misc/kryoflux-dtc: add 3.00

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

 app-misc/kryoflux-dtc/Manifest |   1 +
 app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild | 109 +
 2 files changed, 110 insertions(+)

diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index b934da13382a..2a87dbcc9db7 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,2 +1,3 @@
 DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 
6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2
 SHA512 
9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
+DIST kryoflux_3.00_linux.tgz 13921877 BLAKE2B 
aceb934ec7b0b9d5d1d96555dceeeaa5eb11af67b1aae91888376a2c7615d4ed135167d4c3ea0ae3851a378e5fd5934aacd557a57e28e824c9131efcb87bc59e
 SHA512 
0f4e805373c769bc81659ff93d6f8001103a6a192ca30c73b84cde231d52aa51950860fb9e11c156800d40ebbcd7cc33253f0fcbd436e8668731836f9689c013
 DIST kryoflux_3.00_windows.zip 18211783 BLAKE2B 
e50cfc196d37216a7c929c4aa915b5cfeb7f38805076aed4e1bbc9dbfcc946fce18db0a2e2020d77cf581e2df174f2e3b6eb2b3d9060795501b1769d258ad05d
 SHA512 
afa42fd3460d796dd3694059a86484ea94ab3084c52dc18d6f14e5b790d66e0f13514fbe2efc5c32abd3e471cdb0ac10cc3f7bafcdfb41371a6caddda83e2a00

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
new file mode 100644
index ..6fced826be94
--- /dev/null
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="kryoflux_${PV}_linux"
+MY_PV_DTC="3.0.0"
+MY_P_DTC="dtc-${MY_PV_DTC}-Linux"
+MY_P_WINDOWS="${MY_P/linux/windows}"
+
+inherit desktop udev wrapper xdg-utils
+
+DESCRIPTION="KryoFlux Host Software"
+HOMEPAGE="https://www.kryoflux.com;
+SRC_URI="https://www.kryoflux.com/download/${MY_P}.tgz;
+S="${WORKDIR}/${MY_P}"
+
+KEYWORDS="-* ~amd64"
+LICENSE="SPS"
+SLOT="0"
+IUSE="demos doc gui"
+
+RDEPEND="
+   dev-libs/spsdeclib
+   virtual/libusb:1
+   gui? ( virtual/jre )
+"
+
+BDEPEND="
+   app-arch/unzip
+   dev-util/patchelf
+"
+
+DOCS=( "DONATIONS.txt" "RELEASE.txt" )
+RESTRICT="bindist mirror"
+QA_PREBUILT="/usr/bin/kryoflux-dtc"
+
+src_unpack() {
+   unpack ${A}
+   unpack ${MY_P}/dtc/$(usex amd64 x86_64 aarch64)/${MY_P_DTC}.tar.gz
+   use gui && unpack ${MY_P}/dtc/kryoflux-ui.jar
+}
+
+src_prepare() {
+   default
+
+   # Upstream uses 'libCAPSImage.so.5.1' (uppercase),
+   # but their source installs 'libcapsimage.so.5' (lowercase)
+   patchelf --replace-needed libCAPSImage.so.5.1 libcapsimage.so.5 
../${MY_P_DTC}/bin/dtc
+}
+
+src_install() {
+   newbin ../${MY_P_DTC}/bin/dtc kryoflux-dtc
+
+   insinto /lib/firmware
+   doins ../${MY_P_DTC}/share/dtc/firmware_kf_usb_rosalie.bin
+
+   cat <<-EOF > "${T}"/80-kryoflux.rules || die
+   ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", 
ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660"
+   EOF
+   udev_dorules "${T}"/80-kryoflux.rules
+
+   if use gui; then
+   insinto /usr/share/kryoflux-ui
+   doins dtc/kryoflux-ui.jar
+
+   dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc
+   make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" 
/usr/share/kryoflux-ui
+
+   newicon ../images/disk.png kryoflux-ui.png
+   make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui 
Development
+   dodoc dtc/kryoflux-ui_README.txt
+   fi
+
+   if use demos; then
+   dodoc -r g64_demo ipf_demo
+   docompress -x /usr/share/doc/${PF}/g64_demo/BBSB/*.g64
+   docompress -x /usr/share/doc/${PF}/g64_demo/DOTC/*.g64
+   docompress -x /usr/share/doc/${PF}/ipf_demo/*.ipf
+   fi
+
+   if use doc; then
+   dodoc -r docs schematics
+   docompress -x /usr/share/doc/${PF}/{docs,schematics}/*.pdf
+   fi
+
+   einstalldocs
+}
+
+pkg_postinst() {
+   elog "If you want to access your Kryoflux without root access,"
+   elog "please add yourself to the floppy group."
+
+   udev_reload
+
+   if use gui; then
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   fi
+}
+
+pkg_postrm() {
+   udev_reload
+
+   if use gui; then
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   fi
+}


[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2022-03-25 Thread Sam James
commit: a0bc4a1ceaf3f35ec8d2dd2f2f3b17e417f430c5
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 26 00:35:17 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 26 00:35:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bc4a1c

app-misc/kryoflux-dtc: fix MissingInherits (wrapper.eclass)

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

 .../{kryoflux-dtc-2.6-r2.ebuild => kryoflux-dtc-2.6-r3.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r2.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
similarity index 98%
rename from app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r2.ebuild
rename to app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
index 171f40acc73a..59dfb7d11bf7 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r2.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 MY_P="kryoflux_${PV}_linux"
 MY_P_WINDOWS="kryoflux_3.00_windows"
 
-inherit desktop udev xdg-utils
+inherit desktop udev wrapper xdg-utils
 
 DESCRIPTION="KryoFlux Host Software"
 HOMEPAGE="https://www.kryoflux.com;



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2021-05-13 Thread Conrad Kostecki
commit: 28c509ed29721a4f1e49e70349b2cdc866d37686
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu May 13 23:28:22 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu May 13 23:28:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c509ed

app-misc/kryoflux-dtc: update manifest

Zip package changed, but the used files from archive renamed the same.

Closes: https://bugs.gentoo.org/790020
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/kryoflux-dtc/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index 1294396fab1..b934da13382 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,2 +1,2 @@
 DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 
6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2
 SHA512 
9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
-DIST kryoflux_3.00_windows.zip 18502294 BLAKE2B 
f8e60b0feb6e7d7b9a43480b0b4cf67b79c5431fa20ee9e771ee7adf214e1c992d080c2eb6a043f141936f2de873d63079e994b90e994051a29391c6a308f190
 SHA512 
12de0c7d28b0abca2eb35748770fe96906c12940b7148103f56713fe1144e09759d362a24c094a7088713557da467b90f4e3d0ace59252cb84e3349dc73ee5bd
+DIST kryoflux_3.00_windows.zip 18211783 BLAKE2B 
e50cfc196d37216a7c929c4aa915b5cfeb7f38805076aed4e1bbc9dbfcc946fce18db0a2e2020d77cf581e2df174f2e3b6eb2b3d9060795501b1769d258ad05d
 SHA512 
afa42fd3460d796dd3694059a86484ea94ab3084c52dc18d6f14e5b790d66e0f13514fbe2efc5c32abd3e471cdb0ac10cc3f7bafcdfb41371a6caddda83e2a00



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2020-09-18 Thread Conrad Kostecki
commit: 5d0a0b5d92f93b6e797d93f2f847d402f906d2d7
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Sep 18 09:15:30 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Sep 18 09:20:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d0a0b5d

app-misc/kryoflux-dtc: drop old version

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/kryoflux-dtc/Manifest|   1 -
 app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild | 104 --
 2 files changed, 105 deletions(-)

diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index a711ef324f6..1294396fab1 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,3 +1,2 @@
-DIST kryoflux-ui.jar 2101377 BLAKE2B 
db9922b9d5787772849d1ef9edae52d64de066f643c471412ed9129307c4ee399ec3a18ebcacd7428ab15eabf5307e916b678831f2fa456cbd7073aa60bbb574
 SHA512 
66ba81ed1b2a97a0391e513c45b19436f17677e3dfe7c063749e41763658f99a5eb92e5b3312f4151f8fc51bd79502ac11ffd895966117e1d5a9849867aeb957
 DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 
6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2
 SHA512 
9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
 DIST kryoflux_3.00_windows.zip 18502294 BLAKE2B 
f8e60b0feb6e7d7b9a43480b0b4cf67b79c5431fa20ee9e771ee7adf214e1c992d080c2eb6a043f141936f2de873d63079e994b90e994051a29391c6a308f190
 SHA512 
12de0c7d28b0abca2eb35748770fe96906c12940b7148103f56713fe1144e09759d362a24c094a7088713557da467b90f4e3d0ace59252cb84e3349dc73ee5bd

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
deleted file mode 100644
index a9941574cb2..000
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="kryoflux_${PV}_linux"
-
-inherit desktop eutils udev xdg-utils
-
-DESCRIPTION="KryoFlux Host Software"
-HOMEPAGE="https://www.kryoflux.com;
-SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.bz2
-   gui? ( https://www.kryoflux.com/kryoflux-ui.jar )"
-
-KEYWORDS="-* amd64 x86"
-LICENSE="SPS"
-SLOT="0"
-IUSE="demos doc fast-firmware gui static"
-
-RDEPEND="dev-libs/spsdeclib
-   virtual/libusb:1
-   virtual/udev
-   gui? ( virtual/jre )"
-
-DEPEND="app-arch/unzip"
-
-RESTRICT="bindist mirror strip"
-
-S="${WORKDIR}/${MY_P}"
-
-QA_PREBUILT="/usr/bin/kryoflux-dtc"
-
-src_unpack() {
-   unpack ${MY_P}.tar.bz2
-
-   if use gui; then
-   # Updated *.jar for compatibility with >= Java 9
-   cp "${DISTDIR}"/kryoflux-ui.jar "${S}" || die
-
-   # Extract kryoflux-ui.jar to get a logo for the meny entry
-   unpack kryoflux-ui.jar
-   fi
-}
-
-src_install() {
-   newbin dtc/$(usex amd64 x86_64 i686)/$(usex static static dynamic)/dtc 
kryoflux-dtc
-
-   cat <<-EOF > "${T}"/80-kryoflux.rules || die
-   ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", 
ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660"
-   EOF
-   udev_dorules "${T}"/80-kryoflux.rules
-
-   if use gui; then
-   insinto /usr/share/kryoflux-ui
-   doins kryoflux-ui.jar
-
-   dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc
-
-   make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" 
/usr/share/kryoflux-ui
-
-   newicon "${WORKDIR}"/images/disk.png kryoflux-ui.png
-
-   make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui 
Development
-
-   dodoc dtc/kryoflux-ui_README.txt
-   fi
-
-   if use fast-firmware; then
-   insinto /lib/firmware
-   doins dtc/firmware_fast/firmware_kf_usb_rosalie.bin
-
-   dodoc dtc/firmware_fast/firmware_fast_README.txt
-   else
-   insinto /lib/firmware
-   doins dtc/firmware_kf_usb_rosalie.bin
-   fi
-
-   if use demos; then
-   dodoc -r g64_demo ipf_demo
-   fi
-
-   if use doc; then
-   dodoc -r docs schematics
-   fi
-
-   local DOCS=( "DONATIONS.txt" "RELEASE.txt" "README.linux" )
-   einstalldocs
-}
-
-pkg_postinst() {
-   elog "If you want to access your Kryoflux without root access,"
-   elog "please add yourself to the floppy group."
-
-   if use fast-firmware; then
-   elog ""
-   elog "You have enabled the fast firmware. Please keep in mind,"
-   elog "that this firmware can cause trouble with older floppy 
drives."
-   fi
-
-   if use gui; then
-   xdg_desktop_database_update
-   xdg_mimeinfo_database_update
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2020-08-09 Thread Conrad Kostecki
commit: b3d4a8a28fcab3918223c6ad6a76676912ee20b6
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Aug  9 16:23:25 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Aug  9 16:34:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d4a8a2

app-misc/kryoflux-dtc: update kryoflux ui

Use newer UI from the newer windows version,
which works just fine with the linux version.

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/kryoflux-dtc/Manifest   |   1 +
 app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r1.ebuild | 108 +++
 2 files changed, 109 insertions(+)

diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index e6d215853fe..a711ef324f6 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,2 +1,3 @@
 DIST kryoflux-ui.jar 2101377 BLAKE2B 
db9922b9d5787772849d1ef9edae52d64de066f643c471412ed9129307c4ee399ec3a18ebcacd7428ab15eabf5307e916b678831f2fa456cbd7073aa60bbb574
 SHA512 
66ba81ed1b2a97a0391e513c45b19436f17677e3dfe7c063749e41763658f99a5eb92e5b3312f4151f8fc51bd79502ac11ffd895966117e1d5a9849867aeb957
 DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 
6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2
 SHA512 
9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b
+DIST kryoflux_3.00_windows.zip 18502294 BLAKE2B 
f8e60b0feb6e7d7b9a43480b0b4cf67b79c5431fa20ee9e771ee7adf214e1c992d080c2eb6a043f141936f2de873d63079e994b90e994051a29391c6a308f190
 SHA512 
12de0c7d28b0abca2eb35748770fe96906c12940b7148103f56713fe1144e09759d362a24c094a7088713557da467b90f4e3d0ace59252cb84e3349dc73ee5bd

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r1.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r1.ebuild
new file mode 100644
index 000..35ec7750871
--- /dev/null
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_P="kryoflux_${PV}_linux"
+MY_P_WINDOWS="kryoflux_3.00_windows"
+
+inherit desktop eutils udev xdg-utils
+
+DESCRIPTION="KryoFlux Host Software"
+HOMEPAGE="https://www.kryoflux.com;
+SRC_URI="
+   https://www.kryoflux.com/download/${MY_P}.tar.bz2
+   gui? ( https://www.kryoflux.com/download/${MY_P_WINDOWS}.zip )
+"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="SPS"
+SLOT="0"
+IUSE="demos doc fast-firmware gui static"
+
+RDEPEND="
+   dev-libs/spsdeclib
+   virtual/libusb:1
+   virtual/udev
+   gui? ( virtual/jre )
+"
+
+BDEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror"
+
+S="${WORKDIR}/${MY_P}"
+
+QA_PREBUILT="/usr/bin/kryoflux-dtc"
+
+src_unpack() {
+   unpack "${MY_P}".tar.bz2
+
+   if use gui; then
+   unpack "${MY_P_WINDOWS}".zip
+
+   # Extract kryoflux-ui.jar to get a logo for the meny entry
+   unpack "${MY_P_WINDOWS}"/dtc/kryoflux-ui.jar
+   fi
+}
+
+src_install() {
+   newbin dtc/$(usex amd64 x86_64 i686)/$(usex static static dynamic)/dtc 
kryoflux-dtc
+
+   cat <<-EOF > "${T}"/80-kryoflux.rules || die
+   ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", 
ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660"
+   EOF
+   udev_dorules "${T}"/80-kryoflux.rules
+
+   if use gui; then
+   insinto /usr/share/kryoflux-ui
+   doins "${WORKDIR}"/"${MY_P_WINDOWS}"/dtc/kryoflux-ui.jar
+
+   dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc
+
+   make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" 
/usr/share/kryoflux-ui
+
+   newicon "${WORKDIR}"/images/disk.png kryoflux-ui.png
+
+   make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui 
Development
+
+   dodoc dtc/kryoflux-ui_README.txt
+   fi
+
+   if use fast-firmware; then
+   insinto /lib/firmware
+   doins dtc/firmware_fast/firmware_kf_usb_rosalie.bin
+
+   dodoc dtc/firmware_fast/firmware_fast_README.txt
+   else
+   insinto /lib/firmware
+   doins dtc/firmware_kf_usb_rosalie.bin
+   fi
+
+   if use demos; then
+   dodoc -r g64_demo ipf_demo
+   fi
+
+   if use doc; then
+   dodoc -r docs schematics
+   fi
+
+   local DOCS=( "DONATIONS.txt" "RELEASE.txt" "README.linux" )
+   einstalldocs
+}
+
+pkg_postinst() {
+   elog "If you want to access your Kryoflux without root access,"
+   elog "please add yourself to the floppy group."
+
+   if use fast-firmware; then
+   elog ""
+   elog "You have enabled the fast firmware. Please keep in mind,"
+   elog "that this firmware can cause trouble with older floppy 
drives."

[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2020-01-12 Thread David Seifert
commit: b787ef98fffad01c07d491ea4dc7886d6d1db527
Author: David Seifert  gentoo  org>
AuthorDate: Sun Jan 12 11:13:04 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Jan 12 11:13:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b787ef98

app-misc/kryoflux-dtc: Remove local USE="gui"

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: David Seifert  gentoo.org>

 app-misc/kryoflux-dtc/metadata.xml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-misc/kryoflux-dtc/metadata.xml 
b/app-misc/kryoflux-dtc/metadata.xml
index f275c2365ba..9a18e02a642 100644
--- a/app-misc/kryoflux-dtc/metadata.xml
+++ b/app-misc/kryoflux-dtc/metadata.xml
@@ -8,6 +8,5 @@

Install example floppy game files.
Install fast firmware instead of 
slow firmware.
-   Install the Kryoflux GUI

 



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2019-04-13 Thread Agostino Sarubbo
commit: 60a76a6669c35ce3b42f4dae86368173b6470a13
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr 13 19:08:05 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr 13 19:08:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a76a66

app-misc/kryoflux-dtc: amd64 stable wrt bug #682728

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
index de512258d89..37787a6df3e 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.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
@@ -12,7 +12,7 @@ HOMEPAGE="https://www.kryoflux.com;
 SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.bz2
gui? ( https://www.kryoflux.com/kryoflux-ui.jar )"
 
-KEYWORDS="-* ~amd64 ~x86"
+KEYWORDS="-* amd64 ~x86"
 LICENSE="SPS"
 SLOT="0"
 IUSE="demos doc fast-firmware gui static"



[gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/

2018-06-22 Thread Michał Górny
commit: c819a508ae5b25cb0745ceccea8e4e0c1a362d21
Author: Conrad Kostecki  kostecki  com>
AuthorDate: Fri Jun 22 18:38:00 2018 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 22 18:48:28 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c819a508

app-misc/kryoflux-dtc: New package

Closes: https://bugs.gentoo.org/651482
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-misc/kryoflux-dtc/Manifest|   2 +
 app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild | 104 ++
 app-misc/kryoflux-dtc/metadata.xml|  17 +
 3 files changed, 123 insertions(+)

diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
new file mode 100644
index 000..e6d215853fe
--- /dev/null
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -0,0 +1,2 @@
+DIST kryoflux-ui.jar 2101377 BLAKE2B 
db9922b9d5787772849d1ef9edae52d64de066f643c471412ed9129307c4ee399ec3a18ebcacd7428ab15eabf5307e916b678831f2fa456cbd7073aa60bbb574
 SHA512 
66ba81ed1b2a97a0391e513c45b19436f17677e3dfe7c063749e41763658f99a5eb92e5b3312f4151f8fc51bd79502ac11ffd895966117e1d5a9849867aeb957
+DIST kryoflux_2.6_linux.tar.bz2 9177658 BLAKE2B 
6eb0bc7a166950bfedb32da466c17125a8a7d64e4bc9aa6610c69dd0f98c2fb5187ad19dbaf191b33dcb5a786ec4a1fa9bce2464c3c04eb152e0b9ed7ae770f2
 SHA512 
9bf700e9c646bad135999eb1fed12c86ff6fbc11a0034b86af7541fb16a4905dd740c706ebb87bf5848f5d80f45699c350a56397df5b6850559c2576d18eef1b

diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild 
b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
new file mode 100644
index 000..de512258d89
--- /dev/null
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-2.6.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="kryoflux_${PV}_linux"
+
+inherit desktop eutils udev xdg-utils
+
+DESCRIPTION="KryoFlux Host Software"
+HOMEPAGE="https://www.kryoflux.com;
+SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.bz2
+   gui? ( https://www.kryoflux.com/kryoflux-ui.jar )"
+
+KEYWORDS="-* ~amd64 ~x86"
+LICENSE="SPS"
+SLOT="0"
+IUSE="demos doc fast-firmware gui static"
+
+RDEPEND="dev-libs/spsdeclib
+   virtual/libusb:1
+   virtual/udev
+   gui? ( virtual/jre )"
+
+DEPEND="app-arch/unzip"
+
+RESTRICT="bindist mirror strip"
+
+S="${WORKDIR}/${MY_P}"
+
+QA_PREBUILT="/usr/bin/kryoflux-dtc"
+
+src_unpack() {
+   unpack ${MY_P}.tar.bz2
+
+   if use gui; then
+   # Updated *.jar for compatibility with >= Java 9
+   cp "${DISTDIR}"/kryoflux-ui.jar "${S}" || die
+
+   # Extract kryoflux-ui.jar to get a logo for the meny entry
+   unpack kryoflux-ui.jar
+   fi
+}
+
+src_install() {
+   newbin dtc/$(usex amd64 x86_64 i686)/$(usex static static dynamic)/dtc 
kryoflux-dtc
+
+   cat <<-EOF > "${T}"/80-kryoflux.rules || die
+   ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="03eb", 
ATTR{idProduct}=="6124", GROUP="floppy", MODE="0660"
+   EOF
+   udev_dorules "${T}"/80-kryoflux.rules
+
+   if use gui; then
+   insinto /usr/share/kryoflux-ui
+   doins kryoflux-ui.jar
+
+   dosym ../../bin/kryoflux-dtc /usr/share/kryoflux-ui/dtc
+
+   make_wrapper kryoflux-ui "java -jar kryoflux-ui.jar" 
/usr/share/kryoflux-ui
+
+   newicon "${WORKDIR}"/images/disk.png kryoflux-ui.png
+
+   make_desktop_entry "kryoflux-ui" "KryoFlux UI" kryoflux-ui 
Development
+
+   dodoc dtc/kryoflux-ui_README.txt
+   fi
+
+   if use fast-firmware; then
+   insinto /lib/firmware
+   doins dtc/firmware_fast/firmware_kf_usb_rosalie.bin
+
+   dodoc dtc/firmware_fast/firmware_fast_README.txt
+   else
+   insinto /lib/firmware
+   doins dtc/firmware_kf_usb_rosalie.bin
+   fi
+
+   if use demos; then
+   dodoc -r g64_demo ipf_demo
+   fi
+
+   if use doc; then
+   dodoc -r docs schematics
+   fi
+
+   local DOCS=( "DONATIONS.txt" "RELEASE.txt" "README.linux" )
+   einstalldocs
+}
+
+pkg_postinst() {
+   elog "If you want to access your Kryoflux without root access,"
+   elog "please add yourself to the floppy group."
+
+   if use fast-firmware; then
+   elog ""
+   elog "You have enabled the fast firmware. Please keep in mind,"
+   elog "that this firmware can cause trouble with older floppy 
drives."
+   fi
+
+   if use gui; then
+   xdg_desktop_database_update
+   xdg_mimeinfo_database_update
+   fi
+}

diff --git a/app-misc/kryoflux-dtc/metadata.xml 
b/app-misc/kryoflux-dtc/metadata.xml
new file mode 100644
index 000..c95657a7f86
--- /dev/null
+++ b/app-misc/kryoflux-dtc/metadata.xml
@@ -0,0 +1,17 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+