Source: openjpeg2 Version: 2.5.0-2 Severity: normal Tags: patch Hello,
openjpeg2 currently depends on dh-apache2, which introduces build-dep loops between openjpeg2, ghostscript, doxygen, apr, apr-util, apache2, which makes bootstraping new Debian ports tricky. It would be useful to introduce a pkg.openjpeg2.noapache build profile that avoids the dependency, as the attached patch does, could you apply it? 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 02:26:51.969738191 +0100 +++ debian/control 2023-11-06 02:27:46.746128984 +0100 @@ -5,7 +5,7 @@ Homepage: https://www.openjpeg.org Build-Depends: cmake (>= 2.8.2), debhelper-compat (= 12), - dh-apache2, + dh-apache2 <!pkg.openjpeg2.noapache>, help2man, libcurl4-gnutls-dev | libcurl-ssl-dev, libfcgi-dev, @@ -88,6 +88,7 @@ Package: libopenjpip-viewer Section: graphics Architecture: all +Build-Profiles: <!pkg.openjpeg2.noapache> Depends: libopenjpip-dec-server, ${java:Depends}, ${misc:Depends} Suggests: libopenjp2-tools Conflicts: openjpip-viewer --- debian/rules.original 2023-11-06 02:29:44.086963470 +0100 +++ debian/rules 2023-11-06 02:30:35.419327426 +0100 @@ -17,8 +17,12 @@ BUILDDOC = ON endif +ifeq (,$(filter pkg.openjpeg2.noapache,$(DEB_BUILD_PROFILES))) +DH_APACHE=--with=apache2 +endif + %: - dh $@ --with apache2 $(DH_ADDONS) $(BUILD_PACKAGES) + dh $@ $(DH_APACHE) $(DH_ADDONS) $(BUILD_PACKAGES) build binary %-indep: DH_ADDONS=--with=javahelper CMAKE_EXTRA_FLAGS += -DCMAKE_SKIP_RPATH=ON \
