From a20377550b1164fa5ca27dfe75465d8ec88dbdbb Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Sat, 7 Sep 2024 23:03:19 +0200 Subject: update versions --- build-fehQlibs | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) (limited to 'build-fehQlibs') diff --git a/build-fehQlibs b/build-fehQlibs index 970d77d..20aeb51 100755 --- a/build-fehQlibs +++ b/build-fehQlibs @@ -2,14 +2,14 @@ set -eu -version=22a +version=25a upname=fehqlibs_$version.orig.tar.gz srcname=fehqlibs-$version wget https://www.fehcom.de/ipnet/fehQlibs/fehQlibs-$version.tgz ln -sf fehQlibs-$version.tgz $upname tar -xf $upname -mv fehQlibs-$version $srcname +mv fehQlibs-${version%a} $srcname cd $srcname debmake -b libqlibs --email jannis@fehcom.de --fullname 'Jannis M. Hoffmann' @@ -40,21 +40,21 @@ export DH_VERBOSE = 1 dh $@ --buildsystem=none override_dh_auto_clean: - $(MAKE) clean + $(MAKE) -C src clean sed -i '31,$$d' conf-build override_dh_auto_configure: echo CFLAGS=\"-Iinclude $(CFLAGS)\" >>conf-build - $(MAKE) check + $(MAKE) -C src check override_dh_auto_build: - LDFLAGS= $(MAKE) default + LDFLAGS= $(MAKE) -C src default END cat <<'END' >debian/install #!/usr/bin/dh-exec -qlibs.a => usr/lib/${DEB_HOST_MULTIARCH}/libqlibs.a -dnsstub/dnsresolv.a => usr/lib/${DEB_HOST_MULTIARCH}/libdnsresolv.a +src/qlibs.a => usr/lib/${DEB_HOST_MULTIARCH}/libqlibs.a +src/dnsstub/dnsresolv.a => usr/lib/${DEB_HOST_MULTIARCH}/libdnsresolv.a debian/contrib/qlibs.pc usr/share/pkgconfig/ END chmod +x debian/install @@ -75,23 +75,9 @@ includedir=${prefix}/include Name: qlibs Description: qlibs is the foundation of `feh' software URL: https://www.fehcom.de/ipnet/qlibs.html -Version: 22a +Version: 25a Cflags: -I${includedir}/qlibs Libs: -lqlibs -ldnsresolv END -cat <debian/patches/000-ip-unsigned.patch -Author: Jannis M. Hoffmann - ---- fehqlibs_$version.orig/include/ip.h -+++ fehqlibs-$version/include/ip.h -@@ -60,3 +60,3 @@ - const static char V4localnet[4] = {0,0,0,0}; --const static char V4broadcast[4] = {255,255,255,255}; -+const static unsigned char V4broadcast[4] = {255,255,255,255}; - -END - -echo 000-ip-unsigned.patch >>debian/patches/series - rm debian/source/control debian/tests/control -- cgit v1.2.3