[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: f569dcd2cdca1475f1e848647fd02cd48b9b192c
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:12:14 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:12:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f569dcd2

media-radio/direwolf: drop unused toolchain-funcs from 1.6

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

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 7058a03085ab..63c6a5df5b64 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit cmake systemd udev toolchain-funcs
+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";



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-11-25 Thread Sam James
commit: a1e5b065479506a6dd73ab867864b063a937310b
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 07:46:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 07:46:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e5b065

media-radio/direwolf: alsa isn't optional

Closes: https://bugs.gentoo.org/827370
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 63c6a5df5b64..39412b6150f1 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -12,11 +12,11 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="GPL-2 BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="alsa gps hamlib test udev"
+IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
-   alsa? ( media-libs/alsa-lib )
+   media-libs/alsa-lib
gps? ( sci-geosciences/gpsd )
hamlib? ( media-libs/hamlib:= )
udev? ( virtual/libudev:= )
@@ -29,7 +29,6 @@ PATCHES=(
 
 src_configure() {
local mycmakeargs=(
-   -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=$(usex !alsa)
-DCMAKE_DISABLE_FIND_PACKAGE_GPSD=$(usex !gps)
-DCMAKE_DISABLE_FIND_PACKAGE_hamlib=$(usex !hamlib)
-DCMAKE_DISABLE_FIND_PACKAGE_udev=$(usex !udev)



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-17 Thread Arthur Zamarin
commit: f80f251459ea109066898abbbffafc438e44dad4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:34 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80f2514

media-radio/direwolf: Keyword 1.6 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index de0f9baf6b70..f2ac5af39c9d 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-19 Thread Sam James
commit: 456cf7efc787e96da1b1bbe650dea9aa17fdfaf7
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 20:58:49 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 21:23:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=456cf7ef

media-radio/direwolf: pass PKG_CONFIG to make

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

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 6 +-
 media-radio/direwolf/direwolf-1.5.ebuild| 6 +-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index fbf5fe96c01..ee2fa3ecbbd 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
index 6b6730555d7..5cb4b02481d 100644
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+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";
@@ -46,6 +46,10 @@ src_prepare() {
fi
 }
 
+src_compile() {
+   emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
 src_install() {
dodir /usr
dodir /usr/bin



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-04-22 Thread Richard Freeman
commit: 5c4bf3475b2561e946e5ed4b38eb5665ba497420
Author: Richard Freeman  gentoo  org>
AuthorDate: Thu Apr 22 19:08:13 2021 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Thu Apr 22 19:08:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4bf347

media-radio/direwolf: remove old revision

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/direwolf-1.5.ebuild | 63 
 1 file changed, 63 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
deleted file mode 100644
index 5cb4b02481d..000
--- a/media-radio/direwolf/direwolf-1.5.ebuild
+++ /dev/null
@@ -1,63 +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_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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2021-03-15 Thread Thomas Beierlein
commit: 2ee26fd2c2fe133a3947ab55c1c3517e11e37642
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Mar 15 17:47:34 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Mar 15 17:49:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ee26fd2

media-radio/direwolf: Add subslot dependency for media-libs/hamlib

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild | 59 +
 1 file changed, 59 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
new file mode 100644
index 000..1bc1ce3d60e
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Arthur Zamarin
commit: 61a4974f0be18badb23a90dace19301e1a53e60a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a4974f

media-radio/direwolf: Keyword 1.6 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index 39412b6150f1..c31f766d2c3a 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2022-04-12 Thread Jakov Smolić
commit: 9c8713e84195f3958d86e9639fda3151f212a282
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:49 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8713e8

media-radio/direwolf: Keyword 1.6 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-radio/direwolf/direwolf-1.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
index c31f766d2c3a..de0f9baf6b70 100644
--- a/media-radio/direwolf/direwolf-1.6.ebuild
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/wb2osz/direwolf/archive/${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
 IUSE="gps hamlib test udev"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2024-01-30 Thread Rick Farina
commit: 9be773f2c58f46c9660336d268ec279fe16acf41
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Jan 30 19:14:43 2024 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Jan 30 19:15:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be773f2

media-radio/direwolf: drop 1.5-r1

Signed-off-by: Rick Farina  gentoo.org>

 media-radio/direwolf/Manifest   |  1 -
 media-radio/direwolf/direwolf-1.5-r1.ebuild | 67 -
 2 files changed, 68 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index e59d517342c4..06cfc4c3eab3 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,3 +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..
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2024-01-30 Thread Rick Farina
commit: ab4ec3c5fc20dcbc5b674ca6150440e374d16afe
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Jan 30 19:14:10 2024 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Jan 30 19:15:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab4ec3c5

media-radio/direwolf: update maintainers

Signed-off-by: Rick Farina  gentoo.org>

 media-radio/direwolf/metadata.xml | 4 
 1 file changed, 4 insertions(+)

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 @@

ri...@gentoo.org

+   
+   ra...@gentoo.org
+   Radio
+   

Enables support by the Hamlib amateur radio 
rig control library




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/

2024-01-30 Thread Rick Farina
commit: ac50783f3bb87e5c63c8610f75d54e248eecd607
Author: Rick Farina  gentoo  org>
AuthorDate: Tue Jan 30 19:11:28 2024 +
Commit: Rick Farina  gentoo  org>
CommitDate: Tue Jan 30 19:15:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac50783f

media-radio/direwolf: add 1.7

Signed-off-by: Rick Farina  gentoo.org>
Closes: https://bugs.gentoo.org/847652
Closes: https://bugs.gentoo.org/716708

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.7.ebuild | 72 
 2 files changed, 73 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 2fd9f36b0d21..e59d517342c4 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1,3 @@
 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.7.ebuild 
b/media-radio/direwolf/direwolf-1.7.ebuild
new file mode 100644
index ..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
+}



[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/

2024-02-17 Thread David Seifert
commit: 7c546f8de26a00974bad9f5c08d1f2182bab86ae
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Feb 17 14:35:19 2024 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb 17 14:35:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c546f8d

media-radio/direwolf: remove unused patches

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: David Seifert  gentoo.org>

 media-radio/direwolf/files/1.5-makefile.patch  | 295 -
 .../direwolf/files/direwolf-1.5-respect-AR.patch   |  22 --
 .../files/direwolf-1.5-respect-LDFLAGS.patch   |  22 --
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 ---
 4 files changed, 552 deletions(-)

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..
--- 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

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-04-19 Thread Sam James
commit: 1da1e6bc9c2a5f124b5f908044736e02e06caf0c
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:43:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1da1e6bc

media-radio/direwolf: drop 1.4 (epatch)

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

 media-radio/direwolf/Manifest |  1 -
 media-radio/direwolf/direwolf-1.4.ebuild  | 39 
 media-radio/direwolf/files/1.4-makefile.patch | 89 ---
 3 files changed, 129 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 04bed6f619c..20566d786ae 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1,2 +1 @@
-DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
deleted file mode 100644
index abc8b2f7df5..000
--- a/media-radio/direwolf/direwolf-1.4.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch systemd
-
-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=""
-
-RDEPEND="media-libs/alsa-lib:="
-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_user
-   epatch "${FILESDIR}/${PV}-makefile.patch"
-}
-
-src_install() {
-   dodir /usr
-   dodir /usr/bin
-   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
deleted file mode 100644
index 6424d8a72cc..000
--- a/media-radio/direwolf/files/1.4-makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
 direwolf-1.4-orig/Makefile.linux
-+++ direwolf-1.4/Makefile.linux
-@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
- # This is a step in the right direction but not sufficient to use /usr 
instead.
- # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
- 
--INSTALLDIR := /usr/local
-+DESTDIR ?= /usr/local
-+INSTALLDIR ?= $(DESTDIR)usr/
- 
- # Command to "install" to system directories.  Use "ginstall" for Mac.
- 
--INSTALL=install
-+INSTALL=install 
- 
- # direwolf.desktop was previously handcrafted for the Raspberry Pi.
- # It was hardcoded with lxterminal, /home/pi, and so on.
-@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
- #
- # Misc. data such as "tocall" to system mapping.
- #
--  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
--  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
--  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
--  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
--  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
-+  $(INSTALL) -D --mode=644 tocalls.txt 
$(INSTALLDIR)/share/direwolf/tocalls.txt
-+  $(INSTALL) -D --mode=644 symbols-new.txt 
$(INSTALLDIR)/share/direwolf/symbols-new.txt
-+  $(INS

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2020-10-23 Thread Richard Freeman
commit: 851cb3b5ceb043715584d238e84b9fd69f7356c3
Author: Jannis Achstetter  kripserver  net>
AuthorDate: Sun Sep 13 14:42:05 2020 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Oct 23 19:52:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851cb3b5

media-radio/direwolf: Bump to v1.5

Closes: https://bugs.gentoo.org/681666
Closes: https://bugs.gentoo.org/705100
Closes: https://bugs.gentoo.org/724720
Closes: https://bugs.gentoo.org/727636
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Jannis Achstetter  kripserver.net>
Closes: https://github.com/gentoo/gentoo/pull/17530
Signed-off-by: Richard Freeman  gentoo.org>

 media-radio/direwolf/Manifest  |   1 +
 media-radio/direwolf/direwolf-1.5.ebuild   |  59 +
 media-radio/direwolf/files/1.5-makefile.patch  | 295 +
 .../direwolf/files/direwolf-gpsd-API-9.patch   | 213 +++
 media-radio/direwolf/metadata.xml  |  12 +-
 5 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 53191833547..04bed6f619c 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3
+DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5

diff --git a/media-radio/direwolf/direwolf-1.5.ebuild 
b/media-radio/direwolf/direwolf-1.5.ebuild
new file mode 100644
index 000..deaf27c9ab1
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.5.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils systemd
+
+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_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_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/files/1.5-makefile.patch 
b/media-radio/direwolf/files/1.5-makefile.patch
new file mode 100644
index 000..860d57811aa
--- /dev/null
+++ b/media-radio/direwolf/files/1.5-makefile.patch
@@ -0,0 +1,295 @@
+--- direwolf-1.5/Makefile.linux.orig   2020-09-13 16:24:04.878630130 +0200
 direwolf-1.5/Makefile.linux2020-09-13 16:30:13.744462027 +0200
+@@ -13,7 +13,7 @@
+   @echo "sudo make install"
+   @echo " "
+ 
+-CC := gcc
++#CC := gcc
+ 
+ # Just for fun

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2017-12-22 Thread Richard Freeman
commit: a22a196dc8261afc91f6b8b397e2ba48a3f56981
Author: Richard Freeman  gentoo  org>
AuthorDate: Fri Dec 22 13:22:37 2017 +
Commit: Richard Freeman  gentoo  org>
CommitDate: Fri Dec 22 13:22:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a22a196d

media-radio/direwolf: introduce package from rich0 overlay

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 media-radio/direwolf/Manifest|  1 +
 media-radio/direwolf/direwolf-1.4.ebuild | 39 +++
 media-radio/direwolf/files/1.4-makefile.patch| 89 
 media-radio/direwolf/files/direwolf-kiss.service | 10 +++
 media-radio/direwolf/files/direwolf.service  | 10 +++
 media-radio/direwolf/metadata.xml|  8 +++
 6 files changed, 157 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
new file mode 100644
index 000..53191833547
--- /dev/null
+++ b/media-radio/direwolf/Manifest
@@ -0,0 +1 @@
+DIST direwolf-1.4.tar.gz 17554878 BLAKE2B 
a8eea6777df93d66d67c993c23eba86f37ff1e23d95df842b17be1a9a0b83c4bb0b7b14b97f43a1756512d060e50136712d1d9d499b2567eabbe1092a2f5edf0
 SHA512 
597b0652e910642d5a3c538297e4306f9317c29b3629e7fd96cc33b92b2f09d743cea8b8a0cc6451347dc0877fcf1f3933a420ae58e33ad7be7d899f80036eb3

diff --git a/media-radio/direwolf/direwolf-1.4.ebuild 
b/media-radio/direwolf/direwolf-1.4.ebuild
new file mode 100644
index 000..04a0995bbf2
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils systemd
+
+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=""
+
+RDEPEND="media-libs/alsa-lib:="
+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_user
+   epatch "${FILESDIR}/${PV}-makefile.patch"
+}
+
+src_install() {
+   dodir /usr
+   dodir /usr/bin
+   dodir /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/files/1.4-makefile.patch 
b/media-radio/direwolf/files/1.4-makefile.patch
new file mode 100644
index 000..6424d8a72cc
--- /dev/null
+++ b/media-radio/direwolf/files/1.4-makefile.patch
@@ -0,0 +1,89 @@
+--- direwolf-1.4-orig/Makefile.linux
 direwolf-1.4/Makefile.linux
+@@ -484,11 +484,12 @@ direwolf.conf : generic.conf
+ # This is a step in the right direction but not sufficient to use /usr 
instead.
+ # Eventually I'd like to have targets here to build the .DEB and .RPM 
packages.
+ 
+-INSTALLDIR := /usr/local
++DESTDIR ?= /usr/local
++INSTALLDIR ?= $(DESTDIR)usr/
+ 
+ # Command to "install" to system directories.  Use "ginstall" for Mac.
+ 
+-INSTALL=install
++INSTALL=install 
+ 
+ # direwolf.desktop was previously handcrafted for the Raspberry Pi.
+ # It was hardcoded with lxterminal, /home/pi, and so on.
+@@ -554,56 +555,37 @@ install : $(APPS) direwolf.conf tocalls.txt 
symbols-new.txt symbolsX.txt dw-icon
+ #
+ # Misc. data such as "tocall" to system mapping.
+ #
+-  $(INSTALL) -D --mode=644 tocalls.txt /usr/share/direwolf/tocalls.txt
+-  $(INSTALL) -D --mode=644 symbols-new.txt 
/usr/share/direwolf/symbols-new.txt
+-  $(INSTALL) -D --mode=644 symbolsX.txt /usr/share/direwolf/symbolsX.txt
+-  $(INSTALL) -D --mode=644 dw-icon.png /usr/share/direwolf/dw-icon.png
+-  $(INSTALL) -D --mode=644 direwolf.desktop 
/usr/share/applications/direwolf.desktop
++  $(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
++  $(INSTALL) -D --m

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/, media-radio/direwolf/files/

2021-11-25 Thread Sam James
commit: f2451003826e4c1a4807484544e513883ad61810
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 05:05:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2451003

media-radio/direwolf: add 1.6

Upstream now uses CMake.

Bug: https://bugs.gentoo.org/716708
Closes: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/808513
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/Manifest  |  1 +
 media-radio/direwolf/direwolf-1.6.ebuild   | 67 ++
 .../files/direwolf-1.6-use-standard-doc-dir.patch  | 50 
 3 files changed, 118 insertions(+)

diff --git a/media-radio/direwolf/Manifest b/media-radio/direwolf/Manifest
index 20566d786ae1..2fd9f36b0d21 100644
--- a/media-radio/direwolf/Manifest
+++ b/media-radio/direwolf/Manifest
@@ -1 +1,2 @@
 DIST direwolf-1.5.tar.gz 17996557 BLAKE2B 
6860075b764248f1e0ff06e2a533e2e31f65851ea45d74fb0aca11827940c6df0a8bab4b6b78aa98847ee54b2b344d3c5fc8da6947f9113d2fac6d3ea427d68b
 SHA512 
c23e2ccebd47235f76a9583e14cf8e8df299b8f7456a6388534536e7b1114b3d9b9efee43da2c1708e01a0b9534db0ed93314368e20e9002bfcd5b3a2855d8a5
+DIST direwolf-1.6.tar.gz 22298168 BLAKE2B 
d0bffe78ecfdd7b41e4e2d458416e30e9151870d6890c3e4f65e44472699f0c1e1016fcbab5c30209978594ccaf567a8d53ae62194649e9df5cca4d4ea4689af
 SHA512 
f29805dfea01ed5a81b133ac0a98455c2edfb6d18e0764db23c398475b11cc0e57c1c7c35c44cdaa5cf73129e8c18b836ad17dd3e9811e84277db0ef7b10bcd5

diff --git a/media-radio/direwolf/direwolf-1.6.ebuild 
b/media-radio/direwolf/direwolf-1.6.ebuild
new file mode 100644
index ..7058a03085ab
--- /dev/null
+++ b/media-radio/direwolf/direwolf-1.6.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake systemd udev 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="alsa gps hamlib test udev"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   alsa? ( 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_ALSA=$(usex !alsa)
+   -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() {
+   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
+}

diff --git a/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch 
b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
new file mode 100644
index ..1377ba0b4fab
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.6-use-standard-doc-dir.patch
@@ -0,0 +1,50 @@
+From bfb62c085b0841818a5aaa0d2096c0d26f409553 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 26 Nov 2021 04:57:44 +
+Subject: [PATCH] Use standard doc directory (a la GNUInstallDirs)
+
+Signed-off-by: Sam James 
+---
+ CMakeLists.txt | 12 
+ 1 file changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 139cb4d..e5da77c 100644
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -233,16 +233,12 @@ if (WIN32 OR CYGWIN)
+   set(INSTALL_MAN_DIR "man")
+   set(INSTALL_DATA_DIR "data")
+ else()
+-  set(INSTALL_BIN_DIR "bin")
+-  set(INSTALL_DOC_DIR "share/doc/${CMAKE_PROJECT_NAME}")
++  set(INSTALL_BIN_DIR "${CMAKE_INSTALL_BINDIR}")
++  set(INSTALL_DOC_DIR "${CMAKE_INSTALL_DOCDIR}")
+   set(INSTALL_CONF_DIR "${INSTALL_DOC_DIR}

[gentoo-commits] repo/gentoo:master commit in: media-radio/direwolf/files/, media-radio/direwolf/

2021-11-25 Thread Sam James
commit: 413d7d28cfa04ff1d59688563ffeb432b7e5d381
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 26 04:46:55 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 26 05:11:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=413d7d28

media-radio/direwolf: respect AR, CC, and LDFLAGS

Bug: https://bugs.gentoo.org/807664
Closes: https://bugs.gentoo.org/750911
Closes: https://bugs.gentoo.org/750914
Closes: https://bugs.gentoo.org/750935
Signed-off-by: Sam James  gentoo.org>

 media-radio/direwolf/direwolf-1.5-r1.ebuild|  4 
 .../direwolf/files/direwolf-1.5-respect-AR.patch   | 22 ++
 .../files/direwolf-1.5-respect-LDFLAGS.patch   | 22 ++
 3 files changed, 48 insertions(+)

diff --git a/media-radio/direwolf/direwolf-1.5-r1.ebuild 
b/media-radio/direwolf/direwolf-1.5-r1.ebuild
index ee2fa3ecbbd6..deef4a8a736a 100644
--- a/media-radio/direwolf/direwolf-1.5-r1.ebuild
+++ b/media-radio/direwolf/direwolf-1.5-r1.ebuild
@@ -30,6 +30,8 @@ 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
 
@@ -47,6 +49,8 @@ src_prepare() {
 }
 
 src_compile() {
+   tc-export AR CC
+
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 

diff --git a/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch 
b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
new file mode 100644
index ..1a833cc06ba8
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-AR.patch
@@ -0,0 +1,22 @@
+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
new file mode 100644
index ..38dddcc281fd
--- /dev/null
+++ b/media-radio/direwolf/files/direwolf-1.5-respect-LDFLAGS.patch
@@ -0,0 +1,22 @@
+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  




  1   2   >