Bug#1077536: libtheora: Please break libtheora / libsdl dependency cycle
Source: libtheora
Version: 1.1.1+dfsg.1-16.1
Severity: important
Hello,
There is currently a build-dep cycle involving libtheora:
libtheora <- libsdl1.2 <- libsdl2 <- fcitx <- qtbase-opensource-src <- pulseaudio <- gst-plugins-base1.0 <- libtheora
The attached patch breaks it by introducing a very trivial
pkg.libtheora.nosdl build profile that simply disables building the
player example.
Samuel
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unreleased'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-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.9.8-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
«Tiens, quand j'aurai un peu de temps et une partition libre, je crois
que je vais essayer de remplacer mes scripts de démarrage par des
programmes Windows lancés via Wine et binfmt_misc :-)»
-+- AGV in Guide du linuxien pervers - "J'sais pas quoi faire... (air connu)"
--- debian/rules.original 2024-07-29 17:19:19.000000000 +0000
+++ debian/rules 2024-07-29 17:18:32.000000000 +0000
@@ -15,11 +15,13 @@
override_dh_auto_configure:
dh_auto_configure -- --enable-telemetry
+ifeq (,$(filter pkg.libtheora.nosdl,$(DEB_BUILD_PROFILES)))
override_dh_install-arch:
dh_install
for i in debian/libtheora-bin/usr/bin/*; do \
mv $$i debian/libtheora-bin/usr/bin/theora_`basename $$i`; \
done
+endif
override_dh_installdocs:
dh_installdocs README AUTHORS
--- debian/control.original 2024-07-29 17:19:42.000000000 +0000
+++ debian/control 2024-07-29 17:18:49.000000000 +0000
@@ -12,7 +12,7 @@
libcairo2-dev,
libogg-dev,
libpng-dev,
- libsdl1.2-dev,
+ libsdl1.2-dev <!pkg.libtheora.nosdl>,
libvorbis-dev,
pkg-config,
Build-Depends-Indep:
@@ -28,6 +28,7 @@
Package: libtheora-bin
Architecture: any
+Build-Profiles: <!pkg.libtheora.nosdl>
Section: utils
Multi-Arch: foreign
Depends:
Reply to: