diff --git a/.gitignore b/.gitignore index be79a77..5513748 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ soundtracker-0.6.8.tar.gz /soundtracker-1.0.1-print_status_formatting.diff /soundtracker-1.0.2.1.tar.xz /soundtracker-1.0.2.1-else.patch +/soundtracker-1.0.3.tar.xz diff --git a/soundtracker-1.0.0.1-print_status_formatting.diff b/soundtracker-1.0.0.1-print_status_formatting.diff deleted file mode 100644 index c755535..0000000 --- a/soundtracker-1.0.0.1-print_status_formatting.diff +++ /dev/null @@ -1,69 +0,0 @@ -Fixes warning like this: - -track-editor.c: In function 'show_editmode_status': -track-editor.c:257:49: error: format not a string literal and no format arguments [-Werror=format-security] - 257 | pos += PRINT_STATUS(pos, line ? _(line) : _("None ]")); - | ^~~~~~~~ -track-editor.c:120:77: note: in definition of macro 'PRINT_STATUS' - 120 | g_snprintf(&track_editor_editmode_status_ed_buf[pos], SEBUF_SIZE - pos, __VA_ARGS__) - | ^~~~~~~~~~~ -track-editor.c:257:47: note: in expansion of macro '_' - 257 | pos += PRINT_STATUS(pos, line ? _(line) : _("None ]")); - | ^ -cc1: some warnings being treated as errors - - -diff -uNr soundtracker-1.0.1.orig/app/track-editor.c soundtracker-1.0.1/app/track-editor.c ---- soundtracker-1.0.1.orig/app/track-editor.c 2020-07-07 22:49:03.000000000 +0200 -+++ soundtracker-1.0.1/app/track-editor.c 2020-09-06 21:07:38.817000000 +0200 -@@ -208,19 +208,19 @@ - note->instrument); - - if (note->volume >= 0x10 && note->volume <= 0x50) -- pos += PRINT_STATUS(pos, _("Set volume")); -+ pos += PRINT_STATUS(pos, "%s", _("Set volume")); - else if (note->volume >= 0x60) - pos += PRINT_STATUS(pos, "%s", _(vol_fx_commands[((note->volume & 0xf0) - 0x60) >> 4])); - else -- pos += PRINT_STATUS(pos, _("None")); -+ pos += PRINT_STATUS(pos, "%s", _("None")); - - if (note->volume & 0xf0) - pos += PRINT_STATUS(pos, " => %02d ] ", - (note->volume >= 0x10 && note->volume <= 0x50) ? note->volume - 0x10 : note->volume & 0xf); - else -- pos += PRINT_STATUS(pos, " ] "); -+ pos += PRINT_STATUS(pos, "%s", " ] "); - -- pos += PRINT_STATUS(pos, _("[Cmd: ")); -+ pos += PRINT_STATUS(pos, "%s", _("[Cmd: ")); - - switch (note->fxtype) { - case xmpCmdArpeggio: -@@ -254,7 +254,7 @@ - line = fx_commands[note->fxtype]; - break; - } -- pos += PRINT_STATUS(pos, line ? _(line) : _("None ]")); -+ pos += PRINT_STATUS(pos, "%s", line ? _(line) : _("None ]")); - - cmd_p1 = (note->fxparam & 0xf0) >> 4; - cmd_p2 = note->fxparam & 0xf; -@@ -281,7 +281,7 @@ - else if (cmd_p1 == 6) { - /* Pattern loop */ - if (cmd_p2 == 0) -- PRINT_STATUS(pos, _(" begin ]")); -+ PRINT_STATUS(pos, "%s", _(" begin ]")); - else - PRINT_STATUS(pos, _(" %02d times ]"), cmd_p2); - } else -@@ -297,7 +297,7 @@ - PRINT_STATUS(pos, " => %02d %02d ]", cmd_p1, cmd_p2); - break; - default: -- PRINT_STATUS(pos, "]"); -+ PRINT_STATUS(pos, "%s", "]"); - break; - } - } diff --git a/soundtracker.spec b/soundtracker.spec index d6bb8c4..2e89df8 100644 --- a/soundtracker.spec +++ b/soundtracker.spec @@ -1,6 +1,6 @@ Name: soundtracker -Version: 1.0.2.1 -Release: 5%{?dist} +Version: 1.0.3 +Release: 1%{?dist} Summary: Sound module composer/player @@ -47,6 +47,9 @@ format. The user interface makes use of GTK2. %{_datadir}/pixmaps/%{name}-icon.png %changelog +* Sun Jan 29 2023 Peter Hanecak - 1.0.3-1 +- Update to 1.0.3 + * Sat Jan 21 2023 Fedora Release Engineering - 1.0.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild diff --git a/sources b/sources index dd39e74..23b6f14 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (soundtracker-1.0.2.1.tar.xz) = 2d8431cf015c93037fbd34be63b2faca4698173eda079fb781444c775b1337b42fdbb6d95824cb21e4ac2df14b734d5172fbf8629aa554808ec67ec53add86a2 +SHA512 (soundtracker-1.0.3.tar.xz) = 2ff8634a6f9a4e55e60f729d204862a9bf434018ec11517d7a6afac9e0d6d27bd7e7d4989425913ee9014b405ba4fe2f492dbe96a8be8debbc914f1bb66e2298 SHA512 (soundtracker-1.0.2.1-else.patch) = 9662e4387d0b22585363202b8e8ab7c811fbbaf044b9eb27b33e5784f5df6de9a555d7f3ce24be2e57a49c329af2ce53a9bc494ce426a11ad5e5c9f4a0205075