[qsynth/f18] Update to 0.3.7
Orcan Ogetbil
oget at fedoraproject.org
Sun Jun 23 04:06:29 UTC 2013
commit 1896f143a9c6bd24b928b8053992e3b3c209fb4a
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date: Sun Jun 23 00:06:06 2013 -0400
Update to 0.3.7
qsynth-fedora-defaults.patch | 10 +++++-----
qsynth-fix-locale-path.patch | 30 +++++++++++++++---------------
qsynth.spec | 7 +++++--
3 files changed, 25 insertions(+), 22 deletions(-)
---
diff --git a/qsynth-fedora-defaults.patch b/qsynth-fedora-defaults.patch
index cc2e625..21062d8 100644
--- a/qsynth-fedora-defaults.patch
+++ b/qsynth-fedora-defaults.patch
@@ -1,6 +1,6 @@
-diff -rupN qsynth-0.3.6.old/src/qsynthOptions.cpp qsynth-0.3.6/src/qsynthOptions.cpp
---- qsynth-0.3.6.old/src/qsynthOptions.cpp 2011-03-30 07:53:04.000000000 -0400
-+++ qsynth-0.3.6/src/qsynthOptions.cpp 2011-04-09 09:39:11.000000000 -0400
+diff -rupN qsynth-0.3.7.old/src/qsynthOptions.cpp qsynth-0.3.7/src/qsynthOptions.cpp
+--- qsynth-0.3.7.old/src/qsynthOptions.cpp 2012-12-22 14:52:21.875018000 -0500
++++ qsynth-0.3.7/src/qsynthOptions.cpp 2013-06-22 22:57:54.538255534 -0400
@@ -79,7 +79,7 @@ void qsynthOptions::loadOptions (void)
// Load defaults...
@@ -19,7 +19,7 @@ diff -rupN qsynth-0.3.6.old/src/qsynthOptions.cpp qsynth-0.3.6/src/qsynthOptions
pSetup->iAudioBufCount = m_settings.value("/AudioBufCount", 2).toInt();
#endif
pSetup->sMidiName = m_settings.value("/AlsaName", "pid").toString();
-@@ -516,7 +516,9 @@ void qsynthOptions::loadSetup ( qsynthSe
+@@ -517,7 +517,9 @@ void qsynthOptions::loadSetup ( qsynthSe
m_settings.beginGroup("/SoundFonts");
const QString sSoundFontPrefix = "/SoundFont%1";
const QString sBankOffsetPrefix = "/BankOffset%1";
@@ -29,7 +29,7 @@ diff -rupN qsynth-0.3.6.old/src/qsynthOptions.cpp qsynth-0.3.6/src/qsynthOptions
for (;;) {
++i;
QString sSoundFont = m_settings.value(sSoundFontPrefix.arg(i)).toString();
-@@ -525,6 +527,11 @@ void qsynthOptions::loadSetup ( qsynthSe
+@@ -526,6 +528,11 @@ void qsynthOptions::loadSetup ( qsynthSe
break;
pSetup->soundfonts.append(sSoundFont);
pSetup->bankoffsets.append(sBankOffset);
diff --git a/qsynth-fix-locale-path.patch b/qsynth-fix-locale-path.patch
index d2f8b91..49b467c 100644
--- a/qsynth-fix-locale-path.patch
+++ b/qsynth-fix-locale-path.patch
@@ -1,6 +1,6 @@
-diff -rupN qsynth-0.3.6.old/src/CMakeLists.txt qsynth-0.3.6/src/CMakeLists.txt
---- qsynth-0.3.6.old/src/CMakeLists.txt 2010-10-31 14:44:59.000000000 -0400
-+++ qsynth-0.3.6/src/CMakeLists.txt 2011-04-09 09:31:32.000000000 -0400
+diff -rupN qsynth-0.3.7.old/src/CMakeLists.txt qsynth-0.3.7/src/CMakeLists.txt
+--- qsynth-0.3.7.old/src/CMakeLists.txt 2010-10-31 14:44:59.159077000 -0400
++++ qsynth-0.3.7/src/CMakeLists.txt 2013-06-22 22:35:30.212103382 -0400
@@ -126,7 +126,7 @@ if (UNIX AND NOT APPLE)
install ( TARGETS qsynth
RUNTIME DESTINATION bin )
@@ -10,15 +10,15 @@ diff -rupN qsynth-0.3.6.old/src/CMakeLists.txt qsynth-0.3.6/src/CMakeLists.txt
install ( FILES ${CMAKE_CURRENT_BINARY_DIR}/qsynth.desktop
DESTINATION share/applications )
install ( FILES images/qsynth.png
-diff -rupN qsynth-0.3.6.old/src/qsynth.cpp qsynth-0.3.6/src/qsynth.cpp
---- qsynth-0.3.6.old/src/qsynth.cpp 2011-03-16 07:05:33.000000000 -0400
-+++ qsynth-0.3.6/src/qsynth.cpp 2011-04-09 09:32:35.000000000 -0400
-@@ -91,7 +91,7 @@ public:
- if (m_pMyTranslator->load(sLocName, sLocPath)) {
- QApplication::installTranslator(m_pMyTranslator);
- } else {
-- sLocPath = CONFIG_PREFIX "/share/locale";
-+ sLocPath = CONFIG_PREFIX "/share/qsynth/locale";
- if (m_pMyTranslator->load(sLocName, sLocPath)) {
- QApplication::installTranslator(m_pMyTranslator);
- } else {
+diff -rupN qsynth-0.3.7.old/src/qsynth.cpp qsynth-0.3.7/src/qsynth.cpp
+--- qsynth-0.3.7.old/src/qsynth.cpp 2013-02-14 09:52:31.409468000 -0500
++++ qsynth-0.3.7/src/qsynth.cpp 2013-06-22 22:53:58.636303520 -0400
+@@ -55,7 +55,7 @@ const WindowFlags CustomizeWindowHint
+ #if defined(LOCALEDIR)
+ #define CONFIG_LOCALEDIR CONFIG_QUOTED(LOCALEDIR)
+ #else
+-#define CONFIG_LOCALEDIR CONFIG_DATADIR "/locale"
++#define CONFIG_LOCALEDIR CONFIG_DATADIR "/qsynth/locale"
+ #endif
+
+
diff --git a/qsynth.spec b/qsynth.spec
index f74b6ba..f88657b 100644
--- a/qsynth.spec
+++ b/qsynth.spec
@@ -2,8 +2,8 @@
Summary: Qt based Fluidsynth GUI front end
Name: qsynth
-Version: 0.3.6
-Release: 3%{?dist}
+Version: 0.3.7
+Release: 1%{?dist}
URL: http://qsynth.sourceforge.net
Source0: http://downloads.sourceforge.net/qsynth/qsynth-%{version}.tar.gz
# We don't want .qm files in the default locale dir
@@ -79,6 +79,9 @@ rm -rf %{buildroot}
%changelog
+* Sat Jun 22 2013 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> 0.3.7-1
+- Update to 0.3.7
+
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list