Package Details: qodem 1.0.1-1

Git Clone URL: https://aur.archlinux.org/qodem.git (read-only, click to copy)
Package Base: qodem
Description: A re-implementation of the DOS-era Qmodem serial communications package.
Upstream URL: http://qodem.sourceforge.net/
Licenses: GPL
Submitter: keenerd
Maintainer: keenerd
Last Packager: keenerd
Votes: 4
Popularity: 0.015692
First Submitted: 2012-04-08 13:57 (UTC)
Last Updated: 2022-03-04 06:48 (UTC)

Latest Comments

aperez commented on 2025-11-28 08:45 (UTC)

I have improved things a bit in the PKGBUILD, you should be able to apply those changes with git am:

From aaeb84493e677a020ae3504f0453d81115dfb66f Mon Sep 17 00:00:00 2001
From: Adrian Perez de Castro <aperez@igalia.com>
Date: Fri, 28 Nov 2025 10:27:19 +0200
Subject: [PATCH] Pass --prefix to configure script, disable gpm, do autoreconf

Fix setting the installation prefix by passing --prefix=/usr to the
configure script, which makes moving paths around unneeded in the
package() function.

Also pass --disable-gpm, because libgpm is not listed as a dependency
and a build in a clean chroot fails. Using libgpm may be re-enabled
later.

Using autoreconf makes it unnecessary to to patch Makefiles generated by
the configure script.
---
 .SRCINFO |  7 +++----
 PKGBUILD | 19 ++++++-------------
 2 files changed, 9 insertions(+), 17 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index 8fb1070..3a3098e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
-# Generated by mksrcinfo v8
-# Fri Mar  4 05:57:04 UTC 2022
 pkgbase = qodem
    pkgdesc = A re-implementation of the DOS-era Qmodem serial communications package.
    pkgver = 1.0.1
-   pkgrel = 1
+   pkgrel = 2
    url = http://qodem.sourceforge.net/
    arch = i686
    arch = x86_64
    license = GPL
+   makedepends = autoconf
+   makedepends = automake
    depends = ncurses
    source = http://downloads.sourceforge.net/project/qodem/qodem/1.0.1/qodem-1.0.1.tar.gz
    md5sums = 8a468f131b0332ceb1cc809ce000701d

 pkgname = qodem
-
diff --git a/PKGBUILD b/PKGBUILD
index 0e6d67e..9698ab2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,15 @@
+# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
 # Maintainer: Kyle Keen <keenerd@gmail.com>
 pkgname=qodem
 pkgver=1.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A re-implementation of the DOS-era Qmodem serial communications package."
 arch=('i686' 'x86_64')
 url="http://qodem.sourceforge.net/"
 license=('GPL')
 #depends=('ncurses' 'libx11')
 depends=('ncurses')
+makedepends=(autoconf automake)
 #makedepends=('sdl')
 #optdepends=('sdl')
 source=("http://downloads.sourceforge.net/project/qodem/qodem/$pkgver/qodem-$pkgver.tar.gz")
@@ -24,27 +26,18 @@ prepare() {
   #sed -i 's|bn/bn_lcl.h|bn_lcl.h|' lib/cryptlib/bn/bn_add.c

   #sed -i 's|curspriv.h|xcurses/&|' lib/pdcurses/pdcurses/addch.c
+
+  autoreconf -vfi
 }

 build() {
   cd "$srcdir/$pkgname-$pkgver"
-  ./configure --disable-ssh --disable-upnp #--enable-x11
-
-  # no reason to hard code versions
-  sed -i 's|aclocal-1.14|aclocal|' Makefile
-  sed -i 's|automake-1.14|automake|' Makefile
-
+  ./configure --prefix=/usr --disable-dependency-tracking --disable-ssh --disable-upnp --disable-gpm  #--enable-x11
   make PREFIX=/usr CFLAGS='-lm'
 }

 package() {
   cd "$srcdir/$pkgname-$pkgver"
   make DESTDIR="$pkgdir" install
-
-  # okay, it ignores prefix
-  cd "$pkgdir"
-  mv usr/local/bin usr/bin
-  mv usr/local/share usr/share
-  rmdir usr/local
 }

-- 
2.52.0

mikenugent commented on 2025-02-09 17:46 (UTC) (edited on 2025-02-09 17:46 (UTC) by mikenugent)

The ac-local version has moved. Can the maintainer please update the build() function to be aclocal-1.xx and automake-1.xx agnostic? Thanks!

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --disable-ssh --disable-upnp #--enable-x11

  # no reason to hard code versions
  sed -i 's|aclocal-1\.[0-9]*|aclocal|' Makefile
  sed -i 's|automake-1\.[0-9]*|automake|' Makefile

  make PREFIX=/usr CFLAGS='-lm'
}

linuxninja commented on 2021-11-08 06:25 (UTC)

qodem 1.0.1 is avail since 2021-03-01 - simply modifying the PKGBUILD ver seems to work to compile the newer version.

dleslie commented on 2020-09-04 03:37 (UTC)

Compiles and runs fin in aarch64

keenerd commented on 2017-12-02 20:27 (UTC)

Weird that it can't use libupnp. Done.

nessus commented on 2017-12-02 17:19 (UTC)

The build fails for me if miniupnpc is installed (wrong api version, happens with miniupnpc-git from aur as well). It compiles and runs if miniupnpc is not installed at build-time, however. Maybe configure with --disable-upnp as a workaround?

keenerd commented on 2014-01-25 14:41 (UTC)

Yes, 1.0alpha has been released. While upstream calls it an official release, I can't make it do anything other than segfault. It won't be updated until someone can make it run.