From owner-dev-commits-ports-main@freebsd.org Tue May 18 16:20:30 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 1F61165107C; Tue, 18 May 2021 16:20:30 +0000 (UTC) (envelope-from git@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 4Fl1SZ0NWVz3CsQ; Tue, 18 May 2021 16:20:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E956A22537; Tue, 18 May 2021 16:20:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14IGKT3c079430; Tue, 18 May 2021 16:20:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14IGKTDx079429; Tue, 18 May 2021 16:20:29 GMT (envelope-from git) Date: Tue, 18 May 2021 16:20:29 GMT Message-Id: <202105181620.14IGKTDx079429@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: a48484033b65 - main - Re-add port: audio/soundtracker: Pattern-oriented music editor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a48484033b65420ef13e27a32cd3deab595d90f3 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 16:20:30 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a48484033b65420ef13e27a32cd3deab595d90f3 commit a48484033b65420ef13e27a32cd3deab595d90f3 Author: Yuri Victorovich AuthorDate: 2021-05-18 16:19:56 +0000 Commit: Yuri Victorovich CommitDate: 2021-05-18 16:20:27 +0000 Re-add port: audio/soundtracker: Pattern-oriented music editor --- MOVED | 1 - audio/Makefile | 1 + audio/soundtracker/Makefile | 46 +++++++++++++++++++++ audio/soundtracker/distinfo | 3 ++ audio/soundtracker/files/patch-app_audio-subs.c | 22 ++++++++++ audio/soundtracker/files/patch-app_keys.c | 13 ++++++ audio/soundtracker/pkg-descr | 5 +++ audio/soundtracker/pkg-plist | 53 +++++++++++++++++++++++++ 8 files changed, 143 insertions(+), 1 deletion(-) diff --git a/MOVED b/MOVED index 36d068447705..52fa6c356008 100644 --- a/MOVED +++ b/MOVED @@ -10752,7 +10752,6 @@ audio/xmms-faad||2018-12-21|Has expired: Uses obsolete glib12 audio/xmms-scrobbler||2018-12-21|Has expired: Uses obsolete glib12 audio/mcplay||2018-12-21|Has expired: Uses obsolete glib12 audio/gmixer||2018-12-21|Has expired: Uses obsolete glib12 -audio/soundtracker||2018-12-21|Has expired: Uses obsolete glib12 audio/xmms-sapplug||2018-12-21|Has expired: Uses obsolete glib12, use audio/penguinsap instead audio/rio500||2018-12-21|Has expired: Uses obsolete glib12 audio/xmmsctrl||2018-12-21|Has expired: Uses obsolete glib12 diff --git a/audio/Makefile b/audio/Makefile index 4a95da7280b5..7719f2428008 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -731,6 +731,7 @@ SUBDIR += soundgrab SUBDIR += soundkonverter SUBDIR += soundtouch + SUBDIR += soundtracker SUBDIR += sox SUBDIR += spc2it SUBDIR += spectacle-lv2 diff --git a/audio/soundtracker/Makefile b/audio/soundtracker/Makefile new file mode 100644 index 000000000000..a39cca1cb722 --- /dev/null +++ b/audio/soundtracker/Makefile @@ -0,0 +1,46 @@ +PORTNAME= soundtracker +DISTVERSION= 1.0.2 +CATEGORIES= audio +MASTER_SITES= SF/${PORTNAME}/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Pattern-oriented music editor + +LICENSE= AGPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ + libfreetype.so:print/freetype2 \ + libsndfile.so:audio/libsndfile +RUN_DEPENDS= bash:shells/bash + +USES= desktop-file-utils gettext gmake gnome pkgconfig shebangfix tar:xz xorg +USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pango +USE_XORG= x11 + +SHEBANG_FILES= soundtracker_convert_config + +CONFIGURE_ENV= SDL_CONFIG=${LOCALBASE}/bin/sdl2-config + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-alsa + +OPTIONS_MULTI= BACKEND +OPTIONS_MULTI_BACKEND= JACK OSS PULSEAUDIO SDL +OPTIONS_DEFAULT= JACK OSS PULSEAUDIO SDL + +BACKEND_DESC= Audio backends: + +JACK_CONFIGURE_ENABLE= jack +JACK_LIB_DEPENDS= libjack.so:audio/jack + +OSS_CONFIGURE_ENABLE= oss + +PULSEAUDIO_CONFIGURE_ENABLE= pulse +PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio + +SDL_CONFIGURE_ENABLE= sdl +SDL_USES= sdl +SDL_USE= SDL=sdl2 + +.include diff --git a/audio/soundtracker/distinfo b/audio/soundtracker/distinfo new file mode 100644 index 000000000000..213721bb3dcb --- /dev/null +++ b/audio/soundtracker/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1621198694 +SHA256 (soundtracker-1.0.2.tar.xz) = 9dd09efd06f9794ca52b00d778e885124b73e343dfac87d7ba3e62b059878fcb +SIZE (soundtracker-1.0.2.tar.xz) = 754884 diff --git a/audio/soundtracker/files/patch-app_audio-subs.c b/audio/soundtracker/files/patch-app_audio-subs.c new file mode 100644 index 000000000000..e124da926f6c --- /dev/null +++ b/audio/soundtracker/files/patch-app_audio-subs.c @@ -0,0 +1,22 @@ +- bugfix, patch reported to the author via e-mail. + +--- app/audio-subs.c.orig 2021-05-18 15:20:58 UTC ++++ app/audio-subs.c +@@ -138,7 +138,7 @@ union audio_backpipe_args { + + struct _cmderrno { + audio_backpipe_id cmd; +- gint errno; ++ gint errno_; + gint length; + gchar text[1]; + } __attribute__((packed)) cmderrno; +@@ -293,7 +293,7 @@ void audio_backpipe_write(audio_backpipe_id cmd, ...) + arg_size = l + sizeof(args->cmderrno); + args = arg_pointer = alloca(arg_size); + args->cmderrno.cmd = cmd; +- args->cmderrno.errno = va_arg(arg_list, gint); ++ args->cmderrno.errno_ = va_arg(arg_list, gint); + args->cmderrno.length = l; + strncpy(args->cmderrno.text, line, l + 1); + break; diff --git a/audio/soundtracker/files/patch-app_keys.c b/audio/soundtracker/files/patch-app_keys.c new file mode 100644 index 000000000000..a62a00986f5b --- /dev/null +++ b/audio/soundtracker/files/patch-app_keys.c @@ -0,0 +1,13 @@ +- bugfix, patch reported to the author via e-mail. + +--- app/keys.c.orig 2021-02-01 20:01:20 UTC ++++ app/keys.c +@@ -893,7 +893,7 @@ keys_make_xkeys(void) + keyname[k++] = xkeymap[i].xname; + } + +- qsort(keyname, k, sizeof(char*), keys_qsort_compare_func); ++ qsort(keyname+1, k-1, sizeof(char*), keys_qsort_compare_func); + + keyname[0] = NONE_TEXT; + } diff --git a/audio/soundtracker/pkg-descr b/audio/soundtracker/pkg-descr new file mode 100644 index 000000000000..6d95f7a7ae11 --- /dev/null +++ b/audio/soundtracker/pkg-descr @@ -0,0 +1,5 @@ +SoundTracker is a pattern-oriented music editor (similar to the DOS program +'FastTracker'). Samples are lined up on tracks and patterns which are then +arranged to a song. + +WWW: https://sourceforge.net/projects/soundtracker/ diff --git a/audio/soundtracker/pkg-plist b/audio/soundtracker/pkg-plist new file mode 100644 index 000000000000..cc3a9ab9524e --- /dev/null +++ b/audio/soundtracker/pkg-plist @@ -0,0 +1,53 @@ +bin/soundtracker +bin/soundtracker_convert_config +man/man1/soundtracker.1.gz +share/appdata/soundtracker.appdata.xml +share/applications/soundtracker.desktop +share/locale/da/LC_MESSAGES/soundtracker.mo +share/locale/de/LC_MESSAGES/soundtracker.mo +share/locale/en@boldquot/LC_MESSAGES/soundtracker.mo +share/locale/en@quot/LC_MESSAGES/soundtracker.mo +share/locale/es/LC_MESSAGES/soundtracker.mo +share/locale/fr/LC_MESSAGES/soundtracker.mo +share/locale/gl/LC_MESSAGES/soundtracker.mo +share/locale/hr/LC_MESSAGES/soundtracker.mo +share/locale/it/LC_MESSAGES/soundtracker.mo +share/locale/ja/LC_MESSAGES/soundtracker.mo +share/locale/no/LC_MESSAGES/soundtracker.mo +share/locale/pl/LC_MESSAGES/soundtracker.mo +share/locale/ru/LC_MESSAGES/soundtracker.mo +share/locale/rw/LC_MESSAGES/soundtracker.mo +share/locale/sk/LC_MESSAGES/soundtracker.mo +share/locale/sl/LC_MESSAGES/soundtracker.mo +share/locale/sv/LC_MESSAGES/soundtracker.mo +share/locale/tr/LC_MESSAGES/soundtracker.mo +share/locale/vi/LC_MESSAGES/soundtracker.mo +share/pixmaps/soundtracker-icon.png +%%DATADIR%%/cheat-sheet.C.txt +%%DATADIR%%/cheat-sheet.ru.txt +%%DATADIR%%/crop-16.png +%%DATADIR%%/downarrow.xpm +%%DATADIR%%/envelope-box.xml +%%DATADIR%%/flat.xpm +%%DATADIR%%/history-16.png +%%DATADIR%%/led_off.xpm +%%DATADIR%%/led_on.xpm +%%DATADIR%%/lock.xpm +%%DATADIR%%/loop.xpm +%%DATADIR%%/muted.png +%%DATADIR%%/play.xpm +%%DATADIR%%/play_block.xpm +%%DATADIR%%/play_cur.xpm +%%DATADIR%%/play_from.xpm +%%DATADIR%%/rightarrow.xpm +%%DATADIR%%/sample-editor.xml +%%DATADIR%%/select-all-16.png +%%DATADIR%%/select-all-22.png +%%DATADIR%%/select-none-16.png +%%DATADIR%%/select-none-22.png +%%DATADIR%%/sharp.xpm +%%DATADIR%%/soundtracker-icon.png +%%DATADIR%%/soundtracker.xml +%%DATADIR%%/soundtracker_splash.png +%%DATADIR%%/stop.xpm +%%DATADIR%%/unmuted.png