aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules13
2 files changed, 9 insertions, 6 deletions
diff --git a/debian/control b/debian/control
index 0237784..25952b6 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ 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, xauth,
+ libgtk-3-dev (>= 3.24), libgtk-3-bin (>= 3.24),
groff (>= 1.19.2)
Standards-Version: 4.5.0
Homepage: https://sciteco.fmsbw.de/
diff --git a/debian/rules b/debian/rules
index cd684aa..f601cc5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,13 +63,16 @@ build-gtk-stamp: autoreconf-stamp
--with-scitecodatadir=../share/sciteco
# NOTE: Since the Gtk+ version of SciTECO is called during the build,
# we need an XServer which may be missing on the build server.
-# That's why we use xvfb.
- xvfb-run -a dh_auto_build -Bbuild-gtk
- xvfb-run -a dh_auto_test -Bbuild-gtk --no-parallel
+# That's why we use the GTK broadway backend.
+ ./gtk-broadway-run.sh dh_auto_build -Bbuild-gtk
+ ./gtk-broadway-run.sh dh_auto_test -Bbuild-gtk --no-parallel
touch $@
-install:
- xvfb-run -a dh install -Bbuild-gtk -psciteco-gtk
+install: build-gtk-stamp
+ # Workaround for debian/sciteco-gtk.install loosing the executable flag.
+ # debtransform (OBS) doesn't preserve it.
+ chmod +x debian/sciteco-gtk.install
+ ./gtk-broadway-run.sh dh install -Bbuild-gtk -psciteco-gtk
dh install -Bbuild-curses -psciteco-curses -psciteco-common
# NOTE: This skips the dh_install* commands of `dh binary-arch`