Control: tags -1 patch

Please find a patch attached that disables the GTK components.
From: Bastian Germann <b...@debian.org>
Date: Thu, 26 Oct 2023 16:22:38 +0000
Subject: Disable GTK build (Closes: #967791)

---
 debian/control | 13 +++----------
 debian/rules   |  8 +-------
 2 files changed, 4 insertions(+), 17 deletions(-)

diff --git a/debian/control b/debian/control
index f923bb5..a66880a 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,6 @@ Build-Depends:
  gettext,
  intltool,
  libblkid-dev,
- libgtk2.0-dev,
  libice-dev,
  libpam0g-dev,
  libsm-dev,
@@ -25,12 +24,6 @@ Architecture: any
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
-Description: Graphical tools for certain user account management tasks
- The usermode package contains several graphical tools for users:
- userinfo, usermount and userpasswd.  Userinfo allows users to change
- their finger information.  Usermount lets users mount, unmount, and
- format filesystems.  Userpasswd allows users to change their
- passwords.
- .
- Install the usermode package if you would like to provide users with
- graphical tools for certain account management tasks.
+Description: Tools for certain user account management tasks
+ The usermode package contains tools for PAM authentication:
+ consolehelper and userhelper.
diff --git a/debian/rules b/debian/rules
index 6836f53..944f8c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,18 +19,12 @@ DEBDIR=debian/usermode
 	dh $@
 
 override_dh_auto_configure:
-	dh_auto_configure -- \
+	dh_auto_configure -- --without-gtk \
 		MOUNT=/bin/mount \
 		UMOUNT=/bin/umount \
 		MKFS=/sbin/mkfs \
 		FDFORMAT=/usr/bin/fdformat
 
-execute_after_dh_install:
-	# this functionality doesn't appear to be supported in Debian
-	rm $(DEBDIR)/usr/bin/pam-panel-icon $(DEBDIR)/usr/share/pixmaps/badge-small.png
-	# can't figure out what the hell this stuff is for
-	rm $(DEBDIR)/usr/share/pixmaps/keys.xpm $(DEBDIR)/usr/share/pixmaps/status_lock.png $(DEBDIR)/usr/share/pixmaps/status_unlocked.png
-
 execute_after_dh_strip:
 	if [ "$(findstring nostrip,$(DEB_BUILD_OPTIONS))" != "nostrip" ]; then strip --strip-unneeded -R .comment $(DEBDIR)/usr/sbin/* $(DEBDIR)/usr/bin/*; fi
 

Reply via email to