[arch-general] Ardour 5 - Was: What's with Ray Rashif?
Ralf Mardorf
silver.bullet at zoho.com
Wed Dec 28 14:45:19 UTC 2016
On Wed, 28 Dec 2016 14:55:18 +0100, David Runge wrote:
>On 2016-12-28 00:37:16 (+0100), Ralf Mardorf wrote:
>> >Used it with jack2 1.9.10-6
>> Strange, the version of jack2 you are using is known to cause issues
>> with Ardour, but actually I experienced an issue :D.
>Okay. What kind of issues are those supposed to be though, and what
>exactly is your issue with ardour + jack2?
IIRC there was an issue with ardour's freewheeling export and jack2. I
don't remember exactly which commit fixed the issue.
I don't know what kuind of issue I've got. Ardour crashed, when testing
my new USB audio interface, so I continued testing with Qtractor. I've
got no time to check why Ardour crashed.
>> [rocketmouse at archlinux ~]$ pacman -Q jack2
>> jack2 1.9.10.r202.gf2ece24-1
>Is that jack2-git from AUR?
No, it is jack2 from git, but not the original AUR package, see my
comment https://aur.archlinux.org/packages/jack2-git/ .
$ cat PKGBUILD
pkgbase=jack2
pkgname=('jack2' 'jack2-dbus')
#pkgname= # single build (overrides split)
_tarname=jack
pkgver=1.9.10.r202.gf2ece24
pkgrel=1
arch=('i686' 'x86_64')
url="http://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
license=('GPL')
makedepends=('python2-dbus' 'celt' 'opus' 'libsamplerate' 'git' 'libffado')
source=("git+https://github.com/jackaudio/jack2"
'99-audio.conf'
'40-hpet-permissions.rules')
md5sums=('SKIP'
'ae65b7c9ebe0fff6c918ba9d97ae342d'
'471aad533ff56c5d3cbbf65ce32cadef')
_gitname='jack2'
_pyfix() {
sed -i 's:bin/env python:bin/env python2:' \
"$pkgdir/usr/bin/jack_control"
}
_wafconf() {
# default=64, AUR=128, kxstudio=256 --clients=
# default=768, AUR=1536, kxstudio=2048 --ports-per-application=
python2 waf configure --prefix=/usr \
--clients=64 --ports-per-application=768 \
--alsa --firewire $@
}
_isbuild() {
printf "%s\n" ${pkgname[@]} | grep -qx $1
}
pkgver() {
cd jack2
echo $(git describe|sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g')
}
prepare() {
# we may do 2 different builds
cp -r $_gitname $_gitname-dbus
}
build() {
cd "$srcdir"
# mixed dbus/classic build
if _isbuild jack2; then
cd $_gitname
msg2 "Running Mixed D-Bus/Classic build"
_wafconf --classic --dbus
python2 waf build $MAKEFLAGS
cd ..
fi
# dbus-ONLY build
if _isbuild jack2-dbus; then
cd $_gitname-dbus
msg2 "Running D-Bus-only build"
_wafconf --dbus
python2 waf build $MAKEFLAGS
cd ..
fi
}
package_jack2() {
! _isbuild jack2 && return 0
pkgdesc="The next-generation JACK with SMP support"
depends=('libsamplerate' 'opus' 'celt' 'libffado')
optdepends=('python2-dbus: jack_control')
conflicts=('jack')
provides=('jack' 'jackmp' 'jackdmp' 'jackdbus')
cd "$srcdir/$_gitname"
python2 waf install --destdir="$pkgdir"
# fix for major python transition
_pyfix
# configure realtime access/scheduling
install -Dm644 "$srcdir/99-audio.conf" \
"$pkgdir/etc/security/limits.d/99-audio.conf"
install -Dm644 "$srcdir/40-hpet-permissions.rules" \
"$pkgdir/usr/lib/udev/rules.d/40-hpet-permissions.rules"
}
package_jack2-dbus() {
! _isbuild jack2-dbus && return 0
pkgdesc="The next-generation JACK with SMP support (for D-BUS interaction only)"
depends=('libsamplerate' 'celt' 'opus' 'libffado')
optdepends=('python2-dbus: jack_control')
conflicts=('jack' 'jack2')
provides=('jack' 'jack2' 'jackmp' 'jackdmp' 'jackdbus')
cd "$srcdir/$_gitname-dbus"
python2 waf install --destdir="$pkgdir"
_pyfix
install -Dm644 "$srcdir/99-audio.conf" \
"$pkgdir/etc/security/limits.d/99-audio.conf"
install -Dm644 "$srcdir/40-hpet-permissions.rules" \
"$pkgdir/usr/lib/udev/rules.d/40-hpet-permissions.rules"
}
More information about the arch-general
mailing list