Source: cdebconf
Version: 0.272
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Hi,

lately, glib2.0 has become difficult to cross build. As a result, there
now is a desire to remove it from dependencies. cdebconf has such a
dependency as it is required via the essential package base-passed early
in the architecture bootstrap. In former times, pkg-config used to
depend on glib2.0 and hence getting rid of it was not important. With
pkgconf no longer depending on it, I'm hunting down users. cdebconf is
one of them. It turns out that glib2.0 is only actually used for the gtk
frontend that already has a build profile. Just adding the annotation
doens't just work as glib2.0 also pulls pkgconf, which is required for
autoreconf. Hence, my patch is making the pkgconf dependency explicit.

Helmut
diff --minimal -Nru cdebconf-0.272/debian/changelog 
cdebconf-0.272+nmu1/debian/changelog
--- cdebconf-0.272/debian/changelog     2024-05-28 18:42:05.000000000 +0200
+++ cdebconf-0.272+nmu1/debian/changelog        2024-08-17 22:50:06.000000000 
+0200
@@ -1,3 +1,10 @@
+cdebconf (0.272+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Enable building without libglib2.0-dev. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 17 Aug 2024 22:50:06 +0200
+
 cdebconf (0.272) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru cdebconf-0.272/debian/control 
cdebconf-0.272+nmu1/debian/control
--- cdebconf-0.272/debian/control       2022-12-31 15:17:57.000000000 +0100
+++ cdebconf-0.272+nmu1/debian/control  2024-08-17 22:50:06.000000000 +0200
@@ -9,12 +9,13 @@
  libtextwrap-dev,
  libreadline-dev (>= 8.1.2-1.1),
  libdebian-installer4-dev | libdebian-installer-dev,
- libglib2.0-dev,
+ libglib2.0-dev <!pkg.cdebconf.nogtk>,
  libgtk2.0-dev <!pkg.cdebconf.nogtk>,
  libcairo2-dev <!pkg.cdebconf.nogtk>,
  libselinux1-dev [linux-any] | libselinux-dev [linux-any],
  dh-autoreconf,
  dh-exec,
+ pkgconf,
 Maintainer: Debian Install System Team <debian-b...@lists.debian.org>
 Uploaders:
  Colin Watson <cjwat...@debian.org>,

Reply via email to