Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package schismtracker for openSUSE:Factory checked in at 2022-04-21 15:42:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/schismtracker (Old) and /work/SRC/openSUSE:Factory/.schismtracker.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "schismtracker" Thu Apr 21 15:42:45 2022 rev:17 rq:971341 version:20220125 Changes: -------- --- /work/SRC/openSUSE:Factory/schismtracker/schismtracker.changes 2021-11-18 10:33:47.103904692 +0100 +++ /work/SRC/openSUSE:Factory/.schismtracker.new.1538/schismtracker.changes 2022-04-21 15:49:02.344340617 +0200 @@ -1,0 +2,11 @@ +Thu Apr 21 08:15:17 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- update to 20220125: + * Release builds now support macOS 10.9+ (previously supported only 10.15+) + * Fix window size on high-DPI macOS displays when launched from app bundle + * Fix reading of various meta events in MIDI files + * Fix IMF filter envelope being upside down and IMF disable envelope command + * Fix bug in AIFF multi-write +- schism-deptrack.diff: refresh + +------------------------------------------------------------------- Old: ---- 20211116.tar.gz New: ---- 20220125.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ schismtracker.spec ++++++ --- /var/tmp/diff_new_pack.BC4SXt/_old 2022-04-21 15:49:02.804341108 +0200 +++ /var/tmp/diff_new_pack.BC4SXt/_new 2022-04-21 15:49:02.808341113 +0200 @@ -1,7 +1,7 @@ # # spec file for package schismtracker # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,12 @@ Name: schismtracker -Version: 20211116 +Version: 20220125 Release: 0 Summary: Music editor that matches the look and feel of Impulse Tracker License: GPL-2.0-or-later Group: Productivity/Multimedia/Sound/Editors and Convertors URL: http://schismtracker.org/ - -#Git-Clone: https://github.com/schismtracker/schismtracker Source: https://github.com/schismtracker/schismtracker/archive/refs/tags/%version.tar.gz Source2: %name.desktop Patch1: schism-alsa.diff ++++++ 20211116.tar.gz -> 20220125.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/.github/workflows/build.yml new/schismtracker-20220125/.github/workflows/build.yml --- old/schismtracker-20211116/.github/workflows/build.yml 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/.github/workflows/build.yml 2022-01-25 16:27:53.000000000 +0100 @@ -91,30 +91,46 @@ build-macos: runs-on: macos-latest + env: + MACOSX_DEPLOYMENT_TARGET: 10.9 steps: + - name: 'Get current date' + id: date + run: echo "::set-output name=date::$(date +%Y%m%d)" + + - name: 'Cache SDK' + uses: actions/cache@v2 + id: cache + with: + path: '/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk/' + key: 10.9-SDK-Folder + - name: 'Install dependencies' - run: brew install automake autoconf sdl git zip + run: | + brew install automake sdl zip + if [ ! -f "/Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk/" ]; then + wget -nc "https://github.com/phracker/MacOSX-SDKs/releases/download/11.3/MacOSX10.9.sdk.tar.xz" + sudo tar -xJf MacOSX10.9.sdk.tar.xz -C /Library/Developer/CommandLineTools/SDKs/ + fi - name: 'Checkout' uses: actions/checkout@v2 - - name: 'Get current date' - id: date - run: echo "::set-output name=date::$(date +%Y%m%d)" - - name: 'Build package' run: | autoreconf -i mkdir -p build cd build ../configure - make + make CFLAGS="-isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.9.sdk" cd ../sys/macosx/Schism_Tracker.app/Contents/ + sed -i .bak "s;<string>CFBundle.*Version.*</string>;<string>$(date +%Y%m%d)</string>;" Info.plist + rm Info.plist.bak mkdir MacOS cd MacOS cp ../../../../../build/schismtracker . - cp /usr/local/lib/libSDL-* . + cp ../../../../../libs/libSDL-1.2.0.dylib . install_name_tool -change /usr/local/opt/sdl/lib/libSDL-1.2.0.dylib @executable_path/libSDL-1.2.0.dylib schismtracker cd ../../../../.. cp -r sys/macosx/Schism_Tracker.app Schism\ Tracker.app diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/Makefile.am new/schismtracker-20220125/Makefile.am --- old/schismtracker-20211116/Makefile.am 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/Makefile.am 2022-01-25 16:27:53.000000000 +0100 @@ -220,6 +220,7 @@ sys/macosx/midi-macosx.c \ sys/macosx/volume-macosx.c \ sys/macosx/osdefs.c +cflags_macosx=-mmacosx-version-min=10.9 endif if USE_NETWORK @@ -367,7 +368,8 @@ AM_CPPFLAGS = -D_USE_AUTOCONF -D_GNU_SOURCE -I$(srcdir)/include -I. AM_CFLAGS = $(SDL_CFLAGS) $(cflags_alsa) $(cflags_oss) \ $(cflags_network) $(cflags_x11) $(cflags_fmopl) \ - $(cflags_version) $(cflags_win32) $(cflags_wii) + $(cflags_version) $(cflags_win32) $(cflags_wii) \ + $(cflags_macosx) AM_OBJCFLAGS = $(AM_CFLAGS) schismtracker_DEPENDENCIES = $(files_windres) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/configure.ac new/schismtracker-20220125/configure.ac --- old/schismtracker-20211116/configure.ac 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/configure.ac 2022-01-25 16:27:53.000000000 +0100 @@ -23,7 +23,7 @@ dnl PACKAGE_VERSION will be either "" if not using git, or date of the last git commit in the form YYYYMMDD m4_define([last_git_commit], patsubst(m4_esyscmd([git log -n 1 --date=short --format=format:%cd]), [[^0-9]])) -AC_INIT([schismtracker], [last_git_commit]) +AC_INIT([schismtracker],[last_git_commit]) AC_CONFIG_SRCDIR([schism/main.c]) @@ -38,7 +38,6 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S -AC_PROG_CC_C99 dnl do we have Git AC_CHECK_TOOL([GIT], [git]) @@ -60,7 +59,16 @@ AC_C_BIGENDIAN dnl Check for SDL libs -AM_PATH_SDL(1.2.10, , AC_MSG_ERROR([*** SDL version >= 1.2.10 not found.])) +AC_CHECK_TOOL([SDL_CONFIG], [sdl-config]) +AC_SUBST(SDL_CONFIG) +if test "x$SDL_CONFIG" == "x"; then + AC_MSG_ERROR([*** sdl-config not found.]) +fi +if $SDL_CONFIG --version | grep -qv 1.2.1; then + AC_MSG_ERROR([*** SDL version >= 1.2.10 not found.]) +fi +SDL_CFLAGS=$($SDL_CONFIG --cflags) +SDL_LIBS=$($SDL_CONFIG --libs) dnl Libs AC_CHECK_LIB([dl], [dlopen]) @@ -76,7 +84,6 @@ AM_CONDITIONAL([USE_MMAP], [test "$ac_cv_func_mmap" = "yes"]) dnl Headers, typedef crap, et al. -AC_HEADER_STDC AC_HEADER_DIRENT AC_HEADER_TIME AC_CHECK_HEADERS(inttypes.h fcntl.h limits.h signal.h unistd.h sys/param.h sys/ioctl.h sys/kd.h linux/fb.h byteswap.h sys/soundcard.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/fmt/aiff.c new/schismtracker-20220125/fmt/aiff.c --- old/schismtracker-20211116/fmt/aiff.c 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/fmt/aiff.c 2022-01-25 16:27:53.000000000 +0100 @@ -459,6 +459,9 @@ int fmt_aiff_export_silence(disko_t *fp, long bytes) { + struct aiff_writedata *awd = fp->userdata; + awd->numbytes += bytes; + disko_seek(fp, bytes, SEEK_CUR); return DW_OK; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/fmt/imf.c new/schismtracker-20220125/fmt/imf.c --- old/schismtracker-20211116/fmt/imf.c 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/fmt/imf.c 2022-01-25 16:27:53.000000000 +0100 @@ -240,10 +240,17 @@ // no change break; case 0xe: // ignore envelope - /* predicament: we can only disable one envelope at a time. - volume is probably most noticeable, so let's go with that. - (... actually, orpheus doesn't even seem to implement this at all) */ - note->param = 0x77; + switch (note->param & 0x0F) { + /* predicament: we can only disable one envelope at a time. + volume is probably most noticeable, so let's go with that. */ + case 0: note->param = 0x77; break; + // Volume + case 1: note->param = 0x77; break; + // Panning + case 2: note->param = 0x79; break; + // Filter + case 3: note->param = 0x7B; break; + } break; case 0x18: // sample offset // O00 doesn't pick up the previous value @@ -380,6 +387,7 @@ int n, t, v; int min = 0; // minimum tick value for next node int shift = (e == IMF_ENV_VOL ? 0 : 2); + int mirror = (e == IMF_ENV_FILTER) ? 0xff : 0x00; env->nodes = CLAMP(imfins->env[e].points, 2, 25); env->loop_start = imfins->env[e].loop_start; @@ -388,7 +396,7 @@ for (n = 0; n < env->nodes; n++) { t = bswapLE16(imfins->nodes[e][n].tick); - v = bswapLE16(imfins->nodes[e][n].value) >> shift; + v = ((bswapLE16(imfins->nodes[e][n].value) & 0xff) ^ mirror) >> shift; env->ticks[n] = MAX(min, t); env->values[n] = v = MIN(v, 64); min = t + 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/fmt/mid.c new/schismtracker-20220125/fmt/mid.c --- old/schismtracker-20211116/fmt/mid.c 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/fmt/mid.c 2022-01-25 16:27:53.000000000 +0100 @@ -344,15 +344,13 @@ message_left--; } vlen -= y; - if (vlen) - slurp_seek(fp, vlen, SEEK_CUR); - continue; + break; case 0x20: // MIDI channel (FF 20 len* cc) // specifies which midi-channel sysexes are assigned to case 0x21: // MIDI port (FF 21 len* pp) // specifies which port/bus this track's events are routed to - continue; + break; case 0x2f: found_end = 1; @@ -371,18 +369,18 @@ break; case 0x54: // SMPTE offset (what time in the song this track starts) // (what?!) - continue; + break; case 0x58: // time signature (FF 58 len* nn dd cc bb) case 0x59: // key signature (FF 59 len* sf mi) // TODO care? don't care? - continue; + break; case 0x7f: // some proprietary crap - continue; + break; default: // some mystery crap log_appendf(2, " Unknown meta-event FF %02X", x); - continue; + break; } slurp_seek(fp, vlen, SEEK_CUR); break; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/schism/video.c new/schismtracker-20220125/schism/video.c --- old/schismtracker-20211116/schism/video.c 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/schism/video.c 2022-01-25 16:27:53.000000000 +0100 @@ -505,6 +505,10 @@ if (!driver) { driver = "yuv"; } +#elif defined(__APPLE__) + if (!driver) { + driver = "opengl"; + } #else if (!driver) { if (getenv("DISPLAY")) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/schismtracker-20211116/sys/macosx/Schism_Tracker.app/Contents/Info.plist new/schismtracker-20220125/sys/macosx/Schism_Tracker.app/Contents/Info.plist --- old/schismtracker-20211116/sys/macosx/Schism_Tracker.app/Contents/Info.plist 2021-11-17 02:50:47.000000000 +0100 +++ new/schismtracker-20220125/sys/macosx/Schism_Tracker.app/Contents/Info.plist 2022-01-25 16:27:53.000000000 +0100 @@ -110,5 +110,7 @@ <string>NSApplication</string> <key>CGDisableCoalescedUpdates</key> <true/> + <key>NSHighResolutionCapable</key> + <false/> </dict> </plist> ++++++ schism-deptrack.diff ++++++ --- /var/tmp/diff_new_pack.BC4SXt/_old 2022-04-21 15:49:03.004341322 +0200 +++ /var/tmp/diff_new_pack.BC4SXt/_new 2022-04-21 15:49:03.008341326 +0200 @@ -11,11 +11,11 @@ configure.ac | 1 + 2 files changed, 2 insertions(+) -Index: schismtracker-20170910/Makefile.am +Index: schismtracker-20220125/Makefile.am =================================================================== ---- schismtracker-20170910.orig/Makefile.am -+++ schismtracker-20170910/Makefile.am -@@ -141,6 +141,7 @@ CLEANFILES = \ +--- 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) @@ -23,14 +23,14 @@ 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-20170910/configure.ac +Index: schismtracker-20220125/configure.ac =================================================================== ---- schismtracker-20170910.orig/configure.ac -+++ schismtracker-20170910/configure.ac -@@ -39,6 +39,7 @@ AC_PROG_CPP +--- 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_CC_C99 +AC_PROG_MKDIR_P dnl do we have Git