Hi Jorge, Niels, all, I prepare patch for Debian packaging files that increases debhelper compatibility and makes clean of build rules. This should completely address this bug. See attachment.
Cheers -- Slávek
diff -ruN a/debian/changelog b/debian/changelog --- a/debian/changelog 2021-12-21 18:51:32.000000000 +0000 +++ b/debian/changelog 2021-12-21 18:41:33.935270305 +0000 @@ -1,3 +1,15 @@ +xcalib (0.8.dfsg1-2.2) unstable; urgency=medium + + * Non-maintainer upload. + * debian/control: + + Update to debhelper 13 compatibility. + + Bump standards version to 4.6.0. + * debian/rules: Clean the rules - use of debhelper overrides. + * debian/source/format: Declare format 3.0 (quilt). + * debian/copyright: Clarify link to GPL-2. + + -- Slávek Banko <slavek.ba...@axis.cz> Tue, 21 Dec 2021 19:38:58 +0100 + xcalib (0.8.dfsg1-2.1) unstable; urgency=medium * Non-maintainer upload. diff -ruN a/debian/compat b/debian/compat --- a/debian/compat 2021-12-21 18:51:32.000000000 +0000 +++ b/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -5 diff -ruN a/debian/control b/debian/control --- a/debian/control 2021-12-21 18:51:32.000000000 +0000 +++ b/debian/control 2021-12-21 16:07:56.295333939 +0000 @@ -2,8 +2,8 @@ Section: x11 Priority: optional Maintainer: Jorge Salamero Sanz <ben...@debian.org> -Build-Depends: debhelper (>= 5), libxxf86vm-dev, libxext-dev -Standards-Version: 3.8.0 +Build-Depends: debhelper-compat (= 13), libxxf86vm-dev, libxext-dev +Standards-Version: 4.6.0 Homepage: http://xcalib.sourceforge.net/ Package: xcalib diff -ruN a/debian/copyright b/debian/copyright --- a/debian/copyright 2021-12-21 18:51:32.000000000 +0000 +++ b/debian/copyright 2021-12-21 16:49:13.705050593 +0000 @@ -41,4 +41,4 @@ can be found in the file `/usr/share/common-licenses/GPL-2'. The Debian packaging is (C) 2007, Jorge Salamero Sanz <ben...@cauterized.net> -and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +and is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'. diff -ruN a/debian/rules b/debian/rules --- a/debian/rules 2021-12-21 18:51:32.000000000 +0000 +++ b/debian/rules 2021-12-21 16:03:47.383133986 +0000 @@ -1,66 +1,15 @@ #!/usr/bin/make -f -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 - -DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/default.mk -include /usr/share/dpkg/buildtools.mk - XCALIB_VERSION = 0.8 +%: + dh $@ -configure: configure-stamp - -configure-stamp: - dh_testdir - - touch $@ - -build: build-stamp - -build-stamp: configure-stamp +override_dh_auto_build: dh_testdir - $(CC) $(CFLAGS) -c xcalib.c -DXCALIB_VERSION=\"$(XCALIB_VERSION)\" $(CC) $(CFLAGS) -o xcalib xcalib.o -lm -lX11 -lXxf86vm -lXext - - touch $@ -clean: +override_dh_auto_install: dh_testdir - dh_testroot - rm -f build-stamp configure-stamp - - rm -f xcalib.o xcalib - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - install -o 0 -g 0 -m 0755 xcalib $(CURDIR)/debian/xcalib/usr/bin/xcalib - -binary-indep: - -binary-arch: build install - dh_testdir - dh_testroot - dh_installdocs - dh_installchangelogs - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install + install -o 0 -g 0 -m 0755 xcalib debian/xcalib/usr/bin/xcalib diff -ruN a/debian/source/format b/debian/source/format --- a/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ b/debian/source/format 2016-01-16 15:13:56.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt)
signature.asc
Description: This is a digitally signed message part.