Control: tags -1 patch

Am 15.08.23 um 15:38 schrieb Bastian Germann:
Upstream version 0.79.10 comes with this change: "Added --with-gui=no option to build a command line version without GTK linkage."

Please find a patch attached. It applies on the changes that I have made in
https://salsa.debian.org/optical-media-team/dvdisaster/-/merge_requests/3
From 0ac5c92c10d159e8632b061fb57ddbd296a898c5 Mon Sep 17 00:00:00 2001
From: Bastian Germann <b...@debian.org>
Date: Fri, 22 Sep 2023 17:30:59 +0200
Subject: [PATCH] Drop GUI (Closes: #967320)

---
 debian/control            | 2 +-
 debian/dvdisaster.install | 1 -
 debian/rules              | 1 +
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index caefe67..18e6ebb 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Uploaders: TANIGUCHI Takaki <tak...@debian.org>,
 Build-Depends: debhelper (>= 12),
                gettext,
                libbz2-dev,
-               libgtk2.0-dev,
+               libglib2.0-dev,
                libpng-dev,
                pkg-config
 Build-Depends-Indep: texlive-fonts-recommended <!nodoc>,
diff --git a/debian/dvdisaster.install b/debian/dvdisaster.install
index ae9e496..bacc64e 100644
--- a/debian/dvdisaster.install
+++ b/debian/dvdisaster.install
@@ -1,4 +1,3 @@
-contrib/dvdisaster.desktop usr/share/applications
 usr/bin
 usr/share/icons
 usr/share/locale
diff --git a/debian/rules b/debian/rules
index 164fcee..27818aa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -41,6 +41,7 @@ override_dh_auto_configure:
 		--localedir=share/locale \
 		--docdir=share/doc \
 		--docsubdir=dvdisaster \
+		--with-gui=no \
 		--with-embedded-src-path=no
 
 override_dh_auto_build-arch:
-- 
2.40.1

Reply via email to