[jack-audio-connection-kit/f17] Reenable -O0 optflag, move jack_control to dbus package and patch sigsegv fault handling.
Brendan Jones
bsjones at fedoraproject.org
Tue Nov 20 10:45:10 UTC 2012
commit 2fbc4af2e4c3527bf54a1d81f48d00df13e5503b
Author: Brendan Jones <brendan.jones.it at gmail.com>
Date: Tue Nov 20 11:44:01 2012 +0100
Reenable -O0 optflag, move jack_control to dbus package and patch sigsegv fault handling.
jack-audio-connection-kit-README.Fedora | 19 +++++++++++++++++--
jack-audio-connection-kit.spec | 14 +++++++++++---
2 files changed, 28 insertions(+), 5 deletions(-)
---
diff --git a/jack-audio-connection-kit-README.Fedora b/jack-audio-connection-kit-README.Fedora
index 2171273..07ff13d 100644
--- a/jack-audio-connection-kit-README.Fedora
+++ b/jack-audio-connection-kit-README.Fedora
@@ -5,7 +5,7 @@ Switch to root account.
Install the required packages:
yum install alsa-plugins-jack
-Add yourself to the audio and jackuser groups.
+Add yourself to the jackuser group.
usermod -a -G audio,jackuser "<your username>"
Now you will need to log out and log back in, or simply restart the system.
@@ -41,9 +41,22 @@ hw ALSA device (hw:0 for the first card, etc). Even best to use the name of the
card as stated above.
+ USING THE JACK DBUS INTERFACE
+
+Control applications such as qjackctl can be configured to interact with the jack
+sound server using D-Bus. This has the advantage of allowing jack to request the
+release of the sound device from Pulseaudio (see below).
+
+jackdbus is shipped in a separate package. To install this (as root) do:
+
+ yum install jack-audio-connection-kit-dus
+
+and check "Enable D-Bus interface" in Setup -> Misc within Qjackctl
+
+
INTEGRATE JACK WITH PULSEAUDIO
-Jack will ask Pulse Audio through dbus for ownership of the sound card. Pulse
+Jack will ask Pulse Audio through D-Bus for ownership of the sound card. Pulse
Audio will grant it and Jack will have complete control of it. No conflicts and
no configuration necessary. In this case Pulse Audio will stop using the card
and if it is the only one, you will not have sound for system sounds, browser
@@ -51,6 +64,8 @@ media playback, etc (which is usually what you want). Otherwise it is possible
to load a Pulse Audio module that redirects PA to use Jack.
+
+
RUNNING JACK SERVER IN REALTIME MODE
NOTE: This chapter explains why you have done the above changes in more detail.
diff --git a/jack-audio-connection-kit.spec b/jack-audio-connection-kit.spec
index 27a3309..7ffee7e 100644
--- a/jack-audio-connection-kit.spec
+++ b/jack-audio-connection-kit.spec
@@ -4,7 +4,7 @@
Summary: The Jack Audio Connection Kit
Name: jack-audio-connection-kit
Version: 1.9.8
-Release: 10%{?dist}
+Release: 11%{?dist}
# The entire source (~500 files) is a mixture of these three licenses
License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Daemons
@@ -31,6 +31,8 @@ Patch5: jack-fix-connect-segfault.patch
Patch6: jack-ppc64-long.patch
# uc_regs no longer available on ppc64
Patch7: jack-audio-connection-kit-ppc-uc_regs.patch
+# correct sigsegv handling
+Patch8: jack-audio-connection-kit-1.9.8-sigsegv-handling.patch
BuildRequires: alsa-lib-devel
BuildRequires: dbus-devel
@@ -101,6 +103,7 @@ pushd jack-%{version}
%patch5 -p1 -b .connectcrash
%patch6 -p1 -b .mpd
%patch7 -p1 -b .uc_regs
+%patch8 -p1 -b .sigsegvfault
# Fix encoding issues
for file in ChangeLog README TODO; do
@@ -114,7 +117,7 @@ popd
%build
pushd jack-%{version}
-export CPPFLAGS="$RPM_OPT_FLAGS -DJACK_32_64"
+export CPPFLAGS="$RPM_OPT_FLAGS -DJACK_32_64 -O0"
export PREFIX=%{_prefix}
# Parallel build disabled as it fails sometimes
./waf configure \
@@ -188,6 +191,7 @@ exit 0
%files dbus
%{_bindir}/jackdbus
%{_datadir}/dbus-1/services/org.jackaudio.service
+%{_bindir}/jack_control
%files devel
%doc jack-%{version}/reference/*
@@ -203,7 +207,6 @@ exit 0
%{_bindir}/jack_alias
%{_bindir}/jack_bufsize
%{_bindir}/jack_connect
-%{_bindir}/jack_control
%{_bindir}/jack_disconnect
%{_bindir}/jack_cpu_load
%{_bindir}/jack_evmon
@@ -262,6 +265,11 @@ exit 0
%changelog
+* Tue Nov 20 2012 Brendan Jones <brendan.jones.it at gmail.com> 1.9.8-11
+- Build with -O0. RHBZ#827748 still not resolved with gcc-4.7.2
+- Update README, add jack_control to dbus package
+- Add upstream sigsegv fault handling patch
+
* Sun Oct 28 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.9.8-10
- Seem like RHBZ#827748 is resolved. Rebuild optimized
More information about the scm-commits
mailing list