From owner-svn-ports-all@freebsd.org Sat Jan 23 12:19:36 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B75C14F285F; Sat, 23 Jan 2021 12:19:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNFYh3cXwz3wLM; Sat, 23 Jan 2021 12:19:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6A9FA1112F; Sat, 23 Jan 2021 12:19:36 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 10NCJabG091691; Sat, 23 Jan 2021 12:19:36 GMT (envelope-from ehaupt@FreeBSD.org) Received: (from ehaupt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 10NCJYog091683; Sat, 23 Jan 2021 12:19:34 GMT (envelope-from ehaupt@FreeBSD.org) Message-Id: <202101231219.10NCJYog091683@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ehaupt set sender to ehaupt@FreeBSD.org using -f From: Emanuel Haupt Date: Sat, 23 Jan 2021 12:19:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r562392 - in head/audio: . tiatracker tiatracker/files X-SVN-Group: ports-head X-SVN-Commit-Author: ehaupt X-SVN-Commit-Paths: in head/audio: . tiatracker tiatracker/files X-SVN-Commit-Revision: 562392 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2021 12:19:36 -0000 Author: ehaupt Date: Sat Jan 23 12:19:34 2021 New Revision: 562392 URL: https://svnweb.freebsd.org/changeset/ports/562392 Log: Add tiatracker 1.3, music tracker for making Atari VCS 2600. Added: head/audio/tiatracker/ head/audio/tiatracker/Makefile (contents, props changed) head/audio/tiatracker/distinfo (contents, props changed) head/audio/tiatracker/files/ head/audio/tiatracker/files/patch-TIATracker.pro (contents, props changed) head/audio/tiatracker/files/patch-emulation_TIASnd.h (contents, props changed) head/audio/tiatracker/files/patch-emulation_player.cpp (contents, props changed) head/audio/tiatracker/files/patch-player_k65_tt__player.k65 (contents, props changed) head/audio/tiatracker/pkg-descr (contents, props changed) head/audio/tiatracker/pkg-plist (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Sat Jan 23 12:02:42 2021 (r562391) +++ head/audio/Makefile Sat Jan 23 12:19:34 2021 (r562392) @@ -805,6 +805,7 @@ SUBDIR += teamspeak3-server SUBDIR += tempest_for_eliza SUBDIR += thunar-media-tags-plugin + SUBDIR += tiatracker SUBDIR += timely-lv2 SUBDIR += timemachine SUBDIR += timidity Added: head/audio/tiatracker/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/Makefile Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,54 @@ +# Created by: Emanuel Haupt +# $FreeBSD$ + +PORTNAME= tiatracker +PORTVERSION= 1.3 +DISTVERSIONSUFFIX= .orig +CATEGORIES= audio +MASTER_SITES= DEBIAN +DISTNAME= ${PORTNAME}_${PORTVERSION}${DISTVERSIONSUFFIX} + +MAINTAINER= ehaupt@FreeBSD.org +COMMENT= Music tracker for making Atari VCS 2600 + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/license.txt + +USES= dos2unix gl qmake qt:5 sdl tar:xz +DOS2UNIX_GLOB= *.c *.cpp *.h *.k65 *.pro +USE_GL= gl +USE_QT= core gui widgets buildtools_build +USE_SDL= sdl2 + +CFLAGS+= `sdl2-config --cflags` +LDFLAGS+= `sdl2-config --libs` + +DESKTOP_ENTRIES= "TIATracker" \ + "${COMMENT}" \ + "tt_icon" \ + "TIATracker" \ + "AudioVideo;AudioVideoEditing;" \ + false + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-patch: + @${REINPLACE_CMD} -e "s|\(TIATracker_manual.pdf\)|${DOCSDIR}/\1|" \ + ${WRKSRC}/mainwindow.cpp + +do-install: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/TIATracker ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/songs/*.ttt ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/graphics/tt_icon.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps + ${INSTALL_DATA} ${WRKSRC}/data/TIATracker_manual.pdf \ + ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/manual/TIATracker_manual.odt \ + ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/manual/Talk_Revision/TIATracker_Revision.odp \ + ${STAGEDIR}${DOCSDIR} + +.include Added: head/audio/tiatracker/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/distinfo Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,5 @@ +TIMESTAMP = 1611393399 +SHA256 (tiatracker_1.3.orig.tar.xz) = 68e2a6aa2cc2d69a13ebed1a1069ba04bd902ea2d9ac3fe084647e4d8d20f110 +SIZE (tiatracker_1.3.orig.tar.xz) = 4142420 +SHA256 (tiatracker-icons-1.tar.xz) = f5fac5923778049d810d3549600530d6a3c56f691c5a6d88640013fc0832d3ea +SIZE (tiatracker-icons-1.tar.xz) = 3656 Added: head/audio/tiatracker/files/patch-TIATracker.pro ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/files/patch-TIATracker.pro Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,41 @@ +--- TIATracker.pro.orig 2021-01-22 16:22:27 UTC ++++ TIATracker.pro +@@ -120,33 +120,33 @@ INCLUDEPATH += $$PWD/sdl/windows/include + DEPENDPATH += $$PWD/sdl/windows/include + + # Copy files to output directory +-install_it.path = $$OUT_PWD ++install_it.path = $$DESTDIR/$$PREFIX/test_it + install_it.files = $$PWD/data/* + + INSTALLS += \ + install_it + + # Copy player to output directory +-install_player.path = $$OUT_PWD ++install_player.path = $$DESTDIR/$$PREFIX/test_player + install_player.files = $$PWD/player + + INSTALLS += \ + install_player + + # Copy examples to output directory +-install_instruments.path = $$OUT_PWD ++install_instruments.path = $$DESTDIR/$$PREFIX/test_instr + install_instruments.files = $$PWD/instruments + + INSTALLS += \ + install_instruments + +-install_songs.path = $$OUT_PWD ++install_songs.path = $$DESTDIR/$$PREFIX/test_songs + install_songs.files = $$PWD/songs + + INSTALLS += \ + install_songs + +-install_guides.path = $$OUT_PWD ++install_guides.path = $$DESTDIR/$$PREFIX/test_guides + install_guides.files = $$PWD/guides + + INSTALLS += \ Added: head/audio/tiatracker/files/patch-emulation_TIASnd.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/files/patch-emulation_TIASnd.h Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,11 @@ +--- emulation/TIASnd.h.orig 2021-01-23 11:09:35 UTC ++++ emulation/TIASnd.h +@@ -20,6 +20,8 @@ + #ifndef TIASOUND_HXX + #define TIASOUND_HXX + ++#include ++ + #include "bspf.h" + + namespace Emulation { Added: head/audio/tiatracker/files/patch-emulation_player.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/files/patch-emulation_player.cpp Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,23 @@ +--- emulation/player.cpp.orig 2021-01-22 19:52:22 UTC ++++ emulation/player.cpp +@@ -67,6 +67,7 @@ void Player::startTimer() { + // Replay loop + while (doReplay) { + double frameDuration = replayTvStandard == TiaSound::TvStandard::PAL ? 1000.0/50.0 : 1000.0/60.0; ++#if 0 + // Wait and allow events until shortly before next update + while (elapsedTimer.elapsed() < lastReplayTime + (frameDuration - 10.0)) { + QCoreApplication::processEvents(QEventLoop::AllEvents, 5); +@@ -75,6 +76,12 @@ void Player::startTimer() { + do { + timestamp = elapsedTimer.elapsed(); + } while (timestamp < lastReplayTime + frameDuration); ++#endif ++ while ((timestamp = elapsedTimer.elapsed()) < lastReplayTime + frameDuration) ++ { ++ QCoreApplication::processEvents(QEventLoop::AllEvents, 5); ++ QThread::msleep(1); ++ } + // Do updates + while (lastReplayTime < timestamp) { + timerFired(); Added: head/audio/tiatracker/files/patch-player_k65_tt__player.k65 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/files/patch-player_k65_tt__player.k65 Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,11 @@ +--- player/k65/tt_player.k65.orig 2021-01-22 19:54:55 UTC ++++ player/k65/tt_player.k65 +@@ -53,7 +53,7 @@ inline tt_getSequenceEntry { + .constructPatPtr: + y=tt_cur_pat_index,x + a=tt_SequenceTable,y <0{ +- a&0b01111111 tt_cur_pat_index,x=a >=goto .constructPatPtr ++ a&0b01111111 tt_cur_pat_index,x=a >=0goto .constructPatPtr + } + } + #else Added: head/audio/tiatracker/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/pkg-descr Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,7 @@ +TIATracker is a tool for making Atari VCS music on the PC and a new +sound routine for the VCS. It features ADSR envelopes, up to 7 melodic +and 15 percussion instruments, customizable pitch guides for optimizing +the number of in-tune notes, a size-optimized and configurable replayer +routine and much more. + +WWW: https://bitbucket.org/kylearan/tiatracker/src/master/ Added: head/audio/tiatracker/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/tiatracker/pkg-plist Sat Jan 23 12:19:34 2021 (r562392) @@ -0,0 +1,8 @@ +bin/TIATracker +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Dok Sae - Speedtest.ttt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glafouk - Beside.ttt +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/glafouk - Miniblast.ttt +%%PORTDOCS%%%%DOCSDIR%%/TIATracker_Revision.odp +%%PORTDOCS%%%%DOCSDIR%%/TIATracker_manual.odt +%%PORTDOCS%%%%DOCSDIR%%/TIATracker_manual.pdf +share/pixmaps/tt_icon.png