Accepting request 1177651 from multimedia:apps

- Update to release 20240529

OBS-URL: https://build.opensuse.org/request/show/1177651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/schismtracker?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2024-05-30 13:33:40 +00:00 committed by Git OBS Bridge
commit eb5d33f823
6 changed files with 72 additions and 47 deletions

View File

@ -0,0 +1,39 @@
From f3969bdd83f1d16a8cd1b78ed68b485b2e25d404 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Wed, 29 May 2024 21:19:15 +0200
Subject: [PATCH] build: fix gcc warning for handle_text_input functions
page_loadinst.c: In function "file_list_handle_text_input":
page_loadinst.c:383:1: error: control reaches end of non-void function [-Werror=return-type]
---
schism/page_loadinst.c | 1 +
schism/page_loadsample.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/schism/page_loadinst.c b/schism/page_loadinst.c
index 6b73cc74..9c209b87 100644
--- a/schism/page_loadinst.c
+++ b/schism/page_loadinst.c
@@ -380,6 +380,7 @@ static int file_list_handle_text_input(const uint8_t* text) {
return 1;
}
}
+ return 0;
}
static int file_list_handle_key(struct key_event * k)
diff --git a/schism/page_loadsample.c b/schism/page_loadsample.c
index 448913ee..00bcb43c 100644
--- a/schism/page_loadsample.c
+++ b/schism/page_loadsample.c
@@ -639,6 +639,7 @@ static int file_list_handle_text_input(const uint8_t* text) {
return 1;
}
}
+ return 0;
}
static int file_list_handle_key(struct key_event * k)
--
2.45.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:956e844c0da6ff57a97ee27a173cb07c9c9c550f24bce23a3525f37936ee4fb2
size 1044076

3
20240529.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:73c475b3344c460cbc543878f8c728af3c62fba11211604834d880c0a41a506e
size 1047955

View File

@ -8,49 +8,19 @@ encoded happens to be the current day. That is ok, since rpmlint
uses just a heuristic - excessive rebuilds should not actually
be happening.
---
schism/version.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
schism/version.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: schismtracker-20200412/schism/version.c
Index: schismtracker-20240529/schism/version.c
===================================================================
--- schismtracker-20200412.orig/schism/version.c
+++ schismtracker-20200412/schism/version.c
@@ -92,6 +92,10 @@ Information at our disposal:
--- schismtracker-20240529.orig/schism/version.c
+++ schismtracker-20240529/schism/version.c
@@ -52,7 +52,7 @@ static const char* top_banner_normal =
#if !defined(EMPTY_VERSION)
"Schism Tracker " VERSION
#else
- "Schism Tracker built " __DATE__ " " __TIME__
+ "Schism Tracker built <>"
#endif
;
*/
+/* update whenever you checkout */
+#define __HG_DATE__ "Apr 9 2011"
+#define __HG_TIME__ "00:00:00" /* screw this */
+
static int get_version_tm(struct tm *version)
{
char *ret;
@@ -101,10 +105,6 @@ static int get_version_tm(struct tm *ver
if (ret && !*ret)
return 1;
/* Argh. */
- memset(version, 0, sizeof(*version));
- ret = strptime(__DATE__, "%b %e %Y", version);
- if (ret && !*ret)
- return 1;
/* Give up; we don't know anything. */
return 0;
}
@@ -118,7 +118,6 @@ void ver_init(void)
if (get_version_tm(&version)) {
version_sec = mktime(&version);
} else {
- printf("help, I am very confused about myself\n");
version_sec = epoch_sec;
}
@@ -134,7 +133,7 @@ void ver_init(void)
"Schism Tracker %s", ver);
} else {
snprintf(top_banner_normal, sizeof(top_banner_normal) - 1,
- "Schism Tracker built %s %s", __DATE__, __TIME__);
+ "Schism Tracker");
}
top_banner_normal[sizeof(top_banner_normal) - 1] = '\0'; /* to be sure */

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed May 29 17:55:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 20240529
* Add support for exporting songs and saving samples to FLAC
* Fix mouse wheel coordinates getting warped under want_fixed=1
* Fix some text input events causing global key inputs
* Fix character digraphs
* Fix double mouse cursor over half-width characters
* Fix Shift-Tab not being the same as in ImpulseTracker
* Fix appearance of parent directories in file browsers when
those directories do, in fact, not exist
- Add 0001-build-fix-gcc-warning-for-handle_text_input-function.patch
-------------------------------------------------------------------
Sat May 25 09:10:32 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,7 +17,7 @@
Name: schismtracker
Version: 20240523
Version: 20240529
Release: 0
Summary: Music editor that matches the look and feel of Impulse Tracker
License: GPL-2.0-or-later
@ -29,6 +29,7 @@ Source2: %name.desktop
Patch1: schism-alsa.diff
Patch2: schism-nodate.diff
Patch3: schism-deptrack.diff
Patch4: 0001-build-fix-gcc-warning-for-handle_text_input-function.patch
BuildRequires: alsa-devel
BuildRequires: autoconf
BuildRequires: automake
@ -38,6 +39,7 @@ BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: python3-base
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(flac)
BuildRequires: pkgconfig(sdl2)
%description