On Mar 17 12:03:27, Stefan Sperling wrote:
> I've ported the ardour digital audio workstation (http://ardour.org)
> to OpenBSD some time ago. The port includes some new glue code for
> sndio midi which I tested with a Mackie-style controller.
>
> It builds and runs, with audio/jack as audio backend. But there are
> some stability problems. Sometimes sound isn't audible unless latency
> is tweaked in the JACK->Latency menu. What's worse is that it freezes
> up during playback occasionally. ratchov says these problems might be
> related to jack's sndio backend.
>
> I'd like to import this anyway so that remaining issues can be fixed in-tree.
>
> Patches in the ardour port have been shown to upstream.
> There won't be another ardour2 release so they won't take the patches.
> Upstream work is focused on ardour3.
>
> The ardour port and ports for two new required dependencies are attached
> and also at http://stsp.name/openbsd/ports/ardour/
On current/amd64, the compilation fails with
g++ -o libs/pbd/basename.os -c -Woverloaded-virtual -DGTK_NEW_TOOLTIP_API
-DPACKAGE=\"libpbd\" -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-DLIBSIGC_DISABLE_DEPRECATED -DHAVE_EXECINFO -O3 -fomit-frame-pointer
-ffast-math -fstrength-reduce -pipe -DBUILD_SSE_OPTIMIZATIONS -DUSE_X86_64_ASM
-Wall -DHAVE_LIBLO -DPROGRAM_NAME=\"Ardour\" -D_REENTRANT -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_FORMAT_MACROS -Ilibs
-DENABLE_NLS -pthread -fPIC -I/usr/local/include/libxml2 -I/usr/local/include
-Ilibs/sigc++2 -Ilibs/glibmm2 -Ilibs/pbd -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/glib-2.0 libs/pbd/basename.cc
In file included from libs/glibmm2/glibmm/containerhandle_shared.h:32,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gmem.h:28:2: error: #error "Only <glib.h> can
be included directly."
In file included from libs/glibmm2/glibmm/ustring.h:24,
from libs/glibmm2/glibmm/containerhandle_shared.h:34,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h>
can be included directly."
In file included from libs/glibmm2/glibmm/ustring.h:25,
from libs/glibmm2/glibmm/containerhandle_shared.h:34,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gunicode.h:23:2: error: #error "Only <glib.h>
can be included directly."
In file included from libs/glibmm2/glibmm/unicode.h:27,
from libs/glibmm2/glibmm/ustring.h:26,
from libs/glibmm2/glibmm/containerhandle_shared.h:34,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h>
can be included directly."
In file included from libs/glibmm2/glibmm/unicode.h:28,
from libs/glibmm2/glibmm/ustring.h:26,
from libs/glibmm2/glibmm/containerhandle_shared.h:34,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gstrfuncs.h:28:2: error: #error "Only <glib.h>
can be included directly."
In file included from libs/glibmm2/glibmm/unicode.h:29,
from libs/glibmm2/glibmm/ustring.h:26,
from libs/glibmm2/glibmm/containerhandle_shared.h:34,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gunicode.h:23:2: error: #error "Only <glib.h>
can be included directly."
In file included from libs/glibmm2/glibmm/debug.h:24,
from libs/glibmm2/glibmm/containerhandle_shared.h:36,
from libs/glibmm2/glibmm/arrayhandle.h:24,
from libs/glibmm2/glibmm/miscutils.h:24,
from libs/pbd/basename.cc:21:
/usr/local/include/glib-2.0/glib/gmacros.h:32:2: error: #error "Only <glib.h>
can be included directly."
scons: *** [libs/pbd/basename.os] Error 1
scons: building terminated because of errors.
Indeed, greping the ardour source, it seems
that files are including gunicode.h etc
resulting in the above.
Jan