rpms/arts/devel arts-1.5.9-rh#444484.patch, NONE, 1.1 arts.spec, 1.86, 1.87
Rex Dieter (rdieter)
fedora-extras-commits at redhat.com
Thu May 15 17:06:26 UTC 2008
Author: rdieter
Update of /cvs/pkgs/rpms/arts/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8903
Modified Files:
arts.spec
Added Files:
arts-1.5.9-rh#444484.patch
Log Message:
* Thu May 15 2008 Rex Dieter <rdieter at fedoraproject.org> 8:1.5.9-3
- arts support for mixed multilib usage (#444484)
- f10+: drop optional esd, jack, nas support
arts-1.5.9-rh#444484.patch:
--- NEW FILE arts-1.5.9-rh#444484.patch ---
--- branches/arts/1.5/arts/artsc/artsdsp.in 2005/07/26 18:54:59 438982
+++ branches/arts/1.5/arts/artsc/artsdsp.in 2008/04/03 16:18:49 793315
@@ -89,45 +89,16 @@
fi
fi
-# setup artsdsp preload to hijack calls made to /dev/dsp
-origargs="$@"
-binary=`which $1`
-machine=`uname -m`
-
-set `file -L $binary`
-
-case $2 in
- ELF)
- ;;
- *)
- echo "artsdsp works only for binaries"
- exit 1
- esac
-
-case $3 in
- 32-bit)
- arch_libdir=lib
- ;;
- 64-bit)
- arch_libdir=lib64
- ;;
- *)
- exit 1
-esac
-
-set $origargs
-
prefix=@prefix@
exec_prefix=@exec_prefix@
-libdir=${prefix}/${arch_libdir}
if test "$single_thread" = 1; then
- LD_PRELOAD=${libdir}/libartsdsp_st.so.0
+ LD_PRELOAD=${exec_prefix}/\\$LIB/libartsdsp_st.so.0
else
- LD_PRELOAD=${libdir}/libartsdsp.so.0:${libdir}/libartsc.so.0
+ LD_PRELOAD=${exec_prefix}/\\$LIB/libartsdsp.so.0:${exec_prefix}/\\$LIB/libartsc.so.0
fi
-if test -f ${libdir}/libdl.so.2; then
- LD_PRELOAD=$LD_PRELOAD:${libdir}/libdl.so.2
+if test -f ${exec_prefix}/\\$LIB/libdl.so.2; then
+ LD_PRELOAD=$LD_PRELOAD:${exec_prefix}/\\$LIB/libdl.so.2
fi
export LD_PRELOAD
Index: arts.spec
===================================================================
RCS file: /cvs/pkgs/rpms/arts/devel/arts.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- arts.spec 12 Mar 2008 12:47:15 -0000 1.86
+++ arts.spec 15 May 2008 17:05:40 -0000 1.87
@@ -5,12 +5,20 @@
%define qt_version 3.3.8
%define make_cvs 1
+%if 0%{?fedora} < 10
+%define _with_esd --with-esd
+%define _with_nas --with-nas
+%if 0%{?rhel} == 0
+%define _with_jack --with-jack
+%endif
+%endif
+
Name: arts
Summary: aRts (analog realtime synthesizer) - the KDE sound system
Group: System Environment/Daemons
Epoch: 8
Version: 1.5.9
-Release: 2%{?dist}
+Release: 3%{?dist}
License: LGPLv2+
Url: http://www.kde.org
@@ -28,6 +36,8 @@
Patch50: arts-1.5.4-dlopenext.patch
Patch51: kde-3.5-libtool-shlibext.patch
# upstream patches
+# http://websvn.kde.org/branches/arts/1.5/arts/artsc/artsdsp.in?r1=438982&r2=793315&pathrev=793315
+Patch100: arts-1.5.9-rh#444484.patch
# used in artsdsp
Requires: which
@@ -40,11 +50,9 @@
BuildRequires: glib2-devel
BuildRequires: libvorbis-devel
BuildRequires: audiofile-devel
-BuildRequires: esound-devel
-%if 0%{?fedora} > 4
-BuildRequires: jack-audio-connection-kit-devel
-%endif
-BuildRequires: nas-devel
+%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
+%{?_with_esd:BuildRequires: esound-devel}
+%{?_with_nas:BuildRequires: nas-devel}
BuildRequires: findutils sed
%if %{make_cvs}
BuildRequires: automake libtool
@@ -71,8 +79,7 @@
Requires: pkgconfig
Requires: glib2-devel
%description devel
-Install arts-devel if you intend to write applications using arts (such as
-KDE applications using sound).
+Install %{name}-devel if you intend to write applications using aRts.
%prep
@@ -86,6 +93,7 @@
%patch50 -p1 -b .dlopenext
%patch51 -p1 -b .libtool-shlibext
+%patch100 -p4 -b .rh#444484
%if %{make_cvs}
make -f admin/Makefile.common cvs
@@ -102,7 +110,11 @@
--disable-dependency-tracking \
--enable-new-ldflags \
--disable-libmad \
-%if %{final}
+ --with-alsa \
+ %{?_with_esd} %{!?_with_esd:--without-esd} \
+ %{?_with_jack} %{!?_with_jack:--without-jack}\
+ %{?_with_nas} %{!?_with_nas:--without-nas} \
+%if 0%{?final}
--enable-final
%endif
@@ -188,6 +200,10 @@
%changelog
+* Thu May 15 2008 Rex Dieter <rdieter at fedoraproject.org> 8:1.5.9-3
+- arts support for mixed multilib usage (#444484)
+- f10+: drop optional esd, jack, nas support
+
* Wed Mar 12 2008 Rex Dieter <rdieter at fedoraproject.org> 8:1.5.9-2
- s/qt-devel/qt3-devel/
More information about the scm-commits
mailing list