Bug#1077534: libvisual: Please break libvisual / libsdl dependency cycle
Source: libvisual
Version: 0.4.2-2
Severity: important
Hello,
There is currently a build-dep cycle involving libvisual:
libvisual -> libsdl1.2 -> libsdl2 -> fcitx -> qtbase-opensource-src -> pulseaudio -> gst-plugins-base1.0 -> libvisual
The attached patch breaks it by introducing a very trivial
pkg.libvisual.nosdl build profile that simply disables building the
lv tool.
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
After watching my newly-retired dad spend two weeks learning how to make a new
folder, it became obvious that "intuitive" mostly means "what the writer or
speaker of intuitive likes".
(Bruce Ediger, bediger@teal.csn.org, in comp.os.linux.misc, on X the
intuitiveness of a Mac interface.)
--- debian/control.original 2024-07-29 16:53:39.000000000 +0000
+++ debian/control 2024-07-29 17:01:00.000000000 +0000
@@ -5,7 +5,7 @@
Build-Depends: autoconf-archive,
autopoint,
debhelper-compat (= 13),
- libsdl1.2-dev,
+ libsdl1.2-dev <!pkg.libvisual.nosdl>,
pkg-config
Standards-Version: 4.6.2
Homepage: http://libvisual.org
@@ -58,6 +58,7 @@
Package: lv-tool-0.4
Section: sound
Architecture: any
+Build-Profiles: <!pkg.libvisual.nosdl>
Depends: ${misc:Depends}, ${shlibs:Depends}, libvisual-0.4-plugins (>= 0.4.2)
Description: tool from Libvisual to visualize a music from audio players
Libvisual is a generic visualization framework that allows applications
--- debian/rules.original 2024-07-29 16:54:50.000000000 +0000
+++ debian/rules 2024-07-29 17:04:57.000000000 +0000
@@ -4,11 +4,17 @@
export GETTEXT_PACKAGE=libvisual-0.4
+CONFIGURE = --enable-static
+
+ifneq (,$(filter pkg.libvisual.nosdl,$(DEB_BUILD_PROFILES)))
+CONFIGURE += --disable-lv-tool --disable-examples
+endif
+
%:
dh $@
override_dh_auto_configure:
- dh_auto_configure -- --enable-static
+ dh_auto_configure -- $(CONFIGURE)
override_dh_installdocs:
dh_installdocs -A AUTHORS NEWS README TODO
Reply to: