[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263536: Updated patch for GNU/kFreeBSD support



Package: arts
Followup-For: Bug #263536

Hello,

Please find attached a new patch to add GNU/kFreeBSD (and also GNU/Hurd
support). It simply disable alsa (as it is linux only) on these
platforms. The new patch is not so invasive as the first one, and
doesn't use a control.in nor use type-handling.

Would it be possible to add it with the next upload?

Thanks,
Aurelien

-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.3-1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
diff -u arts-1.3.2/debian/control arts-1.3.2/debian/control
--- arts-1.3.2/debian/control
+++ arts-1.3.2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
 Uploaders: Christopher L Cheney <ccheney@debian.org>, Christopher Martin <chrsmrtn@freeshell.org>, Adeodato Simó <asp16@alu.ua.es>
-Build-Depends: debhelper (>> 4.2.0), docbook-to-man, gawk, gettext, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.100.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-static-pic
+Build-Depends: debhelper (>> 4.2.0), docbook-to-man, gawk, gettext, libasound2-dev [!kfreebsd-i386 !hurd-i386], libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.100.0-dev, libmad0-dev, libqt3-mt-dev, libvorbis-dev, sharutils, texinfo, xlibs-static-pic
 Build-Conflicts: libmas-dev
 Standards-Version: 3.6.1
 
@@ -43,7 +43,7 @@
 Package: libarts1-dev
 Architecture: any
 Section: libdevel
-Depends: libarts1 (= ${Source-Version}), libartsc0-dev, libasound2-dev, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.100.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev
+Depends: libarts1 (= ${Source-Version}), libartsc0-dev, ${alsa}, libaudio-dev, libaudiofile-dev, libesd0-dev, libglib2.0-dev, libjack0.100.0-dev, libmad0-dev, libogg-dev, libqt3-mt-dev, libvorbis-dev
 Conflicts: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Replaces: kdelibs3 (<< 4:3.0.0), libarts (<< 4:3.0.0), libarts-alsa (<< 4:3.0.0), libarts-dev (<< 4:3.0.0), libkmid (<< 4:3.0.0), libkmid-alsa (<< 4:3.0.0), libkmid-dev (<< 4:3.0.0)
 Description: aRts Sound system (development files)
diff -u arts-1.3.2/debian/rules arts-1.3.2/debian/rules
--- arts-1.3.2/debian/rules
+++ arts-1.3.2/debian/rules
@@ -206,7 +206,11 @@
 	dh_makeshlibs -V
 	dh_installdeb
 	dh_shlibdeps -ldebian/libartsc0/usr/lib:debian/libarts1/usr/lib
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+	dh_gencontrol -- -Valsa="libasound2-dev"
+else
 	dh_gencontrol
+endif
 	dh_md5sums
 	dh_builddeb
 

Reply to: