Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -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
|
||||||
|
|
3
20240529.tar.gz
Normal file
3
20240529.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:73c475b3344c460cbc543878f8c728af3c62fba11211604834d880c0a41a506e
|
||||||
|
size 1047955
|
BIN
20250208.tar.gz
(Stored with Git LFS)
BIN
20250208.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,4 +0,0 @@
|
|||||||
mtime: 1739095704
|
|
||||||
commit: 33a6746a35e88e4c67d17ec04f820448df536ccd2d7e15a8950f5789da9b89e6
|
|
||||||
url: https://src.opensuse.org/jengelh/schismtracker
|
|
||||||
revision: master
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cdb9677d46ce68c3b2a624e62a1f95b506925a6283ef5030f663cf2573fe2aca
|
|
||||||
size 256
|
|
61
schism-alsa.diff
Normal file
61
schism-alsa.diff
Normal file
@ -0,0 +1,61 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@medozas.de>
|
||||||
|
|
||||||
|
schism/audio: do not force "hw" ALSA device
|
||||||
|
|
||||||
|
Forcing direct hardware access using the "hw" device is incorrect
|
||||||
|
IMHO, especially so with sound chips that lack hardware mixing on any
|
||||||
|
of the three levels: (1) concurrent access to the hw device, (2) lack
|
||||||
|
of volume control, (3) lack of rate conversion.
|
||||||
|
|
||||||
|
"default" is the better choice to have schism output to the converters
|
||||||
|
that handle any or all of these three points.
|
||||||
|
|
||||||
|
Developer Storlek claims problems with fake devices. Upon furhter
|
||||||
|
investigation, fake devices such as the ALSA plugins have a reason to
|
||||||
|
ignore it, or at least tinker with it. Consider my case with a
|
||||||
|
Realtek ALC259 (driven by snd-hda-intel) that fails (1) and (3):
|
||||||
|
|
||||||
|
By default, schismtracker asks for 1024 fragments and 44.1 kHz. If
|
||||||
|
the sound chip however does not support hardware mixing and can only
|
||||||
|
do, for example, 48 kHz, ALSA will automatically add converters into
|
||||||
|
the audio chain such that the program can still operate at 44100 Hz
|
||||||
|
without distorted sound.
|
||||||
|
|
||||||
|
1024 fragments of 128 bytes each are requested and thusly allocated,
|
||||||
|
that is, the sound buffer will be 128 kilobytes in total. This value
|
||||||
|
is taken at face - but for 48 kHz. The 44.1 kHz ALSA user thus only
|
||||||
|
gets a 44100/48000*131072 = 120422 byte buffer, or 940 fragments. The
|
||||||
|
rate conversion will then automatically interpolate the signal to
|
||||||
|
1024 fragments. (No distortions or lag ensues from this for me.)
|
||||||
|
|
||||||
|
So 940 is correct and the comment seemingly bogus.
|
||||||
|
|
||||||
|
Storlek still does not like changing "hw" :-(
|
||||||
|
|
||||||
|
A workaround is to call schismtracker with the "-a alsa:default"
|
||||||
|
option.
|
||||||
|
---
|
||||||
|
schism/audio_playback.c | 7 +------
|
||||||
|
1 file changed, 1 insertion(+), 6 deletions(-)
|
||||||
|
|
||||||
|
Index: schismtracker-20220807/schism/audio_playback.c
|
||||||
|
===================================================================
|
||||||
|
--- schismtracker-20220807.orig/schism/audio_playback.c
|
||||||
|
+++ schismtracker-20220807/schism/audio_playback.c
|
||||||
|
@@ -1295,15 +1295,10 @@ static int _audio_open(const char *drive
|
||||||
|
if (SDL_InitSubSystem(SDL_INIT_AUDIO) < 0)
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
- /* This is needed in order to coax alsa into actually respecting the buffer size, since it's evidently
|
||||||
|
- ignored entirely for "fake" devices such as "default" -- which SDL happens to use if no device name
|
||||||
|
- is set. (see SDL_alsa_audio.c: http://tinyurl.com/ybf398f)
|
||||||
|
- If hw doesn't exist, so be it -- let this fail, we'll fall back to the dummy device, and the
|
||||||
|
- user can pick a more reasonable device later. */
|
||||||
|
if ((driver_name = SDL_GetCurrentAudioDriver()) != NULL && !strcmp(driver_name, "alsa")) {
|
||||||
|
char *dev = getenv("AUDIODEV");
|
||||||
|
if (!dev || !*dev)
|
||||||
|
- put_env_var("AUDIODEV", "hw");
|
||||||
|
+ put_env_var("AUDIODEV", "default");
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ... THIS is needed because, if the buffer size isn't a power of two, the dsp driver will punt since
|
37
schism-deptrack.diff
Normal file
37
schism-deptrack.diff
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
There are some manual commands which create dependency files, and
|
||||||
|
they do fail if they concurrently try to create the directory
|
||||||
|
(because it does something like test -e auto || mkdir auto, rather
|
||||||
|
than checking just the return value of mkdir for EISDIR.)
|
||||||
|
|
||||||
|
Anyway, create the directory beforehand.
|
||||||
|
---
|
||||||
|
Makefile.am | 1 +
|
||||||
|
configure.ac | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
Index: schismtracker-20220125/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- schismtracker-20220125.orig/Makefile.am
|
||||||
|
+++ schismtracker-20220125/Makefile.am
|
||||||
|
@@ -147,6 +147,7 @@ CLEANFILES = \
|
||||||
|
auto/helptext.c
|
||||||
|
|
||||||
|
auto/default-font.c: Makefile.am scripts/bin2h.sh scripts/build-font.sh $(fonts)
|
||||||
|
+ ${MKDIR_P} auto
|
||||||
|
sh $(srcdir)/scripts/build-font.sh $(srcdir) $(fonts) >$@
|
||||||
|
auto/helptext.c: Makefile.am scripts/genhelp.py $(helptexts)
|
||||||
|
$(PYTHON) $(srcdir)/scripts/genhelp.py $(srcdir) $(helptexts) >$@
|
||||||
|
Index: schismtracker-20220125/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- schismtracker-20220125.orig/configure.ac
|
||||||
|
+++ schismtracker-20220125/configure.ac
|
||||||
|
@@ -38,6 +38,7 @@ AM_PROG_CC_C_O
|
||||||
|
AC_PROG_CPP
|
||||||
|
AC_PROG_INSTALL
|
||||||
|
AC_PROG_LN_S
|
||||||
|
+AC_PROG_MKDIR_P
|
||||||
|
|
||||||
|
dnl do we have Git
|
||||||
|
AC_CHECK_TOOL([GIT], [git])
|
26
schism-nodate.diff
Normal file
26
schism-nodate.diff
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@medozas.de>
|
||||||
|
Upstream: never
|
||||||
|
|
||||||
|
Replace __DATE__ and __TIME__ with static text.
|
||||||
|
|
||||||
|
Note: rpmlint will still complain when the static date that was
|
||||||
|
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 | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: schismtracker-20240529/schism/version.c
|
||||||
|
===================================================================
|
||||||
|
--- 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
|
||||||
|
;
|
||||||
|
|
@ -1,129 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Sun Feb 9 09:56:04 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20250208
|
|
||||||
* Fix incorrect handling of Note Cuts (caused some super weird
|
|
||||||
changes in playback)
|
|
||||||
* Fix clicking with Note Cut DNAs
|
|
||||||
* Fix saving stereo and 16-bit XI files
|
|
||||||
* Fix importing and exporting AIFF files (sample rate was
|
|
||||||
always zero)
|
|
||||||
* Fix the Alt-F12 page and spectrum visualizer having weird
|
|
||||||
holes in them
|
|
||||||
* MOD/XM: Load A0F and AF0 as D0E and DE0 respectively to work
|
|
||||||
around playback differences
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Feb 6 08:21:31 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.de>
|
|
||||||
|
|
||||||
- Drop schism-nodate.diff to make builds reproducible (boo#1047218)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 5 19:51:50 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20250202
|
|
||||||
* MOD saving supports more than four channels now.
|
|
||||||
* Floating point WAV/AIFF/AU importing now uses hardware
|
|
||||||
floating point numbers, if available.
|
|
||||||
* Fix note cut being cut off immediately regardless of whether
|
|
||||||
ramping was enabled or not.
|
|
||||||
* Fix envelope carry being dependent on a previous Note Off.
|
|
||||||
* Fix a crash when loading some extremely large files.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 27 00:17:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20241226
|
|
||||||
* Implement Time Information page (accessible via
|
|
||||||
LShift-LAlt-RAlt-RCtrl-Pause, or the more sane keybind
|
|
||||||
Ctrl-Alt-T)
|
|
||||||
* Implement OpenMPT-style loop wrap-around buffer (addresses
|
|
||||||
playback issues with sample loops + interpolation)
|
|
||||||
* Much more accurate VU meters in the info page
|
|
||||||
* Fix handling of Lxx effects
|
|
||||||
* Fix handling of S7B/S7C effects
|
|
||||||
* Add support for 32-bit audio output
|
|
||||||
* Add primitive info reader of EdLib Tracker EDL and D00 files
|
|
||||||
(loading of the song data is not currently implemented)
|
|
||||||
* Fix some AIFF and WAV files not being loaded properly
|
|
||||||
* The default audio sample rate is now 48kHz instead of 44.1kHz
|
|
||||||
* Instruments Page: Keyjazz now works like Impulse Tracker did
|
|
||||||
* S3M: Import edit timers from Impulse Tracker and OpenMPT
|
|
||||||
* S3M: Save Impulse Tracker-style edit timers
|
|
||||||
- Delete 0001-build-resolve-Wreturn-type-warnings.patch (merged)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Oct 21 12:55:10 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20241021
|
|
||||||
* Fix search on the Load Module page
|
|
||||||
* Wii U support
|
|
||||||
* Fix portamento in both volume and effect column at the same
|
|
||||||
time
|
|
||||||
* Allow importing of IEEE floating point WAV and AU files
|
|
||||||
* POSIX: Use ~/.config/schism by default; ~/.schism is used if
|
|
||||||
it is available as a fallback
|
|
||||||
* MIDI/JACK: Both midi in and out should work flawlessly now
|
|
||||||
* S3M: Fix sample import under big endian architectures
|
|
||||||
* IT: Fix V81-VFF commands in old Schism Tracker ITs
|
|
||||||
* XM: Import ModPlug Tracker Command X extensions
|
|
||||||
- Add 0001-build-resolve-Wreturn-type-warnings.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Tue Sep 10 09:32:16 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20240909
|
|
||||||
* Add new Unicode fonts (extended latin alphabet, Greek alphabet,
|
|
||||||
and Hiragana) that are used in the sample, instrument, and
|
|
||||||
module loading pages for filenames.
|
|
||||||
* Better tracker detection for S3M files
|
|
||||||
* More accurate import of the XM K00 effect
|
|
||||||
* Rework cursor drawing to be more accurate to Impulse Tracker
|
|
||||||
* Import panning on DSM files
|
|
||||||
* Fix many possible memory leaks
|
|
||||||
* S3M: don't warn about invalid notes when saving empty pattern
|
|
||||||
cells
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Jun 30 15:48:11 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20240630
|
|
||||||
* Add DSM format loader (thanks @RepellantMold)
|
|
||||||
* Fix a crash upon loading some IT modules made in Modplug and
|
|
||||||
its derivatives
|
|
||||||
- Delete schism-deptrack.diff, delete compile.diff (merged)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Jun 15 12:56:29 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20240614
|
|
||||||
* Add STX module importing
|
|
||||||
* Add an audio device and driver selection widget in the
|
|
||||||
Shift-F5 menu
|
|
||||||
- Delete schism-alsa.diff (obsolete), add compile.diff.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Jun 9 11:04:48 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
|
||||||
|
|
||||||
- Update to release 20240609
|
|
||||||
* Fix saving 16-bit and/or stereo FLAC samples
|
|
||||||
* Attempt to convert song messages from Modplug/OpenMPT IT
|
|
||||||
files.
|
|
||||||
* Expand the file and directory listings in the Load/Save
|
|
||||||
Module screens to actually make use of wasted space. It
|
|
||||||
didn't even look like IT did anyway.
|
|
||||||
* File listings should now support paths with Unicode out of
|
|
||||||
the box and will fall back to interpreting the raw characters
|
|
||||||
if that fails.
|
|
||||||
* Reimplement key repeat configuration
|
|
||||||
* Allow copying and pasting palette settings to the clipboard
|
|
||||||
and actually save them when applied
|
|
||||||
* Fix saving the module's Schism version
|
|
||||||
* Fix issues with the implementation that would have caused
|
|
||||||
it to break after the Epochalypse
|
|
||||||
- Delete 0001-build-fix-gcc-warning-for-handle_text_input-function.patch
|
|
||||||
(merged)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 29 17:55:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Wed May 29 17:55:33 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package schismtracker
|
# spec file for package schismtracker
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,14 +17,19 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: schismtracker
|
Name: schismtracker
|
||||||
Version: 20250208
|
Version: 20240529
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Music editor that matches the look and feel of Impulse Tracker
|
Summary: Music editor that matches the look and feel of Impulse Tracker
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
||||||
URL: https://schismtracker.org/
|
URL: http://schismtracker.org/
|
||||||
Source: https://github.com/schismtracker/schismtracker/archive/refs/tags/%version.tar.gz
|
Source: https://github.com/schismtracker/schismtracker/archive/refs/tags/%version.tar.gz
|
||||||
|
#Source: https://github.com/schismtracker/schismtracker/releases/download/%version/%name-%version.source.tar.gz
|
||||||
Source2: %name.desktop
|
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: alsa-devel
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
@ -35,7 +40,6 @@ BuildRequires: libtool
|
|||||||
BuildRequires: python3-base
|
BuildRequires: python3-base
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: pkgconfig(flac)
|
BuildRequires: pkgconfig(flac)
|
||||||
BuildRequires: pkgconfig(libutf8proc)
|
|
||||||
BuildRequires: pkgconfig(sdl2)
|
BuildRequires: pkgconfig(sdl2)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,7 +54,7 @@ bugfixes and changes to improve IT playback.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
if [ ! -e configure ]; then autoreconf -fi; fi
|
||||||
%configure
|
%configure
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user