packages: qsynth/qsynth.spec, qsynth/qsynth-soundfont_dir.patch (NEW) - def...

jajcus jajcus at pld-linux.org
Thu Nov 26 18:18:41 CET 2009


Author: jajcus                       Date: Thu Nov 26 17:18:41 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- default soundfonts directory set to /usr/share/soundfonts
- Release: 2

---- Files affected:
packages/qsynth:
   qsynth.spec (1.22 -> 1.23) , qsynth-soundfont_dir.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/qsynth/qsynth.spec
diff -u packages/qsynth/qsynth.spec:1.22 packages/qsynth/qsynth.spec:1.23
--- packages/qsynth/qsynth.spec:1.22	Tue Nov 20 22:07:12 2007
+++ packages/qsynth/qsynth.spec	Thu Nov 26 18:18:36 2009
@@ -3,12 +3,13 @@
 Summary(pl.UTF-8):	Oparta o Qt nakładka na fluidsynth
 Name:		qsynth
 Version:	0.2.6
-Release:	1
+Release:	2
 License:	GPL
 Group:		X11/Applications/Sound
 Source0:	http://dl.sourceforge.net/qsynth/%{name}-%{version}.tar.gz
 # Source0-md5:	b7600cc92e668f25c82d0b049dde2bc4
 Source1:	%{name}.desktop
+Patch0:		%{name}-soundfont_dir.patch
 URL:		http://qsynth.sourceforge.net/qsynth-index.html
 BuildRequires:	autoconf
 BuildRequires:	fluidsynth-devel >= 1.0.0
@@ -27,6 +28,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 QTDIR=%{_prefix}
@@ -63,6 +65,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2009/11/26 17:18:36  jajcus
+- default soundfonts directory set to /usr/share/soundfonts
+- Release: 2
+
 Revision 1.22  2007/11/20 21:07:12  blekot
 - 0.2.6
 

================================================================
Index: packages/qsynth/qsynth-soundfont_dir.patch
diff -u /dev/null packages/qsynth/qsynth-soundfont_dir.patch:1.1
--- /dev/null	Thu Nov 26 18:18:42 2009
+++ packages/qsynth/qsynth-soundfont_dir.patch	Thu Nov 26 18:18:36 2009
@@ -0,0 +1,12 @@
+diff -dur qsynth-0.2.6.orig/src/qsynthOptions.cpp qsynth-0.2.6/src/qsynthOptions.cpp
+--- qsynth-0.2.6.orig/src/qsynthOptions.cpp	2006-11-07 10:01:19.000000000 +0100
++++ qsynth-0.2.6/src/qsynthOptions.cpp	2009-11-26 18:03:08.000000000 +0100
+@@ -53,7 +53,7 @@
+ 
+     // Load defaults...
+     m_settings.beginGroup("/Defaults");
+-    sSoundFontDir  = m_settings.readEntry("/SoundFontDir", QString::null);
++    sSoundFontDir  = m_settings.readEntry("/SoundFontDir", QString("/usr/share/soundfonts"));
+     bPresetPreview = m_settings.readBoolEntry("/PresetPreview", false);
+     m_settings.endGroup();
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qsynth/qsynth.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list