Bug#1055368: libxmu: Separate out documentation build
Source: libxmu
Version: 1.1.3-3
Severity: normal
Tags: patch
Hello,
libxmu currently build-depends on w3m, which makes it part of a long
build dependency through imlib and whatnot image libraries. The w3m
dependency is actually only for building documentation, which is already
separated into an arch:all binary package. The attached patch completes
the separation by separating out the build dependencies. This makes
bootstraping a new Debian port much easier.
Samuel
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.5.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/control.original 2023-11-05 03:18:06.596293166 +0100
+++ debian/control 2023-11-05 03:18:13.500335188 +0100
@@ -10,7 +10,7 @@
pkg-config,
quilt,
xutils-dev (>= 1:7.6+2),
-# devel-docs:
+Build-Depends-Indep:
xmlto (>= 0.0.22),
xorg-sgml-doctools (>= 1:1.8),
w3m,
--- debian/rules.original 2023-11-05 03:18:57.532603448 +0100
+++ debian/rules 2023-11-05 03:19:34.300827775 +0100
@@ -14,11 +14,13 @@
%:
dh $@ --with quilt --builddirectory=build/
-override_dh_auto_configure:
+override_dh_auto_configure-arch: docflags =
+override_dh_auto_configure-indep: docflags = --with-xmlto
+override_dh_auto_configure-arch override_dh_auto_configure-indep::
dh_auto_configure -- \
--disable-silent-rules \
--docdir=\$${prefix}/share/doc/libxmu-headers \
- --with-xmlto \
+ $(docflags) \
--without-fop
override_dh_auto_install:
Reply to: