Your message dated Mon, 08 Aug 2011 16:02:23 +0000
with message-id <[email protected]>
and subject line Bug#636921: fixed in ardour 1:2.8.11-7
has caused the Debian Bug report #636921,
regarding ardour: FTBFS on kfreebsd-*
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
636921: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636921
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ardour
Version: 1:2.8.11-6
Severity: important
Tags: patch
Justification: fails to build from source

Hello!

As can be seen from the buildd logs, Ardour fails to build on non-Linux
ports:

<https://buildd.debian.org/status/package.php?p=ardour&suite=sid>

I have attached a patch which allows it to build on at least kFreeBSD
architectures. I have tested building and running the modified package on
both kfreebsd-amd64 and [linux-]amd64 systems, and have not found any
problems with it.

As noted in the patch, thanks to the FreeBSD porters, without whose work
this would have been a lot more difficult.

Please let me know if you need any more information.

Thanks!
Steven.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (700, 'experimental')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 8.2-1-amd64
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ardour depends on:
ii  jackd                5                   JACK Audio Connection Kit (default
ii  libart-2.0-2         2.3.21-1            Library of functions for 2D graphi
ii  libatk1.0-0          2.0.1-2             ATK accessibility toolkit
ii  libatkmm-1.6-1       2.22.5-1            C++ wrappers for ATK accessibility
ii  libaubio2            0.3.2-4.2           a library for audio segmentation
ii  libc0.1              2.13-14             Embedded GNU C Library: Shared lib
ii  libcairo2            1.10.2-6.1          The Cairo 2D vector graphics libra
ii  libcairomm-1.0-1     1.10.0-1            C++ wrappers for Cairo (shared lib
ii  libcurl3-gnutls      7.21.7-1            Multi-protocol file transfer libra
ii  libfftw3-3           3.2.2-1             library for computing Fast Fourier
ii  libfontconfig1       2.8.0-3             generic font configuration library
ii  libfreetype6         2.4.6-1             FreeType 2 font engine, shared lib
ii  libgcc1              1:4.6.1-4           GCC support library
ii  libgdk-pixbuf2.0-0   2.23.5-3            GDK Pixbuf library
ii  libglib2.0-0         2.28.6-1            The GLib library of C routines
ii  libglibmm-2.4-1c2a   2.28.1-1            C++ wrapper for the GLib toolkit (
ii  libgnomecanvas2-0    2.30.3-1            powerful object-oriented display e
ii  libgnomecanvasmm-2.6 2.26.0-1            C++ wrappers for libgnomecanvas2 (
ii  libgtk2.0-0          2.24.5-4            GTK+ graphical user interface libr
ii  libgtkmm-2.4-1c2a    1:2.24.0-1          C++ wrappers for GTK+ (shared libr
ii  libjack0 [libjack-0. 1:0.121.0+svn4469-2 JACK Audio Connection Kit (librari
ii  liblo7               0.26~repack-7       Lightweight OSC library
ii  liblrdf0             0.4.0-5             library to manipulate RDF files de
ii  libpango1.0-0        1.28.4-2            Layout and rendering of internatio
ii  libpangomm-1.4-1     2.28.2-1            C++ Wrapper for pango (shared libr
ii  libraptor1           1.4.21-5            Raptor RDF parser and serializer l
ii  libraptor2-0         2.0.4-1             Raptor 2 RDF syntax library
ii  librasqal3           0.9.26-1            Rasqal RDF query library
ii  librdf0              1.0.13-3            Redland Resource Description Frame
ii  libsamplerate0       0.1.7-3             Audio sample rate conversion libra
ii  libsigc++-2.0-0c2a   2.2.9-1             type-safe Signal Framework for C++
ii  libslv2-9            0.6.6-9             A library for simple use of LV2 pl
ii  libsndfile1          1.0.25-2            Library for reading/writing audio 
ii  libstdc++6           4.6.1-4             GNU Standard C++ Library v3
ii  libusb-0.1-4         2:0.1.12-18         userspace USB programming library
ii  libvamp-hostsdk3     2.1-1               helper library for Vamp hosts writ
ii  libvamp-sdk2         2.1-1               helper library for Vamp plugins wr
ii  libxml2              2.7.8.dfsg-4        GNOME XML library
ii  libxslt1.1           1.1.26-8            XSLT 1.0 processing library - runt
ii  python               2.6.7-2             interactive high-level object-orie
ii  python-gtk2          2.24.0-2            Python bindings for the GTK+ widge
ii  python-twisted       11.0.0-2            Event-based framework for internet

Versions of packages ardour recommends:
ii  iceweasel [www-browser]       6.0~b4-1   Web browser based on Firefox
ii  midori [www-browser]          0.4.0-1    fast, lightweight graphical web br
ii  w3m [www-browser]             0.5.3-3    WWW browsable pager with excellent

ardour suggests no packages.

-- debconf-show failed
diff --git a/debian/patches/160_kfreebsd.patch b/debian/patches/160_kfreebsd.patch
new file mode 100644
index 0000000..631e085
--- /dev/null
+++ b/debian/patches/160_kfreebsd.patch
@@ -0,0 +1,175 @@
+Remove assumptions about ALSA presence to allow to build on non-Linux ports. Thanks to the FreeBSD porters, on whose work this is based.
+--- a/SConstruct
++++ b/SConstruct
+@@ -1016,7 +1016,7 @@
+ 
+ conf = Configure(env)
+ 
+-if conf.CheckCHeader('alsa/asoundlib.h'):
++if conf.CheckCHeader('alsa/asoundlib.h') and os.environ['DEB_HOST_ARCH_OS'] == 'linux':
+     libraries['sysmidi'] = LibraryInfo (LIBS='asound')
+     env['SYSMIDI'] = 'ALSA Sequencer'
+     subst_dict['%MIDITAG%'] = "seq"
+@@ -1034,8 +1034,10 @@
+     subst_dict['%MIDITAG%'] = "ardour"
+     subst_dict['%MIDITYPE%'] = "coremidi"
+ else:
+-    print "It appears you don't have the required MIDI libraries installed. For Linux this means you are missing the development package for ALSA libraries."
+-    sys.exit (1)
++    libraries['sysmidi'] = LibraryInfo ()
++    env['SYSMIDI'] = 'none'
++    subst_dict['%MIDITAG%'] = "none"
++    subst_dict['%MIDITYPE%'] = "none"
+ 
+ pname = env['PROGRAM_NAME']
+ subst_dict['%MIDI_DEVICE_NAME%'] = pname.lower()
+@@ -1320,9 +1322,12 @@
+ if conf.CheckCHeader('/System/Library/Frameworks/CoreAudio.framework/Versions/A/Headers/CoreAudio.h'):
+     subst_dict['%JACK_INPUT%'] = "coreaudio:Built-in Audio:in"
+     subst_dict['%JACK_OUTPUT%'] = "coreaudio:Built-in Audio:out"
+-else:
++elif os.environ['DEB_HOST_ARCH_OS'] == 'linux':
+     subst_dict['%JACK_INPUT%'] = "alsa_pcm:playback_"
+     subst_dict['%JACK_OUTPUT%'] = "alsa_pcm:capture_"
++else:
++    subst_dict['%JACK_INPUT%'] = "oss:playback_"
++    subst_dict['%JACK_OUTPUT%'] = "oss:capture_"
+ 
+ # posix_memalign available
+ if not conf.CheckFunc('posix_memalign'):
+--- a/libs/midi++2/SConscript
++++ b/libs/midi++2/SConscript
+@@ -39,9 +39,11 @@
+    midi2.Append (CCFLAGS="-DWITH_COREMIDI")
+    midi2.Append (LINKFLAGS="-framework CoreMIDI")
+    midi2.Append (LINKFLAGS="-framework CoreFoundation")
+-else:
++elif os.environ['DEB_HOST_ARCH_OS'] == 'linux':
+    sysdep_src = [ 'alsa_sequencer_midiport.cc' ]
+    midi2.Append (CCFLAGS="-DWITH_ALSA")
++else:
++   sysdep_src = [ ]
+ 
+ midi2.Append(CCFLAGS="-D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE")
+ midi2.Append(CCFLAGS="-DLIBSIGC_DISABLE_DEPRECATED")
+--- a/gtk2_ardour/engine_dialog.cc
++++ b/gtk2_ardour/engine_dialog.cc
+@@ -12,7 +12,7 @@
+ #include <CoreFoundation/CFString.h>
+ #include <sys/param.h>
+ #include <mach-o/dyld.h>
+-#else
++#elif defined(__linux__)
+ #include <alsa/asoundlib.h>
+ #endif
+ 
+@@ -113,7 +113,9 @@
+ #ifdef __APPLE__
+ 	strings.push_back (X_("CoreAudio"));
+ #else
++#ifdef __linux__
+ 	strings.push_back (X_("ALSA"));
++#endif
+ 	strings.push_back (X_("OSS"));
+ 	strings.push_back (X_("FFADO"));
+ #endif
+@@ -158,7 +160,7 @@
+ 	basic_packer.attach (period_size_combo, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+ 	row++;
+ 
+-#ifndef __APPLE__
++#ifdef __linux__
+ 	label = manage (new Label (_("Number of buffers")));
+ 	basic_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+ 	basic_packer.attach (periods_spinner, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+@@ -179,7 +181,7 @@
+ 	row++;
+ 	/* no audio mode with CoreAudio, its duplex or nuthin' */
+ 
+-#ifndef __APPLE__
++#ifdef __linux__
+ 	label = manage (new Label (_("Audio Mode")));
+ 	basic_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+ 	basic_packer.attach (audio_mode_combo, 1, 2, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+@@ -218,7 +220,7 @@
+ 	realtime_button.signal_toggled().connect (mem_fun (*this, &EngineControl::realtime_changed));
+ 	realtime_changed ();
+ 
+-#ifndef __APPLE__
++#ifdef __linux__
+ 	label = manage (new Label (_("Realtime Priority")));
+ 	label->set_alignment (1.0, 0.5);
+ 	options_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+@@ -268,7 +270,7 @@
+ 	options_packer.attach (*label, 0, 1, row, row + 1, FILL|EXPAND, (AttachOptions) 0);
+ 	++row;
+ 
+-#ifndef __APPLE__
++#ifdef __linux
+ 	label = manage (new Label (_("Dither")));	
+ 	label->set_alignment (1.0, 0.5);
+ 	options_packer.attach (dither_mode_combo, 1, 2, row, row + 1, FILL|EXPAND, AttachOptions(0));
+@@ -299,7 +301,7 @@
+ 	device_packer.set_spacings (6);
+ 	row = 0;
+ 
+-#ifndef __APPLE__
++#ifdef __linux__
+ 	label = manage (new Label (_("Input device")));
+ 	label->set_alignment (1.0, 0.5);
+ 	device_packer.attach (*label, 0, 1, row, row+1, FILL|EXPAND, (AttachOptions) 0);
+@@ -570,7 +572,7 @@
+ void
+ EngineControl::realtime_changed ()
+ {
+-#ifndef __APPLE__
++#ifdef __linux__
+ 	priority_spinner.set_sensitive (realtime_button.get_active());
+ #endif
+ }
+@@ -586,8 +588,10 @@
+ #endif
+ 
+ #ifndef __APPLE__
++#ifdef __linux__
+ 	} else if (driver == "ALSA") {
+ 		devices[driver] = enumerate_alsa_devices ();
++#endif
+ 	} else if (driver == "FFADO") {
+ 		devices[driver] = enumerate_ffado_devices ();
+ 	} else if (driver == "OSS") {
+@@ -714,6 +718,7 @@
+ 	return devs;
+ }
+ #else
++#ifdef __linux__
+ vector<string>
+ EngineControl::enumerate_alsa_devices ()
+ {
+@@ -774,6 +779,7 @@
+ 
+ 	return devs;
+ }
++#endif
+ 
+ vector<string>
+ EngineControl::enumerate_ffado_devices ()
+@@ -816,7 +822,9 @@
+ 	vector<string>& strings = devices[driver];
+ 
+ 	if (strings.empty() && driver != "FFADO" && driver != "Dummy") {
++#ifdef __linux__
+ 		error << string_compose (_("No devices found for driver \"%1\""), driver) << endmsg;
++#endif
+ 		return;
+ 	}
+ 	
+@@ -862,7 +870,7 @@
+ EngineControl::redisplay_latency ()
+ {
+ 	uint32_t rate = get_rate();
+-#ifdef __APPLE_
++#ifndef __linux__
+ 	float periods = 2;
+ #else
+ 	float periods = periods_adjustment.get_value();
diff --git a/debian/patches/series b/debian/patches/series
index 8c0c070..43377df 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@
 111_libardourvampplugins.patch
 140_enable-ladish.patch
 150_soundtouch.patch
+160_kfreebsd.patch

--- End Message ---
--- Begin Message ---
Source: ardour
Source-Version: 1:2.8.11-7

We believe that the bug you reported is fixed in the latest version of
ardour, which is due to be installed in the Debian FTP archive:

ardour-i686_2.8.11-7_i386.deb
  to main/a/ardour/ardour-i686_2.8.11-7_i386.deb
ardour_2.8.11-7.debian.tar.gz
  to main/a/ardour/ardour_2.8.11-7.debian.tar.gz
ardour_2.8.11-7.dsc
  to main/a/ardour/ardour_2.8.11-7.dsc
ardour_2.8.11-7_i386.deb
  to main/a/ardour/ardour_2.8.11-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Knoth <[email protected]> (supplier of updated ardour package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 08 Aug 2011 16:43:50 +0200
Source: ardour
Binary: ardour ardour-altivec ardour-i686
Architecture: source i386
Version: 1:2.8.11-7
Distribution: unstable
Urgency: low
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Adrian Knoth <[email protected]>
Description: 
 ardour     - digital audio workstation (graphical gtk2 interface)
 ardour-altivec - digital audio workstation (graphical gtk2 interface) [altivec]
 ardour-i686 - digital audio workstation (graphical gtk2 interface) [i686]
Closes: 634104 636921
Changes: 
 ardour (1:2.8.11-7) unstable; urgency=low
 .
   * Fix FTBFS on kFreeBSD (Closes: #636921)
   * Use linux-any/!linux-any in arch lists (Closes: #634104)
Checksums-Sha1: 
 99f0275e7ce037d07516849c319601e7702b9ffb 2736 ardour_2.8.11-7.dsc
 ed607ae564b649cc173cd3dbc98c70fdf1fb623f 116691 ardour_2.8.11-7.debian.tar.gz
 1755510ffad9e023282bc2dbcfda72e67c625810 5416332 ardour_2.8.11-7_i386.deb
 9de050b0b90002e95e97177e14f889ddc5a8600d 5165934 ardour-i686_2.8.11-7_i386.deb
Checksums-Sha256: 
 5b8323be1384b501cc3fc953c425315e21d0c507e7768e1d65ee602bf9449e13 2736 
ardour_2.8.11-7.dsc
 867445ab479a7ca89f7a44f66865f3d45226bb8cfba55db9397270cfeeebe977 116691 
ardour_2.8.11-7.debian.tar.gz
 fa111ea096daa8ed8cf11baa9b604011a4b025219c823e587db7a441e2364a83 5416332 
ardour_2.8.11-7_i386.deb
 b015c06558d8939caac449a3d06b298b06624434e7a521ca5e6f00f2efc04729 5165934 
ardour-i686_2.8.11-7_i386.deb
Files: 
 f6a4fb3466e8e7bbc862aed63a870e24 2736 sound extra ardour_2.8.11-7.dsc
 0a3822e0b2a6cfaba5a12343c5df73c8 116691 sound extra 
ardour_2.8.11-7.debian.tar.gz
 c04fc28209e448da4eb9afe4ea4dfe3d 5416332 sound extra ardour_2.8.11-7_i386.deb
 af4feca6b070d5b5eaa48b4c1c68d71c 5165934 sound extra 
ardour-i686_2.8.11-7_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOQAR6AAoJEI8ytEIvUhB/+ysQANORz0UAMHdtGdzN9m7mTDNK
47NG1izTnnMuAjRJdkR8uVu8jl86Eat5pG1doNEWrpguVwGC9bOwfdoJmHs02QVy
msRhC349WY3fyeR0Gx3PZo1rajlvr8YZYEzmZrY3xO8hiN9FI1xZdUQalXgdPntR
Kn+e0l9evkfob1A1yt0kCV+80s8RHaD4TgWJdQsujgVavPg5j+m8MsxKICRWZtPH
Ef/W8F9DogLC7SZLZaZ+YOLqZ7AJzdQUzY5TWVKUr7uOJYWrB3zzb+b3iYkPW3gc
tExnyZLl1hByQ2552fTLuDwoDBgGrZe+m3ZvSerAsCISvFItxRxOxy8GaOkEMhNx
4WT7WsC3pSd7JSu96fSdthswWZAGtwbOE3dA3TYHGz1qFZdft/2oR4VXaSQmXdUQ
J7k7SL7ciJFrPXsckDEQW0EqHjgqb6OWWc67E/9tlbkwLTZ3XLGJVdOGBSX3Qicq
wSc1dzbc7AIqKNNQ3tFAsg+Csn24aBxbocP/PkJ28LsuypTDH/q6aDavvc8XVaGj
aqynUcJ8eRthOKP1aGKN1fnldMfMrEMGILOW9azJQR0CVN5YpEeCZCDpCPj9YQY1
ZNW/60l8H6VZDE04WhFyXXLOvN+yVkVEHiqJx/ju53qW8FPiTuH3/fhzjSNOsF5q
DxvpDp9xSLNHUgPhaL7D
=H96W
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to