Bug#1078927: libxt: make the libglib2.0-dev build dependency optional
Source: libxt
Version: 1:1.2.1-1.2
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
Hi,
glib2.0 is posing to be difficult to cross compile, but we need to cross
compile libxt for bootstrapping. To enable dropping glib2.0, please make
the libglib2.0-dev dependency optional (via <!nocheck>). I'm attaching a
patch for your convenience.
Helmut
diff -u libxt-1.2.1/debian/changelog libxt-1.2.1/debian/changelog
--- libxt-1.2.1/debian/changelog
+++ libxt-1.2.1/debian/changelog
@@ -1,3 +1,10 @@
+libxt (1:1.2.1-1.3) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Annotate libglib2.0-dev dependency <!nocheck>. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sat, 17 Aug 2024 22:31:03 +0200
+
libxt (1:1.2.1-1.2) unstable; urgency=medium
* Non-maintainer upload.
diff -u libxt-1.2.1/debian/control libxt-1.2.1/debian/control
--- libxt-1.2.1/debian/control
+++ libxt-1.2.1/debian/control
@@ -12,7 +12,7 @@
xutils-dev (>= 1:7.6+3),
quilt,
# for unit tests
- libglib2.0-dev (>= 2.16),
+ libglib2.0-dev (>= 2.16) <!nocheck>,
# specs
xmlto (>= 0.0.20),
xorg-sgml-doctools (>= 1:1.10),
diff -u libxt-1.2.1/debian/rules libxt-1.2.1/debian/rules
--- libxt-1.2.1/debian/rules
+++ libxt-1.2.1/debian/rules
@@ -17,7 +17,7 @@
--docdir=\$${datadir}/doc/libxt-dev \
--with-appdefaultdir=/etc/X11/app-defaults \
--with-xfile-search-path="/usr/lib/X11/%L/%T/%N%S:/usr/lib/X11/%l/%T/%N%S:/usr/lib/X11/%T/%N%S:/etc/X11/%L/%T/%N%C%S:/etc/X11/%l/%T/%N%C%S:/etc/X11/%T/%N%C%S:/etc/X11/%L/%T/%N%S:/etc/X11/%l/%T/%N%S:/etc/X11/%T/%N%S" \
- --enable-unit-tests \
+ --$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),dis,en)able-unit-tests \
--disable-silent-rules \
$(docflags) \
CFLAGS="$(CFLAGS)" \
Reply to: