Hello community,

here is the log from the commit of package qsynth for openSUSE:Factory checked 
in at 2020-12-17 17:06:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qsynth (Old)
 and      /work/SRC/openSUSE:Factory/.qsynth.new.5145 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qsynth"

Thu Dec 17 17:06:10 2020 rev:12 rq:856685 version:0.9.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/qsynth/qsynth.changes    2020-07-31 
16:08:06.584850680 +0200
+++ /work/SRC/openSUSE:Factory/.qsynth.new.5145/qsynth.changes  2020-12-17 
17:09:23.273975797 +0100
@@ -1,0 +2,8 @@
+Thu Dec 17 12:50:56 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Update to version 0.9.0
+  * Early fixing to build for Qt >= 6.0.0 and comply with C++17
+    standard.
+- Add qsynth-0.9.0_Qt512.patch
+
+-------------------------------------------------------------------

Old:
----
  qsynth-0.6.3.tar.gz

New:
----
  qsynth-0.9.0.tar.gz
  qsynth-0.9.0_Qt512.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qsynth.spec ++++++
--- /var/tmp/diff_new_pack.aROizj/_old  2020-12-17 17:09:23.873976393 +0100
+++ /var/tmp/diff_new_pack.aROizj/_new  2020-12-17 17:09:23.877976397 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           qsynth
-Version:        0.6.3
+Version:        0.9.0
 Release:        0
 Summary:        Graphical User Interface for fluidsynth
 License:        GPL-2.0-or-later
@@ -26,6 +26,8 @@
 URL:            https://qsynth.sourceforge.net/qsynth-index.html
 Source:         
https://sourceforge.net/projects/qsynth/files/qsynth/%{version}/qsynth-%{version}.tar.gz
 Patch1:         qsynth-fix_desktop_file.patch
+# PATCH-FIX-OPENSUSE qsynth-0.9.0_Qt512.patch # use qt5 macros when generic 
not available -- aloi...@gmx.com
+Patch2:         qsynth-0.9.0_Qt512.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
@@ -46,8 +48,7 @@
 %lang_package
 
 %prep
-%setup -q
-%patch1 -p1
+%autosetup -p1
 
 %build
 %cmake

++++++ qsynth-0.6.3.tar.gz -> qsynth-0.9.0.tar.gz ++++++
++++ 4940 lines of diff (skipped)

++++++ qsynth-0.9.0_Qt512.patch ++++++
Index: qsynth-0.9.0/src/CMakeLists.txt
===================================================================
--- qsynth-0.9.0.orig/src/CMakeLists.txt
+++ qsynth-0.9.0/src/CMakeLists.txt
@@ -71,10 +71,17 @@ set ( TRANSLATIONS
    translations/qsynth_sr.ts
 )
 
-qt_wrap_ui (UI_SOURCES ${FORMS})
-qt_wrap_cpp (MOC_SOURCES ${HEADERS})
-qt_add_resources (QRC_SOURCES ${RESOURCES})
-qt_add_translation (QM_FILES ${TRANSLATIONS})
+if ( ${QT_VERSION} VERSION_LESS 5.15 )
+   qt5_wrap_ui (UI_SOURCES ${FORMS})
+   qt5_wrap_cpp (MOC_SOURCES ${HEADERS})
+   qt5_add_resources (QRC_SOURCES ${RESOURCES})
+   qt5_add_translation (QM_FILES ${TRANSLATIONS})
+else()
+   qt_wrap_ui (UI_SOURCES ${FORMS})
+   qt_wrap_cpp (MOC_SOURCES ${HEADERS})
+   qt_add_resources (QRC_SOURCES ${RESOURCES})
+   qt_add_translation (QM_FILES ${TRANSLATIONS})
+endif( ${QT_VERSION} VERSION_LESS 5.15 )
 
 add_custom_target (translations ALL DEPENDS ${QM_FILES})
 
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to