Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package giada for openSUSE:Factory checked in at 2023-03-30 22:52:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/giada (Old)
and /work/SRC/openSUSE:Factory/.giada.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "giada"
Thu Mar 30 22:52:31 2023 rev:10 rq:1075546 version:0.24.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/giada/giada.changes 2023-03-29 23:27:46.827643111 +0200
+++ /work/SRC/openSUSE:Factory/.giada.new.31432/giada.changes 2023-03-30 22:52:33.464989229 +0200
@@ -1,0 +2,19 @@
+Thu Mar 30 07:12:31 UTC 2023 - Konstantin Voinov
+
+- Update patchset:
+ * 001-Fix-build-with-fmt-9-GCC-12.patch
+ * rename 001-cstdint.patch to 002-fix-include-cstdint.patch
+- Switch to tar_scm with disabled mode
+- Update to 0.24.0
+
+ * Revamped MIDI sync Clock support
+ * MIDI engine refactoring, featuring multi-threading support
+ * UI: Resizable vu-meters
+ * UI: New global MIDI activity leds
+ * More core classes and functions refactoring
+ * More robust persistence mechanism for project and configuration files
+ * Add new tests suites for MidiEvent and ChannelFactory
+ * Set C++ version to C++20
+ * Update FLTK to latest commit available
+
+-------------------------------------------------------------------
Old:
----
001-cstdint.patch
giada-0.23.2.obscpio
giada.obsinfo
New:
----
001-Fix-build-with-fmt-9-GCC-12.patch
002-fix-include-cstdint.patch
giada-0.24.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ giada.spec ++++++
--- /var/tmp/diff_new_pack.18hMdL/_old 2023-03-30 22:52:35.589000596 +0200
+++ /var/tmp/diff_new_pack.18hMdL/_new 2023-03-30 22:52:35.593000618 +0200
@@ -19,14 +19,15 @@
Name: giada
-Version: 0.23.2
+Version: 0.24.0
Release: 0
Summary: Sampler Audio Tool
License: GPL-3.0-or-later
URL: https://giadamusic.com
Source0: %{name}-%{version}.tar.xz
-Patch0: 003-cmake-exclude-juce-from-all.patch
-Patch1: 001-cstdint.patch
+Patch1: 001-Fix-build-with-fmt-9-GCC-12.patch
+Patch2: 002-fix-include-cstdint.patch
+Patch3: 003-cmake-exclude-juce-from-all.patch
BuildRequires: cmake
BuildRequires: fltk-devel
%if 0%{?suse_version} < 1550
@@ -41,7 +42,7 @@
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(fmt)
-BuildRequires: pkgconfig(glu)
+BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(jansson) >= 2.7
BuildRequires: pkgconfig(libpulse)
++++++ 001-Fix-build-with-fmt-9-GCC-12.patch ++++++
commit 014a269b1cf8d1c7a751e76bb4e3d9a5160b013d
Author: Orivej Desh
Date: Wed Mar 29 21:35:51 2023 +0000
Fix build with fmt 9, GCC 12
fmt::format requires the non-static format argument to be wrapped with fmt::runtime check.
Fixes #634
diff --git a/src/gui/dialogs/about.cpp b/src/gui/dialogs/about.cpp
index c2d77cf..c7965d2 100644
--- a/src/gui/dialogs/about.cpp
+++ b/src/gui/dialogs/about.cpp
@@ -62,7 +62,7 @@ gdAbout::gdAbout()
geBox* text = new geBox();
text->align(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_TOP);
- text->copy_label(fmt::format(g_ui.getI18Text(LangMap::ABOUT_BODY),
+ text->copy_label(fmt::format(fmt::runtime(g_ui.getI18Text(LangMap::ABOUT_BODY)),
G_VERSION_STR, debug ? "Debug" : "Release", BUILD_DATE)
.c_str());
diff --git a/src/gui/dialogs/sampleEditor.cpp b/src/gui/dialogs/sampleEditor.cpp
index e66e81c..4eddfdf 100644
--- a/src/gui/dialogs/sampleEditor.cpp
+++ b/src/gui/dialogs/sampleEditor.cpp
@@ -228,7 +228,7 @@ void gdSampleEditor::refresh()
void gdSampleEditor::updateInfo()
{
- std::string infoText = fmt::format(g_ui.getI18Text(LangMap::SAMPLEEDITOR_INFO),
+ std::string infoText = fmt::format(fmt::runtime(g_ui.getI18Text(LangMap::SAMPLEEDITOR_INFO)),
m_data.wavePath, m_data.waveSize, m_data.waveDuration,
m_data.waveBits != 0 ? std::to_string(m_data.waveBits) : "?", m_data.waveRate);
diff --git a/src/gui/elems/config/tabPlugins.cpp b/src/gui/elems/config/tabPlugins.cpp
index 1b95dc2..5484b5d 100644
--- a/src/gui/elems/config/tabPlugins.cpp
+++ b/src/gui/elems/config/tabPlugins.cpp
@@ -89,7 +89,7 @@ geTabPlugins::geTabPlugins(geompp::Rect<int> bounds)
m_scanButton->onClick = [this]() {
std::function callback = [this](float progress) {
- std::string l = fmt::format(g_ui.getI18Text(LangMap::CONFIG_PLUGINS_SCANNING), static_cast<int>(progress * 100));
+ std::string l = fmt::format(fmt::runtime(g_ui.getI18Text(LangMap::CONFIG_PLUGINS_SCANNING)), static_cast<int>(progress * 100));
m_info->label(l.c_str());
Fl::wait();
};
@@ -109,7 +109,7 @@ void geTabPlugins::rebuild()
{
m_data = c::config::getPluginData();
- const std::string scanLabel = fmt::format(g_ui.getI18Text(LangMap::CONFIG_PLUGINS_SCAN), m_data.numAvailablePlugins);
+ const std::string scanLabel = fmt::format(fmt::runtime(g_ui.getI18Text(LangMap::CONFIG_PLUGINS_SCAN)), m_data.numAvailablePlugins);
m_scanButton->copy_label(scanLabel.c_str());
m_folderPath->setValue(m_data.pluginPath);
++++++ 002-fix-include-cstdint.patch ++++++
diff --git a/src/core/const.h b/src/core/const.h
index 71d757c..ede93fe 100644
--- a/src/core/const.h
+++ b/src/core/const.h
@@ -29,6 +29,7 @@
#include "deps/rtaudio/RtAudio.h"
#include
+#include <cstdint>
/* -- environment ----------------------------------------------------------- */
#if defined(_WIN32)
diff --git a/src/gui/elems/midiIO/midiLearner.h b/src/gui/elems/midiIO/midiLearner.h
index 831868c..80e6663 100644
--- a/src/gui/elems/midiIO/midiLearner.h
+++ b/src/gui/elems/midiIO/midiLearner.h
@@ -30,6 +30,7 @@
#include "gui/elems/basics/flex.h"
#include <functional>
#include <string>
+#include <cstdint>
namespace giada::v
{
++++++ 003-cmake-exclude-juce-from-all.patch ++++++
--- /var/tmp/diff_new_pack.18hMdL/_old 2023-03-30 22:52:35.661000981 +0200
+++ /var/tmp/diff_new_pack.18hMdL/_new 2023-03-30 22:52:35.665001003 +0200
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 3a909989..ac1cffeb 100644
+index 7c0968e..a1d6c91 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -544,7 +544,7 @@ endif()
+@@ -553,7 +553,7 @@ endif()
# Extra parameters for audio plug-ins support.
# ------------------------------------------------------------------------------
++++++ _service ++++++
--- /var/tmp/diff_new_pack.18hMdL/_old 2023-03-30 22:52:35.713001259 +0200
+++ /var/tmp/diff_new_pack.18hMdL/_new 2023-03-30 22:52:35.717001281 +0200
@@ -1,15 +1,15 @@
<services>
- <service name="obs_scm" mode="disabled">
+ <service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">https://github.com/monocasual/giada.git</param>
+ <param name="revision">v0.24.0</param>
<param name="submodules">enable</param>
- <param name="versionformat">0.23.2</param>
+ <param name="version">0.24.0</param>
</service>
- <service name="tar" mode="buildtime"/>
- <service name="recompress" mode="buildtime">
+ <service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
- <service name="set_version" mode="buildtime"/>
+ <service name="set_version" mode="disabled"/>
</services>