New Package for Review: jack-audio-connection-kit (&selinux?)

Fernando Lopez-Lezcano nando at ccrma.Stanford.EDU
Fri Mar 25 18:34:10 UTC 2005

On Thu, 2005-03-24 at 17:40, Aaron VanDevender wrote:
> On Thu, 2005-03-24 at 15:09 -0800, Fernando Lopez-Lezcano wrote:
> > Good. If/when it makes it to Extras there's a lot of stuff waiting that
> > depends on it (for example Rosegarden, which was requested a couple of
> > days ago). 
> Funny you mention that. I actually just wrote a rosegarden .spec. I'll
> submit the .src.rpm when I finish testing it a little more.

The existing packages at Planet CCRMA may save you some time, they work
on rh9/fc1/fc2/fc3 and have been tested by a lot of users, not to mean,
of course, that they could not be improved :-) I'm attaching my current
spec for rosegarden4.

> > Sounds good to me. With the proviso that users should be warned, the
> > expectation of low latency performace is there otherwise, and users will
> > not get it unless they are willing to run everything as root (yuck!).
> my (limited) experience using JACK hasn't had too many problems with the
> performance (no xruns, etc.) even when not running as root, provided the
> correct frame/period settings are used. 

What are you using reliably?

> But I'm sure that probably varies by hardware and by task.

Yep. To do recording projects, for example, you do need realtime
priority otherwise a single xrun will ruin your take. Unless you don't
mind clicks in your audio. You can, of course, minimize the chance of
that happening, but you will eventually get xruns without running with
"-R". Another case is playing software synths in realtime, you need low
latency settings in Jack or you will notice the "lag" while playing. 

> > Even if it had been worked out the lsm module cannot be built with the
> > existing Fedora kernel configuration, it needs:
> > instead of 
> > and both modules can't be stacked together (at least the last time I
> > tried it it was not working). 
> Perhaps we should open a bugzilla on the kernel about this?

Probably, I don't know what this would affect. It is more a conflict
than a bug. 

-- Fernando

-------------- next part --------------
%define	desktop_vendor planetccrma
%define desktop_utils  %(test -x /usr/bin/desktop-file-install && echo "yes")

Summary:      Midi, audio and notation editor
Name:         rosegarden4
Version:      1.0
Release:      1
Source0:      rosegarden-4-%{version}.tar.bz2
License:      GPL
Group:        Applications/Multimedia
BuildRoot:    %{_tmppath}/%{name}-%{version}-root
Requires:     jack-audio-connection-kit >= 0.66.3
Obsoletes:    rosegarden
Obsoletes:    rosegarden-4
Packager:     Fernando Lopez-Lezcano
Vendor: Planet CCRMA
Distribution: Planet CCRMA

BuildRequires: gcc-c++ ladspa-devel XFree86-devel
BuildRequires: alsa-lib-devel curl-devel e2fsprogs-devel freetype-devel
BuildRequires: glib2-devel glibc-devel jack-audio-connection-kit-devel
BuildRequires: libart_lgpl-devel libmad-devel openssl-devel qt-devel zlib-devel
BuildRequires: kdelibs-devel libpng-devel libtiff-devel libjpeg-devel
BuildRequires: liblrdf-devel liblo-devel dssi-devel
%if "%{fc2}" == "1" || "%{fc3}" == "1"
BuildRequires: libselinux-devel
%{?fc1:BuildRequires: arts-devel}
%{?rh9:BuildRequires: arts-devel}

Rosegarden-4 is an attractive, user-friendly MIDI and audio sequencer,
notation editor, and general-purpose music composition and editing
application for Unix and Linux

%setup -q -n rosegarden-4-%{version}

%configure --with-jack --with-ladspa
%if "%{rh73}" == "1"
# ansi disables nanosleep in sys/time.h
%{__perl} -p -i -e "s|-ansi||g" sound/Makefile
%{__make} %{?_smp_mflags}

%{__rm} -rf %{buildroot}
%{__make} DESTDIR=%{buildroot} install

# redhat menus
%{__cat} << EOF > %{desktop_vendor}-%{name}.desktop
[Desktop Entry]
Comment=Midi and Audio Sequencer and Editor

