Source: chafa Version: 1.12.5-3 Severity: normal Tags: patch Hello,
chafa currently build-depends on imagemagick, but we have this build-dependency chain: - imagemagick build-depends on libpango1.0-dev - pango1.0 build-depends on libharfbuzz-dev - harfbuzz build-depends on libchafa-dev thus forming a build-dependency loop which makes bootstrapping new Debian ports tricky. But chafa's build-dependency on imagemagick can easily be disabled by disabling building the tools, as the attached patch does, could you apply it? (the testsuite would then fail just because it can't test its tools, I have submitted a fix upstream https://github.com/hpjansson/chafa/pull/176 and that's not a problem for bootstraping ports, where using nocheck is common) Thanks, 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-06 19:21:20.000000000 +0000 +++ debian/control 2023-11-06 19:32:55.000000000 +0000 @@ -9,14 +9,16 @@ Build-Depends: debhelper-compat (= 13), docbook, gtk-doc-tools, - libmagickwand-dev, - libwebp-dev, + libglib2.0-dev, + libmagickwand-dev <!pkg.chafa.notools>, + libwebp-dev <!pkg.chafa.notools>, libxml2-utils Rules-Requires-Root: no Package: chafa Architecture: any Multi-Arch: foreign +Build-Profiles: <!pkg.chafa.notools> Depends: libchafa0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Description: Image-to-text converter supporting a wide range of symbols, etc. Chafa is a command-line utility that converts all kinds of images, including --- debian/rules.original 2023-11-06 19:38:40.000000000 +0000 +++ debian/rules 2023-11-06 19:39:50.000000000 +0000 @@ -2,6 +2,10 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all +ifneq (,$(filter pkg.chafa.notools,$(DEB_BUILD_PROFILES))) +NOTOOLS=--without-tools +endif + %: dh $@ @@ -14,7 +18,7 @@ dh_autoreconf override_dh_auto_configure: - dh_auto_configure -- --enable-rpath=no + dh_auto_configure -- --enable-rpath=no $(NOTOOLS) override_dh_auto_test: $(MAKE) check