rpms/sweep/F-9 sweep-0.9.3-multithread.patch, NONE, 1.1 sweep.spec, 1.6, 1.7

Gérard Milmeister gemi at fedoraproject.org
Sun Mar 1 14:45:32 UTC 2009


Author: gemi

Update of /cvs/pkgs/rpms/sweep/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11570/F-9

Modified Files:
	sweep.spec 
Added Files:
	sweep-0.9.3-multithread.patch 
Log Message:
fix for crash while saving

sweep-0.9.3-multithread.patch:

--- NEW FILE sweep-0.9.3-multithread.patch ---
diff -up sweep-0.9.3/src/main.c.multithread sweep-0.9.3/src/main.c
--- sweep-0.9.3/src/main.c.multithread	2009-03-01 15:34:00.000000000 +0100
+++ sweep-0.9.3/src/main.c	2009-03-01 15:34:22.000000000 +0100
@@ -138,6 +138,7 @@ main (int argc, char *argv[])
 #endif
 #endif
 
+  XInitThreads();
   gtk_init (&argc, &argv);
 
 #ifdef HAVE_PUTENV


Index: sweep.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sweep/F-9/sweep.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sweep.spec	15 Apr 2008 19:53:32 -0000	1.6
+++ sweep.spec	1 Mar 2009 14:45:02 -0000	1.7
@@ -1,12 +1,13 @@
 Name:           sweep
 Version:        0.9.3
-Release:        1%{?dist}
+Release:        4%{?dist}
 Summary:        An audio editor and live playback tool
 
 Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://www.metadecks.org/software/sweep/index.html
 Source:		http://puzzle.dl.sourceforge.net/sourceforge/sweep/sweep-%{version}.tar.gz
+Patch0:         sweep-0.9.3-multithread.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	desktop-file-utils
 BuildRequires:	libogg-devel
@@ -40,10 +41,13 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .multithread
+# fix for wrongly set plugin dir on 64-bit
+sed -i 's/sweep_plugin_dir=.*/sweep_plugin_dir="$PACKAGE_PLUGIN_DIR"/' configure
 
 
 %build
-%configure --enable-alsa --disable-rpath
+%configure --disable-rpath
 make %{?_smp_mflags}
 
 
@@ -117,6 +121,16 @@
 
 
 %changelog
+* Sun Mar  1 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-4
+- fix for crash while saving
+
+* Sat Feb 28 2009 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-3
+- fix for plugins on 64-bit platforms
+- really enable alsa
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.3-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
 * Mon Apr 14 2008 Gerard Milmeister <gemi at bluewin.ch> - 0.9.3-1
 - new release 0.9.3
 




More information about the fedora-extras-commits mailing list