head 1.11; access; symbols pkgsrc-2026Q1:1.11.0.2 pkgsrc-2026Q1-base:1.11 pkgsrc-2025Q4:1.9.0.2 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.8.0.8 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.6 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.4 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.2 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.7.0.8 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.6 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.4 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.2 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.6.0.14 pkgsrc-2023Q3-base:1.6 pkgsrc-2023Q2:1.6.0.12 pkgsrc-2023Q2-base:1.6 pkgsrc-2023Q1:1.6.0.10 pkgsrc-2023Q1-base:1.6 pkgsrc-2022Q4:1.6.0.8 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.6 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.4 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.2 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.5.0.6 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.4 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.2 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.3.0.2 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.1.0.6 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.2 pkgsrc-2019Q3-base:1.1; locks; strict; comment @# @; 1.11 date 2026.03.14.11.29.36; author fox; state Exp; branches; next 1.10; commitid UU5pvKyDQE532WxG; 1.10 date 2026.03.08.11.11.38; author fox; state Exp; branches; next 1.9; commitid jlfL10g9e8LN7axG; 1.9 date 2025.11.03.14.46.16; author fox; state Exp; branches; next 1.8; commitid q804zHyqJh8Pk7hG; 1.8 date 2024.12.09.07.24.59; author fox; state Exp; branches; next 1.7; commitid g1Oj7L5JG2q1tNAF; 1.7 date 2023.10.21.14.27.13; author fox; state Exp; branches; next 1.6; commitid UJNJhj07yAqZ8vJE; 1.6 date 2022.01.13.04.24.00; author fox; state Exp; branches; next 1.5; commitid PVsG43wIevPtzqoD; 1.5 date 2021.05.26.02.34.02; author fox; state Exp; branches; next 1.4; commitid 94ilq66UbSjYpBUC; 1.4 date 2021.04.06.10.49.29; author fox; state Exp; branches; next 1.3; commitid bTgc0DyOcyuALdOC; 1.3 date 2021.03.03.10.20.04; author fox; state Exp; branches; next 1.2; commitid tSrOfaNerdnmHQJC; 1.2 date 2020.03.18.12.20.41; author fox; state Exp; branches; next 1.1; commitid vwRCZArn1eTeCS0C; 1.1 date 2019.08.07.23.44.32; author fox; state Exp; branches; next ; commitid fYQGQH6hzYfZA9yB; desc @@ 1.11 log @audio/fasttracker2: Update to 2.11 Changes since 2.10 v2.11 - 09.03.2026 - Fixed: When loading stereo AIFF/WAV samples, the last sample point would not be read correctly when either reading the right channel or downmixing to mono. @ text @$NetBSD: patch-CMakeLists.txt,v 1.10 2026/03/08 11:11:38 fox Exp $ Only define __LINUX_ALSA__ on Linux. --- CMakeLists.txt.orig 2025-09-17 18:17:34.000000000 +0000 +++ CMakeLists.txt @@@@ -32,9 +32,6 @@@@ find_package(Threads REQUIRED) target_link_libraries(ft2-clone PRIVATE m Threads::Threads ${SDL2_LIBRARIES}) -target_compile_definitions(ft2-clone - PRIVATE HAS_MIDI) - if(UNIX) if(APPLE) find_library(COREAUDIO CoreAudio REQUIRED) @@@@ -46,7 +42,7 @@@@ if(UNIX) PRIVATE ${COREAUDIO} ${COREMIDI} ${COREFOUNDATION} ${ICONV}) target_compile_definitions(ft2-clone PRIVATE __MACOSX_CORE__) - else() + elseif(LINUX) # musl systems need musl-fts installed, others have it with glibc find_library(FTS fts) if (FTS) @@@@ -56,6 +52,10 @@@@ if(UNIX) PRIVATE asound) target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__) + else() + target_compile_definitions(ft2-clone + PRIVATE HAS_MIDI + PRIVATE HAS_LIBFLAC) endif() endif() @ 1.10 log @audio/fasttracker2: Update to 2.10 Changes since 2.03 v2.10 - 07.03.2026 - Added support for loading .OGG samples - Use miniflac for loading .FLAC samples (instead of libFLAC) v2.09 - 06.03.2026 - Changed the default pattern editor layout to have less visual noise, similar to that of MilkyTracker. This makes it, in my opinion, easier on the eyes. Naturally, this is going to be somewhat of a controversial change, so it can be turned off by going to Config -> Miscellaneous, then enabling "Original FT2 pattern layout". v2.08 - 04.03.2026 - Visuals->audio sync was partially broken since v1.52 (27.02.2022)! This was a minor issue anyway, as it wasn't that easy to notice it. v2.07 - 02.03.2026 - When loading stereo MP3 samples, immediately ask which channel to read instead of loading it first, then ask. - Bug fix: Mouse cursor would accidentally be set from busy to normal after deciding what to do when loading a stereo sample (system request). This was wrong, it should be set to normal after sample loading is done. - When clicking on the program while it was not in focus, let the mouse click be handled. Fixes having to click twice on a system request dialog button when dropping a file onto the program. v2.06 - 02.03.2026 - Experimental support for loading .MP3 files as a sample v2.05 - 22.02.2026 - "All files" checkbox added to Disk Op. screen (replaces "Show all" button) - Windows: The current path was not shown correctly in the Disk Op. screen - Fixed a bug with fine pitch slides when importing S3M modules - The FT2 logo in the about screen is now static instead of waving (was ugly) - Code cleanup v2.04 - 11.02.2026 - Fixed possible crash on startup on some platforms (BMP graphics loader) - Fixed possible crash when entering Disk Op. (dir. read thread started twice) - Fixed possible bug with button rendering in 'system request' dialogs - Fixed possible issue with creating threads on some platforms. Reason: Apparently it's wrong to pass NULL for the thread name parameter in SDL_CreateThread() on some SDL2 ports (Sony PSP, for instance). @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.9 2025/11/03 14:46:16 fox Exp $ d12 1 a12 1 - PRIVATE HAS_MIDI @ 1.9 log @audio/fasttracker2: Update to 1.99 Changes since 1.97 v1.99 - 17.09.2025 - When loading .IFF samples, always set volume to max (64) instead of reading the sample volume from the IFF header. This is because many IFFs used different ranges for the sample volume, so the resulting sample volume value would often be zero instead of max. v1.98 - 07.09.2025 - Re-added audio dithering for 16-bit audio output - Tracker scopes changed yet again, reverted to original integer-based scaling - Windows/macOS: Updated SDL to v2.32.10 @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.8 2024/12/09 07:24:59 fox Exp $ d7 1 a7 1 @@@@ -32,10 +32,6 @@@@ find_package(Threads REQUIRED) a12 1 - PRIVATE HAS_LIBFLAC) @ 1.8 log @audio/fasttracker2: Update to 1.89 Changes since 1.88: v1.89 - 07.12.2024 - Fixed a possible crash on macOS (and possibly Linux) when loading a module whose filename includes special non-ASCII characters. - Added a "Default audio device" option when selecting input/output audio devices in the config screen. This option has a few edge-case bugs, though. - Added an experimental Impulse Tracker module loader. This should only be used to extract patterns/instruments/samples, as there are severe conversion errors when this format is converted to XM under load. WARNING: This loader has not been thoroughly tested, and may cause a crash! - Fixed a bug with the tracker scopes where the sample would sometimes not be displayed correctly during a sample/note trigger. - Replaced the Gaussian (SNES) interpolator with a 6-point cubic Hermite option. The Gaussian interpolator was very niche anyway, and as it sounded quite filtered, I think the vast majority of users wouldn't see a use for it. - Added a few missing Norwegian/Danish alphabet letters to the main font (code page is now 850 instead of 437). - Show extra digits (when space for them) in the C-4 Hz string in the instrument editor screen. - Again, slightly improved the interpolation method for the tracker scopes in "Lined" mode (when using the cubic/sinc interpolators). - Slightly increased the contrast for the sample editor's loop pin lines @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.7 2023/10/21 14:27:13 fox Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2024-12-07 21:23:01.000000000 +0000 d18 1 a18 1 @@@@ -46,11 +42,15 @@@@ if(UNIX) d24 4 a27 1 target_link_libraries(ft2-clone d34 1 a34 1 + PRIVATE HAS_LIBFLAC) @ 1.7 log @audio/fasttracker2: Update to 1.72.1 Changes since v1.69 v1.72 - 07.10.2023 - Block Cut (ALT+F3) and Block Copy (ALT+F4) was broken in v1.70 v1.71 - 04.10.2023 - CTRL+A/ALT+A keybindings were swapped (thanks to MIDRA2ADVANCE for telling me) v1.70 - 01.10.2023 - Bugfix: Shrink Pattern ("Srnk.") could lead to a pattern length of 0 - Better variable sanitation for some pattern editing routines, may (?) prevent some rare crashes. - CTRL+F5 (Paste Pattern) had wrong button names in its message box when asking to adjust the pattern length after pasting. - Changed the above message box text to be easier to understand - Removed audio dithering for 16-bit audio bit depth mode. It seemed to be wrongly implemented anyway. - Some small changes done to the about screen - Windows/macOS: Updated SDL to v2.28.3 - Code cleanup @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2022/01/13 04:24:00 fox Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2023-10-07 13:11:58.000000000 +0000 d18 2 a19 2 @@@@ -44,11 +40,15 @@@@ if(UNIX) PRIVATE ${COREAUDIO} ${COREMIDI}) d23 1 a23 1 + elseif(LINUX) d31 1 a31 1 + PRIVATE HAS_LIBFLAC) @ 1.6 log @audio/fasttracker2: Update to v1.50 Changes since v1.49 v1.50 - 12.01.2022 - macOS/Windows: Updated SDL 2.0.16 to SDL 2.0.20. SDL 2.0.18 would have issues with custom mouse cursors on Windows, so I had to skip it. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2021/05/26 02:34:02 fox Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2022-01-12 13:11:14.000000000 +0000 d7 1 a7 1 @@@@ -30,10 +30,16 @@@@ endif() d9 1 a9 1 PRIVATE m asound pthread ${SDL2_LIBRARIES}) a12 1 - PRIVATE __LINUX_ALSA__ d14 20 a33 10 +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + target_compile_definitions(ft2-clone + PRIVATE HAS_MIDI + PRIVATE __LINUX_ALSA__ + PRIVATE HAS_LIBFLAC) +else() + target_compile_definitions(ft2-clone + PRIVATE HAS_MIDI + PRIVATE HAS_LIBFLAC) +endif() a34 2 if(EXTERNAL_LIBFLAC) find_package(PkgConfig REQUIRED) @ 1.5 log @audio/fasttracker2: Updates to v1.47 Changes since v1.46 v1.47 - xx.05.2021 - Bugfix: The Lxx (Set Envelope Pos) XM effect was broken :( - Added support for loading FLAC samples (w/ loop/vol./name information) - Added support for loading '8-bit unsigned/32-bit float/64-bit double' AIFFs - Added support for loading XMs with ADPCM sample compression (ModPlug Tracker) - The windowed-sinc LUT now has 8192 phases instead of 4096 for a theoretical small interpolation precision improvement. - Bugfix: Fixed a bug with "Save rng." (Smp. Ed.) related to data after/around the loop end point. - "Save rng." (Smp. Ed.) now asks if you want to overwrite an existing file - Bugfix: The windowed-sinc interpolation was slightly wrong near the loop-start point on looped samples. Was only audible on super-tight loops. - Mixer now uses 32-bit single-precision floats instead of 64-bit double-precision. The error difference in the audio output is +/- 1 (16-bit), which is only -90dbFS and not really audible. This should give a performance boost for devices that are slow with handling double-precision floats. - Samples now have units of "samples" instead of bytes (in the sample editor). This means that 16-bit samples will show the same numbers as 8-bit samples. - The sample editor is now drawing interpolated sample points when zoomed in - Fixed a bug where the "Range" button in Smp. Ed. had problems if you had marked sample data after 65535 sample points. - Fixed a problem where the mouse pointer could be broken in fullscreen mode at some screen resolutions (f.ex. 1600x900). - Windows bugfix: Prevent ever-increasing memory usage while minimized. Possibly a bug in SDL_RenderClear(). Might've affected other systems too. - Bugfix: Exit text edit mode when dropping a file onto the window. Fixes possible text cursor overflow issues. - Bugfix: Some instrument/sample names could contain junk at the end after being saved (.XM/.XI). - Bugfix: If you previously used an audio device that was disconnected before starting the program, it will now resort to the default audio device without reverting all your audio settings (buffer size, bit depth, frequency). - Fixed possible crash if a channel's resampling rate/delta was zero (very rare) - If you copy all the sample data in a sample, it will also copy over the sample information (loop, volume, finetune, name etc.) when you paste it to a new sample. - The "Get maximum scale" button in the "Volume" tool in Smp. Ed. will now get the actual scale instead of limiting it to the start/end vol max range. This means that you need only one pass to normalize the amplitude on a very quiet sample. - The scopes now use linear interpolation for sample points in "Lined" mode - Fixed a mistake in the S3M importer where "Set speed" commands with a parameter of >$1F were removed instead of being clamped. - Clearing the instrument (numpad delete key) also clears instrument name now - Added new keybinding: Press Ctrl + "numpad+"/"numpad-" to increase or decrease the master volume by 16. - Updated the help text - A *lot* of variable/function names have been changed to be easier to understand. This causes a mega-commit to the GitHub repo, and I'm sorry for that if you have a fork of it that you want to keep updated. :/ - Code cleanup (big one) @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2021/04/06 10:49:29 fox Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2021-05-23 18:35:57.000000000 +0000 d7 1 a7 1 @@@@ -29,10 +29,16 @@@@ endif() d26 2 a27 2 install(TARGETS ft2-clone RUNTIME DESTINATION bin) @ 1.4 log @audio/fasttracker2: Updates to v1.46 Changes since v1.44 v1.46 - 02.04.2021 - Fixed: Audio settings weren't correctly loaded from config in v1.45 v1.45 - 01.04.2021 - Fixed possible crash when starting the program on M1 Macs (thanks kode54) - Fixed possible mouse cursor corruption when hovering over text boxes on Linux. - Fixed possibly buggy string operations - Refactored some code that was doing unnecessary/wrong stuff - Minor code cleanup - Updated help text @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2021/03/03 10:20:04 fox Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2021-04-02 09:54:11.000000000 +0000 d7 1 a7 2 @@@@ -26,7 +26,9 @@@@ endif() d10 14 a23 3 -target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__) +if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + target_compile_definitions(ft2-clone PRIVATE __LINUX_ALSA__) d27 1 a27 1 RUNTIME DESTINATION bin ) @ 1.3 log @audio/fasttracker2: Updates to v1.44 Changes since v1.43 v1.44 - 01.03.2021 - The second "Key Off" key (key next to left shift) didn't work on all keyboard layouts. - Added support for importing DIGI Booster (non-Pro) modules - Added support for importing 8-channel StarTrekker modules - Removed calculation of some big tables because they were not really that important for performance after all, and also made the video/audio sync data more compact. Saves around ~1.8MB of RAM. Not a whole lot, but still nice. - Code refactoring in module/sample loaders. It's easier to add new loaders now! - Minor code cleanup and code change - Updated help text @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2020/03/18 12:20:41 fox Exp $ a2 1 Add new src folders to CMakeList.txt (should be fixed in the next upstream). d5 1 a5 1 --- CMakeLists.txt.orig 2021-03-01 19:04:28.000000000 +0000 d7 1 a7 10 @@@@ -10,6 +10,8 @@@@ file(GLOB ft2-clone_SRC "${ft2-clone_SOURCE_DIR}/src/*.c" "${ft2-clone_SOURCE_DIR}/src/gfxdata/*.c" "${ft2-clone_SOURCE_DIR}/src/mixer/*.c" + "${ft2-clone_SOURCE_DIR}/src/modloaders/*.c" + "${ft2-clone_SOURCE_DIR}/src/smploaders/*.c" ) add_executable(ft2-clone ${ft2-clone_SRC}) @@@@ -24,7 +26,9 @@@@ endif() d12 1 a12 1 +if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") @ 1.2 log @audio/fasttracker2: Update to v1.13 Changes since v1.12: v1.13 - 18.03.2020 - Fixed crash when loading some very specific S3M modules - Linux: Fixed CMakeLists.txt to work on Arch Linux - Some other small miscellaneous fixes not worth of a mention @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2019/08/07 23:44:32 fox Exp $ d3 1 d6 1 a6 1 --- CMakeLists.txt.orig 2020-03-18 10:34:59.000000000 +0000 d8 10 a17 1 @@@@ -23,7 +23,9 @@@@ endif() @ 1.1 log @fasttracker2: Fixes builds in Linux. 1. Should fix builds in Ubuntu / CentOS. 2. Rewrites the build system to use cmake. 3. Adds ALSA support in Linux. 4. Bumps PKGREVISION. Thanks to nia@@ for helping re-write the build system. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2019-08-07 22:40:56.490008720 +0000 d7 1 a7 1 @@@@ -20,7 +20,10 @@@@ target_include_directories(ft2-clone SYS d9 1 a9 1 target_link_libraries(ft2-clone d12 1 a12 2 + +if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") a15 1 d17 1 @