diff options
Diffstat (limited to 'media-radio')
72 files changed, 510 insertions, 1536 deletions
diff --git a/media-radio/chirp/Manifest b/media-radio/chirp/Manifest index 9ab0a6d4d499..7d5dc973a12a 100644 --- a/media-radio/chirp/Manifest +++ b/media-radio/chirp/Manifest @@ -1,3 +1,2 @@ -DIST chirp-20230917.tar.gz 1754068 BLAKE2B 462f047310ac8ca15098365062109716ccd0a695ab86910f6c6bd6ef11b094b5cdb59949238e49e6baf3a08cc12e41766a9306d9fe685e35a2040eb9d7602ad5 SHA512 50ce4036d5ebeebbc2c4badb8c4f23ce13fcb66a3b016564655c25b30a032cbb8c0b62857ffbe5dac28967d2d70bb721ac45209eb6405a9c87263b225bd8d049 -DIST chirp-20231021.tar.gz 1776607 BLAKE2B 8958bcf5d8ba310c07772b9a2c214d5d2785d2e39cc60039c405728cedf0001f71ea2110cae7e67dca72c9ebe7a61834c9c308f56f49d24c8f7f962dfc5aa067 SHA512 131b8ab81a2b1618438e1c03129c19be57642fa05a01ddd3d4d2f5a09e2eb5a8184bea15b306af768d8c584935f81a145f91cc058ab57238981efd0ed2e73f09 -DIST chirp-20231125.tar.gz 1824835 BLAKE2B 327d34867324ddf326709c6e098ccd80810015023807e238a1f63650328236cf791c14a6cbfdbb4bcfea7875dad394846fe5eec3c2a167623fcfebf8980d4954 SHA512 cef4a7c26ae0784c5031db96d2b632e39ab7eb7d61ab1f486b4a4bc9842d16536de22651f2cabb21394e0382af0f5488cb65ac0e609d0936f8db3747f4a5aa7a +DIST chirp-20240311.tar.gz 1960895 BLAKE2B 843b68d15c82a437904554c25a6e810db1273753201903a086dde3c68481f2b2457f1aa36c96793ef6491febfbc6ec857180434d10f6eebd3e3ca4fde009c126 SHA512 f2fdc3479dc6605385d521314be6a3b8748e0bd9465d3e1ce70f0ff9fa9f9a459225101f6d42624e67ae6a8065aa89d8678bbbe666e55a57275b6327e9387083 +DIST chirp-20240606.tar.gz 2093782 BLAKE2B ea5da2cca61f1c1beea9035be3b2acda380e9583dbdc4292968be98474c3b733bb4698df075d1b4eb7a8625b68fce0c1c22172fca7583e42e50bdc7dc92a4f29 SHA512 3f89435a33868958b95e95281a6c11b2e483c89b206118aa9366884e3316fa760dbfeaa3545224be06c26bc91eb3fcad28a1d94d2128dd99a8cccdb97c21b740 diff --git a/media-radio/chirp/chirp-20231125.ebuild b/media-radio/chirp/chirp-20231125.ebuild deleted file mode 100644 index 5b1a95d408b4..000000000000 --- a/media-radio/chirp/chirp-20231125.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# py3.12 blocked by wxpython -PYTHON_COMPAT=( python3_{10..11} ) -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools - -inherit distutils-r1 - -DESCRIPTION="A free, open-source tool for programming your radio" -HOMEPAGE="https://chirp.danplanet.com/" -SRC_URI="https://trac.chirp.danplanet.com/${PN}_next/next-${PV}/${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+gui radioreference" - -RDEPEND="$(python_gen_cond_dep ' - dev-python/pyserial[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/six[${PYTHON_USEDEP}] - gui? ( - dev-python/wxpython:4.0[${PYTHON_USEDEP}] - dev-python/yattag[${PYTHON_USEDEP}] - ) - radioreference? ( dev-python/suds-community[${PYTHON_USEDEP}] ) -')" -BDEPEND="test? ( $(python_gen_cond_dep ' - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] -') )" - -PATCHES=( - "${FILESDIR}"/${PN}-20230818_no-future.patch -) - -distutils_enable_tests pytest - -# The alias map is an internal developer file not included in release tarballs. -# Other disabled tests require Internet access. -EPYTEST_DESELECT=( - tests/unit/test_directory.py::TestAliasMap - tests/unit/test_network_sources.py - tests/unit/test_repeaterbook.py -) - -python_test() { - # From the contents of tests/ upstream currently only runs unit and driver - # tests, and the latter can take so long that they have even got a special - # script for only running them on drivers whose code has changed - # with respect to origin/master. - epytest tests/unit/ -} - -src_install() { - distutils-r1_src_install - if ! use gui; then - rm "${ED}"/usr/bin/${PN} || die - fi -} diff --git a/media-radio/chirp/chirp-20230917.ebuild b/media-radio/chirp/chirp-20240311.ebuild index 01c85c3bb3d4..06a371411e1d 100644 --- a/media-radio/chirp/chirp-20230917.ebuild +++ b/media-radio/chirp/chirp-20240311.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,8 +11,8 @@ DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="A free, open-source tool for programming your radio" -HOMEPAGE="https://chirp.danplanet.com/" -SRC_URI="https://trac.chirp.danplanet.com/${PN}_next/next-${PV}/${P}.tar.gz" +HOMEPAGE="https://chirpmyradio.com/" +SRC_URI="https://archive.chirpmyradio.com/${PN}_next/next-${PV}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" @@ -34,10 +34,6 @@ BDEPEND="test? ( $(python_gen_cond_dep ' dev-python/pyyaml[${PYTHON_USEDEP}] ') )" -PATCHES=( - "${FILESDIR}"/${PN}-20230818_no-future.patch -) - distutils_enable_tests pytest # The alias map is an internal developer file not included in release tarballs. diff --git a/media-radio/chirp/chirp-20231021.ebuild b/media-radio/chirp/chirp-20240606.ebuild index 5b1a95d408b4..6df7d3076d86 100644 --- a/media-radio/chirp/chirp-20231021.ebuild +++ b/media-radio/chirp/chirp-20240606.ebuild @@ -1,22 +1,21 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -# py3.12 blocked by wxpython -PYTHON_COMPAT=( python3_{10..11} ) +PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 DESCRIPTION="A free, open-source tool for programming your radio" -HOMEPAGE="https://chirp.danplanet.com/" -SRC_URI="https://trac.chirp.danplanet.com/${PN}_next/next-${PV}/${P}.tar.gz" +HOMEPAGE="https://chirpmyradio.com/" +SRC_URI="https://archive.chirpmyradio.com/${PN}_next/next-${PV}/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="+gui radioreference" RDEPEND="$(python_gen_cond_dep ' @@ -30,14 +29,11 @@ RDEPEND="$(python_gen_cond_dep ' radioreference? ( dev-python/suds-community[${PYTHON_USEDEP}] ) ')" BDEPEND="test? ( $(python_gen_cond_dep ' + dev-python/ddt[${PYTHON_USEDEP}] dev-python/pytest-xdist[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] ') )" -PATCHES=( - "${FILESDIR}"/${PN}-20230818_no-future.patch -) - distutils_enable_tests pytest # The alias map is an internal developer file not included in release tarballs. diff --git a/media-radio/chirp/files/chirp-20230818_no-future.patch b/media-radio/chirp/files/chirp-20230818_no-future.patch deleted file mode 100644 index 554b614849bc..000000000000 --- a/media-radio/chirp/files/chirp-20230818_no-future.patch +++ /dev/null @@ -1,30 +0,0 @@ -future.standard_library.install_aliases() is a no-op on Python3 anyway. - ---- a/chirp/chirp_common.py -+++ b/chirp/chirp_common.py -@@ -14,7 +14,6 @@ - # along with this program. If not, see <http://www.gnu.org/licenses/>. - - from builtins import bytes --from future import standard_library - - import base64 - import json -@@ -1920,7 +1919,6 @@ - def urlretrieve(url, fn): - """Grab an URL and save it in a specified file""" - -- standard_library.install_aliases() - import urllib.request - import urllib.error - ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,6 @@ - 'pyserial', - 'requests', - 'six', -- 'future', - 'importlib-resources;python_version<"3.10"', - 'yattag', - ], diff --git a/media-radio/chirp/metadata.xml b/media-radio/chirp/metadata.xml index 84aceb6cb6a0..569b61cabf32 100644 --- a/media-radio/chirp/metadata.xml +++ b/media-radio/chirp/metadata.xml @@ -2,10 +2,6 @@ <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> - <maintainer type="person"> <email>zerochaos@gentoo.org</email> <name>Rick Farina</name> </maintainer> diff --git a/media-radio/cqrlog/files/cqrlog-2.5.2-makefile.patch b/media-radio/cqrlog/files/cqrlog-2.5.2-makefile.patch index a580df8bf7c5..fac5fa556cb9 100644 --- a/media-radio/cqrlog/files/cqrlog-2.5.2-makefile.patch +++ b/media-radio/cqrlog/files/cqrlog-2.5.2-makefile.patch @@ -1,6 +1,8 @@ +diff --git a/Makefile b/Makefile +index 5e09eeb..e7fbeb3 100644 --- a/Makefile +++ b/Makefile -@@ -3,12 +3,10 @@ +@@ -3,12 +3,10 @@ ST=strip datadir = $(DESTDIR)/usr/share/cqrlog bindir = $(DESTDIR)/usr/bin sharedir = $(DESTDIR)/usr/share @@ -15,7 +17,7 @@ clean: rm -f -v src/*.o src/*.ppu src/*.bak src/lnet/lib/*.ppu src/lnet/lib/*.o src/lnet/lib/*.bak src/cqrlog src/cqrlog.compiled src/ipc/*.o src/ipc/*.ppu src/cqrlog.or -@@ -37,7 +35,7 @@ +@@ -37,7 +35,7 @@ install: install -d -v $(sharedir)/pixmaps/cqrlog install -d -v $(sharedir)/icons/cqrlog install -d -v $(sharedir)/applications @@ -24,7 +26,7 @@ install -d -v $(sharedir)/man/man1 install -v -m 0755 src/cqrlog $(bindir) install -v -m 0755 tools/cqrlog-apparmor-fix $(datadir)/cqrlog-apparmor-fix -@@ -60,7 +58,7 @@ +@@ -60,11 +58,11 @@ install: # install -v -m 0644 images/icon/256x256/* $(datadir)/images/icon/256x256/ # install -v -m 0644 images/* $(datadir)/images/ install -v -m 0644 tools/cqrlog.desktop $(sharedir)/applications/cqrlog.desktop @@ -33,7 +35,12 @@ install -v -m 0644 images/icon/32x32/cqrlog.png $(sharedir)/pixmaps/cqrlog/cqrlog.png install -v -m 0644 images/icon/128x128/cqrlog.png $(sharedir)/icons/cqrlog.png install -v -m 0644 src/changelog.html $(datadir)/changelog.html -@@ -74,9 +72,8 @@ +- install -v -m 0644 tools/cqrlog.1.gz $(sharedir)/man/man1/cqrlog.1.gz ++ install -v -m 0644 tools/cqrlog.1 $(sharedir)/man/man1/cqrlog.1 + deb: + dpkg-buildpackage -rfakeroot -i -I + deb_src: +@@ -74,9 +72,8 @@ debug: gzip tools/cqrlog.1 -c > tools/cqrlog.1.gz cqrlog_qt5: src/cqrlog.lpi diff --git a/media-radio/cwdaemon/Manifest b/media-radio/cwdaemon/Manifest index 3b83731f4c3b..6b45eb1129a8 100644 --- a/media-radio/cwdaemon/Manifest +++ b/media-radio/cwdaemon/Manifest @@ -1,2 +1 @@ -DIST cwdaemon-0.10.2.tar.gz 290487 BLAKE2B cdabe238ad74a2933704e037190ea7f74e58ed7888bb3eb2b1864522384d95c73ef429a4e8e78ef07b5d0c612b609bcde2a01a388fa5c79a691b6208909678e3 SHA512 65ae1552d0a875b71354083401abed2271ff40b7f8ab6c8f2cbb4a36bb2648a6094efc9ac5cfc9228633ff48b839205e4f95f46d10244a43089c4c1f94ca94a7 -DIST cwdaemon-0.11.0.tar.gz 353868 BLAKE2B 9b0fe19e6850b4932b20a6f77a7a11abfe2aaed3ed6485b8f74ae226d36fe5a8c9428613c6055ac38d9c9aaa8a0cde7a71321b8111de9ae67bd77973c35aa166 SHA512 a2b882cea6ee3d061c83885a8cbee38e2db18031fde37784cf973f407e2eb8845d56dd52ec290c0e96063b305e1159ad217073a9abc976b0c99d06a87dc1089c +DIST cwdaemon-0.12.0.tar.gz 433974 BLAKE2B c1ab01291e9907a4c090987573eb2914a72285c028d9b1c452be633706a683378ac2976dfddba90aa92dfdb1b821716d30a7e613c48dba0981628013bb4563d2 SHA512 1b9a29d92aa9d212f27def6a938bd170f41ea177ac552f99cbb399422e3046cfeeb440f203079cd3726042187f7cd4fd0903b8cc4c301b4b34238f4e6d842ee0 diff --git a/media-radio/cwdaemon/cwdaemon-0.11.0.ebuild b/media-radio/cwdaemon/cwdaemon-0.11.0.ebuild deleted file mode 100644 index d9b3890d4df0..000000000000 --- a/media-radio/cwdaemon/cwdaemon-0.11.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="A morse daemon for the parallel or serial port" -HOMEPAGE="http://cwdaemon.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ppc x86" -IUSE="" - -RDEPEND=">=media-radio/unixcw-3.3.1" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -src_configure() { - # provides header info for getaddrinfo() with C99 (bug 569970) - append-cppflags -D_GNU_SOURCE - econf -} diff --git a/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild b/media-radio/cwdaemon/cwdaemon-0.12.0.ebuild index 01ab141e1082..13cbea382e23 100644 --- a/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild +++ b/media-radio/cwdaemon/cwdaemon-0.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,14 +7,13 @@ inherit flag-o-matic DESCRIPTION="A morse daemon for the parallel or serial port" HOMEPAGE="http://cwdaemon.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha amd64 ppc x86" -IUSE="" -RDEPEND=">=media-radio/unixcw-3.3.1" +RDEPEND=">=media-radio/unixcw-3.6.0" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest index 2fd9f36b0d21..06cfc4c3eab3 100644 --- a/media-radio/direwolf/Manifest +++ b/media-radio/direwolf/Manifest @@ -1,2 +1,2 @@ -DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b SHA512 c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5 DIST direwolf-1.6.tar.gz 22298168 BLAKE2B d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af SHA512 f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5 +DIST direwolf-1.7.tar.gz 20587417 BLAKE2B 8264f1712958dcbd2888608bd032621cc4d8117ce5d6c3f4ea3e7b0a5237c4b5aab825f758538986e421debe9ba6ea5f4d75039471cf8557716867c800965efd SHA512 e09b14d7a036546e042da8b536b70d07f485d6a7224b19f5626b33e43a21c48200591fd6680ca1ee4b3c9fb5909d6f1c54ae8160877d51e06278fe19516abe1e diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild b/media-radio/direwolf/direwolf-1.5-r1.ebuild deleted file mode 100644 index deef4a8a736a..000000000000 --- a/media-radio/direwolf/direwolf-1.5-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd toolchain-funcs - -DESCRIPTION="Decoded Information from Radio Emissions for Windows Or Linux Fans" -HOMEPAGE="https://github.com/wb2osz/direwolf/blob/master/README.md" -SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="gps hamlib udev" - -RDEPEND=" - media-libs/alsa-lib:= - gps? ( sci-geosciences/gpsd ) - hamlib? ( media-libs/hamlib:= ) - udev? ( virtual/libudev ) -" -BDEPEND="hamlib? ( virtual/pkgconfig )" -DEPEND="${RDEPEND}" - -DOCS=( CHANGES.md README.md doc/2400-4800-PSK-for-APRS-Packet-Radio.pdf doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf doc/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf doc/APRS-Telemetry-Toolkit.pdf doc/APRStt-Implementation-Notes.pdf doc/APRStt-interface-for-SARTrack.pdf doc/APRStt-Listening-Example.pdf doc/Going-beyond-9600-baud.pdf doc/Raspberry-Pi-APRS.pdf doc/Raspberry-Pi-APRS-Tracker.pdf doc/Raspberry-Pi-SDR-IGate.pdf doc/README.md doc/Successful-APRS-IGate-Operation.pdf doc/User-Guide.pdf doc/WA8LMF-TNC-Test-CD-Results.pdf direwolf.conf dw-start.sh sdr.conf telemetry-toolkit/telem-m0xer-3.txt telemetry-toolkit/telem-balloon.conf telemetry-toolkit/telem-volts.conf ) - -INSTALLDIR="${D}" - -src_prepare() { - eapply "${FILESDIR}/${PV}-makefile.patch" - eapply "${FILESDIR}/direwolf-gpsd-API-9.patch" - eapply "${FILESDIR}/direwolf-1.5-respect-LDFLAGS.patch" - eapply "${FILESDIR}/direwolf-1.5-respect-AR.patch" - - eapply_user - - if use gps ; then - sed -i -e 's/#enable_gpsd/enable_gpsd/' Makefile.linux || die "Sed failed!" - fi - - if use hamlib; then - sed -i -e 's/#enable_hamlib/enable_hamlib/' Makefile.linux || die "Sed failed!" - fi - - if use udev ; then - sed -i -e 's/#enable_cm108/enable_cm108/' Makefile.linux || die "Sed failed!" - fi -} - -src_compile() { - tc-export AR CC - - emake PKG_CONFIG="$(tc-getPKG_CONFIG)" -} - -src_install() { - dodir /usr - dodir /usr/bin - keepdir /var/log/direwolf - emake DESTDIR="${D}" install - insinto /etc/direwolf/ - doins direwolf.conf - einstalldocs - systemd_dounit "${FILESDIR}"/direwolf.service - systemd_dounit "${FILESDIR}"/direwolf-kiss.service -} diff --git a/media-radio/direwolf/direwolf-1.7.ebuild b/media-radio/direwolf/direwolf-1.7.ebuild new file mode 100644 index 000000000000..f60c6c1ec98d --- /dev/null +++ b/media-radio/direwolf/direwolf-1.7.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake systemd udev + +DESCRIPTION="Decoded Information from Radio Emissions for Windows Or Linux Fans" +HOMEPAGE="https://github.com/wb2osz/direwolf/blob/master/README.md" +SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +IUSE="gps hamlib test udev" +RESTRICT="!test? ( test )" + +RDEPEND=" + net-dns/avahi + media-libs/alsa-lib + gps? ( sci-geosciences/gpsd:= ) + hamlib? ( media-libs/hamlib:= ) + udev? ( virtual/libudev:= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-1.6-use-standard-doc-dir.patch +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps) + -DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib) + -DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev) + -DUNITTEST=$(usex test) + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # Fix udev rule installation path + udev_dorules "${ED}"/etc/udev/rules.d/99-direwolf-cmedia.rules + rm "${ED}"/etc/udev/rules.d/99-direwolf-cmedia.rules || die + + keepdir /var/log/direwolf + + # Pre-CMake, we installed a default config to /etc/direwolf. + # Should we do that now? + #insinto /etc/direwolf/ + #doins direwolf.conf + + systemd_dounit "${FILESDIR}"/direwolf.service + systemd_dounit "${FILESDIR}"/direwolf-kiss.service +} + +pkg_postinst() { + udev_reload + if [[ -z "${REPLACING_VERSIONS}" ]] ; then + einfo "The default configuration files are at:" + einfo " - ${EROOT}/usr/share/doc/${PF}/conf/direwolf.conf" + einfo " - ${EROOT}/usr/share/doc/${PF}/conf/sdr.conf" + einfo "Copy these to the /etc/direwolf/ directory to modify them." + fi +} + +pkg_postrm() { + udev_reload +} diff --git a/media-radio/direwolf/files/1.5-makefile.patch b/media-radio/direwolf/files/1.5-makefile.patch deleted file mode 100644 index 2b7f87945011..000000000000 --- a/media-radio/direwolf/files/1.5-makefile.patch +++ /dev/null @@ -1,295 +0,0 @@ ---- a/Makefile.linux -+++ b/Makefile.linux -@@ -13,7 +13,7 @@ - @echo " sudo make install" - @echo " " - --CC := gcc -+#CC := gcc - - # Just for fun, let's see how clang compares to gcc. First install like this: - # sudo apt-get update -@@ -32,7 +32,7 @@ - # we will inherit options already set in build environment. - # Explanation - https://github.com/wb2osz/direwolf/pull/38 - --CFLAGS += -O3 -pthread -Igeotranz -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE=1 -Wall -+CFLAGS += -pthread -Igeotranz -D_XOPEN_SOURCE=600 -D_DEFAULT_SOURCE=1 - - # That was fine for a recent Ubuntu and Raspbian Jessie. - # However, Raspbian wheezy was then missing declaration for strsep and definition of fd_set. -@@ -97,7 +97,7 @@ - - arch := $(shell echo | gcc -E -dM - | grep __i386__) - ifneq ($(arch),) --CFLAGS += -march=pentium3 -+#CFLAGS += -march=pentium3 - endif - - -@@ -154,7 +154,7 @@ - - useffast := $(shell gcc --help -v 2>/dev/null | grep ffast-math) - ifneq ($(useffast),) --CFLAGS += -ffast-math -+#CFLAGS += -ffast-math - endif - - -@@ -217,7 +217,7 @@ - - neon := $(shell cat /proc/cpuinfo | grep neon) - ifneq ($(neon),) --CFLAGS += -mfpu=neon -+#CFLAGS += -mfpu=neon - endif - - -@@ -276,7 +276,7 @@ - # Finding libgps.so* is more difficult because it - # is in different places on different operating systems. - --enable_gpsd := $(wildcard /usr/include/gps.h) -+#enable_gpsd := 1 - ifneq ($(enable_gpsd),) - CFLAGS += -DENABLE_GPSD - LDFLAGS += -lgps -@@ -285,10 +285,10 @@ - - # Enable hamlib support if header file is present. - --enable_hamlib := $(wildcard /usr/include/hamlib/rig.h /usr/local/include/hamlib/rig.h) -+#enable_hamlib := 1 - ifneq ($(enable_hamlib),) - CFLAGS += -DUSE_HAMLIB --LDFLAGS += -lhamlib -+LDFLAGS += $(shell ${PKG_CONFIG} --libs hamlib) - endif - - -@@ -304,7 +304,7 @@ - - # Enable cm108 PTT support if libudev header file is present. - --enable_cm108 := $(wildcard /usr/include/libudev.h) -+#enable_cm108 := 1 - ifneq ($(enable_cm108),) - CFLAGS += -DUSE_CM108 - LDFLAGS += -ludev -@@ -536,6 +536,7 @@ - # If not specified on the make command line, this is our default. - - DESTDIR ?= /usr/local -+INSTALLDIR ?= $(DESTDIR)/usr/ - - # However, if you are preparing a "binary" DEB or RPM package, the installation location - # would normally be /usr/... instead. In this case, use a command line like this: -@@ -560,15 +561,15 @@ - @echo '[Desktop Entry]' > $@ - @echo 'Type=Application' >> $@ - ifneq ($(wildcard /usr/bin/lxterminal),) -- @echo "Exec=lxterminal -t \"Dire Wolf\" -e \"$(DESTDIR)/bin/direwolf\"" >> $@ -+ @echo "Exec=lxterminal -t \"Dire Wolf\" -e \"$(INSTALLDIR)/bin/direwolf\"" >> $@ - else ifneq ($(wildcard /usr/bin/lxterm),) -- @echo "Exec=lxterm -hold -title \"Dire Wolf\" -bg white -e \"$(DESTDIR)/bin/direwolf\"" >> $@ -+ @echo "Exec=lxterm -hold -title \"Dire Wolf\" -bg white -e \"$(INSTALLDIR)/bin/direwolf\"" >> $@ - else -- @echo "Exec=xterm -hold -title \"Dire Wolf\" -bg white -e \"$(DESTDIR)/bin/direwolf\"" >> $@ -+ @echo "Exec=xterm -hold -title \"Dire Wolf\" -bg white -e \"$(INSTALLDIR)/bin/direwolf\"" >> $@ - endif - @echo 'Name=Dire Wolf' >> $@ - @echo 'Comment=APRS Soundcard TNC' >> $@ -- @echo 'Icon=$(DESTDIR)/share/direwolf/pixmaps/dw-icon.png' >> $@ -+ @echo 'Icon=$(INSTALLDIR)/share/direwolf/pixmaps/dw-icon.png' >> $@ - @echo "Path=$(HOME)" >> $@ - @echo '#Terminal=true' >> $@ - @echo 'Categories=HamRadio' >> $@ -@@ -585,102 +586,104 @@ - # Applications, not installed with package manager, normally go in /usr/local/bin. - # /usr/bin is used instead when installing from .DEB or .RPM package. - # -- $(INSTALL) -D --mode=755 direwolf $(DESTDIR)/bin/direwolf -- $(INSTALL) -D --mode=755 decode_aprs $(DESTDIR)/bin/decode_aprs -- $(INSTALL) -D --mode=755 text2tt $(DESTDIR)/bin/text2tt -- $(INSTALL) -D --mode=755 tt2text $(DESTDIR)/bin/tt2text -- $(INSTALL) -D --mode=755 ll2utm $(DESTDIR)/bin/ll2utm -- $(INSTALL) -D --mode=755 utm2ll $(DESTDIR)/bin/utm2ll -- $(INSTALL) -D --mode=755 aclients $(DESTDIR)/bin/aclients -- $(INSTALL) -D --mode=755 log2gpx $(DESTDIR)/bin/log2gpx -- $(INSTALL) -D --mode=755 gen_packets $(DESTDIR)/bin/gen_packets -- $(INSTALL) -D --mode=755 atest $(DESTDIR)/bin/atest -- $(INSTALL) -D --mode=755 ttcalc $(DESTDIR)/bin/ttcalc -- $(INSTALL) -D --mode=755 kissutil $(DESTDIR)/bin/kissutil -- $(INSTALL) -D --mode=755 cm108 $(DESTDIR)/bin/cm108 -- $(INSTALL) -D --mode=755 dwespeak.sh $(DESTDIR)/bin/dwspeak.sh -+ $(INSTALL) -D --mode=755 direwolf $(INSTALLDIR)/bin/direwolf -+ $(INSTALL) -D --mode=755 decode_aprs $(INSTALLDIR)/bin/decode_aprs -+ $(INSTALL) -D --mode=755 text2tt $(INSTALLDIR)/bin/text2tt -+ $(INSTALL) -D --mode=755 tt2text $(INSTALLDIR)/bin/tt2text -+ $(INSTALL) -D --mode=755 ll2utm $(INSTALLDIR)/bin/ll2utm -+ $(INSTALL) -D --mode=755 utm2ll $(INSTALLDIR)/bin/utm2ll -+ $(INSTALL) -D --mode=755 aclients $(INSTALLDIR)/bin/aclients -+ $(INSTALL) -D --mode=755 log2gpx $(INSTALLDIR)/bin/log2gpx -+ $(INSTALL) -D --mode=755 gen_packets $(INSTALLDIR)/bin/gen_packets -+ $(INSTALL) -D --mode=755 atest $(INSTALLDIR)/bin/atest -+ $(INSTALL) -D --mode=755 ttcalc $(INSTALLDIR)/bin/ttcalc -+ $(INSTALL) -D --mode=755 kissutil $(INSTALLDIR)/bin/kissutil -+ $(INSTALL) -D --mode=755 cm108 $(INSTALLDIR)/bin/cm108 -+ $(INSTALL) -D --mode=755 dwespeak.sh $(INSTALLDIR)/bin/dwspeak.sh - # - # Telemetry Toolkit executables. Other .conf and .txt files will go into doc directory. - # -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-balloon.pl $(DESTDIR)/bin/telem-balloon.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-bits.pl $(DESTDIR)/bin/telem-bits.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-data.pl $(DESTDIR)/bin/telem-data.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-data91.pl $(DESTDIR)/bin/telem-data91.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-eqns.pl $(DESTDIR)/bin/telem-eqns.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-parm.pl $(DESTDIR)/bin/telem-parm.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-seq.sh $(DESTDIR)/bin/telem-seq.sh -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-unit.pl $(DESTDIR)/bin/telem-unit.pl -- $(INSTALL) -D --mode=755 telemetry-toolkit/telem-volts.py $(DESTDIR)/bin/telem-volts.py -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-balloon.pl $(INSTALLDIR)/bin/telem-balloon.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-bits.pl $(INSTALLDIR)/bin/telem-bits.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-data.pl $(INSTALLDIR)/bin/telem-data.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-data91.pl $(INSTALLDIR)/bin/telem-data91.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-eqns.pl $(INSTALLDIR)/bin/telem-eqns.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-parm.pl $(INSTALLDIR)/bin/telem-parm.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-seq.sh $(INSTALLDIR)/bin/telem-seq.sh -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-unit.pl $(INSTALLDIR)/bin/telem-unit.pl -+ $(INSTALL) -D --mode=755 telemetry-toolkit/telem-volts.py $(INSTALLDIR)/bin/telem-volts.py - # - # Misc. data such as "tocall" to system mapping. - # -- $(INSTALL) -D --mode=644 tocalls.txt $(DESTDIR)/share/direwolf/tocalls.txt -- $(INSTALL) -D --mode=644 symbols-new.txt $(DESTDIR)/share/direwolf/symbols-new.txt -- $(INSTALL) -D --mode=644 symbolsX.txt $(DESTDIR)/share/direwolf/symbolsX.txt -+ $(INSTALL) -D --mode=644 tocalls.txt $(INSTALLDIR)/share/direwolf/tocalls.txt -+ $(INSTALL) -D --mode=644 symbols-new.txt $(INSTALLDIR)/share/direwolf/symbols-new.txt -+ $(INSTALL) -D --mode=644 symbolsX.txt $(INSTALLDIR)/share/direwolf/symbolsX.txt - # - # For desktop icon. - # -- $(INSTALL) -D --mode=644 dw-icon.png $(DESTDIR)/share/direwolf/pixmaps/dw-icon.png -- $(INSTALL) -D --mode=644 direwolf.desktop $(DESTDIR)/share/applications/direwolf.desktop -+ $(INSTALL) -D --mode=644 dw-icon.png $(INSTALLDIR)/share/direwolf/pixmaps/dw-icon.png -+ $(INSTALL) -D --mode=644 direwolf.desktop $(INSTALLDIR)/share/applications/direwolf.desktop - # - # Documentation. Various plain text files and PDF. - # -- $(INSTALL) -D --mode=644 CHANGES.md $(DESTDIR)/share/doc/direwolf/CHANGES.md -- $(INSTALL) -D --mode=644 LICENSE-dire-wolf.txt $(DESTDIR)/share/doc/direwolf/LICENSE-dire-wolf.txt -- $(INSTALL) -D --mode=644 LICENSE-other.txt $(DESTDIR)/share/doc/direwolf/LICENSE-other.txt -+ $(INSTALL) -D --mode=644 CHANGES.md $(INSTALLDIR)/share/doc/direwolf-$(PV)/CHANGES.md -+ $(INSTALL) -D --mode=644 LICENSE-dire-wolf.txt $(INSTALLDIR)/share/doc/direwolf-$(PV)/LICENSE-dire-wolf.txt -+ $(INSTALL) -D --mode=644 LICENSE-other.txt $(INSTALLDIR)/share/doc/direwolf-$(PV)/LICENSE-other.txt - # - # ./README.md is an overview for the project main page. - # Maybe we could stick it in some other place. - # doc/README.md contains an overview of the PDF file contents and is more useful here. - # -- $(INSTALL) -D --mode=644 doc/README.md $(DESTDIR)/share/doc/direwolf/README.md -- $(INSTALL) -D --mode=644 doc/2400-4800-PSK-for-APRS-Packet-Radio.pdf $(DESTDIR)/share/doc/direwolf/2400-4800-PSK-for-APRS-Packet-Radio.pdf -- $(INSTALL) -D --mode=644 doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf $(DESTDIR)/share/doc/direwolf/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf -- $(INSTALL) -D --mode=644 doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf $(DESTDIR)/share/doc/direwolf/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf -- $(INSTALL) -D --mode=644 doc/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf $(DESTDIR)/share/doc/direwolf/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf -- $(INSTALL) -D --mode=644 doc/APRS-Telemetry-Toolkit.pdf $(DESTDIR)/share/doc/direwolf/APRS-Telemetry-Toolkit.pdf -- $(INSTALL) -D --mode=644 doc/APRStt-Implementation-Notes.pdf $(DESTDIR)/share/doc/direwolf/APRStt-Implementation-Notes.pdf -- $(INSTALL) -D --mode=644 doc/APRStt-interface-for-SARTrack.pdf $(DESTDIR)/share/doc/direwolf/APRStt-interface-for-SARTrack.pdf -- $(INSTALL) -D --mode=644 doc/APRStt-Listening-Example.pdf $(DESTDIR)/share/doc/direwolf/APRStt-Listening-Example.pdf -- $(INSTALL) -D --mode=644 doc/Bluetooth-KISS-TNC.pdf $(DESTDIR)/share/doc/direwolf/Bluetooth-KISS-TNC.pdf -- $(INSTALL) -D --mode=644 doc/Going-beyond-9600-baud.pdf $(DESTDIR)/share/doc/direwolf/Going-beyond-9600-baud.pdf -- $(INSTALL) -D --mode=644 doc/Raspberry-Pi-APRS.pdf $(DESTDIR)/share/doc/direwolf/Raspberry-Pi-APRS.pdf -- $(INSTALL) -D --mode=644 doc/Raspberry-Pi-APRS-Tracker.pdf $(DESTDIR)/share/doc/direwolf/Raspberry-Pi-APRS-Tracker.pdf -- $(INSTALL) -D --mode=644 doc/Raspberry-Pi-SDR-IGate.pdf $(DESTDIR)/share/doc/direwolf/Raspberry-Pi-SDR-IGate.pdf -- $(INSTALL) -D --mode=644 doc/Successful-APRS-IGate-Operation.pdf $(DESTDIR)/share/doc/direwolf/Successful-APRS-IGate-Operation.pdf -- $(INSTALL) -D --mode=644 doc/User-Guide.pdf $(DESTDIR)/share/doc/direwolf/User-Guide.pdf -- $(INSTALL) -D --mode=644 doc/WA8LMF-TNC-Test-CD-Results.pdf $(DESTDIR)/share/doc/direwolf/WA8LMF-TNC-Test-CD-Results.pdf -+ $(INSTALL) -D --mode=644 doc/README.md $(INSTALLDIR)/share/doc/direwolf-$(PV)/README.md -+ $(INSTALL) -D --mode=644 doc/2400-4800-PSK-for-APRS-Packet-Radio.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/2400-4800-PSK-for-APRS-Packet-Radio.pdf -+ $(INSTALL) -D --mode=644 doc/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/A-Better-APRS-Packet-Demodulator-Part-1-1200-baud.pdf -+ $(INSTALL) -D --mode=644 doc/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/A-Better-APRS-Packet-Demodulator-Part-2-9600-baud.pdf -+ $(INSTALL) -D --mode=644 doc/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/A-Closer-Look-at-the-WA8LMF-TNC-Test-CD.pdf -+ $(INSTALL) -D --mode=644 doc/APRS-Telemetry-Toolkit.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/APRS-Telemetry-Toolkit.pdf -+ $(INSTALL) -D --mode=644 doc/APRStt-Implementation-Notes.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/APRStt-Implementation-Notes.pdf -+ $(INSTALL) -D --mode=644 doc/APRStt-interface-for-SARTrack.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/APRStt-interface-for-SARTrack.pdf -+ $(INSTALL) -D --mode=644 doc/APRStt-Listening-Example.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/APRStt-Listening-Example.pdf -+ $(INSTALL) -D --mode=644 doc/Bluetooth-KISS-TNC.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Bluetooth-KISS-TNC.pdf -+ $(INSTALL) -D --mode=644 doc/Going-beyond-9600-baud.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Going-beyond-9600-baud.pdf -+ $(INSTALL) -D --mode=644 doc/Raspberry-Pi-APRS.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Raspberry-Pi-APRS.pdf -+ $(INSTALL) -D --mode=644 doc/Raspberry-Pi-APRS-Tracker.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Raspberry-Pi-APRS-Tracker.pdf -+ $(INSTALL) -D --mode=644 doc/Raspberry-Pi-SDR-IGate.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Raspberry-Pi-SDR-IGate.pdf -+ $(INSTALL) -D --mode=644 doc/Successful-APRS-IGate-Operation.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/Successful-APRS-IGate-Operation.pdf -+ $(INSTALL) -D --mode=644 doc/User-Guide.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/User-Guide.pdf -+ $(INSTALL) -D --mode=644 doc/WA8LMF-TNC-Test-CD-Results.pdf $(INSTALLDIR)/share/doc/direwolf-$(PV)/WA8LMF-TNC-Test-CD-Results.pdf - # - # Various sample config and other files go into examples under the doc directory. - # When building from source, these can be put in home directory with "make install-conf". - # When installed from .DEB or .RPM package, the user will need to copy these to - # the home directory or other desired location. - # -- $(INSTALL) -D --mode=644 direwolf.conf $(DESTDIR)/share/doc/direwolf/examples/direwolf.conf -- $(INSTALL) -D --mode=755 dw-start.sh $(DESTDIR)/share/doc/direwolf/examples/dw-start.sh -- $(INSTALL) -D --mode=644 sdr.conf $(DESTDIR)/share/doc/direwolf/examples/sdr.conf -- $(INSTALL) -D --mode=644 telemetry-toolkit/telem-m0xer-3.txt $(DESTDIR)/share/doc/direwolf/examples/telem-m0xer-3.txt -- $(INSTALL) -D --mode=644 telemetry-toolkit/telem-balloon.conf $(DESTDIR)/share/doc/direwolf/examples/telem-balloon.conf -- $(INSTALL) -D --mode=644 telemetry-toolkit/telem-volts.conf $(DESTDIR)/share/doc/direwolf/examples/telem-volts.conf -+ $(INSTALL) -D --mode=644 direwolf.conf $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/direwolf.conf -+ $(INSTALL) -D --mode=755 dw-start.sh $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/dw-start.sh -+ $(INSTALL) -D --mode=644 sdr.conf $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/sdr.conf -+ $(INSTALL) -D --mode=644 telemetry-toolkit/telem-m0xer-3.txt $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/telem-m0xer-3.txt -+ $(INSTALL) -D --mode=644 telemetry-toolkit/telem-balloon.conf $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/telem-balloon.conf -+ $(INSTALL) -D --mode=644 telemetry-toolkit/telem-volts.conf $(INSTALLDIR)/share/doc/direwolf-$(PV)/examples/telem-volts.conf - # - # "man" pages - # -- $(INSTALL) -D --mode=644 man1/aclients.1 $(DESTDIR)/share/man/man1/aclients.1 -- $(INSTALL) -D --mode=644 man1/atest.1 $(DESTDIR)/share/man/man1/atest.1 -- $(INSTALL) -D --mode=644 man1/decode_aprs.1 $(DESTDIR)/share/man/man1/decode_aprs.1 -- $(INSTALL) -D --mode=644 man1/direwolf.1 $(DESTDIR)/share/man/man1/direwolf.1 -- $(INSTALL) -D --mode=644 man1/gen_packets.1 $(DESTDIR)/share/man/man1/gen_packets.1 -- $(INSTALL) -D --mode=644 man1/kissutil.1 $(DESTDIR)/share/man/man1/kissutil.1 -- $(INSTALL) -D --mode=644 man1/ll2utm.1 $(DESTDIR)/share/man/man1/ll2utm.1 -- $(INSTALL) -D --mode=644 man1/log2gpx.1 $(DESTDIR)/share/man/man1/log2gpx.1 -- $(INSTALL) -D --mode=644 man1/text2tt.1 $(DESTDIR)/share/man/man1/text2tt.1 -- $(INSTALL) -D --mode=644 man1/tt2text.1 $(DESTDIR)/share/man/man1/tt2text.1 -- $(INSTALL) -D --mode=644 man1/utm2ll.1 $(DESTDIR)/share/man/man1/utm2ll.1 -+ $(INSTALL) -D --mode=644 man1/aclients.1 $(INSTALLDIR)/share/man/man1/aclients.1 -+ $(INSTALL) -D --mode=644 man1/atest.1 $(INSTALLDIR)/share/man/man1/atest.1 -+ $(INSTALL) -D --mode=644 man1/decode_aprs.1 $(INSTALLDIR)/share/man/man1/decode_aprs.1 -+ $(INSTALL) -D --mode=644 man1/direwolf.1 $(INSTALLDIR)/share/man/man1/direwolf.1 -+ $(INSTALL) -D --mode=644 man1/gen_packets.1 $(INSTALLDIR)/share/man/man1/gen_packets.1 -+ $(INSTALL) -D --mode=644 man1/kissutil.1 $(INSTALLDIR)/share/man/man1/kissutil.1 -+ $(INSTALL) -D --mode=644 man1/ll2utm.1 $(INSTALLDIR)/share/man/man1/ll2utm.1 -+ $(INSTALL) -D --mode=644 man1/log2gpx.1 $(INSTALLDIR)/share/man/man1/log2gpx.1 -+ $(INSTALL) -D --mode=644 man1/text2tt.1 $(INSTALLDIR)/share/man/man1/text2tt.1 -+ $(INSTALL) -D --mode=644 man1/tt2text.1 $(INSTALLDIR)/share/man/man1/tt2text.1 -+ $(INSTALL) -D --mode=644 man1/utm2ll.1 $(INSTALLDIR)/share/man/man1/utm2ll.1 - # - # Set group and mode of HID devices corresponding to C-Media USB Audio adapters. - # This will allow us to use the CM108/CM119 GPIO pins for PTT. - # -- $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules /etc/udev/rules.d/99-direwolf-cmedia.rules -+ifneq ($(enable_cm108),) -+ $(INSTALL) -D --mode=644 99-direwolf-cmedia.rules $(DESTDIR)/lib/udev/rules.d/99-direwolf-cmedia.rules -+endif - # - @echo " " - @echo "If this is your first install, not an upgrade, type this to put a copy" -@@ -693,7 +696,7 @@ - # Put sample configuration & startup files in home directory. - # This step would be done as ordinary user. - # Some people like to put the direwolf config file in /etc/ax25. --# Note that all of these are also in $(DESTDIR)/share/doc/direwolf/examples/. -+# Note that all of these are also in $(INSTALLDIR)/share/doc/direwolf/examples/. - - # The Raspberry Pi has ~/Desktop but Ubuntu does not. - -@@ -724,7 +727,7 @@ - - .PHONY: install-rpi - install-rpi : -- ln -f -s $(DESTDIR)/share/applications/direwolf.desktop ~/Desktop/direwolf.desktop -+ ln -f -s $(INSTALLDIR)/share/applications/direwolf.desktop ~/Desktop/direwolf.desktop - - - diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch deleted file mode 100644 index 1a833cc06ba8..000000000000 --- a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 3d433bd..bf8ed3d 100644 ---- a/Makefile.linux -+++ b/Makefile.linux -@@ -474,7 +474,7 @@ ttcalc : ttcalc.o ax25_pad.o fcs_calc.o textcolor.o misc.a - # UTM, USNG, MGRS conversions. - - geotranz.a : error_string.o mgrs.o polarst.o tranmerc.o ups.o usng.o utm.o -- ar -cr $@ $^ -+ $(AR) -cr $@ $^ - - error_string.o : geotranz/error_string.c - $(CC) $(CFLAGS) -c -o $@ $^ -@@ -502,7 +502,7 @@ utm.o : geotranz/utm.c - # We don't need the others in that same directory. - - misc.a : strlcpy.o strlcat.o -- ar -cr $@ $^ -+ $(AR) -cr $@ $^ - - strlcpy.o : misc/strlcpy.c - $(CC) $(CFLAGS) -I. -c -o $@ $^ diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch deleted file mode 100644 index 38dddcc281fd..000000000000 --- a/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/Makefile.linux b/Makefile.linux -index 7418a63..3d433bd 100644 ---- a/Makefile.linux -+++ b/Makefile.linux -@@ -447,7 +447,7 @@ atest : atest.c demod.o demod_afsk.o demod_psk.o demod_9600.o \ - # Multiple AGWPE network or serial port clients to test TNCs side by side. - - aclients : aclients.c ax25_pad.c fcs_calc.c textcolor.o misc.a -- $(CC) $(CFLAGS) -g -o $@ $^ -+ $(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS) - - - # Talk to a KISS TNC. -@@ -466,7 +466,7 @@ cm108 : cm108.c textcolor.o misc.a - # Touch Tone to Speech sample application. - - ttcalc : ttcalc.o ax25_pad.o fcs_calc.o textcolor.o misc.a -- $(CC) $(CFLAGS) -g -o $@ $^ -+ $(CC) $(CFLAGS) -g -o $@ $^ $(LDFLAGS) - - - # ----------------------------------------- Libraries -------------------------------------------- diff --git a/media-radio/direwolf/files/direwolf-gpsd-API-9.patch b/media-radio/direwolf/files/direwolf-gpsd-API-9.patch deleted file mode 100644 index ffaf84dee568..000000000000 --- a/media-radio/direwolf/files/direwolf-gpsd-API-9.patch +++ /dev/null @@ -1,213 +0,0 @@ ---- direwolf-1.5/dwgpsd.orig.c 2020-09-13 13:25:07.294828708 +0200 -+++ direwolf-1.5/dwgpsd.c 2020-09-13 13:26:48.957086728 +0200 -@@ -1,7 +1,7 @@ - // - // This file is part of Dire Wolf, an amateur radio packet TNC. - // --// Copyright (C) 2013, 2014, 2015 John Langner, WB2OSZ -+// Copyright (C) 2013, 2014, 2015, 2020 John Langner, WB2OSZ - // - // This program is free software: you can redistribute it and/or modify - // it under the terms of the GNU General Public License as published by -@@ -54,10 +54,10 @@ - - #include <gps.h> - --// Debian bug report: direwolf (1.2-1) FTBFS with libgps22 as part of the gpsd transition (#803605): --// dwgps.c claims to only support GPSD_API_MAJOR_VERSION 5, but also builds successfully with --// GPSD_API_MAJOR_VERSION 6 provided by libgps22 when the attached patch is applied. --#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 6 -+// An incompatibility was introduced with version 7 -+// and again with 9 and again with 10. -+ -+#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 10 - #error libgps API version might be incompatible. - #endif - -@@ -112,7 +112,7 @@ - * shared region via dwgps_put_data. - * - * The application calls dwgps_read to get the most -- 8 recent information. -+ * recent information. - * - *--------------------------------------------------------------------*/ - -@@ -122,7 +122,7 @@ - * Originally, I wanted to use the shared memory interface to gpsd - * because it is simpler and more efficient. Just access it when we - * actually need the data and we don't have a lot of extra unnecessary -- * busy work going on. -+ * busy work going on constantly polling it when we don't need the information. - * - * The current version of gpsd, supplied with Raspian (Wheezy), is 3.6 from back in - * May 2012, is missing support for the shared memory interface. -@@ -138,13 +138,28 @@ - * cd gpsd-3.11 - * scons prefix=/usr libdir=lib/arm-linux-gnueabihf shm_export=True python=False - * sudo scons udev-install -- * -+ * - * For now, we will use the socket interface. Maybe get back to this again someday. - * - * Update: January 2016. - * - * I'm told that the shared memory interface might work in Raspian, Jessie version. - * Haven't tried it yet. -+ * -+ * June 2020: This is how to build the most recent. -+ * -+ * Based on https://www.satsignal.eu/raspberry-pi/UpdatingGPSD.html -+ * -+ * git clone https://gitlab.com/gpsd/gpsd.git gpsd-gitlab -+ * cd gpsd-gitlab -+ * scons --config=force -+ * scons -+ * sudo scons install -+ * -+ * The problem we have here is that the library is put in /usr/local/lib and direwolf -+ * can't find it there. Solution is to define environment variable: -+ * -+ * export LD_LIBRARY_PATH=/use/local/lib - */ - - -@@ -228,7 +243,7 @@ - * - *--------------------------------------------------------------------*/ - --#define TIMEOUT 30 -+#define TIMEOUT 15 - - #if ENABLE_GPSD - -@@ -251,13 +266,34 @@ - - while (1) { - -+// Example code found here: -+// https://lists.nongnu.org/archive/html/gpsd-dev/2017-11/msg00001.html -+ - if ( ! gps_waiting(&gpsdata, TIMEOUT * 1000000)) { - text_color_set(DW_COLOR_ERROR); -- dw_printf ("GPSD: Timeout waiting for GPS data.\n"); -- /* Fall thru to read which should get error and bail out. */ -+ dw_printf ("------------------------------------------\n"); -+ dw_printf ("dwgpsd: Timeout waiting for GPS data.\n"); -+ dw_printf ("Is GPSD daemon running?\n"); -+ dw_printf ("Troubleshooting tip: Try running cgps or xgps.\n"); -+ dw_printf ("------------------------------------------\n"); -+ info.fix = DWFIX_ERROR; -+ SLEEP_MS(5000); -+ continue; - } - -+// https://github.com/wb2osz/direwolf/issues/196 -+// https://bugzilla.redhat.com/show_bug.cgi?id=1674812 -+ -+// gps_read has two new parameters in API version 7. -+// It looks like this could be used to obtain the JSON message from the daemon. -+// Specify NULL, instead of message buffer space, if this is not desired. -+// Why couldn't they add a new function instead of introducing incompatibility? -+ -+#if GPSD_API_MAJOR_VERSION >= 7 -+ if (gps_read (&gpsdata, NULL, 0) == -1) { -+#else - if (gps_read (&gpsdata) == -1) { -+#endif - text_color_set(DW_COLOR_ERROR); - - dw_printf ("------------------------------------------\n"); -@@ -274,16 +310,47 @@ - break; // Jump out of loop and terminate thread. - } - -+#if GPSD_API_MAJOR_VERSION >= 9 -+ -+// The gps.h revision history says: -+// * mark altitude in gps_fix_t as deprecated and undefined -+// This seems really stupid to me. -+// If it is deprecated and undefined then take it out. Someone trying to use -+// it would get a compile error and know that something needs to be done. -+// Instead we all just go merrily on our way using a field that is [allegedly] undefined. -+// Why not simply add more variables with different definitions of altitude -+// and keep the original variable working as it always did? -+// If it is truly undefined, as the comment would have us believe, numerous -+// people will WASTE VAST AMOUNTS OF TIME pondering why altitude is now broken in -+// their applications. -+ -+#define stupid_altitude altMSL -+#else -+#define stupid_altitude altitude -+#endif -+ -+#if GPSD_API_MAJOR_VERSION >= 10 -+ -+// They did it again. Whimsical incompatibilities that cause -+// pain and aggravation for everyone trying to use this library. -+// -+// error: ‘struct gps_data_t’ has no member named ‘status’ -+// -+// Yes, I can understand that it is a more logical place but it breaks -+// all existing code that uses this. -+// I'm really getting annoyed about wasting so much time on keeping up with all -+// of these incompatibilities that are completely unnecessary. -+ -+#define stupid_status fix.status -+#else -+#define stupid_status status -+#endif -+ -+ // Inform user about change in fix status. -+ - switch (gpsdata.fix.mode) { - default: - case MODE_NOT_SEEN: -- if (info.fix >= DWFIX_2D) { -- text_color_set(DW_COLOR_INFO); -- dw_printf ("GPSD: Lost location fix.\n"); -- } -- info.fix = DWFIX_NOT_SEEN; -- break; -- - case MODE_NO_FIX: - if (info.fix >= DWFIX_2D) { - text_color_set(DW_COLOR_INFO); -@@ -309,11 +376,7 @@ - break; - } - -- /* Data is available. */ -- // TODO: what is gpsdata.status? -- -- -- if (gpsdata.status >= STATUS_FIX && gpsdata.fix.mode >= MODE_2D) { -+ if (gpsdata.stupid_status >= STATUS_FIX && gpsdata.fix.mode >= MODE_2D) { - - info.dlat = isnan(gpsdata.fix.latitude) ? G_UNKNOWN : gpsdata.fix.latitude; - info.dlon = isnan(gpsdata.fix.longitude) ? G_UNKNOWN : gpsdata.fix.longitude; -@@ -321,9 +384,15 @@ - info.speed_knots = isnan(gpsdata.fix.speed) ? G_UNKNOWN : (MPS_TO_KNOTS * gpsdata.fix.speed); - - if (gpsdata.fix.mode >= MODE_3D) { -- info.altitude = isnan(gpsdata.fix.altitude) ? G_UNKNOWN : gpsdata.fix.altitude; -+ info.altitude = isnan(gpsdata.fix.stupid_altitude) ? G_UNKNOWN : gpsdata.fix.stupid_altitude; - } - } -+ else { -+ // Keep the last known location. -+ // Using info.fix, the caller knows if the location is current (DWFIX_[23]D), -+ // last known (DWFIX_NONE), or never known (DWFIX_NOT_SEEN). -+ info.fix = DWFIX_NO_FIX; -+ } - - info.timestamp = time(NULL); - if (s_debug >= 2) { -@@ -357,6 +426,7 @@ - - #if ENABLE_GPSD - -+ gps_stream (&gpsdata, WATCH_DISABLE, NULL); - gps_close (&gpsdata); - - #endif diff --git a/media-radio/direwolf/metadata.xml b/media-radio/direwolf/metadata.xml index ed31d15c4b98..3bfb034b6d0d 100644 --- a/media-radio/direwolf/metadata.xml +++ b/media-radio/direwolf/metadata.xml @@ -4,6 +4,10 @@ <maintainer type="person"> <email>rich0@gentoo.org</email> </maintainer> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> <use> <flag name="hamlib">Enables support by the Hamlib amateur radio rig control library</flag> </use> diff --git a/media-radio/flamp/flamp-2.2.07.ebuild b/media-radio/flamp/flamp-2.2.07.ebuild index bc9ea4e0c700..cab8f172f708 100644 --- a/media-radio/flamp/flamp-2.2.07.ebuild +++ b/media-radio/flamp/flamp-2.2.07.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Fldigi helper for transferring files" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3+" SLOT="0" diff --git a/media-radio/fldigi/Manifest b/media-radio/fldigi/Manifest index 10e93d33b2a3..28a8f7f52f44 100644 --- a/media-radio/fldigi/Manifest +++ b/media-radio/fldigi/Manifest @@ -1,2 +1 @@ -DIST fldigi-4.2.00.tar.gz 4973115 BLAKE2B 365e98252d808b96d083451c92ad6d50243994966e2ad71dba0fc1dc83cacd50ce39a56938fa107d5abfa6df8be2d687898a9bb6183522972d8a2d16d0547709 SHA512 4f441872713930044f5e7f7df7dc51cd166bef314f5eaa6f414894af5fbdc417b7c62fea7a8b62f858eefb82e1a8fd821bf563789ed1f2f56cb721120ade6bde -DIST fldigi-4.2.03.tar.gz 4979861 BLAKE2B fdff1c211bb40acc570e3ec316a02772b4cb378b2983ae24fa4fea9486847c5a4453abb90ee7203fe07e2ea2c685c0ff3e41d68d186f3ec2e8de4397ce609675 SHA512 fc2c0ffe0df83870617e88f7d5ba797440f10a6f3bfa7eaf202c8c94cc4df0319ef5d7212e203998bec08cffcea4e83762ffcd726b28225779cc5666ce722edf +DIST fldigi-4.2.05.tar.gz 5127250 BLAKE2B 54a144e34da47c5379256c4ece67447815c29500331e29ccce884885daa96650d6ec098839eb97d13a641d8d0078a9656c9d443016a2acc98fbe7b78c98ca6f9 SHA512 46281e65dad24c57ea344182ed053ddea70281b1682d2fe6b40aa1f111c529328c7e1e4de86828ac265ed4523882d086f5213706159fc43b61f15989fdd9d407 diff --git a/media-radio/fldigi/fldigi-4.2.03.ebuild b/media-radio/fldigi/fldigi-4.2.05-r1.ebuild index 028d7b2b7e37..5ba583270456 100644 --- a/media-radio/fldigi/fldigi-4.2.03.ebuild +++ b/media-radio/fldigi/fldigi-4.2.05-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit flag-o-matic DESCRIPTION="Sound card based multimode software modem for Amateur Radio use" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" @@ -17,8 +17,10 @@ IUSE_CPU_FLAGS=" sse sse2 sse3" IUSE+=" ${IUSE_CPU_FLAGS// / cpu_flags_x86_}" RDEPEND="x11-libs/fltk:1[threads,xft] + x11-libs/libX11 + sys-apps/systemd-utils media-libs/libsamplerate - media-libs/libpng:0 + media-libs/libpng:= x11-misc/xdg-utils dev-perl/RPC-XML dev-perl/Term-ReadLine-Perl @@ -28,7 +30,7 @@ RDEPEND="x11-libs/fltk:1[threads,xft] ) hamlib? ( media-libs/hamlib:= ) pulseaudio? ( media-libs/libpulse ) - >=media-libs/libsndfile-1.0.10" + media-libs/libsndfile" DEPEND="${RDEPEND} nls? ( sys-devel/gettext ) virtual/pkgconfig" diff --git a/media-radio/fldigi/fldigi-4.2.00.ebuild b/media-radio/fldigi/fldigi-4.2.05.ebuild index 2bad503a47b3..aa2d0d47b2cd 100644 --- a/media-radio/fldigi/fldigi-4.2.00.ebuild +++ b/media-radio/fldigi/fldigi-4.2.05.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit flag-o-matic DESCRIPTION="Sound card based multimode software modem for Amateur Radio use" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/media-radio/fldigi/metadata.xml b/media-radio/fldigi/metadata.xml index 53fe1ec5edcd..b36fe08c9f02 100644 --- a/media-radio/fldigi/metadata.xml +++ b/media-radio/fldigi/metadata.xml @@ -5,6 +5,10 @@ <email>tomjbe@gentoo.org</email> <name>Thomas Beierlein</name> </maintainer> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> <use> <flag name="hamlib">Enables support by the Hamlib amateur radio rig control library to get/set frequency and mode of the diff --git a/media-radio/flmsg/flmsg-4.0.20.ebuild b/media-radio/flmsg/flmsg-4.0.20.ebuild index f37cf3ff232f..097720e0ab7b 100644 --- a/media-radio/flmsg/flmsg-4.0.20.ebuild +++ b/media-radio/flmsg/flmsg-4.0.20.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Fldigi helper for creating radiograms" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/media-radio/flmsg/flmsg-4.0.22.ebuild b/media-radio/flmsg/flmsg-4.0.22.ebuild index fa10c104dcc2..097720e0ab7b 100644 --- a/media-radio/flmsg/flmsg-4.0.22.ebuild +++ b/media-radio/flmsg/flmsg-4.0.22.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Fldigi helper for creating radiograms" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/media-radio/flmsg/flmsg-4.0.23.ebuild b/media-radio/flmsg/flmsg-4.0.23.ebuild index fa10c104dcc2..097720e0ab7b 100644 --- a/media-radio/flmsg/flmsg-4.0.23.ebuild +++ b/media-radio/flmsg/flmsg-4.0.23.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DESCRIPTION="Fldigi helper for creating radiograms" HOMEPAGE="http://www.w1hkj.com" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" diff --git a/media-radio/flrig/Manifest b/media-radio/flrig/Manifest index 7ecf9efba65b..56cc242c9d44 100644 --- a/media-radio/flrig/Manifest +++ b/media-radio/flrig/Manifest @@ -1,2 +1 @@ -DIST flrig-2.0.03.tar.gz 1107842 BLAKE2B 9421fb6b3e996119772de44cc5e4e8d308ab33cb03ab1d07faaf23db14a396df93dac137c8dc6c5c49ddf939f73530d6f2c0d1396c7bd8749ff7cbb951da277f SHA512 90543effff3e290f8a36c37ec1daecb1871fde857824b31366544f2526bd25e3db287058452acda99781274614e00eefb9d5f8d628c992e5cc9d71f4c36dca9b -DIST flrig-2.0.04.tar.gz 1108760 BLAKE2B 9ca60d182c5b94f17e8baefebc822792111954b3c11f03e5cabd570e60769804c9ec1153afd36a074f16e9880792d6b51b5545e59b988adffee912e7b6d2a8e5 SHA512 db1a4bb148900fb9e1a6feb44fd5a017d8aac1a2f81e577e78176c241adc39cf05378057bc97ad997581ed0d3d8a79f3ec726d1d194322b46d709df6e913c84f +DIST flrig-2.0.05.tar.gz 1112204 BLAKE2B 58cda5069546aee790bb819f9ac2713896281de283345fa6a84c466c67b5cce236c63dec41ad3a226849195fba982c4b69b4d5d386ffb0f4d8b14767ca9cc6bf SHA512 a06df0f8810212a1f614899be162e1d0373f29492bca26718b4385b8fba3be4293b95e366cb391fb938d40228bb5d091049414c7ae2104dbd7a0ddd2011dc88b diff --git a/media-radio/flrig/files/flrig-2.0.04-stdint.patch b/media-radio/flrig/files/flrig-2.0.04-stdint.patch new file mode 100644 index 000000000000..9acd6ffb4dbc --- /dev/null +++ b/media-radio/flrig/files/flrig-2.0.04-stdint.patch @@ -0,0 +1,13 @@ +# fix build with clang++ (bug #921405) +diff --git a/src/widgets/FreqControl.cxx b/src/widgets/FreqControl.cxx +index 2b1734b..e59dc9c 100644 +--- a/src/widgets/FreqControl.cxx ++++ b/src/widgets/FreqControl.cxx +@@ -35,6 +35,7 @@ + #endif + + #include <string.h> ++#include <stdint.h> + + #include "FreqControl.h" + #include "gettext.h" diff --git a/media-radio/flrig/files/flrig-1.4.4-musl.patch b/media-radio/flrig/files/flrig-2.0.05-musl.patch index 44c85a711828..737c893cf7a8 100644 --- a/media-radio/flrig/files/flrig-1.4.4-musl.patch +++ b/media-radio/flrig/files/flrig-2.0.05-musl.patch @@ -1,27 +1,31 @@ diff --git a/src/cmedia/cmedia.cxx b/src/cmedia/cmedia.cxx -index c65400f..efe83c5 100644 +index ba01f5d..0bd3c1c 100644 --- a/src/cmedia/cmedia.cxx +++ b/src/cmedia/cmedia.cxx -@@ -41,9 +41,6 @@ +@@ -41,11 +41,6 @@ #ifndef __WIN32__ #include <termios.h> #include <glob.h> -# ifndef __APPLE__ --# include <error.h> +-# ifndef __FreeBSD__ +-# include <error.h> +-# endif -# endif #endif #include "config.h" diff --git a/src/cmedia/tmate2.cxx b/src/cmedia/tmate2.cxx -index b209469..6408179 100644 +index 8a3e37a..cde0c76 100644 --- a/src/cmedia/tmate2.cxx +++ b/src/cmedia/tmate2.cxx -@@ -44,9 +44,6 @@ +@@ -44,11 +44,6 @@ #ifndef __WIN32__ #include <termios.h> #include <glob.h> -# ifndef __APPLE__ --# include <error.h> +-# ifndef __FreeBSD__ +-# include <error.h> +-# endif -# endif #endif diff --git a/media-radio/flrig/flrig-2.0.04.ebuild b/media-radio/flrig/flrig-2.0.04.ebuild deleted file mode 100644 index 32b20011b1a5..000000000000 --- a/media-radio/flrig/flrig-2.0.04.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic - -DESCRIPTION="Transceiver control program for Amateur Radio use" -HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -DOCS=(AUTHORS ChangeLog README) - -RDEPEND="x11-libs/libX11 - x11-libs/fltk:1 - x11-misc/xdg-utils" - -DEPEND="${RDEPEND} - sys-devel/gettext" - -PATCHES=( "${FILESDIR}/${PN}-1.4.4-musl.patch" ) - -src_prepare() { - eapply ${PATCHES[@]} - eapply_user -} - -src_configure() { - #fails to compile with -flto (bug #860408) - filter-lto - - econf -} diff --git a/media-radio/flrig/flrig-2.0.03.ebuild b/media-radio/flrig/flrig-2.0.05.ebuild index a07e501860cf..25bc5e2d23c2 100644 --- a/media-radio/flrig/flrig-2.0.03.ebuild +++ b/media-radio/flrig/flrig-2.0.05.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit flag-o-matic DESCRIPTION="Transceiver control program for Amateur Radio use" HOMEPAGE="http://www.w1hkj.com/flrig-help/index.html" -SRC_URI="mirror://sourceforge/fldigi/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/fldigi/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -23,7 +23,10 @@ RDEPEND="x11-libs/libX11 DEPEND="${RDEPEND} sys-devel/gettext" -PATCHES=( "${FILESDIR}/${PN}-1.4.4-musl.patch" ) +PATCHES=( + "${FILESDIR}/${PN}-2.0.05-musl.patch" + "${FILESDIR}/${PN}-2.0.04-stdint.patch" + ) src_prepare() { eapply ${PATCHES[@]} diff --git a/media-radio/gpredict/Manifest b/media-radio/gpredict/Manifest index a2caf4e561f8..91ae4a91c101 100644 --- a/media-radio/gpredict/Manifest +++ b/media-radio/gpredict/Manifest @@ -1 +1,2 @@ DIST gpredict-2.3.tar.gz 7742902 BLAKE2B 1ff567871838b062c59ab0076330a354afee082506044f5ce2ae1c7553e7f3462770f7134d13e3b603f7966476d13b365dd3575cc6c7e32d23865ba29b602cc9 SHA512 d7434aff482c943951a79cb607c91f118cfbde8209b4b370d0d2147766244fab2839b5c712864c2c521635f31c484ef2bfd3c771371e946f5a3561801ab474b5 +DIST gpredict-2.3_p20231224.tar.gz 7719540 BLAKE2B 3febc18a5e69075b8345b695f4286cefb5ee56ae14fee53ff0a3add729e7f03a42626b94bb51d09a8f792c7a8da46a697f0e9f98f6f5cd12a8080369bf2a131d SHA512 e4299eb1b23629f08945a6b0ddfac2d6e78d3588297db441d0440ef714c4daf044fbacfb071c3b9c7f66227053ec27ae94f770f73ee3b352f820c959e657bb6a diff --git a/media-radio/gpredict/gpredict-2.3-r1.ebuild b/media-radio/gpredict/gpredict-2.3-r1.ebuild deleted file mode 100644 index cb34c66c2bd0..000000000000 --- a/media-radio/gpredict/gpredict-2.3-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Real-time satellite tracking and orbit prediction application" -HOMEPAGE="http://gpredict.oz9aec.net" -SRC_URI="https://github.com/csete/gpredict/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -RDEPEND="dev-libs/glib:2 - x11-libs/gdk-pixbuf[jpeg] - x11-libs/gtk+:3 - x11-libs/goocanvas:2.0 - net-misc/curl" -DEPEND="${RDEPEND}" -BDEPEND="dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" - -DOCS=( AUTHORS NEWS README ) - -src_prepare() { - eapply_user - # remove wrong doc location - eapply "${FILESDIR}/${P}-doc.patch" - eapply "${FILESDIR}/${PN}-2.2.1-fno-common.patch" - - eautoreconf -} diff --git a/media-radio/gpredict/gpredict-2.3-r2.ebuild b/media-radio/gpredict/gpredict-2.3-r2.ebuild index cf8fa7dccbcf..10141246ae7e 100644 --- a/media-radio/gpredict/gpredict-2.3-r2.ebuild +++ b/media-radio/gpredict/gpredict-2.3-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,8 +11,7 @@ SRC_URI="https://github.com/csete/gpredict/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" +KEYWORDS="amd64 ppc x86" RDEPEND="dev-libs/glib:2 x11-libs/gdk-pixbuf[jpeg] diff --git a/media-radio/gpredict/gpredict-2.3_p20231224.ebuild b/media-radio/gpredict/gpredict-2.3_p20231224.ebuild new file mode 100644 index 000000000000..2d7252dff97a --- /dev/null +++ b/media-radio/gpredict/gpredict-2.3_p20231224.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Real-time satellite tracking and orbit prediction application" +HOMEPAGE="http://gpredict.oz9aec.net" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/csete/gpredict.git" +else + COMMIT="098e3768240c7f5a169930a2660a23c9f42b37d6" + SRC_URI="https://github.com/csete/gpredict/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~ppc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="dev-libs/glib:2 + x11-libs/gdk-pixbuf[jpeg] + x11-libs/gtk+:3 + x11-libs/goocanvas:2.0 + net-misc/curl" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +PATCHES=( + # remove wrong doc location + "${FILESDIR}/${PN}-2.3-doc.patch" + "${FILESDIR}/${PN}-2.3-gethostbyname.patch" +) + +src_prepare() { + default + # prepare Version info + if [[ ${PV} != "9999" ]]; then + echo "${PV}" > "${S}"/.tarball-version + fi + eautoreconf +} diff --git a/media-radio/gpredict/gpredict-9999.ebuild b/media-radio/gpredict/gpredict-9999.ebuild new file mode 100644 index 000000000000..2d7252dff97a --- /dev/null +++ b/media-radio/gpredict/gpredict-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Real-time satellite tracking and orbit prediction application" +HOMEPAGE="http://gpredict.oz9aec.net" + +if [[ ${PV} = "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/csete/gpredict.git" +else + COMMIT="098e3768240c7f5a169930a2660a23c9f42b37d6" + SRC_URI="https://github.com/csete/gpredict/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${PN}-${COMMIT}" + KEYWORDS="~amd64 ~ppc ~x86" +fi + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="dev-libs/glib:2 + x11-libs/gdk-pixbuf[jpeg] + x11-libs/gtk+:3 + x11-libs/goocanvas:2.0 + net-misc/curl" +DEPEND="${RDEPEND}" +BDEPEND="dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +DOCS=( AUTHORS NEWS README ) + +PATCHES=( + # remove wrong doc location + "${FILESDIR}/${PN}-2.3-doc.patch" + "${FILESDIR}/${PN}-2.3-gethostbyname.patch" +) + +src_prepare() { + default + # prepare Version info + if [[ ${PV} != "9999" ]]; then + echo "${PV}" > "${S}"/.tarball-version + fi + eautoreconf +} diff --git a/media-radio/gpredict/metadata.xml b/media-radio/gpredict/metadata.xml index 592e35a40185..4bf91d3a1a7f 100644 --- a/media-radio/gpredict/metadata.xml +++ b/media-radio/gpredict/metadata.xml @@ -7,5 +7,6 @@ </maintainer> <upstream> <remote-id type="sourceforge">gpredict</remote-id> + <remote-id type="github">csete/gpredict</remote-id> </upstream> </pkgmetadata> diff --git a/media-radio/grig/grig-0.8.1-r1.ebuild b/media-radio/grig/grig-0.8.1-r1.ebuild index f4a97bae6a70..04e2f3723d8c 100644 --- a/media-radio/grig/grig-0.8.1-r1.ebuild +++ b/media-radio/grig/grig-0.8.1-r1.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=7 @@ -7,12 +7,11 @@ inherit desktop DESCRIPTION="A tool for controlling amateur radios" HOMEPAGE="http://groundstation.sourceforge.net/grig/" -SRC_URI="mirror://sourceforge/groundstation/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/groundstation/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND=" dev-libs/glib:2 diff --git a/media-radio/js8call/js8call-2.2.0-r1.ebuild b/media-radio/js8call/js8call-2.2.0-r1.ebuild index 08a55170fb78..027d99bc6d41 100644 --- a/media-radio/js8call/js8call-2.2.0-r1.ebuild +++ b/media-radio/js8call/js8call-2.2.0-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake vcs-snapshot +inherit cmake flag-o-matic vcs-snapshot MY_P=${P/_/-} @@ -32,6 +32,16 @@ RDEPEND="dev-qt/qtcore:5 doc? ( dev-ruby/asciidoctor )" DEPEND="${RDEPEND}" +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/860411 + # + # Upstream is on bitbucket, no activity since 2020. + filter-lto + + cmake_src_configure +} + src_install() { cmake_src_install rm "${D}"/usr/bin/rigctl{,d}-local || die diff --git a/media-radio/kochmorse/metadata.xml b/media-radio/kochmorse/metadata.xml index baed555c7d9a..136b7868ebc4 100644 --- a/media-radio/kochmorse/metadata.xml +++ b/media-radio/kochmorse/metadata.xml @@ -1,10 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer type="person"> - <email>marecki@gentoo.org</email> - <name>Marek Szuba</name> - </maintainer> + <!-- maintainer-needed --> <longdescription> KochMorse is a simple morse-code tutor using the Koch method. It is written in C++ and uses Qt5 for the graphical user interface. diff --git a/media-radio/qsstv/qsstv-9.5.8-r1.ebuild b/media-radio/qsstv/qsstv-9.5.8-r1.ebuild index c8ebb84ca84e..ee5e9a6f443b 100644 --- a/media-radio/qsstv/qsstv-9.5.8-r1.ebuild +++ b/media-radio/qsstv/qsstv-9.5.8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,6 @@ SRC_URI="http://users.telenet.be/on4qz/qsstv/downloads/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" CDEPEND="dev-qt/qtcore:5 dev-qt/qtgui:5 diff --git a/media-radio/svxlink/Manifest b/media-radio/svxlink/Manifest index 37bcc24ce109..601e6c0d9b13 100644 --- a/media-radio/svxlink/Manifest +++ b/media-radio/svxlink/Manifest @@ -1 +1,2 @@ DIST svxlink-19.09.2.tar.gz 1730836 BLAKE2B 7fe8a1b018dba7837486dbed21242d8514a1f546b5eecbd2d2bfdf620d7e093cddbedab17f19d5f2cbd79c9a66825713c45a981335f0b526ba0946e764efc535 SHA512 f3c8b29953da3b2f61eba528a07152f40a2aca2efe511cb98637b1ef77fa676e506a3f4766edb81069f13333ddbae2d39f679874455b05286d3daf96a903e1c1 +DIST svxlink-24.02.tar.gz 1974323 BLAKE2B ca743d8356bdcde85bc560015ffa51f97f8fa1bcbbe6972f1789b68dbda33210cc2194f950b0ead57272963de67244bb57a6cbb546e3091215d288cdb6a16c2a SHA512 7bd8d9bf272922ec5d4b134ca1d5ee9cb1f9713c5cb9985aed5f63e601425bb6b6a17de026095c9cbb83797cf58228bcf05284c5a87384b4d019f6c27ac3e848 diff --git a/media-radio/svxlink/svxlink-19.09.2.ebuild b/media-radio/svxlink/svxlink-19.09.2.ebuild index 9deb6df6d74d..2e0f2c6624e1 100644 --- a/media-radio/svxlink/svxlink-19.09.2.ebuild +++ b/media-radio/svxlink/svxlink-19.09.2.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=7 @@ -16,7 +16,6 @@ SRC_URI="https://github.com/sm0svx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2 LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" DEPEND="dev-lang/tcl:0 dev-qt/qtcore:5 diff --git a/media-radio/svxlink/svxlink-24.02-r1.ebuild b/media-radio/svxlink/svxlink-24.02-r1.ebuild new file mode 100644 index 000000000000..b14c2baaa36a --- /dev/null +++ b/media-radio/svxlink/svxlink-24.02-r1.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake flag-o-matic systemd xdg-utils + +CMAKE_USE_DIR="${S}/src" + +DESCRIPTION="Multi Purpose Voice Services System, including Qtel for EchoLink" +HOMEPAGE="http://www.svxlink.org" +SRC_URI="https://github.com/sm0svx/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-lang/tcl:0 + dev-libs/jsoncpp + =dev-libs/libgpiod-1* + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + media-libs/alsa-lib + media-sound/gsm + dev-libs/libgcrypt:0 + media-libs/speex + media-libs/opus + dev-libs/libsigc++:2 + dev-libs/popt" +RDEPEND="${DEPEND} + acct-group/svxlink + acct-user/svxlink" +BDEPEND=" + dev-qt/linguist-tools:5 + virtual/pkgconfig" + +src_prepare() { + cmake_src_prepare + # drop deprecated desktop category (bug #475730) + sed -i -e "s:Categories=Application;:Categories=:g" src/qtel/qtel.desktop || die +} + +src_configure() { + # -Wodr warnings, see bug #860414 + filter-lto + + local mycmakeargs=( + -DSYSCONF_INSTALL_DIR=/etc + -DLOCAL_STATE_DIR=/var + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + fowners -R svxlink:svxlink /var/spool/svxlink + + doman src/doc/man/*.1 src/doc/man/*.5 + + insinto /etc/logrotate.d + doins distributions/gentoo/etc/logrotate.d/* + + newinitd "${FILESDIR}"/remotetrx.init remotetrx + newinitd "${FILESDIR}"/svxlink.init svxlink + newconfd "${FILESDIR}"/remotetrx.rc remotetrx + newconfd "${FILESDIR}"/svxlink.rc svxlink + + systemd_dounit "${FILESDIR}"/remotetrx.service + systemd_dounit "${FILESDIR}"/svxlink.service + + keepdir /var/spool/${PN}/propagation_monitor + keepdir /var/spool/${PN}/qso_recorder + keepdir /var/spool/${PN}/voice_mail +} + +pkg_postinst() { + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_icon_cache_update +} diff --git a/media-radio/tlf/tlf-1.4.1-r1.ebuild b/media-radio/tlf/tlf-1.4.1-r1.ebuild deleted file mode 100644 index 71731baea4a5..000000000000 --- a/media-radio/tlf/tlf-1.4.1-r1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit flag-o-matic - -DESCRIPTION="Console-mode amateur radio contest logger" -HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -RDEPEND="sys-libs/ncurses:= - dev-libs/glib:2 - media-libs/hamlib:= - media-sound/sox - dev-libs/xmlrpc-c[curl] - elibc_musl? ( sys-libs/argp-standalone )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" - -PATCHES=( "${FILESDIR}/${P}-zone_nr.patch" - "${FILESDIR}/${P}-musl.patch" - "${FILESDIR}/${P}-missing-include.patch" - ) - -src_prepare() { - if has_version '>=media-libs/hamlib-4.2' ; then - sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/sendqrg.c || die - fi - - eapply ${PATCHES[@]} - eapply_user -} - -src_configure() { - use elibc_musl && append-libs argp - append-ldflags -L/usr/$(get_libdir)/hamlib - filter-lto # bug # 876418 - econf --enable-fldigi-xmlrpc -} diff --git a/media-radio/tlf/tlf-1.4.1-r2.ebuild b/media-radio/tlf/tlf-1.4.1-r2.ebuild deleted file mode 100644 index 9e10989920d6..000000000000 --- a/media-radio/tlf/tlf-1.4.1-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools flag-o-matic - -DESCRIPTION="Console-mode amateur radio contest logger" -HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -RDEPEND="sys-libs/ncurses:= - dev-libs/glib:2 - media-libs/hamlib:= - media-sound/sox - dev-libs/xmlrpc-c[curl] - elibc_musl? ( sys-libs/argp-standalone )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" - -PATCHES=( "${FILESDIR}/${P}-zone_nr.patch" - "${FILESDIR}/${P}-musl.patch" - "${FILESDIR}/${P}-missing-include.patch" - ) - -# suppress warning wrt 'implicit function declaration' in config logs -# bug #899842 -QA_CONFIG_IMPL_DECL_SKIP=( - wget_wch # designed to check availability of various ncursesw - # header files - ) - -src_prepare() { - if has_version '>=media-libs/hamlib-4.2' ; then - sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/sendqrg.c || die - fi - - eapply ${PATCHES[@]} - eapply_user - eautoreconf -} - -src_configure() { - use elibc_musl && append-libs argp - append-ldflags -L/usr/$(get_libdir)/hamlib - filter-lto # bug # 876418 - econf --enable-fldigi-xmlrpc -} diff --git a/media-radio/tlf/tlf-1.4.1-r3.ebuild b/media-radio/tlf/tlf-1.4.1-r3.ebuild deleted file mode 100644 index 6458ed20c7d0..000000000000 --- a/media-radio/tlf/tlf-1.4.1-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit autotools flag-o-matic - -DESCRIPTION="Console-mode amateur radio contest logger" -HOMEPAGE="http://home.iae.nl/users/reinc/TLF-0.2.html" -SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RESTRICT="!test? ( test )" - -RDEPEND="sys-libs/ncurses:= - dev-libs/glib:2 - media-libs/hamlib:= - media-sound/sox - dev-libs/xmlrpc-c[curl] - elibc_musl? ( sys-libs/argp-standalone )" -DEPEND=" - ${RDEPEND} - test? ( dev-util/cmocka )" - -PATCHES=( "${FILESDIR}/${P}-zone_nr.patch" - "${FILESDIR}/${P}-musl.patch" - "${FILESDIR}/${P}-missing-include.patch" - "${FILESDIR}/${P}-prototypes.patch" - ) - -# suppress warning wrt 'implicit function declaration' in config logs -# bug #899842 -QA_CONFIG_IMPL_DECL_SKIP=( - wget_wch # designed to check availability of various ncursesw - # header files - ) - -src_prepare() { - if has_version '>=media-libs/hamlib-4.2' ; then - sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/sendqrg.c || die - fi - - eapply ${PATCHES[@]} - eapply_user - eautoreconf -} - -src_configure() { - use elibc_musl && append-libs argp - append-ldflags -L/usr/$(get_libdir)/hamlib - filter-lto # bug # 876418 - econf --enable-fldigi-xmlrpc -} diff --git a/media-radio/tlf/tlf-1.4.1-r4.ebuild b/media-radio/tlf/tlf-1.4.1-r4.ebuild index a0c1a639f712..d5219b5ae6c0 100644 --- a/media-radio/tlf/tlf-1.4.1-r4.ebuild +++ b/media-radio/tlf/tlf-1.4.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" @@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/media-radio/tqsl/Manifest b/media-radio/tqsl/Manifest index e471e1dbe381..870c1c637af0 100644 --- a/media-radio/tqsl/Manifest +++ b/media-radio/tqsl/Manifest @@ -1,2 +1,3 @@ DIST tqsl-2.6.4.tar.gz 3517633 BLAKE2B 9c43ba01186a1a2396b223a33797377735d48e020ddee879232f3bf4bcce9cbec89dfd71aea5422a353a3908f38ce9c3f3619725677612c911bf19278d1740fa SHA512 0a0f94ae95f91280ea03a35007bfa4e278f17a98496f4cfb25a841d2f519a92d7820e1a4f48394ba6caf1e99d4bcafdf4686a6b0f85ddc3640f936c58b907a1e DIST tqsl-2.6.5.tar.gz 3521069 BLAKE2B dd2d6e366b162a6de8b78d8bdde5efcde26cee0b5c934a0615cfbb9e77cf8bd2265c928c329543f6bbeeaee9608f8fa15ba8ac06edef2be805bf79abbd459555 SHA512 2a4602b827448756e033122c0359651a230fe3122f92ae3ce72c6ed6bb1b1fd6b15804676cca1fef19dd09df6548387772721cc64a4423d8a766b7d27a38e049 +DIST tqsl-2.7.3.tar.gz 3911547 BLAKE2B e32f9b18973f1c2445b97e050e4f2c838542cfb4a0312205d2d66cf6df4db5b1e110f62782138f36dd195f43cddc3f0fb32e1a464c0695849640d04a08306464 SHA512 302db650dc0f9fcd495fd1e7abe21dcfffc167d1686b276ae0fcbb53bf5eedbc91a797d1a79d8da5bb4384d937c6b66ad44a0355a00ff014de4257c0be84ef74 diff --git a/media-radio/tqsl/tqsl-2.7.3.ebuild b/media-radio/tqsl/tqsl-2.7.3.ebuild new file mode 100644 index 000000000000..03cd3caba5e0 --- /dev/null +++ b/media-radio/tqsl/tqsl-2.7.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.2-gtk3" +inherit cmake wxwidgets xdg + +DESCRIPTION="ARRL Logbook of the World" +HOMEPAGE="https://www.arrl.org/tqsl-download" +SRC_URI="https://www.arrl.org/${PN}/${P}.tar.gz" + +LICENSE="LOTW" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-db/sqlite:3= + dev-libs/expat:= + dev-libs/openssl:0= + net-misc/curl:= + sys-libs/zlib:= + x11-libs/wxGTK:${WX_GTK_VER}=" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS.txt INSTALL README ) +HTML_DOCS=( html/. ) + +src_configure() { + setup-wxwidgets + cmake_src_configure +} diff --git a/media-radio/tucnak/Manifest b/media-radio/tucnak/Manifest index 45d355c18823..820a08b43520 100644 --- a/media-radio/tucnak/Manifest +++ b/media-radio/tucnak/Manifest @@ -1,3 +1,2 @@ -DIST tucnak-4.46.tar.gz 3617927 BLAKE2B 090a962c686e0de83d41c4fb017caaf9482d2058909164a97db4eb7e4bfd4d8fe19e21cc750f31493e4bf64454fa8d03f65b55da58749257601dba64b1476c8e SHA512 9c33c9dd7061d0ab2cb696ccf121145ebc60e0f8b2a29152ec6e59155af186c20d101cce698d48b8d669f64c8ee4b88d57d1896b574e9e250853a2bc45029d06 -DIST tucnak-4.49.tar.gz 3619211 BLAKE2B 549399c2123ebd17f1164d431707b49a01159566be97b05b5f656a40c555d6c96b04a7d765db4ad94231f01b8d3af600a060104e42a87c60b6905eeba6cf8c8e SHA512 9c55b9a9048c95692d6cce7586c1b78a6237b02a43ad82ec771491f8463518f1e09e9f0be4db02b061b5aff518507a11bd6b0b7a038b90ff18ea1286accc3be4 -DIST tucnak-4.52.tar.gz 6684620 BLAKE2B c56949f61b8a0365deec0eab95d68067e5e8674164ad95f83c1b5cb84740af254f559c5158dc3aa8281353f4db2aee8163de1f92a08dc68487a8be0b00619e92 SHA512 bd20d94bc136e0078628b149f70e510027f9482fcdc881856ba13ed29a2c6be2e02c87c1d2fd2b670ecc347e1335378e5dd3aec5efa5db259b2730a13c10f019 +DIST tucnak-4.59.tar.gz 6822110 BLAKE2B ba6a9912886c8ac5a0506c0170232f7f441e10d3bff2a45309cf4b03a67465165438c2955d080d7dd2616c0404594d7af370f5ada13337d91d46c07713ddf1a2 SHA512 a66ae8aba0bab19c1ac4a68889a9134eb24ba01e4ae444eac96c6f6829a09d307884ed4b448b606e2c9fea21d2fe33df68f5cd982177fc8d2c4b366ee090cfaa +DIST tucnak-4.60.tar.gz 6823505 BLAKE2B 4c0bea1a3f179f0ee8fe0b652f42148171c73b6b558f44c7ded86bc9964d08a13004c490fa4f9337ff92bf2c685b37682212171a0331cb47667a32019cc26ada SHA512 37f2820d451dae83ffdfe52e8a1a8a7195cb518a831b8e2d9553387c504a7407cf15a70d7744a2ed88585f12638c1ae3e62f47914b232e5b20f8b07d3c2fac8c diff --git a/media-radio/tucnak/tucnak-4.49.ebuild b/media-radio/tucnak/tucnak-4.49.ebuild deleted file mode 100644 index 1f2cfa26c1bf..000000000000 --- a/media-radio/tucnak/tucnak-4.49.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools flag-o-matic - -DESCRIPTION="Amateur Radio VHF Contest Logbook" -HOMEPAGE="http://tucnak.nagano.cz" -SRC_URI="http://tucnak.nagano.cz/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="alsa fftw gpm hamlib suid" - -RDEPEND="dev-libs/glib:2 - ~dev-libs/libzia-4.49 - media-libs/libsndfile - media-libs/libsdl2 - alsa? ( media-libs/alsa-lib ) - fftw? ( sci-libs/fftw:3.0 ) - gpm? ( sys-libs/gpm ) - hamlib? ( media-libs/hamlib:= )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_prepare() { - eapply_user - # fix destop file - sed -i -e "s/HamRadio/HamRadio;/" share/applications/tucnak.desktop || die - # fix doc install path - sed -i -e "s/docsdir/# docsdir/" \ - -e "s/docs_DATA =/# docs_DATA/" \ - -e "s/EXTRA_DIST =/# EXTRA_DIST =/" Makefile.am doc/Makefile.am || die - eautoreconf -} - -src_configure() { - append-ldflags -L/usr/$(get_libdir)/hamlib - econf $(use_with alsa) \ - $(use_with gpm) $(use_with hamlib) \ - $(use_with fftw fftw3) -} - -src_install() { - emake DESTDIR="${D}" install - dodoc AUTHORS ChangeLog doc/NAVOD.pdf - if use suid ; then - fperms 4711 /usr/bin/soundwrapper - fi -} - -pkg_postinst() { - elog "In order to use sound with tucnak add yourself to the 'audio' group" - elog "and to key your rig via the parport add yourself to the 'lp' group" - elog "" - elog "tucnak can be used with the following additional packages:" - elog " media-radio/cwdaemon : Morse output via code cwdaemon" - elog " (No need to recompile)" - if use suid ; then - ewarn "You have choosen to install the little helper program 'soundwrapper'" - ewarn "setuid by setting USE=suid. That helper is only needed if you" - ewarn "want to use morse sidetone output via the PC speaker." - ewarn "" - ewarn "While the helper should be safe by design be aware that setting" - ewarn "any program setuid is a security risk." - fi -} diff --git a/media-radio/tucnak/tucnak-4.46.ebuild b/media-radio/tucnak/tucnak-4.59.ebuild index 6d9d8deef8bc..0edcaf0cf29c 100644 --- a/media-radio/tucnak/tucnak-4.46.ebuild +++ b/media-radio/tucnak/tucnak-4.59.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ KEYWORDS="amd64 x86" IUSE="alsa fftw gpm hamlib suid" RDEPEND="dev-libs/glib:2 - ~dev-libs/libzia-4.46 + ~dev-libs/libzia-4.59 media-libs/libsndfile media-libs/libsdl2 alsa? ( media-libs/alsa-lib ) diff --git a/media-radio/tucnak/tucnak-4.52.ebuild b/media-radio/tucnak/tucnak-4.60.ebuild index da01abd9c6d1..1fb016d217b3 100644 --- a/media-radio/tucnak/tucnak-4.52.ebuild +++ b/media-radio/tucnak/tucnak-4.60.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -14,7 +14,7 @@ KEYWORDS="~amd64 ~x86" IUSE="alsa fftw gpm hamlib suid" RDEPEND="dev-libs/glib:2 - ~dev-libs/libzia-4.52 + ~dev-libs/libzia-4.60 media-libs/libsndfile media-libs/libsdl2 alsa? ( media-libs/alsa-lib ) diff --git a/media-radio/unixcw/Manifest b/media-radio/unixcw/Manifest index 249376782961..91aa51d7c1fd 100644 --- a/media-radio/unixcw/Manifest +++ b/media-radio/unixcw/Manifest @@ -1,2 +1 @@ -DIST unixcw-3.6.0.tar.gz 870148 BLAKE2B 4eca3fe63ce7aec43e16ecca8120018e1bda6541f707ac9857db1f9dc6181a53ee24c7328f0a1f97a6aa1993600d68d9313e0567c12dfcf7a061837885aaefcb SHA512 17abdfaeb2b4e7459e1efd93f5f85a8ed89fde06e5b8d23d83c9f1c76888bc9048af1a8adc9c030f560e94e0dd0576b3a30bf040fece4d13e001d01734d6338b DIST unixcw-3.6.1.tar.gz 975795 BLAKE2B 5bc7822d216bef2ac452593c0e9dc537f2dfcd31f446c8795abc76d1d2ccfd4010a3b95982bc404ddc4c974456177e9f54bdefc169a14110bb503fd539025b07 SHA512 d91457b9b2247ce2be75773e2c37ca8b69c75c42c187ddfac5a9a8f4c9ad16acae3e4b0223e885bf7ae9c7201869581becd444f32c375ac521d2a712b7ddfb69 diff --git a/media-radio/unixcw/unixcw-3.6.0-r1.ebuild b/media-radio/unixcw/unixcw-3.6.0-r1.ebuild deleted file mode 100644 index 1e0dcd50c5dd..000000000000 --- a/media-radio/unixcw/unixcw-3.6.0-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools flag-o-matic - -DESCRIPTION="Collection of programs that fit together to form a morse code tutor program" -HOMEPAGE="https://unixcw.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha amd64 ppc x86" -IUSE="alsa ncurses pulseaudio suid test qt5" -RESTRICT="!test? ( test )" - -RDEPEND="ncurses? ( sys-libs/ncurses:= ) - qt5? ( dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 ) - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-libs/libpulse )" -DEPEND="${RDEPEND} - virtual/pkgconfig - sys-devel/libtool" - -src_prepare() { - append-cflags -std=gnu11 - append-cxxflags -std=gnu++11 - eapply -p0 "${FILESDIR}"/${PN}-3.6-tinfo.patch - # Bug# 837617 and 858278 - sed -i -e "s/curses, initscr/ncurses, initscr/" \ - -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die - eapply_user - eautoreconf -} - -src_configure() { - econf --libdir=/usr/$(get_libdir) \ - $(use_enable pulseaudio ) \ - $(use_enable alsa ) \ - $(use_enable ncurses cwcp ) \ - $(use_enable qt5 xcwcp ) \ - --disable-static -} - -src_install() { - emake DESTDIR="${D}" install - find "${D}" -name '*.la' -type f -delete || die - dodoc ChangeLog NEWS README - if ! use suid ; then - fperms 711 /usr/bin/cw - if use ncurses ; then - fperms 711 /usr/bin/cwcp - fi - if use qt5 ; then - fperms 711 /usr/bin/xcwcp - fi - fi -} - -pkg_postinst() { - if use suid ; then - ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid" - ewarn "by setting USE=suid." - ewarn "Be aware that this is a security risk and not recommended." - ewarn "" - ewarn "These files do only need root access if you want to use the" - ewarn "PC speaker for morse sidetone output. You can alternativly" - ewarn "drop USE=suid and use sudo." - else - elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if" - elog "you want to use the PC speaker for morse sidetone output." - elog "You can call the programs via sudo for that (see 'man sudo')." - fi -} diff --git a/media-radio/unixcw/unixcw-3.6.0-r2.ebuild b/media-radio/unixcw/unixcw-3.6.0-r2.ebuild deleted file mode 100644 index 031ad834bc32..000000000000 --- a/media-radio/unixcw/unixcw-3.6.0-r2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools flag-o-matic - -DESCRIPTION="Collection of programs that fit together to form a morse code tutor program" -HOMEPAGE="https://unixcw.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" -IUSE="alsa ncurses pulseaudio suid test qt5" -RESTRICT="!test? ( test )" - -RDEPEND="ncurses? ( sys-libs/ncurses:= ) - qt5? ( dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 ) - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-libs/libpulse )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig - sys-devel/libtool" - -src_prepare() { - append-cflags -std=gnu11 - append-cxxflags -std=gnu++11 - eapply -p0 "${FILESDIR}"/${PN}-3.6-tinfo.patch - # Bug# 837617 and 858278 - sed -i -e "s/curses, initscr/ncurses, initscr/" \ - -e "s/_curses_initscr/_ncurses_initscr/" configure.ac || die - eapply_user - eautoreconf -} - -src_configure() { - econf --libdir="${EPREFIX}/usr/$(get_libdir)" \ - $(use_enable pulseaudio ) \ - $(use_enable alsa ) \ - $(use_enable ncurses cwcp ) \ - $(use_enable qt5 xcwcp ) \ - --disable-static -} - -src_install() { - default - - if ! use suid ; then - fperms 711 /usr/bin/cw - if use ncurses ; then - fperms 711 /usr/bin/cwcp - fi - if use qt5 ; then - fperms 711 /usr/bin/xcwcp - fi - fi - - find "${D}" -name '*.la' -type f -delete || die -} - -pkg_postinst() { - if use suid ; then - ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid" - ewarn "by setting USE=suid." - ewarn "Be aware that this is a security risk and not recommended." - ewarn "" - ewarn "These files do only need root access if you want to use the" - ewarn "PC speaker for morse sidetone output. You can alternativly" - ewarn "drop USE=suid and use sudo." - else - elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if" - elog "you want to use the PC speaker for morse sidetone output." - elog "You can call the programs via sudo for that (see 'man sudo')." - fi -} diff --git a/media-radio/unixcw/unixcw-3.6.1.ebuild b/media-radio/unixcw/unixcw-3.6.1.ebuild index 031ad834bc32..b78454966504 100644 --- a/media-radio/unixcw/unixcw-3.6.1.ebuild +++ b/media-radio/unixcw/unixcw-3.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,11 +7,11 @@ inherit autotools flag-o-matic DESCRIPTION="Collection of programs that fit together to form a morse code tutor program" HOMEPAGE="https://unixcw.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" +KEYWORDS="~alpha amd64 ppc x86" IUSE="alsa ncurses pulseaudio suid test qt5" RESTRICT="!test? ( test )" @@ -23,7 +23,7 @@ RDEPEND="ncurses? ( sys-libs/ncurses:= ) pulseaudio? ( media-libs/libpulse )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig - sys-devel/libtool" + dev-build/libtool" src_prepare() { append-cflags -std=gnu11 diff --git a/media-radio/wsjtx/Manifest b/media-radio/wsjtx/Manifest index 5709ec122aaa..c534b146e1ac 100644 --- a/media-radio/wsjtx/Manifest +++ b/media-radio/wsjtx/Manifest @@ -1 +1,2 @@ DIST wsjtx-2.6.1.tgz 25624658 BLAKE2B 16181ea18611bf1bfaae78e4c5bf000d53cdb4401d1d07a7bd96a041c6da3bc385df71ddabb13a191fa32bd5579c7a330c2dff9a7b3e438222fd8a4ebb44412c SHA512 0f151c10b75798ab28a01604b08981f399d612135b7e9ddc3e66f9121fd49c97bb9508ce649e342791705ee5e1247f8e461a31afa871ddd46da1cf7fd5826c74 +DIST wsjtx-2.7.0-rc4.tgz 26111191 BLAKE2B 5cdbcf988209fbdad3e632cdea1535378ab69848308abc59b729a2ab3fc892319ce135b620ff8b531d9afc276c18cef65ca2560874190a57fc06990742bae16c SHA512 0960b48d83fcf1461217a15472530d04ad6276b9fe54ee33ac5ad7b32a2346e52fdfa72966c2263816066155b5ef9f1ff1a941704979f097501361c9fb379c1a diff --git a/media-radio/wsjtx/files/wsjtx-2.7.0_rc4-fix_NFFT.patch b/media-radio/wsjtx/files/wsjtx-2.7.0_rc4-fix_NFFT.patch new file mode 100644 index 000000000000..83b3c779de26 --- /dev/null +++ b/media-radio/wsjtx/files/wsjtx-2.7.0_rc4-fix_NFFT.patch @@ -0,0 +1,13 @@ +# See https://sourceforge.net/p/wsjt/mailman/message/58778025/ +diff --git a/qmap/libqmap/decode0.f90 b/qmap/libqmap/decode0.f90 +index 55a58dc..ed58cd2 100755 +--- a/qmap/libqmap/decode0.f90 ++++ b/qmap/libqmap/decode0.f90 +@@ -2,6 +2,7 @@ subroutine decode0(dd,ss,savg) +
+ use timer_module, only: timer
+ parameter (NSMAX=60*96000)
++ parameter (NFFT=32768)
+
+ real*4 dd(2,NSMAX),ss(400,NFFT),savg(NFFT)
+ real*8 fcenter
diff --git a/media-radio/wsjtx/wsjtx-2.6.1.ebuild b/media-radio/wsjtx/wsjtx-2.6.1.ebuild index 2ebdfa1289c1..f76edb2691f0 100644 --- a/media-radio/wsjtx/wsjtx-2.6.1.ebuild +++ b/media-radio/wsjtx/wsjtx-2.6.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit cmake edos2unix flag-o-matic DESCRIPTION="Weak signal ham radio communication" HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html" -SRC_URI="mirror://sourceforge/wsjt/${P}.tgz" +SRC_URI="https://downloads.sourceforge.net/wsjt/${P}.tgz" S=${WORKDIR}/wsjtx LICENSE="GPL-3" diff --git a/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild b/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild new file mode 100644 index 000000000000..12a363f40cbf --- /dev/null +++ b/media-radio/wsjtx/wsjtx-2.7.0_rc4.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edos2unix flag-o-matic + +MY_P=${P/_/-} + +DESCRIPTION="Weak signal ham radio communication" +HOMEPAGE="https://physics.princeton.edu//pulsar/K1JT/wsjtx.html" +SRC_URI="https://downloads.sourceforge.net/wsjt/${MY_P}.tgz" + +S=${WORKDIR}/wsjtx + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +RDEPEND=" + dev-libs/boost:=[nls,python] + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + dev-qt/qtconcurrent:5 + dev-qt/qtserialport:5 + dev-qt/qtsql:5 + dev-qt/qttest:5 + dev-qt/qtprintsupport:5 + virtual/libusb:1 + >=media-libs/hamlib-4.0:= + media-libs/portaudio + sci-libs/fftw:3.0[threads,fortran] + virtual/fortran + app-text/asciidoc + doc? ( dev-ruby/asciidoctor )" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools" + +PATCHES=( + "${FILESDIR}/${PN}-2.2.0-werror.patch" + "${FILESDIR}/${PN}-2.3.0-drop-docs.patch" + "${FILESDIR}/${PN}-clang.patch" + "${FILESDIR}/${P}-fix_NFFT.patch" +) + +DOCS=( AUTHORS BUGS NEWS README THANKS ) + +src_unpack() { + unpack ${A} + unpack "${WORKDIR}/${PN}-2.7.0/src/wsjtx.tgz" +} + +src_prepare() { + edos2unix "${S}/message_aggregator.desktop" + edos2unix "${S}/wsjtx.desktop" + edos2unix "${S}/CMakeLists.txt" + sed -i -e "s/COMMAND \${GZIP_EXECUTABLE}/# COMMAND/" \ + manpages/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # fails to compile with -flto (bug #860417) + filter-lto + + local mycmakeargs=( + -DWSJT_GENERATE_DOCS="$(usex doc)" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + ) + append-ldflags -no-pie + cmake_src_configure +} + +src_install() { + cmake_src_install + rm "${D}"/usr/bin/rigctl{,d,com}-wsjtx || die + rm "${D}"/usr/share/man/man1/rigctl{,d,com}-wsjtx.1 || die +} diff --git a/media-radio/xastir/Manifest b/media-radio/xastir/Manifest index eedf37811bbc..7289a2bfedba 100644 --- a/media-radio/xastir/Manifest +++ b/media-radio/xastir/Manifest @@ -1,2 +1 @@ -DIST xastir-2.1.8.tar.gz 2222586 BLAKE2B 4cd623c2db7a06c2499bf73a0df8c8f07b6a3072d177d370b76f54cb4caa4cf03f2b5c511149eaefc26f1aa7e8fe3a89e1c42e26a20066dd3337ad41dd5300b6 SHA512 361c92381b385035af160578dcfc4c800edcfabdbaebc5eda1c4fd9a78e934f289a54813577d5b765bbed6eae50cb772735defec6f489dc65326941d2492850d DIST xastir-2.2.0.tar.gz 2232411 BLAKE2B 901a22ee9db6f2c416807dd11f532975bbaf38314224327a43acff0d7164200456e373cefd852b4022187a6c0c4d2182c2088c12bac93d0fc6ed6771c957c11f SHA512 d420118e9118ff837d72f17e78563c7e9d39cfcaf05fe12cbf51b50ed36b9307e4b33b0e8a0d056c504a280683c6eb97637e9c4fec3bf1f0d920cb46f6e2cc0b diff --git a/media-radio/xastir/files/xastir-2.1.8-configure.diff b/media-radio/xastir/files/xastir-2.1.8-configure.diff deleted file mode 100644 index 0340f00e241e..000000000000 --- a/media-radio/xastir/files/xastir-2.1.8-configure.diff +++ /dev/null @@ -1,16 +0,0 @@ -# Fix implicit function declaration in configure.ac -# bug 899846 -diff --git a/configure.ac b/configure.ac -index 687bbe9..c137c80 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -646,7 +646,8 @@ fi - save_LDFLAGS="$LDFLAGS" - LDFLAGS="-Wl,--no-keep-memory $LDFLAGS" - AC_LINK_IFELSE( -- [AC_LANG_PROGRAM([[#include <sys/types.h>]], -+ [AC_LANG_PROGRAM([[#include <sys/types.h> -+ #include <stdlib.h>]], - [[/* Stupid useless test for linker flags */ - exit(0);]])], - [xa_cv_no_keep_memory=yes], diff --git a/media-radio/xastir/xastir-2.1.8-r3.ebuild b/media-radio/xastir/xastir-2.1.8-r3.ebuild deleted file mode 100644 index 01d7d4d56c52..000000000000 --- a/media-radio/xastir/xastir-2.1.8-r3.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools flag-o-matic toolchain-funcs - -MY_P=${PN/x/X}-Release-${PV} - -DESCRIPTION="X Amateur Station Tracking and Information Reporting" -HOMEPAGE="https://xastir.org/" -SRC_URI="https://github.com/Xastir/Xastir/archive/Release-${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="geotiff" - -DEPEND=">=x11-libs/motif-2.3:0 - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXpm - x11-apps/xfontsel - dev-libs/libpcre - net-misc/curl - sys-libs/db:= - sci-libs/shapelib - media-gfx/graphicsmagick:=[-q32] - geotiff? ( sci-libs/proj - sci-libs/libgeotiff:= - media-libs/tiff:= )" -RDEPEND="${DEPEND}" - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - eapply_user - - # fix script location (bug #407185) - eapply "${FILESDIR}"/${PN}-2.1.8-scripts.diff - - # do not filter duplicate flags (see bug #411095) - eapply -p0 "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff - - eautoreconf -} - -src_configure() { - # provide include path to GraphicsMagic for configure stage - append-cflags -I/usr/include/GraphicsMagick - econf \ - --with-shapelib \ - --without-ax25 \ - --without-festival \ - --without-gpsman \ - --without-imagemagick \ - --with-graphicsmagick \ - $(use_with geotiff libproj) \ - $(use_with geotiff) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - rm -rf "${D}"/usr/share/doc/${PN} - dodoc AUTHORS ChangeLog CONTRIBUTING.md FAQ README \ - README.Getting-Started README.MAPS README.OSM_maps -} - -pkg_postinst() { - elog "Kernel mode AX.25 and GPSman library not supported." - elog - elog "Remember you have to be root to add addditional scripts," - elog "maps and other configuration data under /usr/share/xastir." -} diff --git a/media-radio/xastir/xastir-2.1.8-r4.ebuild b/media-radio/xastir/xastir-2.1.8-r4.ebuild deleted file mode 100644 index 321686006d1b..000000000000 --- a/media-radio/xastir/xastir-2.1.8-r4.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit autotools flag-o-matic toolchain-funcs - -MY_P=${PN/x/X}-Release-${PV} - -DESCRIPTION="X Amateur Station Tracking and Information Reporting" -HOMEPAGE="https://xastir.org/" -SRC_URI="https://github.com/Xastir/Xastir/archive/Release-${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="geotiff" - -DEPEND=">=x11-libs/motif-2.3:0 - x11-libs/libXt - x11-libs/libX11 - x11-libs/libXpm - x11-apps/xfontsel - dev-libs/libpcre - net-misc/curl - sys-libs/db:= - sci-libs/shapelib - media-gfx/graphicsmagick:=[-q32] - geotiff? ( sci-libs/proj - sci-libs/libgeotiff:= - media-libs/tiff:= )" -RDEPEND="${DEPEND}" - -PATCHES=( "${FILESDIR}"/${PN}-2.1.8-configure.diff ) - -S="${WORKDIR}"/${MY_P} - -src_prepare() { - eapply_user - eapply ${PATCHES} - - # fix script location (bug #407185) - eapply "${FILESDIR}"/${PN}-2.1.8-scripts.diff - - # do not filter duplicate flags (see bug #411095) - eapply -p0 "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff - - eautoreconf -} - -src_configure() { - # provide include path to GraphicsMagic for configure stage - append-cflags -I/usr/include/GraphicsMagick - econf \ - --with-shapelib \ - --without-ax25 \ - --without-festival \ - --without-gpsman \ - --without-imagemagick \ - --with-graphicsmagick \ - $(use_with geotiff libproj) \ - $(use_with geotiff) -} - -src_compile() { - emake AR="$(tc-getAR)" -} - -src_install() { - emake DESTDIR="${D}" install - - rm -rf "${D}"/usr/share/doc/${PN} - dodoc AUTHORS ChangeLog CONTRIBUTING.md FAQ README \ - README.Getting-Started README.MAPS README.OSM_maps -} - -pkg_postinst() { - elog "Kernel mode AX.25 and GPSman library not supported." - elog - elog "Remember you have to be root to add addditional scripts," - elog "maps and other configuration data under /usr/share/xastir." -} diff --git a/media-radio/xastir/xastir-2.2.0.ebuild b/media-radio/xastir/xastir-2.2.0.ebuild index 9cf4649e7f13..59c2d308cdc3 100644 --- a/media-radio/xastir/xastir-2.2.0.ebuild +++ b/media-radio/xastir/xastir-2.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/Xastir/Xastir/archive/Release-${PV}.tar.gz LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" IUSE="geotiff" DEPEND=">=x11-libs/motif-2.3:0 diff --git a/media-radio/xdx/Manifest b/media-radio/xdx/Manifest index 96525a961f85..48a4e526f464 100644 --- a/media-radio/xdx/Manifest +++ b/media-radio/xdx/Manifest @@ -1,2 +1 @@ -DIST xdx-2.5.0.tar.gz 342548 BLAKE2B 58f0ab6740f77460d7fc6d19fa7d43a399de4a79d5647174491043eded515dc03e2fb97de8d10e5be16f5ff2b65dda96be78b5710e52c02d48ebcf23b575e6c4 SHA512 e03ac1fde04f921d33a7075a0f9ddc632336c2c4506e69c3e51386c25080c527eb7195729a89edb895308beff05e7544c93831ad03df6db376b9624063a2972a DIST xdx-2.91.tar.gz 346342 BLAKE2B 4f66801b5ad51bdee9daf9a0015f92ae9a1515ea8e2c8dc77d68163fb704e9e2390178b5d78f0277fb50588a41a329d63d58f1bb71ec3c2cc84db56da68abc66 SHA512 900837bd283085ff4183389a8f8d505a7208e3b0314deb3a2c674486c9e8cc09042e4d88d5956c6a6a8e67443eb1079ed40587476d4726416033fe83db8398a9 diff --git a/media-radio/xdx/files/xdx-2.5.0-fno-common.patch b/media-radio/xdx/files/xdx-2.5.0-fno-common.patch deleted file mode 100644 index a707d09b0a78..000000000000 --- a/media-radio/xdx/files/xdx-2.5.0-fno-common.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/src/gui.c b/src/gui.c -index a3af442..5298c11 100644 ---- a/src/gui.c -+++ b/src/gui.c -@@ -76,6 +76,7 @@ extern preferencestype preferences; - static void on_highcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data); - static void on_soundcheck_toggled(GtkToggleButton *togglebutton, gpointer user_data); - -+guitype *gui; - - /**********************************MAIN WINDOW********************************/ - guitype * -diff --git a/src/gui.h b/src/gui.h -index 77b442f..6ba406f 100644 ---- a/src/gui.h -+++ b/src/gui.h -@@ -53,7 +53,7 @@ typedef struct guitype { - gchar *high8tagname; - } guitype; - --guitype *gui; -+extern guitype *gui; - - guitype *new_gui(void); - void create_mainwindow(void); diff --git a/media-radio/xdx/xdx-2.5.0.ebuild b/media-radio/xdx/xdx-2.5.0.ebuild deleted file mode 100644 index 0078c84ed621..000000000000 --- a/media-radio/xdx/xdx-2.5.0.ebuild +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -DESCRIPTION="a GTK+ TCP/IP DX-cluster and ON4KST chat client" -HOMEPAGE="https://sourceforge.net/projects/xdxclusterclient" -SRC_URI="mirror://sourceforge/xdxclusterclient/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="nls" - -RDEPEND=">=x11-libs/gtk+-2.12:2" -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -PATCHES=( "${FILESDIR}/"${P}-fno-common.patch ) -DOCS=( AUTHORS ChangeLog NEWS README TODO ) - -src_configure() { - econf $(use_enable nls) -} - -src_install() { - emake DESTDIR="${D}" install - einstalldocs -} - -pkg_postinst() { - elog "To use the rig control feature, install media-libs/hamlib" - elog "and enable hamlib in the Preferences dialog. (no need for recompile)" -} diff --git a/media-radio/xdx/xdx-2.91.ebuild b/media-radio/xdx/xdx-2.91.ebuild index 1ded92afeb98..36c0eade9af5 100644 --- a/media-radio/xdx/xdx-2.91.ebuild +++ b/media-radio/xdx/xdx-2.91.ebuild @@ -1,15 +1,15 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="8" DESCRIPTION="a GTK+ TCP/IP DX-cluster and ON4KST chat client" HOMEPAGE="https://sourceforge.net/projects/xdxclusterclient" -SRC_URI="mirror://sourceforge/xdxclusterclient/${P}.tar.gz" +SRC_URI="https://downloads.sourceforge.net/xdxclusterclient/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="nls" RDEPEND="x11-libs/gtk+:3 diff --git a/media-radio/xlog/xlog-2.0.24.ebuild b/media-radio/xlog/xlog-2.0.24.ebuild index ea01d2109129..0acd2ca85fe3 100644 --- a/media-radio/xlog/xlog-2.0.24.ebuild +++ b/media-radio/xlog/xlog-2.0.24.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 @@ -13,7 +13,6 @@ SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" RDEPEND="media-libs/hamlib:= dev-libs/glib:2 |