Bug#619398: libpulse0: license issue, compile client LGPL
David Fries
david at fries.net
Wed Mar 23 14:58:37 UTC 2011
Package: libpulse0
Version: 0.9.21-3
Severity: normal
Tags: upstream patch
As PulseAudio is trying to be the Linux desktop audio system, it is
important that the client library support programs which aren't GPL
compatible as well. "Hence you should treat the client library
('libpulse') of PulseAudio as being LGPL licensed" but pulseaudio by
default uses libgdbm-dev, and that is GPL licensed. Compile with
libtdb-dev which is LGPL to keep the PulseAudio client library as
LGPL.
---
debian/control | 2 +-
debian/rules | 3 +++
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/debian/control b/debian/control
index 61c0f50..fde2d88 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends: debhelper (>= 5), cdbs, quilt, m4, libltdl-dev (>= 2.2.6a-2),
libasyncns-dev,
libatomic-ops-dev, libspeexdsp-dev (>= 1.2~rc1),
libbluetooth-dev (>= 4.40) [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386],
- libgdbm-dev, intltool, libgtk2.0-dev, libxtst-dev,
+ libtdb-dev, intltool, libgtk2.0-dev, libxtst-dev,
libssl-dev
Standards-Version: 3.8.1
Vcs-Git: git://git.debian.org/git/pkg-pulseaudio/pulseaudio.git
diff --git a/debian/rules b/debian/rules
index 4c0387f..2f33a41 100755
--- a/debian/rules
+++ b/debian/rules
@@ -54,6 +54,9 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), "linux"))
DEB_CONFIGURE_EXTRA_FLAGS = --enable-hal-compat --disable-hal
endif
+# Use Trivial Database (tdb) to keep the client library GNU LGPL
+DEB_CONFIGURE_EXTRA_FLAGS += --with-database=tdb
+DEB_CONFIGURE_EXTRA_FLAGS += --enable-hal-compat --disable-hal
DEB_DH_MAKESHLIBS_ARGS_ALL = --exclude=usr/lib/pulse-0.9.21/modules
DEB_DH_SHLIBDEPS_ARGS_libpulse0 = -u -L/dev/null
DEB_DH_SHLIBDEPS_ARGS_pulseaudio = -u -Ldebian/shlibs_pulseaudio.local
--
1.7.2.3
-- System Information:
Debian Release: 6.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.36-rc7+ (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages libpulse0 depends on:
ii libasyncns0 0.3-1.1 Asyncronous name service query lib
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libcap2 1:2.19-3 support for getting/setting POSIX.
ii libdbus-1-3 1.2.24-4 simple interprocess messaging syst
ii libgdbm3 1.8.3-9 GNU dbm database routines (runtime
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libsndfile1 1.0.21-3 Library for reading/writing audio
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxtst6 2:1.1.0-3 X11 Testing -- Record extension li
libpulse0 recommends no packages.
Versions of packages libpulse0 suggests:
ii pulseaudio 0.9.21-3 PulseAudio sound server
-- no debconf information
More information about the pkg-pulseaudio-devel
mailing list