fasttracker2: Update to b163 Changes since b162 Beta #163 - 29.07.2019 - SDL updated from v2.0.9 to v2.0.10 - Bugfix: Don't unmute channels when loading a new song (FT2 behavior) - Bugfix: Disk Op. didn't list correct kB/MB/GB filesizes (1000 vs. 1024) + rounding upwards on kB/MB/GB sizes. - The Trim screen is a bit cleaner looking now - Instrument slots are now allocated as needed (FT2 behavior). This new behavior means little to the user, but makes it easier for me to port the FT2 code more directly when it works like this. This also means that XMs are now saved exactly the same way FT2 does it, except for certain uninitialized instrument header fields (FT2 bug) being set to zero. - Updated the help textdiff -r1.32 -r1.33 pkgsrc/audio/fasttracker2/Makefile
(fox)
@@ -1,19 +1,18 @@ | @@ -1,19 +1,18 @@ | |||
1 | # $NetBSD: Makefile,v 1.32 2019/07/30 00:06:50 fox Exp $ | 1 | # $NetBSD: Makefile,v 1.33 2019/08/02 17:16:33 fox Exp $ | |
2 | 2 | |||
3 | DISTNAME= ft2clone-${DISTVERSION}-code | 3 | DISTNAME= ft2clone-${DISTVERSION}-code | |
4 | PKGNAME= fasttracker2-${DISTVERSION:C/b/2./} | 4 | PKGNAME= fasttracker2-${DISTVERSION:C/b/2./} | |
5 | DISTVERSION= b162 | 5 | DISTVERSION= b163 | |
6 | PKGREVISION= 2 | |||
7 | CATEGORIES= audio | 6 | CATEGORIES= audio | |
8 | MASTER_SITES= https://16-bits.org/ \ | 7 | MASTER_SITES= https://16-bits.org/ \ | |
9 | ${MASTER_SITE_FREEBSD_LOCAL:=ehaupt/} | 8 | ${MASTER_SITE_FREEBSD_LOCAL:=ehaupt/} | |
10 | EXTRACT_SUFX= .zip | 9 | EXTRACT_SUFX= .zip | |
11 | 10 | |||
12 | MAINTAINER= fox@NetBSD.org | 11 | MAINTAINER= fox@NetBSD.org | |
13 | HOMEPAGE= https://16-bits.org/ | 12 | HOMEPAGE= https://16-bits.org/ | |
14 | COMMENT= Portable Fasttracker II clone in C using SDL 2 | 13 | COMMENT= Portable Fasttracker II clone in C using SDL 2 | |
15 | LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license | 14 | LICENSE= modified-bsd AND cc-by-nc-sa-v4.0-license | |
16 | 15 | |||
17 | WRKSRC= ${WRKDIR}/ft2-clone-code | 16 | WRKSRC= ${WRKDIR}/ft2-clone-code | |
18 | USE_LANGUAGES= c c++ | 17 | USE_LANGUAGES= c c++ | |
19 | 18 |
@@ -1,10 +1,10 @@ | @@ -1,10 +1,10 @@ | |||
1 | $NetBSD: distinfo,v 1.32 2019/08/02 16:54:10 fox Exp $ | 1 | $NetBSD: distinfo,v 1.33 2019/08/02 17:16:33 fox Exp $ | |
2 | 2 | |||
3 | SHA1 (ft2clone-b162-code.zip) = 4616581dac4cd8b498c88cad381dd9910b326390 | 3 | SHA1 (ft2clone-b163-code.zip) = 7403496ab648610ceb6638901e9ef5f2477b956c | |
4 | RMD160 (ft2clone-b162-code.zip) = a24993258f783e345f812f75a35a703154fb0aec | 4 | RMD160 (ft2clone-b163-code.zip) = e5f948072d4b38365cb8a69e8ddf5def89178d5f | |
5 | SHA512 (ft2clone-b162-code.zip) = 4b85514aece028075e8e5017c3b0c26638f0c74e18ac669788393a03457cb903959a548de9b1ca249eab8e629e18503dd1a7519aa81645a26e8f25684c4ec817 | 5 | SHA512 (ft2clone-b163-code.zip) = 170c5817c22be8076386e22d89cc147185ca07f66cf566fb3d4cfae75416894a1546f3cb49e2128b9504e4fea2c6d59f224dfb5212b95f382b92e0bdad9e4b16 | |
6 | Size (ft2clone-b162-code.zip) = 3953315 bytes | 6 | Size (ft2clone-b163-code.zip) = 6015814 bytes | |
7 | SHA1 (patch-src_ft2__diskop.c) = 6ec7fe7e9bb13b3413cfe053f1609f8ca70c956f | 7 | SHA1 (patch-src_ft2__diskop.c) = 6ec7fe7e9bb13b3413cfe053f1609f8ca70c956f | |
8 | SHA1 (patch-src_ft2__header.h) = a685ab05efdefe712bbe65b0a2b4ed41bc1e4670 | 8 | SHA1 (patch-src_ft2__header.h) = a685ab05efdefe712bbe65b0a2b4ed41bc1e4670 | |
9 | SHA1 (patch-src_ft2__sample__ed.c) = b5f38a7df35e64a4c995bd9c1b213b587a0c500a | 9 | SHA1 (patch-src_ft2__sample__ed.c) = ea642e75bc9333a41aa4de3bb558ee2d326b6544 | |
10 | SHA1 (patch-src_ft2__unicode.c) = 1302d414cfdd35441a6cfad918d3663e4c14665b | 10 | SHA1 (patch-src_ft2__unicode.c) = 1302d414cfdd35441a6cfad918d3663e4c14665b |
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | $NetBSD: patch-src_ft2__sample__ed.c,v 1.3 2019/08/02 16:54:10 fox Exp $ | 1 | $NetBSD: patch-src_ft2__sample__ed.c,v 1.4 2019/08/02 17:16:33 fox Exp $ | |
2 | 2 | |||
3 | Add the HAS_SSE macro so that build failures do not occur in i386 | 3 | Add the HAS_SSE macro so that build failures do not occur in i386 | |
4 | systems that lack SSE support. | 4 | systems that lack SSE support. | |
5 | 5 | |||
6 | For example: On i386, the compiler may be targeting a CPU that does | 6 | For example: On i386, the compiler may be targeting a CPU that does | |
7 | not have SSE (e.g., on NetBSD, the i386 target is i486). fasttracker2 | 7 | not have SSE (e.g., on NetBSD, the i386 target is i486). fasttracker2 | |
8 | various assembly pieces that use different CPU features. HAS_SSE macro | 8 | various assembly pieces that use different CPU features. HAS_SSE macro | |
9 | needs to be set in systems which has these CPU features and compile | 9 | needs to be set in systems which has these CPU features and compile | |
10 | correctly. | 10 | correctly. | |
11 | 11 | |||
12 | Note: Contacted the upstream author regarding the patch and awaiting a | 12 | Note: Contacted the upstream author regarding the patch and awaiting a | |
13 | reply. https://16-bits.org/ft2.php | 13 | reply. https://16-bits.org/ft2.php | |
14 | 14 | |||
15 | --- src/ft2_sample_ed.c.orig 2019-07-22 16:27:23.010951973 +0000 | 15 | --- src/ft2_sample_ed.c.orig 2019-07-22 16:27:23.010951973 +0000 | |
16 | +++ src/ft2_sample_ed.c | 16 | +++ src/ft2_sample_ed.c | |
17 | @@ -689,7 +689,7 @@ static void sampleLine(int16_t x1, int16 | 17 | @@ -743,7 +743,7 @@ static void sampleLine(int16_t x1, int16 | |
18 | 18 | |||
19 | static void getMinMax16(const void *p, uint32_t scanLen, int16_t *min16, int16_t *max16) | 19 | static void getMinMax16(const void *p, uint32_t scanLen, int16_t *min16, int16_t *max16) | |
20 | { | 20 | { | |
21 | -#if defined __APPLE__ || defined _WIN32 || defined __i386__ || defined __amd64__ | 21 | -#if defined __APPLE__ || defined _WIN32 || defined __i386__ || defined __amd64__ | |
22 | +#if defined __APPLE__ || (defined HAS_SSE && (defined _WIN32 || defined __i386)) || defined __amd64__ | 22 | +#if defined __APPLE__ || (defined HAS_SSE && (defined _WIN32 || defined __i386)) || defined __amd64__ | |
23 | if (cpu.hasSSE2) | 23 | if (cpu.hasSSE2) | |
24 | { | 24 | { | |
25 | /* Taken with permission from the OpenMPT project (and slightly modified). | 25 | /* Taken with permission from the OpenMPT project (and slightly modified). | |
26 | @@ -775,7 +775,7 @@ static void getMinMax16(const void *p, u | 26 | @@ -829,7 +829,7 @@ static void getMinMax16(const void *p, u | |
27 | 27 | |||
28 | static void getMinMax8(const void *p, uint32_t scanLen, int8_t *min8, int8_t *max8) | 28 | static void getMinMax8(const void *p, uint32_t scanLen, int8_t *min8, int8_t *max8) | |
29 | { | 29 | { | |
30 | -#if defined __APPLE__ || defined _WIN32 || defined __i386__ || defined __amd64__ | 30 | -#if defined __APPLE__ || defined _WIN32 || defined __i386__ || defined __amd64__ | |
31 | +#if defined __APPLE__ || (defined HAS_SSE && (defined _WIN32 || defined __i386)) || defined __amd64__ | 31 | +#if defined __APPLE__ || (defined HAS_SSE && (defined _WIN32 || defined __i386)) || defined __amd64__ | |
32 | if (cpu.hasSSE2) | 32 | if (cpu.hasSSE2) | |
33 | { | 33 | { | |
34 | /* Taken with permission from the OpenMPT project (and slightly modified). | 34 | /* Taken with permission from the OpenMPT project (and slightly modified). |