rpms/csound/F-11 csound-fixpython.patch, NONE, 1.1 csound.spec, 1.25, 1.26

Peter Robinson pbrobinson at fedoraproject.org
Sat Sep 5 14:19:12 UTC 2009


Author: pbrobinson

Update of /cvs/pkgs/rpms/csound/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv384

Modified Files:
	csound.spec 
Added Files:
	csound-fixpython.patch 
Log Message:
 Build fixes, set PulseAudio as default

csound-fixpython.patch:
 install.py |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- NEW FILE csound-fixpython.patch ---
--- Csound5.10.1/install.py.orig	2009-08-18 09:58:32.000000000 +0100
+++ Csound5.10.1/install.py	2009-08-18 09:59:39.000000000 +0100
@@ -269,9 +269,6 @@
             err = installLink(i, concatPath([libDir, 'libcsound.so']))
         elif i[:15] == 'libcsound64.so.':
             err = installLink(i, concatPath([libDir, 'libcsound64.so']))
-        elif i == 'libcsnd.so':
-            err = installLink(concatPath([libDir, i]),
-                              concatPath([pythonDir2, '_csnd.so']))
         elif i == 'lib_CsoundVST.so':
             err = installLink(concatPath([libDir, i]),
                               concatPath([pythonDir2, '_CsoundVST.so']))
@@ -287,7 +284,7 @@
 #err = installFile('opcodes.dir', pluginDir)
 installErrors = installErrors or err
 pluginList = findFiles('.', 'lib[A-Za-z].*\\.so')
-for i in ['libcsound.so', 'libcsound64.so']:
+for i in ['libcsound.so', 'libcsound64.so', 'libcsnd.so']:
     if i in pluginList:
         pluginList.remove(i)
 for i in pluginList:
@@ -304,6 +301,7 @@
 
 print ' === Installing language interfaces ==='
 wrapperList = [['csnd\\.py', '0', pythonDir],
+               ['_csnd\\.so', '1', pythonDir],
                ['loris\\.py', '0', pythonDir],
                ['CsoundVST\\.py', '0', pythonDir],
                ['scoregen\\.py', '0', pythonDir],


Index: csound.spec
===================================================================
RCS file: /cvs/pkgs/rpms/csound/F-11/csound.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -p -r1.25 -r1.26
--- csound.spec	16 Jul 2009 11:18:02 -0000	1.25
+++ csound.spec	5 Sep 2009 14:19:11 -0000	1.26
@@ -14,7 +14,7 @@
 Summary:       A sound synthesis language and library
 Name:          csound
 Version:       5.10.1
-Release:       9%{?dist}
+Release:       12%{?dist}
 URL:           http://csound.sourceforge.net/
 License:       LGPLv2+
 Group:         Applications/Multimedia
@@ -23,7 +23,7 @@ BuildRoot:     %{_tmppath}/%{name}-%{ver
 BuildRequires: swig scons libsndfile-devel libpng-devel libjpeg-devel
 BuildRequires: python python-devel
 BuildRequires: alsa-lib-devel jack-audio-connection-kit-devel pulseaudio-libs-devel
-BuildRequires: fluidsynth-devel liblo-devel dssi-devel
+BuildRequires: fluidsynth-devel liblo-devel dssi-devel lua-devel
 BuildRequires: fltk-devel fltk-fluid
 BuildRequires: java-devel >= 1.4.0
 BuildRequires: jpackage-utils >= 1.5
@@ -32,6 +32,7 @@ BuildRequires: tk-devel tcl-devel
 BuildRequires: tetex tetex-latex libxslt
 BuildRequires: libvorbis-devel libogg-devel
 BuildRequires: gettext
+BuildRequires: gcc-c++ boost-devel
 
 Obsoletes: csound-tutorial <= 5.08
 Obsoletes: olpcsound <= 5.08.92
@@ -48,7 +49,10 @@ Patch5: csound-5.10.1-64-bit-plugin-path
 Patch6: csound-5.10.1-fix-conflicts.patch
 Patch7: csound-5.10.1-fix-locale-install.patch
 Patch8: csound-5.10.1-enable-oggplay.patch
+
 Patch9: csound-2817271-soname.patch
+Patch0: csound-fixpython.patch
+Patch10: csound-default-pulse.patch
 
 %description
 Csound is a sound and music synthesis system, providing facilities for
@@ -182,6 +186,7 @@ Canonical Reference Manual for Csound.
 
 %prep
 %setup -q -n Csound5.10.1
+%patch0 -p1 -b .fixpython
 %patch1 -p1 -b .no-usr-local
 %patch2 -p1 -b .default-opcodedir
 %patch3 -p1 -b .rtalsa
@@ -191,6 +196,7 @@ Canonical Reference Manual for Csound.
 %patch7 -p1 -b .fix-local-install
 %patch8 -p1 -b .enable-oggplay
 %patch9 -p1 -b .2817271-soname
+%patch10 -p1 -b .default-pulse
 
 tar xf %{SOURCE1}
 (cd manual; unzip -q %{SOURCE2})
@@ -218,7 +224,10 @@ scons dynamicCsoundLibrary=1 \
       useFluidsynth=1 \
       generatePdf=0 \
       buildCsound5GUI=1 \
+      pythonVersion=2.6 \
       buildPythonOpcodes=1 \
+      buildPythonWrapper=1 \
+      buildLuaWrapper=1 \
       buildTclcsound=1 \
       buildJavaWrapper=1 \
       buildDSSI=1 \
@@ -311,7 +320,7 @@ fi
 %{_libdir}/%{name}/plugins/libbarmodel.so
 %{_libdir}/%{name}/plugins/libcompress.so
 %{_libdir}/%{name}/plugins/libcontrol.so
-%{_libdir}/%{name}/plugins/libcsnd.so
+%{_libdir}/%{name}/plugins/libchua.so
 %{_libdir}/%{name}/plugins/libcs_date.so
 %{_libdir}/%{name}/plugins/libcs_pan2.so
 %{_libdir}/%{name}/plugins/libcs_pvs_ops.so
@@ -358,10 +367,10 @@ fi
 %defattr(-,root,root,-)
 %{_includedir}/%{name}/
 %{_libdir}/lib%{name}.so
-%{_libdir}/libcsnd.so
 
 %files python
 %defattr(-,root,root,-)
+%{_libdir}/libcsnd.so
 %{_libdir}/python%{pyver}/site-packages/*
 
 %files java
@@ -372,7 +381,7 @@ fi
 %attr(-,root,root) %{_libdir}/gcj/%{name}
 
 %files javadoc
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc %{_javadocdir}/%{name}-java
 
 %files tk
@@ -415,12 +424,18 @@ fi
 %{_libdir}/%{name}/plugins/libvirtual.so
 
 %files manual
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
 %doc manual/copying.txt manual/credits.txt manual/readme.txt manual/news.txt
 %doc manual/html/*
 %doc manual/examples
 
 %changelog
+* Sat Sep  5 2009 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-12
+- Build fixes, set PulseAudio as default
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 5.10.1-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
 * Thu Jul 16 2009 Peter Robinson <pbrobinson at gmail.com> - 5.10.1-9
 - Update included files
 




More information about the fedora-extras-commits mailing list