Package Details: direwolf-git 1.7.dev.A.r140.g46f31d4-1

Git Clone URL: https://aur.archlinux.org/direwolf-git.git (read-only, click to copy)
Package Base: direwolf-git
Description: Software modem/TNC and APRS encoder/decoder
Upstream URL: https://github.com/wb2osz/direwolf
Keywords: aprs kiss modem packet radio soundmodem tnc
Licenses: GPL
Conflicts: direwolf
Provides: direwolf
Submitter: alexf91
Maintainer: alexf91
Last Packager: alexf91
Votes: 4
Popularity: 0.000000
First Submitted: 2017-03-09 20:31 (UTC)
Last Updated: 2024-01-08 16:40 (UTC)

Dependencies (5)

Required by (4)

Sources (3)

Pinned Comments

Latest Comments

1 2 Next › Last »

vtanger commented on 2023-12-04 13:18 (UTC) (edited on 2023-12-04 21:00 (UTC) by vtanger)

The 487.patch no longer is needed as it is fixed (included) in upstream since late september 2023.

Simply removing / commenting-out line 36 (git apply "${srcdir}"/487.patch) solves the build issue.

PKGBUILD should be updated accordingly and remove the patching.

nickb333 commented on 2023-10-03 20:28 (UTC)

Fails to build: error: patch failed: external/misc/CMakeLists.txt:32 error: external/misc/CMakeLists.txt: patch does not apply

ki5fty commented on 2023-09-27 02:42 (UTC)

Current version will not compile on Manjaro23. 487.patch fails to apply. Works if you comment out the patch:

prepare() { #patch --directory="$_pkgname" --forward --strip=1 --input="${srcdir}/gpsd-version.patch" cd "$_pkgname" #git apply "${srcdir}"/487.patch }

Levitating commented on 2023-09-13 15:59 (UTC)

https://github.com/wb2osz/direwolf/pull/487

Could this be added as a patch?

vtanger commented on 2023-01-31 11:21 (UTC) (edited on 2023-01-31 11:22 (UTC) by vtanger)

The patch is trying to patch against an old dwgpsd.c version.

As the patch only is affecting an API compatibility check, it can (as of now) be removed from PKGBUILD - then the buildprocess runs through without problems.

For this comment out from PKGBUILD

  # prepare() {
  #    patch --directory="$_pkgname" --forward --strip=1 --input="${srcdir}/gpsd-version.patch"
  # }

df8oe commented on 2023-01-16 08:41 (UTC)

Does not build since today:

==> Beginne prepare()...
patching file src/dwgpsd.c
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving rejects to file src/dwgpsd.c.rej
==> FEHLER: Ein Fehler geschah in prepare().
Breche ab...
-> Fehler beim Erstellen: direwolf-git

nickoe commented on 2022-10-19 21:17 (UTC)

@alexf91, I currently (085ff29eb985) get this error when building this package.

install: cannot stat '../direwolf.service': No such file or directory

Given you already do cd to the srcdir and the local sources are put there you don't need the prefixed ../ -- at least as far as I can tell.

feixm commented on 2022-08-31 19:01 (UTC)

I successfully tested that gpsd nor hamlib are actually needed to compile the package and use if you don't need any GPS and PPT functionality (ie. you are willing to rely on VOX with all those downsides of it). Therefore both gpsd and hamlib should be moved to optdepends.

ra1nb0w commented on 2022-07-25 06:18 (UTC)

patch for the latest version with gpsd fix

From b1e7972cda4c76b2d9149ac75921281d88ff77a6 Mon Sep 17 00:00:00 2001
From: Davide Gerhard <rainbow@irh.it>
Date: Mon, 25 Jul 2022 08:14:57 +0200
Subject: [PATCH] update commit to 1.7.dev.A.r53.g30869c7

- fix gpsd api build
---
 PKGBUILD           | 14 ++++++++------
 src_dwgpsd.c.patch | 13 +++++++++++++
 2 files changed, 21 insertions(+), 6 deletions(-)
 create mode 100644 src_dwgpsd.c.patch

diff --git a/PKGBUILD b/PKGBUILD
index b9f4957..f14c3c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alexander Fasching <fasching.a91@gmail.com>
 pkgname=direwolf-git
 _pkgname=direwolf
-pkgver=1.5.beta4.r136.g909b703
+pkgver=1.7.dev.A.r53.g30869c7
 pkgrel=1
 pkgdesc="Software modem/TNC and APRS encoder/decoder"
 arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
@@ -13,13 +13,16 @@ provides=('direwolf')
 conflicts=('direwolf')
 source=('git+https://github.com/wb2osz/direwolf.git#branch=dev'
         'direwolf.service'
-        'direwolf-kiss.service')
+        'direwolf-kiss.service'
+        'src_dwgpsd.c.patch')
 sha1sums=('SKIP'
           '66366c7a4e8d3768013f9036f2681a86d4b8ad88'
-          'eea3a3fb334645cd8a1e2604dc6c6b024148722a')
+          'eea3a3fb334645cd8a1e2604dc6c6b024148722a'
+          'b63722f7acdc747260c0b30afeeeab1623156443')
 sha256sums=('SKIP'
             'a1efe2bb96470bc52faa747708b195a685dc454f3d9c91f6bf4d39ab94d3608a'
-            '2a2e4acc769a20afebdfdcd21640fd17b0c4217ceb7ecb3378f9ee5c45fadc68')
+            '2a2e4acc769a20afebdfdcd21640fd17b0c4217ceb7ecb3378f9ee5c45fadc68'
+            'a7e09be8c5c25bf016be65e2a15d9fe295b27e0aa5ffdba7e6a9c8ec647ee5ef')

 pkgver() {
     cd "$_pkgname"
@@ -27,8 +30,7 @@ pkgver() {
 }

 prepare() {
-    cd "$_pkgname"
-    # Currently no patches necessary.
+    patch --directory="$_pkgname" --forward --strip=1 --input="${srcdir}/src_dwgpsd.c.patch"
 }

 build() {
diff --git a/src_dwgpsd.c.patch b/src_dwgpsd.c.patch
new file mode 100644
index 0000000..3d879ee
--- /dev/null
+++ b/src_dwgpsd.c.patch
@@ -0,0 +1,13 @@
+diff --git a/src/dwgpsd.c b/src/dwgpsd.c
+index cc2f801..f5a8e6c 100644
+--- a/src/dwgpsd.c
++++ b/src/dwgpsd.c
+@@ -64,7 +64,7 @@
+ // 3.22               28              11      bullseye
+ // 3.23               29              12
+
+-#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 12
++#if GPSD_API_MAJOR_VERSION < 5 || GPSD_API_MAJOR_VERSION > 15
+ #error libgps API version might be incompatible.
+ #endif
+
--
2.37.1

df8oe commented on 2022-07-04 06:29 (UTC)

1) Please add "aarch64" architecture. I can confirm that it builds and runs fine on this architecture

2) There is a problem because of new gps-libraries. dwgpsd.c must be modified from
GPSD_API_MAJOR_VERSION > 12 to GPSD_API_MAJOR_VERSION > 15. I can confirm that direwolf is working without issues with newer gps libraries.