From 0236c1ee6244700db907d7dcabde301916f90cda Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 1 Jan 2026 23:11:35 +0300 Subject: debian package: synced with OBS versions In principle the debian/ subdirectory is redundant with the files in OBS. It is only still useful when building with distribute.mk or as a template for future adoption into the Debian repositories. --- debian/control | 5 +++-- debian/rules | 15 ++++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'debian') diff --git a/debian/control b/debian/control index 8acd8b3..0237784 100644 --- a/debian/control +++ b/debian/control @@ -2,10 +2,11 @@ Source: sciteco Section: editors Priority: optional Maintainer: Robin Haberkorn -Build-Depends: debhelper (>= 10), dh-exec, gcc (>= 4:8.1), g++ (>= 4:8.1), +Build-Depends: debhelper (>= 10), dh-exec, dh-autoreconf, + gcc (>= 4:8.1), g++ (>= 4:8.1), libglib2.0-dev (>= 2.44), ncurses-term, libncurses-dev, - libgtk-3-dev (>= 3.24), xvfb, + libgtk-3-dev (>= 3.24), xvfb, xauth, groff (>= 1.19.2) Standards-Version: 4.5.0 Homepage: https://sciteco.fmsbw.de/ diff --git a/debian/rules b/debian/rules index 5ce058d..cd684aa 100755 --- a/debian/rules +++ b/debian/rules @@ -27,18 +27,24 @@ MAKEFLAGS += -j$(NUMJOBS) endif # In case `make check` fails, there will be a complete log. -export TESTSUITEFLAGS="--verbose --color=never" +# FIXME: Not all distributions appear to support --color=never. +#export TESTSUITEFLAGS="--verbose --color=never" +export TESTSUITEFLAGS="--verbose" %: dh $@ build build-arch build-indep: build-curses-stamp build-gtk-stamp; +autoreconf-stamp: + dh_testdir + test -x ./configure || dh_autoreconf + touch $@ + # NOTE: The datadir will be relative to the binary location at runtime. # This makes the binary relocateable, which is important when creating # AppImages from the Debian packages. -build-curses-stamp: - dh_testdir +build-curses-stamp: autoreconf-stamp rm -rf build-curses dh_auto_configure -Bbuild-curses -- \ --with-interface=ncurses \ @@ -49,8 +55,7 @@ build-curses-stamp: # NOTE: This does not depend on install-curses-stamp and uses # --disable-bootstrap to speed up builds since that would prevent parallel builds. -build-gtk-stamp: - dh_testdir +build-gtk-stamp: autoreconf-stamp rm -rf build-gtk dh_auto_configure -Bbuild-gtk -- \ --program-prefix=g \ -- cgit v1.2.3