%if "%{desktop_utils}" == "yes"
  %{__mkdir} -p %{buildroot}%{_datadir}/applications
  desktop-file-install --vendor %{desktop_vendor} \
    --dir %{buildroot}%{_datadir}/applications    \
    --add-category X-Red-Hat-Base                 \
    --add-category Application                    \
    --add-category AudioVideo                     \
  %{__mkdir} -p %{buildroot}%{_sysconfdir}/X11/applnk/System
  %{__cp} %{desktop_vendor}-%{name}.desktop \

# rename the resulting binaries in 7.3... sigh...
if [ -e "%{buildroot}%{_bindir}/i386-redhat-linux-rosegarden" ] ; then
  %{__mv} %{buildroot}%{_bindir}/i386-redhat-linux-rosegarden %{buildroot}%{_bindir}/rosegarden
  %{__mv} %{buildroot}%{_bindir}/i386-redhat-linux-rosegardensequencer %{buildroot}%{_bindir}/rosegardensequencer

%{__rm} -rf %{buildroot}

%exclude %{_datadir}/applnk/Applications/rosegarden.desktop
%if "%{desktop_utils}" == "yes"

* Tue Feb 15 2005 Fernando Lopez-Lezcano <nando at> 1.0-1
- updated to 1.0
* Fri Dec 31 2004 Fernando Lopez-Lezcano <nando at> 
- added doc/HTML/*/* files
* Thu Dec 23 2004 Fernando Lopez-Lezcano <nando at> 0.9.91-1
- udpated to 0.9.91, aka 1.0pre1
- build with dssi
* Thu Aug 19 2004 Fernando Lopez-Lezcano <nando at> 0.9.9-1
- udpated to 0.9.9
* Mon May 24 2004 Fernando Lopez-Lezcano <nando at> 0.9.8-1
- updated to 0.9.8
- added icon to menu entry, icons in file listing
- excluded original menu entry from list (otherwise we get two)
* Mon May 17 2004 Fernando Lopez-Lezcano <nando at> 
- added selinux-devel build requirement for FC2
* Thu Mar 25 2004 Fernando Lopez-Lezcano <nando at> 0.9.7-1
- updated to 0.9.7
- added mimelnk files to file list
* Sun Feb 29 2004 Fernando Lopez-Lezcano <nando at> 0.9.6-2
- rebuild for liblrdf 0.3.5
* Mon Jan 12 2004 Fernando Lopez-Lezcano <nando at> 0.9.6-1
- updated to 0.9.6
* Fri Dec  5 2003 Fernando Lopez-Lezcano <nando at> 0.9.5-2
- fix binary names in 7.3
* Fri Nov 28 2003 Fernando Lopez-Lezcano <nando at> 0.9.5-1
- updated to 0.9.5
* Tue Nov 18 2003 Fernando Lopez-Lezcano <nando at> 0.9.1-1
- added patch2, fixes const bug under gcc 3.3.2 (FC1)
* Mon Nov 17 2003 Fernando Lopez-Lezcano <nando at> 0.9.1-1
- added release tags, spec file tweaks
* Mon Jun 16 2003 Fernando Lopez-Lezcano <nando at> 0.9.1-1
- fixed AlsaDriver.h to work around a jack issue
* Thu Jun  5 2003 Fernando Lopez-Lezcano <nando at> 0.9.1-1
- updated to 0.9.1
* Mon May 12 2003 Fernando Lopez-Lezcano <nando at> 0.9-1
- updated to 0.9
- added locale files in file list
* Wed Apr  2 2003 Fernando Lopez-Lezcano <nando at> 0.8.5-2
- rebuild for jack 0.66.3
* Wed Dec 18 2002 Fernando Lopez Lezcano <nando at> 0.8.5-1
- changed name to rosegarden, anaconda does not like the current name
  (anaconda should be fixed, name is legal)
- update to 0.8.5
* Sun Nov 10 2002 Fernando Lopez Lezcano <nando at> 0.8-2
- changed name of package to rosegarden-4 (what was I thinking?...)
- added patch to rename jack alsa ports for jack >= 0.40
- added explicit dependency to jack
- added redhat menu entry
* Fri Oct 18 2002 Fernando Lopez Lezcano <nando at>
- Initial build.

More information about the fedora-extras-list mailing list