* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2018-06-22 18:49 Michał Górny
0 siblings, 0 replies; 14+ messages in thread
From: Michał Górny @ 2018-06-22 18:49 UTC (permalink / raw
To: gentoo-commits
commit: c819a508ae5b25cb0745ceccea8e4e0c1a362d21
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Fri Jun 22 18:38:00 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 18:48:28 2018 +0000
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 00000000000..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 00000000000..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 00000000000..c95657a7f86
--- /dev/null
+++ b/app-misc/kryoflux-dtc/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ck+gentoo@bl4ckb0x.de</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="demos">Install example floppy game files.</flag>
+ <flag name="fast-firmware">Install fast firmware instead of slow firmware.</flag>
+ <flag name="gui">Install the Kryoflux GUI</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2019-04-13 19:10 Agostino Sarubbo
0 siblings, 0 replies; 14+ messages in thread
From: Agostino Sarubbo @ 2019-04-13 19:10 UTC (permalink / raw
To: gentoo-commits
commit: 60a76a6669c35ce3b42f4dae86368173b6470a13
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 13 19:08:05 2019 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Sat Apr 13 19:08:05 2019 +0000
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 <ago <AT> 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"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2020-01-12 11:14 David Seifert
0 siblings, 0 replies; 14+ messages in thread
From: David Seifert @ 2020-01-12 11:14 UTC (permalink / raw
To: gentoo-commits
commit: b787ef98fffad01c07d491ea4dc7886d6d1db527
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 11:13:04 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 11:13:04 2020 +0000
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 <soap <AT> 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 @@
<use>
<flag name="demos">Install example floppy game files.</flag>
<flag name="fast-firmware">Install fast firmware instead of slow firmware.</flag>
- <flag name="gui">Install the Kryoflux GUI</flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2020-08-09 16:38 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2020-08-09 16:38 UTC (permalink / raw
To: gentoo-commits
commit: b3d4a8a28fcab3918223c6ad6a76676912ee20b6
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 9 16:23:25 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Aug 9 16:34:42 2020 +0000
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 <conikost <AT> 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 00000000000..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."
+ fi
+
+ if use gui; then
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+ fi
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2020-09-18 9:20 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2020-09-18 9:20 UTC (permalink / raw
To: gentoo-commits
commit: 5d0a0b5d92f93b6e797d93f2f847d402f906d2d7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 18 09:15:30 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Sep 18 09:20:41 2020 +0000
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 <conikost <AT> 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..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2021-05-13 23:28 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2021-05-13 23:28 UTC (permalink / raw
To: gentoo-commits
commit: 28c509ed29721a4f1e49e70349b2cdc866d37686
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Thu May 13 23:28:22 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Thu May 13 23:28:22 2021 +0000
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 <conikost <AT> 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
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2022-03-26 0:35 Sam James
0 siblings, 0 replies; 14+ messages in thread
From: Sam James @ 2022-03-26 0:35 UTC (permalink / raw
To: gentoo-commits
commit: a0bc4a1ceaf3f35ec8d2dd2f2f3b17e417f430c5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 00:35:17 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 26 00:35:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bc4a1c
app-misc/kryoflux-dtc: fix MissingInherits (wrapper.eclass)
Signed-off-by: Sam James <sam <AT> 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"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2022-04-23 20:37 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2022-04-23 20:37 UTC (permalink / raw
To: gentoo-commits
commit: f02fbaa2c1c29de8c6b254ac1db310bb24b162f7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 20:36:55 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Apr 23 20:37:22 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02fbaa2
app-misc/kryoflux-dtc: add 3.00
Signed-off-by: Conrad Kostecki <conikost <AT> 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 000000000000..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
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2022-04-24 21:22 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2022-04-24 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 47753023d8ca9c105f00147b43d37542954d8297
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 24 21:21:41 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 21:21:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47753023
app-misc/kryoflux-dtc: add ~arm64 keyword
Signed-off-by: Conrad Kostecki <conikost <AT> 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"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2022-05-24 22:11 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2022-05-24 22:11 UTC (permalink / raw
To: gentoo-commits
commit: 67eeef80cea20125a11615b4bda448613e9a3c8d
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 22:11:26 2022 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue May 24 22:11:26 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67eeef80
app-misc/kryoflux-dtc: amd64 stable
Signed-off-by: Conrad Kostecki <conikost <AT> 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"
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2024-03-16 20:24 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2024-03-16 20:24 UTC (permalink / raw
To: gentoo-commits
commit: 13bd5b6ecc9ff8645e51f1839d41385e714c2bf9
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 20:17:07 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 20:17:07 2024 +0000
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 <conikost <AT> 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="
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2024-06-17 22:31 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2024-06-17 22:31 UTC (permalink / raw
To: gentoo-commits
commit: 9da1bce4c63d46e68b18c63dcca8b48a511498f4
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 22:18:56 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 22:29:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9da1bce4
app-misc/kryoflux-dtc: add 3.50_p2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/kryoflux-dtc/Manifest | 1 +
app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild | 118 ++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index 2a87dbcc9db7..572359b6b8cd 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,3 +1,4 @@
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
+DIST kryoflux_3.50_linux_2.tar.gz 15309688 BLAKE2B adc315fb29c35b7e16f07ebf9bbd7f8939d92fd5db875f8bd3ed77b8a6d69a895c4be5c94eda571844a01e06f3c594c11a7f08632a259abb7192daffa66bad09 SHA512 91d821fab98a7582d299c9783076e438921621193d87712d676472f588a43a0d6394187f203a939619c8336c45650ec6e9f9f5f45dc4255d56c16f512af98352
diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild
new file mode 100644
index 000000000000..17c802cd9e81
--- /dev/null
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV="$(ver_cut 1-2)"
+MY_PV_DTC="3.5.0"
+MY_P="kryoflux_${MY_PV}_linux_$(ver_cut 4)"
+MY_P_DTC="${PN}-${MY_PV_DTC}-Linux"
+
+inherit desktop udev wrapper xdg-utils
+
+DESCRIPTION="KryoFlux Host Software"
+HOMEPAGE="https://www.kryoflux.com"
+SRC_URI="https://www.kryoflux.com/download/${MY_P}.tar.gz"
+S="${WORKDIR}/Linux_Release${MY_PV}"
+
+LICENSE="SPS"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm64"
+IUSE="demos doc gui"
+
+RDEPEND="
+ dev-libs/libfmt
+ virtual/libusb:1
+ gui? ( virtual/jre )
+"
+
+BDEPEND="app-arch/unzip"
+
+DOCS=( "RELEASE.txt" )
+RESTRICT="bindist mirror"
+QA_PREBUILT="
+ usr/lib64/libCAPSImage.so.5.2
+ usr/bin/kryoflux-dtc
+"
+
+src_unpack() {
+ unpack ${A}
+ unpack Linux_Release${MY_PV}/dtc/$(usex amd64 x86_64 aarch64)/${MY_P_DTC}.tar.gz
+ use gui && unpack Linux_Release${MY_PV}/dtc/kryoflux-ui.jar
+}
+
+src_prepare() {
+ default
+
+ # Remove whitespace for demo files
+ pushd testimages
+ mv "G64 (C64)" g64_demo || die
+ mv "IPF (Amiga, Atari ST)" ipf_demo || die
+ popd
+}
+
+src_install() {
+ newbin ../${MY_P_DTC}/bin/dtc kryoflux-dtc
+
+ # We need to use bundled libs instead of 'dev-libs/spsdeclib',
+ # as source code is currently not released.
+ # See https://forum.kryoflux.com/viewtopic.php\?p\=17105
+ dolib.so ../${MY_P_DTC}/lib/libCAPSImage.so.5.2
+
+ 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
+ pushd testimages
+ 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
+ popd
+ 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
+}
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2024-07-21 15:02 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2024-07-21 15:02 UTC (permalink / raw
To: gentoo-commits
commit: fc7073361771558cfca923ba502c5c58a8cf9be7
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 14:49:12 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 15:02:41 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc707336
app-misc/kryoflux-dtc: amd64 stable
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild
index 17c802cd9e81..90455e68024f 100644
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild
+++ b/app-misc/kryoflux-dtc/kryoflux-dtc-3.50_p2.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/Linux_Release${MY_PV}"
LICENSE="SPS"
SLOT="0"
-KEYWORDS="-* ~amd64 ~arm64"
+KEYWORDS="-* amd64 ~arm64"
IUSE="demos doc gui"
RDEPEND="
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/
@ 2024-07-21 15:02 Conrad Kostecki
0 siblings, 0 replies; 14+ messages in thread
From: Conrad Kostecki @ 2024-07-21 15:02 UTC (permalink / raw
To: gentoo-commits
commit: 7f27ac058b0df503033cd8907b4fc97b63a16119
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 14:49:41 2024 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 15:02:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f27ac05
app-misc/kryoflux-dtc: drop 3.00
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-misc/kryoflux-dtc/Manifest | 1 -
app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild | 109 -------------------------
2 files changed, 110 deletions(-)
diff --git a/app-misc/kryoflux-dtc/Manifest b/app-misc/kryoflux-dtc/Manifest
index 572359b6b8cd..0bcd4f80a9c7 100644
--- a/app-misc/kryoflux-dtc/Manifest
+++ b/app-misc/kryoflux-dtc/Manifest
@@ -1,4 +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
DIST kryoflux_3.50_linux_2.tar.gz 15309688 BLAKE2B adc315fb29c35b7e16f07ebf9bbd7f8939d92fd5db875f8bd3ed77b8a6d69a895c4be5c94eda571844a01e06f3c594c11a7f08632a259abb7192daffa66bad09 SHA512 91d821fab98a7582d299c9783076e438921621193d87712d676472f588a43a0d6394187f203a939619c8336c45650ec6e9f9f5f45dc4255d56c16f512af98352
diff --git a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild b/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
deleted file mode 100644
index 48383872ffef..000000000000
--- a/app-misc/kryoflux-dtc/kryoflux-dtc-3.00.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2024 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}"
-
-LICENSE="SPS"
-SLOT="0"
-KEYWORDS="-* amd64 ~arm64"
-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
-}
^ permalink raw reply related [flat|nested] 14+ messages in thread
end of thread, other threads:[~2024-07-21 15:02 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 18:49 [gentoo-commits] repo/gentoo:master commit in: app-misc/kryoflux-dtc/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2019-04-13 19:10 Agostino Sarubbo
2020-01-12 11:14 David Seifert
2020-08-09 16:38 Conrad Kostecki
2020-09-18 9:20 Conrad Kostecki
2021-05-13 23:28 Conrad Kostecki
2022-03-26 0:35 Sam James
2022-04-23 20:37 Conrad Kostecki
2022-04-24 21:22 Conrad Kostecki
2022-05-24 22:11 Conrad Kostecki
2024-03-16 20:24 Conrad Kostecki
2024-06-17 22:31 Conrad Kostecki
2024-07-21 15:02 Conrad Kostecki
2024-07-21 15:02 Conrad Kostecki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox