[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#981656: libxcb: reduce Build-Depends



Source: libxcb
Version: 1.14-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

libxcb participates in dependency loops relevant to architecture
bootstrap. Instead of looking into such a difficult problem, I looked
into easily droppable dependencies and found thre.

 * pthread-stubs are only required on non-linux architectures. I propose
   annotating it [!linux-any].
 * xsltproc is only used for rendering test results. I propose
   annotating it <!nocheck>.
 * dctrl-tools is entirely unused. I propose dropping it.

Please consider applying the attached patch.

Helmut
diff -u libxcb-1.14/debian/changelog libxcb-1.14/debian/changelog
--- libxcb-1.14/debian/changelog
+++ libxcb-1.14/debian/changelog
@@ -1,3 +1,14 @@
+libxcb (1.14-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + pthread-stubs are only required on non-linux architectures. Annotate
+      [!linux-any].
+    + xsltproc is only used for rendering test results. Annotate <!nocheck>.
+    + dctrl-tools is entirely unused. Drop it.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 02 Feb 2021 15:09:54 +0100
+
 libxcb (1.14-3) unstable; urgency=high
 
   * tests: don't use deprecated fail_unless check API (closes: #980602).
diff -u libxcb-1.14/debian/control libxcb-1.14/debian/control
--- libxcb-1.14/debian/control
+++ libxcb-1.14/debian/control
@@ -9,17 +9,16 @@
  libxdmcp-dev (>= 1:1.0.3-2),
  xcb-proto (>= 1.14),
  xcb-proto (<< 2.0),
- libpthread-stubs0-dev (>= 0.1),
+ libpthread-stubs0-dev (>= 0.1) [!linux-any],
  debhelper-compat (= 12),
  pkg-config,
  xutils-dev,
- xsltproc (>= 1.1.19),
+ xsltproc (>= 1.1.19) <!nocheck>,
  check (>= 0.9.4-2) <!nocheck>,
  python3-xcbgen (>= 1.14),
  libtool,
  automake,
  python3:native,
- dctrl-tools
 Build-Depends-Indep:
 # libxcb-doc
  doxygen,

Reply to: