diff options
Diffstat (limited to 'audio')
70 files changed, 0 insertions, 2573 deletions
diff --git a/audio/Makefile b/audio/Makefile index b55c56fc9d10..73559df62a71 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -32,7 +32,6 @@ SUBDIR += ario SUBDIR += arss SUBDIR += artyfx-lv2 - SUBDIR += ascd SUBDIR += asmix SUBDIR += asmixer SUBDIR += asterisk-espeak @@ -44,7 +43,6 @@ SUBDIR += audacity SUBDIR += audiere SUBDIR += audiocd-kio - SUBDIR += audiotag SUBDIR += aumix SUBDIR += autocd SUBDIR += autotalent @@ -212,7 +210,6 @@ SUBDIR += gimmix SUBDIR += gkrellmvolume2 SUBDIR += glurp - SUBDIR += gmidimonitor SUBDIR += gmpc SUBDIR += gmpc-alarm SUBDIR += gmpc-albumview @@ -222,7 +219,6 @@ SUBDIR += gmpc-libnotify SUBDIR += gmpc-lyrics SUBDIR += gmpc-lyricsplugin - SUBDIR += gmpc-lyricwiki SUBDIR += gmpc-magnatune SUBDIR += gmpc-mdcover SUBDIR += gmpc-mserver @@ -351,13 +347,11 @@ SUBDIR += jack-keyboard SUBDIR += jack-smf-utils SUBDIR += jack_ghero - SUBDIR += jack_mixer SUBDIR += jack_umidi SUBDIR += jalv SUBDIR += jalv-select SUBDIR += jamin SUBDIR += jid3lib - SUBDIR += jmusic SUBDIR += jokosher SUBDIR += juk SUBDIR += juke @@ -496,9 +490,7 @@ SUBDIR += madfufw SUBDIR += madplay SUBDIR += malint - SUBDIR += maplay SUBDIR += mate-media - SUBDIR += mbox SUBDIR += mctoolame-decoder SUBDIR += mctoolame-encoder SUBDIR += mda-lv2 @@ -572,7 +564,6 @@ SUBDIR += nosefart SUBDIR += noson-app SUBDIR += nspmod - SUBDIR += nuvolaplayer SUBDIR += oaml SUBDIR += ocp SUBDIR += ogg2mp3 @@ -846,7 +837,6 @@ SUBDIR += umix SUBDIR += umodplayer SUBDIR += umurmur - SUBDIR += vagalume SUBDIR += vamp-plugin-sdk SUBDIR += vgmplay SUBDIR += vimpc @@ -875,7 +865,6 @@ SUBDIR += wmix SUBDIR += wmmp SUBDIR += wmrecord - SUBDIR += wmsmixer SUBDIR += workman SUBDIR += wxguitar SUBDIR += x42-plugins-lv2 @@ -893,7 +882,6 @@ SUBDIR += xmixer SUBDIR += xmmix SUBDIR += xmms2 - SUBDIR += xmms2-scrobbler SUBDIR += xmp SUBDIR += xmradio SUBDIR += xoscope diff --git a/audio/ascd/Makefile b/audio/ascd/Makefile deleted file mode 100644 index d5e4bf93d6e2..000000000000 --- a/audio/ascd/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# Created by: Jim Mock <jim@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= ascd -PORTVERSION= 0.13.2 -PORTREVISION= 1 -CATEGORIES= audio afterstep windowmaker -MASTER_SITES= http://www.sourcefiles.org/Multimedia/Audio_CD/Other_X11/ \ - AFTERSTEP/stable/rpms/misc-tarballs/:theme -DISTFILES= ${DISTNAME}-src.tgz ${DATAFILES}:theme - -MAINTAINER= ports@FreeBSD.org -COMMENT= Dockable CD player for AfterStep or WindowMaker - -LICENSE= GPLv2 - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libworkman.so:audio/libworkman - -USES= imake - -USE_XORG= xpm - -DATAFILES= ascd-0.13pr6-themes.tgz -THEMESDIR= ascd-0.13pr6-themes - -post-patch: - @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ - ${WRKSRC}/misc/config.h.default > ${WRKSRC}/config.h - @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \ - ${WRKSRC}/misc/dirs.h.default > ${WRKSRC}/dirs.h - @${CAT} ${WRKSRC}/version.h >> ${WRKSRC}/config.h - -post-configure: - @${REINPLACE_CMD} -E '/@(cp|cd)/ s,\(THEMESDIR\),\(DESTDIR\)$$&,g' \ - ${WRKSRC}/Makefile - -post-install: - @${ECHO_CMD} "AScd additional themes installation" - @${ECHO_CMD} "" - @${ECHO_CMD} "Untarring" - @${TAR} xf ${WRKDIR}/${THEMESDIR}/themes.tar -C \ - ${STAGEDIR}${PREFIX}/share/ascd/Themes - @${ECHO_CMD} "Done." - -.include <bsd.port.mk> diff --git a/audio/ascd/distinfo b/audio/ascd/distinfo deleted file mode 100644 index 16244caad539..000000000000 --- a/audio/ascd/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -SHA256 (ascd-0.13.2-src.tgz) = f738f8583c92014d24df460652576d150a0869631e24255e771a4aaa8c36b597 -SIZE (ascd-0.13.2-src.tgz) = 180508 -SHA256 (ascd-0.13pr6-themes.tgz) = e34ab3abc63b50d460a763cfc58b88b7851a61d284d8610f8a4df9b1c37e3102 -SIZE (ascd-0.13pr6-themes.tgz) = 140705 diff --git a/audio/ascd/files/patch-Imakefile b/audio/ascd/files/patch-Imakefile deleted file mode 100644 index 81b8b951c023..000000000000 --- a/audio/ascd/files/patch-Imakefile +++ /dev/null @@ -1,16 +0,0 @@ ---- Imakefile.orig 1999-09-04 23:24:23 UTC -+++ Imakefile -@@ -5,11 +5,10 @@ NAME = ascd - BINDIR = CBINDIR - MANDIR = CMANDIR - THEMESDIR = CTHDIR --MOREFLAGS = -I/usr/local/include -I/usr/X11R6/include -I. --CCOPTIONS = $(MOREFLAGS) -+EXTRA_INCLUDES = -I. - SYS_LIBRARIES = $(XLIB) -lXpm - --LOCAL_LIBRARIES = -L../libworkman -lworkman -L/usr/local/lib -+LOCAL_LIBRARIES = -lworkman - - SRCS_OPT1 = - SRCS_OPT2 = diff --git a/audio/ascd/files/patch-faktory.c b/audio/ascd/files/patch-faktory.c deleted file mode 100644 index a6802228bc89..000000000000 --- a/audio/ascd/files/patch-faktory.c +++ /dev/null @@ -1,14 +0,0 @@ ---- faktory.c.orig 1999-07-05 16:52:38 UTC -+++ faktory.c -@@ -58,9 +58,9 @@ int fak_parse_line(char *ligne, char *ke - unsigned int pos = 0; - - if ((strlen(ligne) > 0) && (ligne[0] != '#')) { -- while ((ligne[pos] != ' ') && (ligne[pos] != 9)) pos++; -+ while (ligne[pos] && (ligne[pos] != ' ') && (ligne[pos] != 9)) pos++; - tes_sncpy(key, ligne, pos); -- while (((ligne[pos] == ' ') || (ligne[pos] == 9)) && (pos < strlen(ligne))) pos++; -+ while (ligne[pos] && ((ligne[pos] == ' ') || (ligne[pos] == 9))) pos++; - if (pos < strlen(ligne)) strcpy(arguments, ligne + pos); - else strcpy(arguments, ""); - if (debug > 2) fprintf(stderr,"++ input: [%s]\n key: [%s]\n args: [%s]\n", ligne, key, arguments); diff --git a/audio/ascd/files/patch-misc_config.h.default b/audio/ascd/files/patch-misc_config.h.default deleted file mode 100644 index da20f0e9aca2..000000000000 --- a/audio/ascd/files/patch-misc_config.h.default +++ /dev/null @@ -1,10 +0,0 @@ ---- misc/config.h.default.orig 1999-04-19 17:25:01 UTC -+++ misc/config.h.default -@@ -1,5 +1,5 @@ - #define PACKAGE "ascd" - #define DEFAULT_COLOR "#2FAFAF" - #define DEFAULT_BGCOLOR "#000000" --#define DEFAULTDEVICE "/dev/cdrom" --#define THDIR "/usr/local/share/AScd" -+#define DEFAULTDEVICE "/dev/acd0c" -+#define THDIR "%%PREFIX%%/share/ascd" diff --git a/audio/ascd/files/patch-misc_dirs.h.default b/audio/ascd/files/patch-misc_dirs.h.default deleted file mode 100644 index 3906609f8d32..000000000000 --- a/audio/ascd/files/patch-misc_dirs.h.default +++ /dev/null @@ -1,9 +0,0 @@ ---- misc/dirs.h.default.orig 1999-04-19 17:24:12 UTC -+++ misc/dirs.h.default -@@ -1,3 +1,3 @@ --#define CBINDIR /usr/local/bin --#define CMANDIR /usr/local/man/man1 --#define CTHDIR /usr/local/share/AScd -+#define CBINDIR %%PREFIX%%/bin -+#define CMANDIR %%PREFIX%%/man/man1 -+#define CTHDIR %%PREFIX%%/share/ascd diff --git a/audio/ascd/pkg-descr b/audio/ascd/pkg-descr deleted file mode 100644 index 620f93da17dd..000000000000 --- a/audio/ascd/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -ascd is a CD player that can be "docked" on the Afterstep Wharf or the -Window Maker dock. - -WWW: http://worldserver.oleane.com/rsn/ascd-en.html diff --git a/audio/ascd/pkg-plist b/audio/ascd/pkg-plist deleted file mode 100644 index 2b2c9daa27d6..000000000000 --- a/audio/ascd/pkg-plist +++ /dev/null @@ -1,265 +0,0 @@ -bin/ascd -man/man1/ascd.1.gz -share/ascd/themes-manual.ps.gz -share/ascd/Default/back.xpm -share/ascd/Default/back_bar.xpm -share/ascd/Default/back_counter.xpm -share/ascd/Default/back_msg.xpm -share/ascd/Default/back_track.xpm -share/ascd/Default/bar.xpm -share/ascd/Default/cross.xpm -share/ascd/Default/digits.xpm -share/ascd/Default/digits2.xpm -share/ascd/Default/help.xpm -share/ascd/Default/panel.xpm -share/ascd/Themes/big/Theme -share/ascd/Themes/big/ascd.xpm -share/ascd/Themes/big/autoplay.xpm -share/ascd/Themes/big/autoplay_on.xpm -share/ascd/Themes/big/autorepeat.xpm -share/ascd/Themes/big/autorepeat_on.xpm -share/ascd/Themes/big/back.xpm -share/ascd/Themes/big/back_bar.xpm -share/ascd/Themes/big/back_bar2.xpm -share/ascd/Themes/big/back_buttons.xpm -share/ascd/Themes/big/back_counter.xpm -share/ascd/Themes/big/back_msg.xpm -share/ascd/Themes/big/back_track.xpm -share/ascd/Themes/big/bar.xpm -share/ascd/Themes/big/bar2.xpm -share/ascd/Themes/big/cross.xpm -share/ascd/Themes/big/disp.xpm -share/ascd/Themes/big/eject.xpm -share/ascd/Themes/big/fade.xpm -share/ascd/Themes/big/fwd.xpm -share/ascd/Themes/big/intro.xpm -share/ascd/Themes/big/intro_on.xpm -share/ascd/Themes/big/lend.xpm -share/ascd/Themes/big/lgo.xpm -share/ascd/Themes/big/lgo_on.xpm -share/ascd/Themes/big/lstart.xpm -share/ascd/Themes/big/options.xpm -share/ascd/Themes/big/options_on.xpm -share/ascd/Themes/big/panel.xpm -share/ascd/Themes/big/pause.xpm -share/ascd/Themes/big/pause_on.xpm -share/ascd/Themes/big/play.xpm -share/ascd/Themes/big/play_on.xpm -share/ascd/Themes/big/rew.xpm -share/ascd/Themes/big/small_play.xpm -share/ascd/Themes/big/stop.xpm -share/ascd/Themes/big/stop_on.xpm -share/ascd/Themes/big/theme.xpm -share/ascd/Themes/big/theme_on.xpm -share/ascd/Themes/big/upper.xpm -share/ascd/Themes/big/upper_on.xpm -share/ascd/Themes/big/wings.xpm -share/ascd/Themes/classic/Theme -share/ascd/Themes/classic/back.xpm -share/ascd/Themes/classic/back_counter.xpm -share/ascd/Themes/classic/back_track.xpm -share/ascd/Themes/classic/down.xpm -share/ascd/Themes/classic/eject.xpm -share/ascd/Themes/classic/pause.xpm -share/ascd/Themes/classic/play.xpm -share/ascd/Themes/classic/stop.xpm -share/ascd/Themes/classic/up.xpm -share/ascd/Themes/clean/Theme -share/ascd/Themes/clean/background.xpm -share/ascd/Themes/clean/bar.xpm -share/ascd/Themes/clean/digits.xpm -share/ascd/Themes/clean/digits2.xpm -share/ascd/Themes/clean/eject.xpm -share/ascd/Themes/clean/fade.xpm -share/ascd/Themes/clean/fwd.xpm -share/ascd/Themes/clean/intro.xpm -share/ascd/Themes/clean/intro_on.xpm -share/ascd/Themes/clean/lend.xpm -share/ascd/Themes/clean/lgo.xpm -share/ascd/Themes/clean/lgo_on.xpm -share/ascd/Themes/clean/lstart.xpm -share/ascd/Themes/clean/pause.xpm -share/ascd/Themes/clean/pause_on.xpm -share/ascd/Themes/clean/play.xpm -share/ascd/Themes/clean/play_on.xpm -share/ascd/Themes/clean/quit.xpm -share/ascd/Themes/clean/rdigits.xpm -share/ascd/Themes/clean/rew.xpm -share/ascd/Themes/clean/stop.xpm -share/ascd/Themes/default/Theme -share/ascd/Themes/default/autoplay.xpm -share/ascd/Themes/default/autoplay_on.xpm -share/ascd/Themes/default/autorepeat.xpm -share/ascd/Themes/default/autorepeat_on.xpm -share/ascd/Themes/default/eject.xpm -share/ascd/Themes/default/fade.xpm -share/ascd/Themes/default/fwd.xpm -share/ascd/Themes/default/intro.xpm -share/ascd/Themes/default/intro_on.xpm -share/ascd/Themes/default/lend.xpm -share/ascd/Themes/default/lgo.xpm -share/ascd/Themes/default/lgo_on.xpm -share/ascd/Themes/default/lstart.xpm -share/ascd/Themes/default/mixer2_back.xpm -share/ascd/Themes/default/mixer2_bar.xpm -share/ascd/Themes/default/mixer2_panel.xpm -share/ascd/Themes/default/mixer_back.xpm -share/ascd/Themes/default/mixer_bar.xpm -share/ascd/Themes/default/mixer_panel.xpm -share/ascd/Themes/default/options.xpm -share/ascd/Themes/default/options_on.xpm -share/ascd/Themes/default/pause.xpm -share/ascd/Themes/default/pause_on.xpm -share/ascd/Themes/default/play.xpm -share/ascd/Themes/default/play_on.xpm -share/ascd/Themes/default/quick/quick1.gif -share/ascd/Themes/default/quick/quick2.gif -share/ascd/Themes/default/rew.xpm -share/ascd/Themes/default/stop.xpm -share/ascd/Themes/default/stop_on.xpm -share/ascd/Themes/default/theme.xpm -share/ascd/Themes/default/theme_on.xpm -share/ascd/Themes/default/upper.xpm -share/ascd/Themes/default/upper_on.xpm -share/ascd/Themes/default/wings.xpm -share/ascd/Themes/orb/Theme -share/ascd/Themes/orb/back.xpm -share/ascd/Themes/orb/back_counter.xpm -share/ascd/Themes/orb/back_track.xpm -share/ascd/Themes/orb/digits.xpm -share/ascd/Themes/orb/down.xpm -share/ascd/Themes/orb/play.xpm -share/ascd/Themes/orb/play_on.xpm -share/ascd/Themes/orb/stop.xpm -share/ascd/Themes/orb/up.xpm -share/ascd/Themes/sands/Theme -share/ascd/Themes/sands/background.xpm -share/ascd/Themes/sands/bar.xpm -share/ascd/Themes/sands/digits.xpm -share/ascd/Themes/sands/digits2.xpm -share/ascd/Themes/sands/eject.xpm -share/ascd/Themes/sands/fade.xpm -share/ascd/Themes/sands/fwd.xpm -share/ascd/Themes/sands/intro.xpm -share/ascd/Themes/sands/intro_on.xpm -share/ascd/Themes/sands/lend.xpm -share/ascd/Themes/sands/lgo.xpm -share/ascd/Themes/sands/lgo_on.xpm -share/ascd/Themes/sands/lstart.xpm -share/ascd/Themes/sands/pause.xpm -share/ascd/Themes/sands/pause_on.xpm -share/ascd/Themes/sands/play.xpm -share/ascd/Themes/sands/play_on.xpm -share/ascd/Themes/sands/quit.xpm -share/ascd/Themes/sands/rew.xpm -share/ascd/Themes/sands/stop.xpm -share/ascd/Themes/tortured/Theme -share/ascd/Themes/tortured/ascd.xpm -share/ascd/Themes/tortured/back.xpm -share/ascd/Themes/tortured/back_counter.xpm -share/ascd/Themes/tortured/back_msg.xpm -share/ascd/Themes/tortured/back_track.xpm -share/ascd/Themes/tortured/bar.xpm -share/ascd/Themes/tortured/eject.xpm -share/ascd/Themes/tortured/eject_on.xpm -share/ascd/Themes/tortured/extension.xpm -share/ascd/Themes/tortured/extension3.xpm -share/ascd/Themes/tortured/loop.xpm -share/ascd/Themes/tortured/loop_end.xpm -share/ascd/Themes/tortured/loop_on.xpm -share/ascd/Themes/tortured/loop_start.xpm -share/ascd/Themes/tortured/mute.xpm -share/ascd/Themes/tortured/mute_on.xpm -share/ascd/Themes/tortured/next.xpm -share/ascd/Themes/tortured/panel.xpm -share/ascd/Themes/tortured/pause.xpm -share/ascd/Themes/tortured/pause_on.xpm -share/ascd/Themes/tortured/play.xpm -share/ascd/Themes/tortured/play_on.xpm -share/ascd/Themes/tortured/previous.xpm -share/ascd/Themes/tortured/stop.xpm -share/ascd/Themes/tortured/stop_on.xpm -share/ascd/Themes/tortured/volume.xpm -share/ascd/Themes/tortured/volume_back.xpm -share/ascd/Themes/vintage/Theme -share/ascd/Themes/vintage/back.xpm -share/ascd/Themes/vintage/bar.xpm -share/ascd/Themes/vintage/eject.xpm -share/ascd/Themes/vintage/fade.xpm -share/ascd/Themes/vintage/fwd.xpm -share/ascd/Themes/vintage/intro.xpm -share/ascd/Themes/vintage/intro_on.xpm -share/ascd/Themes/vintage/lend.xpm -share/ascd/Themes/vintage/lgo.xpm -share/ascd/Themes/vintage/lgo_on.xpm -share/ascd/Themes/vintage/lstart.xpm -share/ascd/Themes/vintage/pause.xpm -share/ascd/Themes/vintage/pause_on.xpm -share/ascd/Themes/vintage/play.xpm -share/ascd/Themes/vintage/play_on.xpm -share/ascd/Themes/vintage/quit.xpm -share/ascd/Themes/vintage/rew.xpm -share/ascd/Themes/vintage/stop.xpm -share/ascd/Themes/vintage/zob/digits.xpm -share/ascd/Themes/vintage/zob/digits2.xpm -share/ascd/Themes/wmcdplay/Theme -share/ascd/Themes/wmcdplay/back.xpm -share/ascd/Themes/wmcdplay/back_counter.xpm -share/ascd/Themes/wmcdplay/back_msg.xpm -share/ascd/Themes/wmcdplay/back_symbol.xpm -share/ascd/Themes/wmcdplay/back_track.xpm -share/ascd/Themes/wmcdplay/eject.xpm -share/ascd/Themes/wmcdplay/fwd.xpm -share/ascd/Themes/wmcdplay/next.xpm -share/ascd/Themes/wmcdplay/no_repeat.xpm -share/ascd/Themes/wmcdplay/pause.xpm -share/ascd/Themes/wmcdplay/play.xpm -share/ascd/Themes/wmcdplay/previous.xpm -share/ascd/Themes/wmcdplay/repeat.xpm -share/ascd/Themes/wmcdplay/rew.xpm -share/ascd/Themes/wmcdplay/stop.xpm -share/ascd/Themes/zinamp/Theme -share/ascd/Themes/zinamp/ascd.xpm -share/ascd/Themes/zinamp/autoplay.xpm -share/ascd/Themes/zinamp/autoplay_on.xpm -share/ascd/Themes/zinamp/autorepeat.xpm -share/ascd/Themes/zinamp/autorepeat_on.xpm -share/ascd/Themes/zinamp/back.xpm -share/ascd/Themes/zinamp/back_bar.xpm -share/ascd/Themes/zinamp/back_counter.xpm -share/ascd/Themes/zinamp/back_db.xpm -share/ascd/Themes/zinamp/back_icon_center.xpm -share/ascd/Themes/zinamp/back_icon_counter.xpm -share/ascd/Themes/zinamp/back_message.xpm -share/ascd/Themes/zinamp/back_track.xpm -share/ascd/Themes/zinamp/back_volume.xpm -share/ascd/Themes/zinamp/bar.xpm -share/ascd/Themes/zinamp/digits.xpm -share/ascd/Themes/zinamp/down.xpm -share/ascd/Themes/zinamp/eject.xpm -share/ascd/Themes/zinamp/intro.xpm -share/ascd/Themes/zinamp/intro_on.xpm -share/ascd/Themes/zinamp/l_end.xpm -share/ascd/Themes/zinamp/l_start.xpm -share/ascd/Themes/zinamp/loop.xpm -share/ascd/Themes/zinamp/loop_on.xpm -share/ascd/Themes/zinamp/mini_down.xpm -share/ascd/Themes/zinamp/mini_eject.xpm -share/ascd/Themes/zinamp/mini_pause.xpm -share/ascd/Themes/zinamp/mini_pause_on.xpm -share/ascd/Themes/zinamp/mini_play.xpm -share/ascd/Themes/zinamp/mini_play_on.xpm -share/ascd/Themes/zinamp/mini_stop.xpm -share/ascd/Themes/zinamp/mini_up.xpm -share/ascd/Themes/zinamp/mute.xpm -share/ascd/Themes/zinamp/mute_on.xpm -share/ascd/Themes/zinamp/next.xpm -share/ascd/Themes/zinamp/pause.xpm -share/ascd/Themes/zinamp/pause_on.xpm -share/ascd/Themes/zinamp/play.xpm -share/ascd/Themes/zinamp/play_on.xpm -share/ascd/Themes/zinamp/quit.xpm -share/ascd/Themes/zinamp/stop.xpm -share/ascd/Themes/zinamp/stop_on.xpm -share/ascd/Themes/zinamp/volume.xpm -share/ascd/Themes/zinamp/zob.gif diff --git a/audio/audiotag/Makefile b/audio/audiotag/Makefile deleted file mode 100644 index 5749300a7c5e..000000000000 --- a/audio/audiotag/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# $FreeBSD$ - -PORTNAME= audiotag -PORTVERSION= 0.19 -PORTREVISION= 1 -CATEGORIES= audio multimedia -MASTER_SITES= GHC - -MAINTAINER= ports@FreeBSD.org -COMMENT= Command-line tool for mass tagging/renaming of audio files - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USE_GITHUB= yes -GH_ACCOUNT= Daenyth - -USES= tar:bzip2 shebangfix perl5 -USE_PERL5= run - -NO_BUILD= yes -NO_ARCH= yes - -SHEBANG_FILES= audiotag - -PORTDOCS= COPYING ChangeLog README -PLIST_FILES= bin/audiotag - -OPTIONS_DEFINE= VORBIS ID3 MP4 FLAC DOCS -OPTIONS_DEFAULT= VORBIS ID3 MP4 FLAC - -VORBIS_RUN_DEPENDS= vorbiscomment:audio/vorbis-tools -FLAC_RUN_DEPENDS= flac:audio/flac -ID3_RUN_DEPENDS= id3tag:audio/id3lib -MP4_RUN_DEPENDS= AtomicParsley:multimedia/atomicparsley - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/audiotag ${STAGEDIR}${PREFIX}/bin - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/audio/audiotag/distinfo b/audio/audiotag/distinfo deleted file mode 100644 index 1eb1913d7310..000000000000 --- a/audio/audiotag/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (audiotag-0.19.tar.bz2) = 7b6a2de751058a95755f0842b83f2b1d8b94e5cd7634cbe71d67257208bf4646 -SIZE (audiotag-0.19.tar.bz2) = 15016 diff --git a/audio/audiotag/pkg-descr b/audio/audiotag/pkg-descr deleted file mode 100644 index 226ada52a88b..000000000000 --- a/audio/audiotag/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Audiotag is a command-line tool for mass tagging/renaming of audio files -it supports the vorbis comment, id3 tags, and MP4 tags. - -WWW: https://github.com/Daenyth/audiotag diff --git a/audio/gmidimonitor/Makefile b/audio/gmidimonitor/Makefile deleted file mode 100644 index 997f950706dc..000000000000 --- a/audio/gmidimonitor/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# Created by: trasz <trasz@pin.if.uz.zgora.pl> -# $FreeBSD$ - -PORTNAME= gmidimonitor -PORTVERSION= 3.6 -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= http://download.gna.org/gmidimonitor/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= GTK+ application that shows MIDI events - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libjack.so:audio/jack \ - liblash.so:audio/lash - -USES= pkgconfig tar:bzip2 waf -USE_GNOME= gtk20 libglade2 - -CONFIGURE_ARGS= --alsa=no - -PLIST_FILES= bin/gmidimonitor %%DATADIR%%/gmidimonitor.ui - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - -.include <bsd.port.mk> diff --git a/audio/gmidimonitor/distinfo b/audio/gmidimonitor/distinfo deleted file mode 100644 index f3da358ce7b5..000000000000 --- a/audio/gmidimonitor/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gmidimonitor-3.6.tar.bz2) = 941a8d19dc3b743e152fbaa44f0387d2c9d49b8fd17a6fa06f7155fdb4ec6a31 -SIZE (gmidimonitor-3.6.tar.bz2) = 122736 diff --git a/audio/gmidimonitor/pkg-descr b/audio/gmidimonitor/pkg-descr deleted file mode 100644 index c62b7a96a1b2..000000000000 --- a/audio/gmidimonitor/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -GMIDImonitor is GTK+ application that shows MIDI events. - -WWW: http://home.gna.org/gmidimonitor/ diff --git a/audio/gmpc-lyricwiki/Makefile b/audio/gmpc-lyricwiki/Makefile deleted file mode 100644 index 6627b38321f7..000000000000 --- a/audio/gmpc-lyricwiki/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: Martin Wilke <miwi@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= gmpc-lyricwiki -PORTVERSION= 11.8.16 -PORTREVISION= 5 -CATEGORIES= audio -MASTER_SITES= http://download.sarine.nl/Programs/gmpc/${PORTVERSION}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Lyricswiki Provider plugin for gmpc - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libmpd.so:audio/libmpd -BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gmpc.pc:audio/gmpc -RUN_DEPENDS= gmpc:audio/gmpc - -GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -USES= gettext gmake libtool pkgconfig -USE_GNOME= intltool glib20 gtk20 libxml2 -INSTALL_TARGET= install-strip - -.include <bsd.port.mk> diff --git a/audio/gmpc-lyricwiki/distinfo b/audio/gmpc-lyricwiki/distinfo deleted file mode 100644 index fafdba0cedb4..000000000000 --- a/audio/gmpc-lyricwiki/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gmpc-lyricwiki-11.8.16.tar.gz) = bb00e806d3cb55b0e3b5e3d18ad5fbd4bfc93e241a4684b70e3bfa5690f11709 -SIZE (gmpc-lyricwiki-11.8.16.tar.gz) = 306508 diff --git a/audio/gmpc-lyricwiki/pkg-descr b/audio/gmpc-lyricwiki/pkg-descr deleted file mode 100644 index d23dda67c7b0..000000000000 --- a/audio/gmpc-lyricwiki/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -A new plugin that uses the rest api of lyricwiki to fetch lyrics from -lyrics.wikia.com. - -WWW: http://gmpc.wikia.com/wiki/Lyricwiki diff --git a/audio/gmpc-lyricwiki/pkg-plist b/audio/gmpc-lyricwiki/pkg-plist deleted file mode 100644 index 19d23deaba26..000000000000 --- a/audio/gmpc-lyricwiki/pkg-plist +++ /dev/null @@ -1,18 +0,0 @@ -lib/gmpc/plugins/lyricwikiplugin.so -share/locale/bg/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/bs/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/de/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/es/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/fi/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/fr/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/it/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/nb/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/nl/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/pl/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/pt_BR/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/ro/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/ru/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/sl/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/sq/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/sv/LC_MESSAGES/gmpc-lyricwiki.mo -share/locale/zh_CN/LC_MESSAGES/gmpc-lyricwiki.mo diff --git a/audio/jack_mixer/Makefile b/audio/jack_mixer/Makefile deleted file mode 100644 index 9dcd1bec5040..000000000000 --- a/audio/jack_mixer/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -# Created by: gahr -# $FreeBSD$ - -PORTNAME= jack_mixer -PORTVERSION= 10 -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= http://download.gna.org/${PORTNAME:S/_//}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Mixer for the jack audio connection kit - -LICENSE= GPLv2 # only -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libjack.so:audio/jack -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fpconst>=0:math/py-fpconst@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fpconst>=0:math/py-fpconst@${PY_FLAVOR} - -USES= libtool pkgconfig python:2.7 shebangfix -SHEBANG_FILES= jack_mixer.py -USE_GNOME= gconf2 pygtk2 -GCONF_SCHEMAS= jack_mixer.schemas -INSTALLS_ICONS= yes - -GNU_CONFIGURE= yes -INSTALL_TARGET= install-strip - -.include <bsd.port.mk> diff --git a/audio/jack_mixer/distinfo b/audio/jack_mixer/distinfo deleted file mode 100644 index ab4383142b2b..000000000000 --- a/audio/jack_mixer/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (jack_mixer-10.tar.gz) = 165bc1f8e21f32a244651bf6c120cfd1d3c5dd9a99a3f0cce9c6068600727121 -SIZE (jack_mixer-10.tar.gz) = 415996 diff --git a/audio/jack_mixer/pkg-descr b/audio/jack_mixer/pkg-descr deleted file mode 100644 index 354a97e72546..000000000000 --- a/audio/jack_mixer/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -jack_mixer is a GTK+ JACK audio mixer app with a look similar -to its hardware counterpart. It has lot of useful features, -apart from being able to mix multiple JACK audio streams. - -WWW: http://home.gna.org/jackmixer/ diff --git a/audio/jack_mixer/pkg-plist b/audio/jack_mixer/pkg-plist deleted file mode 100644 index 13913c13038e..000000000000 --- a/audio/jack_mixer/pkg-plist +++ /dev/null @@ -1,20 +0,0 @@ -bin/jack_mixer.py -bin/jack_mixer -bin/jack_mix_box -share/icons/hicolor/16x16/apps/jack_mixer.png -share/icons/hicolor/22x22/apps/jack_mixer.png -share/icons/hicolor/24x24/apps/jack_mixer.png -share/icons/hicolor/32x32/apps/jack_mixer.png -share/icons/hicolor/48x48/apps/jack_mixer.png -share/icons/hicolor/scalable/apps/jack_mixer.svg -share/applications/jack_mixer.desktop -%%DATADIR%%/abspeak.py -%%DATADIR%%/channel.py -%%DATADIR%%/gui.py -%%DATADIR%%/meter.py -%%DATADIR%%/scale.py -%%DATADIR%%/serialization.py -%%DATADIR%%/serialization_xml.py -%%DATADIR%%/slider.py -%%DATADIR%%/preferences.py -%%PYTHON_SITELIBDIR%%/jack_mixer_c.so diff --git a/audio/jmusic/Makefile b/audio/jmusic/Makefile deleted file mode 100644 index e49d8a433904..000000000000 --- a/audio/jmusic/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# Created by: ijliao -# $FreeBSD$ - -PORTNAME= jmusic -PORTVERSION= 1.6.5 -CATEGORIES= audio java -MASTER_SITES= SF/${PORTNAME}/jMusic_Stable/${PORTVERSION} \ - SF/${PORTNAME}/jMusic_Instruments/${PORTVERSION:S/.4//}/:instruments \ - SF/${PORTNAME}/jMusic_Docs/${PORTVERSION}/:docs -DISTFILES= jMusic${PORTVERSION}.jar \ - jMusic_1.6_inst.zip:instruments \ - jMusic_doc_1.6.4.zip:docs -DIST_SUBDIR= ${PORTNAME} -EXTRACT_ONLY= jMusic_1.6_inst.zip \ - jMusic_doc_1.6.4.zip - -MAINTAINER= ports@FreeBSD.org -COMMENT= Composition in Java - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= zip -USE_JAVA= yes -JAVA_VERSION= 1.6+ -NO_BUILD= yes -NO_WRKSUBDIR= yes -NO_ARCH= yes - -PORTDOCS= * - -OPTIONS_DEFINE= DOCS - -do-install: - @${MKDIR} ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/jMusic${PORTVERSION}.jar \ - ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar - cd ${WRKSRC} && ${COPYTREE_SHARE} inst ${STAGEDIR}${JAVAJARDIR}/${PORTNAME} - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/audio/jmusic/distinfo b/audio/jmusic/distinfo deleted file mode 100644 index c2c8b58e43a0..000000000000 --- a/audio/jmusic/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -TIMESTAMP = 1507873726 -SHA256 (jmusic/jMusic1.6.5.jar) = d64bbccccb8f528ecf57de342c052336b49a59eb3d2cd017b24f25c8f584ba0e -SIZE (jmusic/jMusic1.6.5.jar) = 389433 -SHA256 (jmusic/jMusic_1.6_inst.zip) = 269a82691125c498df87f1c8bc2c5885bafd1a165cb494b3984fb0ea8201ffef -SIZE (jmusic/jMusic_1.6_inst.zip) = 72126 -SHA256 (jmusic/jMusic_doc_1.6.4.zip) = c27fbef89bea93b4771c248256bace02288f7649847955de1940d93faf3de80d -SIZE (jmusic/jMusic_doc_1.6.4.zip) = 1498614 diff --git a/audio/jmusic/pkg-descr b/audio/jmusic/pkg-descr deleted file mode 100644 index e334aec5f232..000000000000 --- a/audio/jmusic/pkg-descr +++ /dev/null @@ -1,16 +0,0 @@ -jMusic is a project designed to provide composers and software developers with -a library of compositional and audio processing tools. It provides a solid -framework for computer-assisted composition in Java, and is also used for -generative music, instrument building, interactive performance, and music -analysis. jMusic supports musicians with its familiar music data structure -based upon note/sound events, and provides methods for organising, -manipulating and analysing that musical data. jMusic scores can be rendered as -MIDI or audio files for storage and later processing or playback in real-time. -jMusic can read and write MIDI files, audio files, XML files, and its own .jm -files; there is real-time support for JavaSound, QuickTime and MIDIShare. -jMusic is designed to be extendible, encouraging you to build upon its -functionality by programming in Java to create your own musical compositions, -tools, and instruments. In a spirit of mutual collaboration, jMusic is -provided free and is an open source project. - -WWW: http://explodingart.com/jmusic/ diff --git a/audio/jmusic/pkg-plist b/audio/jmusic/pkg-plist deleted file mode 100644 index da9e134f6141..000000000000 --- a/audio/jmusic/pkg-plist +++ /dev/null @@ -1,72 +0,0 @@ -%%JAVAJARDIR%%/jmusic/inst/AMInst.java -%%JAVAJARDIR%%/jmusic/inst/AMNoiseInst.java -%%JAVAJARDIR%%/jmusic/inst/AddInst.java -%%JAVAJARDIR%%/jmusic/inst/AddMorphInst.java -%%JAVAJARDIR%%/jmusic/inst/AddSynthInst.java -%%JAVAJARDIR%%/jmusic/inst/BandPassFilterInst.java -%%JAVAJARDIR%%/jmusic/inst/BowedPluckInst.java -%%JAVAJARDIR%%/jmusic/inst/BreathyFluteInst.java -%%JAVAJARDIR%%/jmusic/inst/ChiffInst.java -%%JAVAJARDIR%%/jmusic/inst/ControlledHPFInst.java -%%JAVAJARDIR%%/jmusic/inst/DynamicFilterInst.java -%%JAVAJARDIR%%/jmusic/inst/FGTRInst.java -%%JAVAJARDIR%%/jmusic/inst/FMNoiseInst.java -%%JAVAJARDIR%%/jmusic/inst/FractalInst.java -%%JAVAJARDIR%%/jmusic/inst/GranularInst.java -%%JAVAJARDIR%%/jmusic/inst/GranularInstRT.java -%%JAVAJARDIR%%/jmusic/inst/HarmonicsInst.java -%%JAVAJARDIR%%/jmusic/inst/LFOFilteredSquareInst.java -%%JAVAJARDIR%%/jmusic/inst/LPFilterEnvInst.java -%%JAVAJARDIR%%/jmusic/inst/NoiseCombInst.java -%%JAVAJARDIR%%/jmusic/inst/NoiseInst.java -%%JAVAJARDIR%%/jmusic/inst/OddEvenInst.java -%%JAVAJARDIR%%/jmusic/inst/OvertoneInst.java -%%JAVAJARDIR%%/jmusic/inst/PluckInst.java -%%JAVAJARDIR%%/jmusic/inst/PrintSineInst.java -%%JAVAJARDIR%%/jmusic/inst/PulseFifthsInst.java -%%JAVAJARDIR%%/jmusic/inst/PulsewaveInst.java -%%JAVAJARDIR%%/jmusic/inst/RTPluckInst.java -%%JAVAJARDIR%%/jmusic/inst/RTSimpleFMInst.java -%%JAVAJARDIR%%/jmusic/inst/ResSawInst.java -%%JAVAJARDIR%%/jmusic/inst/ReverseResampledInst.java -%%JAVAJARDIR%%/jmusic/inst/RingModulationInst.java -%%JAVAJARDIR%%/jmusic/inst/SabersawInst.java -%%JAVAJARDIR%%/jmusic/inst/SawCombInst.java -%%JAVAJARDIR%%/jmusic/inst/SawHPFInst.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInst.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInstB.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInstE.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInstF.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInstG.java -%%JAVAJARDIR%%/jmusic/inst/SawLPFInstRT.java -%%JAVAJARDIR%%/jmusic/inst/SawtoothInst.java -%%JAVAJARDIR%%/jmusic/inst/Sawtooth_LPF_Env_Inst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleAMInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleAllPassInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleFMInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleFMInstRT.java -%%JAVAJARDIR%%/jmusic/inst/SimplePluckInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleReverbInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleSampleInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleSineInst.java -%%JAVAJARDIR%%/jmusic/inst/SimpleTremoloInst.java -%%JAVAJARDIR%%/jmusic/inst/SimplestInst.java -%%JAVAJARDIR%%/jmusic/inst/SineInst.java -%%JAVAJARDIR%%/jmusic/inst/SlowSineInst.java -%%JAVAJARDIR%%/jmusic/inst/SquareBackwardsInst.java -%%JAVAJARDIR%%/jmusic/inst/SquareCombInst.java -%%JAVAJARDIR%%/jmusic/inst/SquareInst.java -%%JAVAJARDIR%%/jmusic/inst/SquareLPFInst.java -%%JAVAJARDIR%%/jmusic/inst/SubtractiveSampleInst.java -%%JAVAJARDIR%%/jmusic/inst/SubtractiveSynthInst.java -%%JAVAJARDIR%%/jmusic/inst/SuperSawInst.java -%%JAVAJARDIR%%/jmusic/inst/TextInst.java -%%JAVAJARDIR%%/jmusic/inst/TimpaniInst.java -%%JAVAJARDIR%%/jmusic/inst/TremoloInst.java -%%JAVAJARDIR%%/jmusic/inst/TriangleInst.java -%%JAVAJARDIR%%/jmusic/inst/TriangleRepeatInst.java -%%JAVAJARDIR%%/jmusic/inst/VaryDecaySineInst.java -%%JAVAJARDIR%%/jmusic/inst/VibesInst.java -%%JAVAJARDIR%%/jmusic/inst/VibratoInst.java -%%JAVAJARDIR%%/jmusic/inst/VibratoInstRT.java -%%JAVAJARDIR%%/jmusic/jmusic.jar diff --git a/audio/maplay/Makefile b/audio/maplay/Makefile deleted file mode 100644 index cdbcb60963f1..000000000000 --- a/audio/maplay/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -# Created by: jkh -# $FreeBSD$ - -PORTNAME= maplay -PORTVERSION= 1.2 -CATEGORIES= audio -MASTER_SITES= ftp://ftp.tnt.uni-hannover.de/pub/MPEG/audio/other-servers/Maplay-Mirror/ -DISTNAME= ${PORTNAME}${PORTVERSION:S/./_/} - -MAINTAINER= ports@FreeBSD.org -COMMENT= MPEG audio player/decoder decoding layer I and II MPEG audio streams - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -NO_WRKSUBDIR= yes -USES= tar:Z - -PLIST_FILES= bin/maplay -PORTDOCS= README - -OPTIONS_DEFINE= DOCS - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/maplay ${STAGEDIR}${PREFIX}/bin - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/audio/maplay/distinfo b/audio/maplay/distinfo deleted file mode 100644 index 66f5f14978d8..000000000000 --- a/audio/maplay/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (maplay1_2.tar.Z) = a01a8628f7cfef26d1b850d7700a6ca503f74fdeb9ed129b881c77634a10c959 -SIZE (maplay1_2.tar.Z) = 95719 diff --git a/audio/maplay/files/patch-Makefile b/audio/maplay/files/patch-Makefile deleted file mode 100644 index 7c121ece4f73..000000000000 --- a/audio/maplay/files/patch-Makefile +++ /dev/null @@ -1,27 +0,0 @@ ---- Makefile.orig 1994-06-23 12:14:46 UTC -+++ Makefile -@@ -27,7 +27,7 @@ - # - - --CFLAGS = $(COMPILERFLAGS) -+CFLAGS += $(COMPILERFLAGS) - # debugging: -ggdb -DDEBUG - # profiling: -pg (gprof) or -p (prof) - # strip command has to be removed for debugging or profiling -@@ -39,14 +39,11 @@ OBJS = maplay.o ibitstream.o header.o sc - - .SUFFIXES: .cc - --install: -+all: - @./configuration.sh - --all: maplay -- - maplay: $(OBJS) - $(COMPILER) $(CFLAGS) $(OBJS) -o $@ $(LIBRARIES) -lm -- -strip $@ - - .cc.o: - $(COMPILER) -c $(CFLAGS) $(INCLUDEDIRS) $*.cc -o $@ diff --git a/audio/maplay/files/patch-all.h b/audio/maplay/files/patch-all.h deleted file mode 100644 index 65eb467c28e3..000000000000 --- a/audio/maplay/files/patch-all.h +++ /dev/null @@ -1,11 +0,0 @@ ---- all.h.orig 1994-06-23 12:14:39 UTC -+++ all.h -@@ -22,7 +22,7 @@ - #define ALL_H - - typedef float real; // float should be enough --typedef short bool; -+typedef short boolean; - typedef unsigned uint32; // 32 Bit unsigned integer - // some compilers may need "typedef unsigned long uint32" instead - typedef int int32; // 32 Bit signed integer diff --git a/audio/maplay/files/patch-configuration.sh b/audio/maplay/files/patch-configuration.sh deleted file mode 100644 index 413230ebe0b9..000000000000 --- a/audio/maplay/files/patch-configuration.sh +++ /dev/null @@ -1,25 +0,0 @@ ---- configuration.sh.orig 1994-06-23 12:14:46 UTC -+++ configuration.sh -@@ -72,6 +72,16 @@ case `uname -sr` in - INCLUDEDIRS= - LIBRARIES= - AUDIO_INCLUDES='#include <sys/audioio.h>' ;; -+ FreeBSD*) -+ COMPILER='${CXX}' -+ if [ ${ARCH} = "i386" ]; then -+ COMPILERFLAGS='-DLINUX -DDAMN_INTEL_BYTE_ORDER' -+ else -+ COMPILERFLAGS='-DLINUX' -+ fi -+ INCLUDEDIRS= -+ LIBRARIES= -+ AUDIO_INCLUDES='#include <sys/soundcard.h>' ;; - Linux*) - COMPILER=g++ - COMPILERFLAGS='-O2 -m486 -funroll-loops -DLINUX -DDAMN_INTEL_BYTE_ORDER' -@@ -95,4 +105,4 @@ if [ ! -f audio_includes.h ]; then - echo $AUDIO_INCLUDES >audio_includes.h - fi - --make all -+make maplay diff --git a/audio/maplay/files/patch-crc.cc b/audio/maplay/files/patch-crc.cc deleted file mode 100644 index a696e814000e..000000000000 --- a/audio/maplay/files/patch-crc.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- crc.cc.orig 1994-06-23 12:14:35 UTC -+++ crc.cc -@@ -18,7 +18,7 @@ - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ - --#include <iostream.h> -+#include <iostream> - #include <stdlib.h> - #include "crc.h" - -@@ -32,7 +32,7 @@ void Crc16::add_bits (uint32 bitstring, - #ifdef DEBUG - if (!length) - { -- cerr << "Length of bitstring has to be > 0 in Crc16::add_bits()!\n"; -+ std::cerr << "Length of bitstring has to be > 0 in Crc16::add_bits()!\n"; - exit (1); - } - #endif diff --git a/audio/maplay/files/patch-header.cc b/audio/maplay/files/patch-header.cc deleted file mode 100644 index 2aa843b5a4fe..000000000000 --- a/audio/maplay/files/patch-header.cc +++ /dev/null @@ -1,101 +0,0 @@ ---- header.cc.orig 1994-06-23 12:14:35 UTC -+++ header.cc -@@ -20,15 +20,15 @@ - - /* - * Changes from version 1.1 to 1.2: -- * - iostreams manipulator calls like "cerr << setw (2) << ..." replaced by -- * "cerr.width (2); ..." due to problems with older GNU C++ releases. -+ * - iostreams manipulator calls like "std::cerr << setw (2) << ..." replaced by -+ * "std::cerr.width (2); ..." due to problems with older GNU C++ releases. - * - syncword recognition slightly changed - */ - - #include <sys/types.h> - #include <unistd.h> --#include <iostream.h> --#include <iomanip.h> -+#include <iostream> -+#include <iomanip> - #include <stdlib.h> - #include "header.h" - -@@ -36,7 +36,7 @@ - const uint32 Header::frequencies[3] = { 44100, 48000, 32000 }; - - --bool Header::read_header (Ibitstream *stream, Crc16 **crcp) -+boolean Header::read_header (Ibitstream *stream, Crc16 **crcp) - { - uint32 headerstring; - -@@ -45,41 +45,41 @@ bool Header::read_header (Ibitstream *st - - if ((headerstring & 0xFFF80000) != 0xFFF80000) - { -- cerr << "invalid syncword 0x"; -- cerr.width (8); -- cerr.fill ('0'); -- cerr << hex << headerstring -- << " found at fileoffset " << dec -+ std::cerr << "invalid syncword 0x"; -+ std::cerr.width (8); -+ std::cerr.fill ('0'); -+ std::cerr << std::hex << headerstring -+ << " found at fileoffset " << std::dec - << lseek (stream->filedescriptor (), 0, SEEK_CUR) - 4 << '\n'; - return False; - } - - if ((h_layer = (headerstring >> 17) & 3) == 0) - { -- cerr << "unknown layer identifier found!\n"; -+ std::cerr << "unknown layer identifier found!\n"; - exit (1); - } - h_layer = 4 - h_layer; // now 1 means Layer I and 3 means Layer III - if (h_layer == 3) - { -- cerr << "Sorry, Layer III not implemented!\n"; -+ std::cerr << "Sorry, Layer III not implemented!\n"; - exit (1); - } - h_protection_bit = (headerstring >> 16) & 1; - if ((h_bitrate_index = (headerstring >> 12) & 0xF) == 15) - { -- cerr << "unknown bitrate index found!\n"; -+ std::cerr << "unknown bitrate index found!\n"; - exit (1); - } - if (!h_bitrate_index) - { -- cerr << "free format not yet implemented!\n"; -+ std::cerr << "free format not yet implemented!\n"; - exit (1); - } - - if ((h_sample_frequency = (e_sample_frequency)((headerstring >> 10) & 3)) == 3) - { -- cerr << "unknown sample frequency!\n"; -+ std::cerr << "unknown sample frequency!\n"; - exit (1); - } - h_padding_bit = (headerstring >> 9) & 1; -@@ -90,7 +90,7 @@ bool Header::read_header (Ibitstream *st - h_mode != single_channel) || - (h_bitrate_index >= 11 && h_mode == single_channel)) - { -- cerr << "illegal combination of mode and bitrate in a layer II stream:\n" -+ std::cerr << "illegal combination of mode and bitrate in a layer II stream:\n" - " mode: " << mode_string () - << "\n bitrate: " << bitrate_string () << '\n'; - exit (1); -@@ -161,7 +161,7 @@ uint32 Header::calculate_framesize () - static const int32 bitrates_layer_2[15] = { - 0 /*free format*/, 32000, 48000, 56000, 64000, 80000, 96000, - 112000, 128000, 160000, 192000, 224000, 256000, 320000, 384000 }; -- static const samplefrequencies[3] = { 44100, 48000, 32000 }; -+ static const int32 samplefrequencies[3] = { 44100, 48000, 32000 }; - uint32 framesize; - - if (h_layer == 1) diff --git a/audio/maplay/files/patch-header.h b/audio/maplay/files/patch-header.h deleted file mode 100644 index be0a83a8c978..000000000000 --- a/audio/maplay/files/patch-header.h +++ /dev/null @@ -1,36 +0,0 @@ ---- header.h.orig 1994-06-23 12:14:40 UTC -+++ header.h -@@ -39,7 +39,7 @@ class Header - e_mode h_mode; - e_sample_frequency h_sample_frequency; - uint32 h_number_of_subbands, h_intensity_stereo_bound; -- bool h_copyright, h_original; -+ boolean h_copyright, h_original; - Crc16 *crc; - uint16 checksum; - -@@ -48,7 +48,7 @@ class Header - public: - Header (void) { crc = (Crc16 *)0; } - ~Header (void) { if (crc) delete crc; } -- bool read_header (Ibitstream *, Crc16 **); -+ boolean read_header (Ibitstream *, Crc16 **); - // read a 32-bit header from the bitstream - - // functions to query header contents: -@@ -58,11 +58,11 @@ public: - uint32 frequency (void) { return frequencies[h_sample_frequency]; } - static uint32 frequency (e_sample_frequency rate) { return frequencies[rate]; } - e_mode mode (void) { return h_mode; }; -- bool checksums (void) { return !h_protection_bit; } -- bool copyright (void) { return h_copyright; } -- bool original (void) { return h_original; } -+ boolean checksums (void) { return !h_protection_bit; } -+ boolean copyright (void) { return h_copyright; } -+ boolean original (void) { return h_original; } - -- bool checksum_ok (void) { return checksum == crc->checksum (); } -+ boolean checksum_ok (void) { return checksum == crc->checksum (); } - // compares computed checksum with stream checksum - - // functions which return header informations as strings: diff --git a/audio/maplay/files/patch-ibitstream.cc b/audio/maplay/files/patch-ibitstream.cc deleted file mode 100644 index b025c7d07328..000000000000 --- a/audio/maplay/files/patch-ibitstream.cc +++ /dev/null @@ -1,81 +0,0 @@ ---- ibitstream.cc.orig 1994-06-23 12:14:35 UTC -+++ ibitstream.cc -@@ -29,7 +29,7 @@ - #include <unistd.h> - #include <errno.h> - #include <fcntl.h> --#include <iostream.h> -+#include <iostream> - #include "all.h" - #include "ibitstream.h" - -@@ -50,7 +50,7 @@ Ibitstream::Ibitstream (const char *file - { - if ((fd = open (filename, O_RDONLY, 0)) < 0) - { -- cerr << "can't open file \"" << filename << "\" for reading!\n"; -+ std::cerr << "can't open file \"" << filename << "\" for reading!\n"; - exit (1); - } - wordpointer = buffer; -@@ -64,7 +64,7 @@ Ibitstream::~Ibitstream (void) // des - } - - --bool Ibitstream::get_header (uint32 *headerstring) -+boolean Ibitstream::get_header (uint32 *headerstring) - { - int readvalue; - -@@ -102,13 +102,13 @@ bool Ibitstream::get_header (uint32 *hea - } - - --bool Ibitstream::read_frame (uint32 bytesize) -+boolean Ibitstream::read_frame (uint32 bytesize) - { - int readvalue; - - if (bytesize > (bufferintsize << 2)) - { -- cerr << "Internal error: framelength > bufferlength?!\n"; -+ std::cerr << "Internal error: framelength > bufferlength?!\n"; - exit (1); - } - -@@ -170,7 +170,7 @@ uint32 Ibitstream::get_bits (uint32 numb - #ifdef DEBUG - if (number_of_bits < 1 || number_of_bits > 16) - { -- cerr << "illegal parameter in Ibitstream::get_bits() !\n"; -+ std::cerr << "illegal parameter in Ibitstream::get_bits() !\n"; - exit (1); - } - #endif -@@ -184,7 +184,7 @@ uint32 Ibitstream::get_bits (uint32 numb - bitindex = 0; - if ((char *)++wordpointer > (char *)buffer + framesize) - { -- cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; -+ std::cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; - exit (1); - } - } -@@ -197,7 +197,7 @@ uint32 Ibitstream::get_bits (uint32 numb - *(int16 *)&returnvalue = *((int16 *)wordpointer + 1); - if ((char *)++wordpointer > (char *)buffer + framesize) - { -- cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; -+ std::cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; - exit (1); - } - *((int16 *)&returnvalue + 1) = *(int16 *)wordpointer; -@@ -205,7 +205,7 @@ uint32 Ibitstream::get_bits (uint32 numb - *((int16 *)&returnvalue + 1) = *(int16 *)wordpointer; - if ((char *)++wordpointer > (char *)buffer + framesize) - { -- cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; -+ std::cerr << "Ibitstream::get_bits(): no more bits in buffer!\n"; - exit (1); - } - *(int16 *)&returnvalue = *((int16 *)wordpointer + 1); diff --git a/audio/maplay/files/patch-ibitstream.h b/audio/maplay/files/patch-ibitstream.h deleted file mode 100644 index 8da2fbf03bb9..000000000000 --- a/audio/maplay/files/patch-ibitstream.h +++ /dev/null @@ -1,15 +0,0 @@ ---- ibitstream.h.orig 1994-06-23 12:14:40 UTC -+++ ibitstream.h -@@ -43,10 +43,10 @@ public: - ~Ibitstream (void); - int filedescriptor (void) { return fd; }; - -- bool get_header (uint32 *); -+ boolean get_header (uint32 *); - // get next 32 bits from bitstream in an unsigned int, - // returned value False => end of stream -- bool read_frame (uint32 bytesize); -+ boolean read_frame (uint32 bytesize); - // fill buffer with data from bitstream, returned value False => end of stream - uint32 get_bits (uint32 number_of_bits); - // read bits (1 <= number_of_bits <= 16) from buffer into the lower bits diff --git a/audio/maplay/files/patch-maplay.cc b/audio/maplay/files/patch-maplay.cc deleted file mode 100644 index e42a69af4179..000000000000 --- a/audio/maplay/files/patch-maplay.cc +++ /dev/null @@ -1,220 +0,0 @@ ---- maplay.cc.orig 1994-06-23 12:14:36 UTC -+++ maplay.cc -@@ -39,8 +39,8 @@ - #include <stdlib.h> - #include <string.h> - #include <math.h> --#include <iostream.h> --#include <iomanip.h> -+#include <iostream> -+#include <iomanip> - #include "all.h" - #include "crc.h" - #include "header.h" -@@ -51,17 +51,16 @@ - #include "subband_layer_2.h" - #include "synthesis_filter.h" - -- - // data extracted from commandline arguments: - static char *filename; --static bool verbose_mode = False, filter_check = False; --static bool stdout_mode = False; -+static boolean verbose_mode = False, filter_check = False; -+static boolean stdout_mode = False; - static enum e_channels which_channels = both; --static bool use_speaker = False, use_headphone = False, use_line_out = False; -+static boolean use_speaker = False, use_headphone = False, use_line_out = False; - #ifdef ULAW --static bool force_amd = False; -+static boolean force_amd = False; - #endif --static bool use_own_scalefactor = False; -+static boolean use_own_scalefactor = False; - static real scalefactor; - - // data extracted from header of first frame: -@@ -90,15 +89,15 @@ static void Exit (int returncode) - } - - --main (int argc, char *argv[]) -+int main (int argc, char *argv[]) - { - int i; -- bool read_ready = False, write_ready = False; -+ boolean read_ready = False, write_ready = False; - - if (argc < 2 || !strncmp (argv[1], "-h", 2)) - { - usage: -- cerr << "\nusage: " << argv[0] -+ std::cerr << "\nusage: " << argv[0] - << " [-v] [-s] [-l] [-r] " - #ifdef SPARC - "[-us] [-uh] " -@@ -146,6 +145,9 @@ usage: - #ifdef Solaris - "SPARC Solaris 2.x" - #else -+#ifdef __FreeBSD__ -+ "FreeBSD" -+#else - #ifdef LINUX - "Linux" - #else -@@ -159,6 +161,7 @@ usage: - #endif - #endif - #endif -+#endif - " version)\n" - "@(#) Copyright (C) 1993, 1994 Tobias Bading (bading@cs.tu-berlin.de)\n" - "@(#) Berlin University of Technology\n" -@@ -216,7 +219,7 @@ usage: - case 'f': - if (++i == argc) - { -- cerr << "please specify a new scalefactor after the -f option!\n"; -+ std::cerr << "please specify a new scalefactor after the -f option!\n"; - exit (1); - } - use_own_scalefactor = True; -@@ -243,7 +246,7 @@ usage: - header = new Header; - if (!header->read_header (stream, &crc)) - { -- cerr << "no header found!\n"; -+ std::cerr << "no header found!\n"; - Exit (1); - } - -@@ -328,7 +331,7 @@ usage: - // } - //#else - { -- cerr << "Sorry, I don't know your audio device.\n" -+ std::cerr << "Sorry, I don't know your audio device.\n" - "Please use the stdout mode.\n"; - Exit (0); - } -@@ -345,22 +348,22 @@ usage: - ++name; - else - name = filename; -- cerr << name << " is a layer " << header->layer_string () << ' ' -+ std::cerr << name << " is a layer " << header->layer_string () << ' ' - << header->mode_string () << " MPEG audio stream with"; - if (!header->checksums ()) -- cerr << "out"; -- cerr << " checksums.\nThe sample frequency is " -+ std::cerr << "out"; -+ std::cerr << " checksums.\nThe sample frequency is " - << header->sample_frequency_string () << " at a bitrate of " - << header->bitrate_string () << ".\n" - "This stream is "; - if (header->original ()) -- cerr << "an original"; -+ std::cerr << "an original"; - else -- cerr << "a copy"; -- cerr << " and is "; -+ std::cerr << "a copy"; -+ std::cerr << " and is "; - if (!header->copyright ()) -- cerr << "not "; -- cerr << "copyright protected.\n"; -+ std::cerr << "not "; -+ std::cerr << "copyright protected.\n"; - } - - do -@@ -371,20 +374,20 @@ usage: - { - // layer switching is allowed - if (verbose_mode) -- cerr << "switching to layer " << header->layer_string () << ".\n"; -+ std::cerr << "switching to layer " << header->layer_string () << ".\n"; - layer = header->layer (); - } - if ((mode == single_channel && header->mode () != single_channel) || - (mode != single_channel && header->mode () == single_channel)) - { - // switching from single channel to stereo or vice versa is not allowed -- cerr << "illegal switch from single channel to stereo or vice versa!\n"; -+ std::cerr << "illegal switch from single channel to stereo or vice versa!\n"; - Exit (1); - } - if (header->sample_frequency () != sample_frequency) - { - // switching the sample frequency is not allowed -- cerr << "sorry, can't switch the sample frequency in the middle of the stream!\n"; -+ std::cerr << "sorry, can't switch the sample frequency in the middle of the stream!\n"; - Exit (1); - } - -@@ -423,7 +426,7 @@ usage: - } - else - { -- cerr << "sorry, layer 3 not implemented!\n"; -+ std::cerr << "sorry, layer 3 not implemented!\n"; - Exit (0); - } - -@@ -463,7 +466,7 @@ usage: - } - else - // Sh*t! Wrong crc checksum in frame! -- cerr << "WARNING: frame contains wrong crc checksum! (throwing frame away)\n"; -+ std::cerr << "WARNING: frame contains wrong crc checksum! (throwing frame away)\n"; - - for (i = 0; i < header->number_of_subbands (); ++i) - delete subbands[i]; -@@ -481,18 +484,18 @@ usage: - // check whether (one of) the filter(s) produced values not in [-1.0, 1.0]: - if (range_violations) - { -- cerr << range_violations << " range violations have occured!\n"; -+ std::cerr << range_violations << " range violations have occurred!\n"; - if (stdout_mode) -- cerr << "If you notice these violations,\n"; -+ std::cerr << "If you notice these violations,\n"; - else -- cerr << "If you have noticed these violations,\n"; -- cerr << "please use the -f option with the value "; -+ std::cerr << "If you have noticed these violations,\n"; -+ std::cerr << "please use the -f option with the value "; - if (mode != single_channel && which_channels == both && - filter2->hardest_violation () > filter1->hardest_violation ()) -- cerr << filter2->recommended_scalefactor (); -+ std::cerr << filter2->recommended_scalefactor (); - else -- cerr << filter1->recommended_scalefactor (); -- cerr << "\nor a greater value up to 32768 and try again.\n"; -+ std::cerr << filter1->recommended_scalefactor (); -+ std::cerr << "\nor a greater value up to 32768 and try again.\n"; - } - } - if (verbose_mode) -@@ -502,13 +505,13 @@ usage: - uint32 minutes = (uint32)(playtime / 60.0); - uint32 seconds = (uint32)playtime - minutes * 60; - uint32 centiseconds = (uint32)((playtime - (real)(minutes * 60) - (real)seconds) * 100.0); -- cerr << "end of stream, playtime: " << minutes << ':'; -- cerr.width (2); -- cerr.fill ('0'); -- cerr << seconds << '.'; -- cerr.width (2); -- cerr.fill ('0'); -- cerr << centiseconds << '\n'; -+ std::cerr << "end of stream, playtime: " << minutes << ':'; -+ std::cerr.width (2); -+ std::cerr.fill ('0'); -+ std::cerr << seconds << '.'; -+ std::cerr.width (2); -+ std::cerr.fill ('0'); -+ std::cerr << centiseconds << '\n'; - } - - return 0; diff --git a/audio/maplay/files/patch-obuffer.cc b/audio/maplay/files/patch-obuffer.cc deleted file mode 100644 index e1beded33c34..000000000000 --- a/audio/maplay/files/patch-obuffer.cc +++ /dev/null @@ -1,297 +0,0 @@ ---- obuffer.cc.orig 1994-06-27 11:14:03 UTC -+++ obuffer.cc -@@ -47,7 +47,7 @@ - #include <unistd.h> - #include <fcntl.h> - #include <sys/ioctl.h> --#include <iostream.h> -+#include <iostream> - #include "obuffer.h" - #include "header.h" - #ifdef ULAW -@@ -65,14 +65,14 @@ FileObuffer::FileObuffer (uint32 number_ - #ifdef DEBUG - if (!number_of_channels || number_of_channels > MAXCHANNELS) - { -- cerr << "FileObuffer: number of channels has to be in [1, " << MAXCHANNELS << "] !\n"; -+ std::cerr << "FileObuffer: number of channels has to be in [1, " << MAXCHANNELS << "] !\n"; - exit (1); - } - #endif - - #ifdef ULAW - if (number_of_channels > 1) -- cerr << "Are you sure you need stereo u-law output?\n"; -+ std::cerr << "Are you sure you need stereo u-law output?\n"; - #endif - channels = number_of_channels; - for (int i = 0; i < number_of_channels; ++i) -@@ -85,12 +85,12 @@ void FileObuffer::append (uint32 channel - #ifdef DEBUG - if (channel >= channels) - { -- cerr << "illegal channelnumber in FileObuffer::append()!\n"; -+ std::cerr << "illegal channelnumber in FileObuffer::append()!\n"; - exit (1); - } - if (bufferp[channel] - buffer >= OBUFFERSIZE) - { -- cerr << "FileObuffer: buffer overflow!\n"; -+ std::cerr << "FileObuffer: buffer overflow!\n"; - exit (1); - } - #endif -@@ -143,7 +143,7 @@ IndigoObuffer::IndigoObuffer (uint32 num - #ifdef DEBUG - if (!number_of_channels || number_of_channels > MAXCHANNELS) - { -- cerr << "IndigoObuffer: number of channels has to be in [1, " << MAXCHANNELS << "] !\n"; -+ std::cerr << "IndigoObuffer: number of channels has to be in [1, " << MAXCHANNELS << "] !\n"; - exit (1); - } - #endif -@@ -155,7 +155,7 @@ IndigoObuffer::IndigoObuffer (uint32 num - ALconfig config; - if (!(config = ALnewconfig ())) - { -- cerr << "ALnewconfig failed!\n"; -+ std::cerr << "ALnewconfig failed!\n"; - exit (1); - } - ALsetwidth (config, AL_SAMPLE_16); -@@ -165,7 +165,7 @@ IndigoObuffer::IndigoObuffer (uint32 num - ALsetchannels (config, AL_STEREO); - if (!(port = ALopenport ("MPEG audio player", "w", config))) - { -- cerr << "can't allocate an audio port!\n"; -+ std::cerr << "can't allocate an audio port!\n"; - exit (1); - } - -@@ -190,12 +190,12 @@ void IndigoObuffer::append (uint32 chann - #ifdef DEBUG - if (channel >= channels) - { -- cerr << "illegal channelnumber in IndigoObuffer::append()!\n"; -+ std::cerr << "illegal channelnumber in IndigoObuffer::append()!\n"; - exit (1); - } - if (bufferp[channel] - buffer >= OBUFFERSIZE) - { -- cerr << "IndigoObuffer: buffer overflow!\n"; -+ std::cerr << "IndigoObuffer: buffer overflow!\n"; - exit (1); - } - #endif -@@ -217,17 +217,17 @@ void IndigoObuffer::write_buffer (int) - int SparcObuffer::audio_fd = -1; - - #ifdef ULAW --SparcObuffer::SparcObuffer (Header *header, bool use_speaker, bool use_headphone, bool use_line_out) -+SparcObuffer::SparcObuffer (Header *header, boolean use_speaker, boolean use_headphone, boolean use_line_out) - #else - SparcObuffer::SparcObuffer (uint32 number_of_channels, Header *header, -- bool use_speaker, bool use_headphone, bool use_line_out) -+ boolean use_speaker, boolean use_headphone, boolean use_line_out) - #endif - { - #ifndef ULAW - #ifdef DEBUG - if (!number_of_channels || number_of_channels > MAXCHANNELS) - { -- cerr << "SparcObuffer: 0 < number of channels < " << MAXCHANNELS << "!\n"; -+ std::cerr << "SparcObuffer: 0 < number of channels < " << MAXCHANNELS << "!\n"; - exit (1); - } - #endif -@@ -235,7 +235,7 @@ SparcObuffer::SparcObuffer (uint32 numbe - - if (audio_fd < 0) - { -- cerr << "Internal error: SparcObuffer::audio_fd has to be initialized\n" -+ std::cerr << "Internal error: SparcObuffer::audio_fd has to be initialized\n" - "by SparcObuffer::class_suitable()!\n"; - exit (1); - } -@@ -296,7 +296,7 @@ void SparcObuffer::append (uint32 channe - #ifdef DEBUG - if (bufferp - buffer >= OBUFFERSIZE >> 1) - { -- cerr << "SparcObuffer: buffer overflow!\n"; -+ std::cerr << "SparcObuffer: buffer overflow!\n"; - exit (1); - } - #endif -@@ -307,12 +307,12 @@ void SparcObuffer::append (uint32 channe - #ifdef DEBUG - if (channel >= channels) - { -- cerr << "illegal channelnumber in SparcObuffer::append()!\n"; -+ std::cerr << "illegal channelnumber in SparcObuffer::append()!\n"; - exit (1); - } - if (bufferp[channel] - buffer >= OBUFFERSIZE) - { -- cerr << "SparcObuffer: buffer overflow!\n"; -+ std::cerr << "SparcObuffer: buffer overflow!\n"; - exit (1); - } - #endif -@@ -351,7 +351,7 @@ int SparcObuffer::open_audio_device (voi - if ((fd = open ("/dev/audio", O_WRONLY | O_NDELAY, 0)) < 0) - if (errno == EBUSY) - { -- cerr << "Sorry, the audio device is busy!\n"; -+ std::cerr << "Sorry, the audio device is busy!\n"; - exit (1); - } - else -@@ -398,7 +398,7 @@ int SparcObuffer::get_device_type (int f - } - return devtype; - #else -- cerr << "SparcObuffer::get_device_type(): AUDIO_GETDEV ioctl not available!\n"; -+ std::cerr << "SparcObuffer::get_device_type(): AUDIO_GETDEV ioctl not available!\n"; - return -1; - #endif - } -@@ -406,15 +406,15 @@ int SparcObuffer::get_device_type (int f - - - #ifdef ULAW --bool SparcObuffer::class_suitable (uint32 number_of_channels, bool force_amd) -+boolean SparcObuffer::class_suitable (uint32 number_of_channels, boolean force_amd) - #else --bool SparcObuffer::class_suitable (void) -+boolean SparcObuffer::class_suitable (void) - #endif - { - #ifdef ULAW - if (number_of_channels > 1) - { -- cerr << "Your audio hardware cannot handle more than one audio channel.\n" -+ std::cerr << "Your audio hardware cannot handle more than one audio channel.\n" - "Please use the option -l or -r for stereo streams.\n"; - return False; - } -@@ -436,7 +436,7 @@ bool SparcObuffer::class_suitable (void) - return True; - else if (!strcmp (devtype.name, "SUNW,dbri")) - { -- cerr << "Your machine can produce CD-quality audio output,\n" -+ std::cerr << "Your machine can produce CD-quality audio output,\n" - "but this binary was compiled for 8 kHz u-law ouput. (telephone quality)\n" - "Please recompile it without the ULAW define in COMPILERFLAGS.\n" - "(or use the -amd option to use this binary with low-quality output)\n"; -@@ -448,7 +448,7 @@ bool SparcObuffer::class_suitable (void) - return True; - else if (!strcmp (devtype.name, "SUNW,am79c30")) - { -- cerr << "Your machine can produce 8 kHz u-law audio output only,\n" -+ std::cerr << "Your machine can produce 8 kHz u-law audio output only,\n" - "but this binary was compiled for CD-quality output.\n" - "Please recompile it with ULAW defined in COMPILERFLAGS\n" - "or use it in stdout mode as an decoder only.\n"; -@@ -464,7 +464,7 @@ bool SparcObuffer::class_suitable (void) - # ifdef ULAW - return True; - # else -- cerr << "Your machine can produce 8 kHz u-law audio output only,\n" -+ std::cerr << "Your machine can produce 8 kHz u-law audio output only,\n" - "but this binary was compiled for CD-quality output.\n" - "Please recompile it with ULAW defined in COMPILERFLAGS\n" - "or use it in stdout mode as an decoder only.\n"; -@@ -479,7 +479,7 @@ bool SparcObuffer::class_suitable (void) - return True; - else if (device_type == AUDIO_DEV_SPEAKERBOX) - { -- cerr << "Your machine can produce CD-quality audio output,\n" -+ std::cerr << "Your machine can produce CD-quality audio output,\n" - "but this binary was compiled for 8 kHz u-law ouput. (telephone quality)\n" - "Please recompile it without the ULAW define in COMPILERFLAGS.\n" - "(or use the -amd option to use this binary with low-quality output)\n"; -@@ -491,7 +491,7 @@ bool SparcObuffer::class_suitable (void) - return True; - else if (device_type == AUDIO_DEV_AMD) - { -- cerr << "Your machine can produce 8 kHz u-law audio output only,\n" -+ std::cerr << "Your machine can produce 8 kHz u-law audio output only,\n" - "but this binary was compiled for CD-quality output.\n" - "Please recompile it with ULAW defined in COMPILERFLAGS\n" - "or use it in stdout mode as an decoder only.\n"; -@@ -504,7 +504,7 @@ bool SparcObuffer::class_suitable (void) - - #ifndef SunOS4_1_1 - close (audio_fd); -- cerr << "Sorry, I don't recognize your audio device.\n" -+ std::cerr << "Sorry, I don't recognize your audio device.\n" - # ifdef ULAW - "Please try the -amd option or use the stdout mode.\n"; - # else -@@ -527,7 +527,7 @@ int LinuxObuffer::open_audio_device (voi - if ((fd = open ("/dev/dsp", O_WRONLY | O_NDELAY, 0)) < 0) - if (errno == EBUSY) - { -- cerr << "Sorry, the audio device is busy!\n"; -+ std::cerr << "Sorry, the audio device is busy!\n"; - exit (1); - } - else -@@ -537,6 +537,7 @@ int LinuxObuffer::open_audio_device (voi - } - - // turn NDELAY mode off: -+#ifndef __FreeBSD__ /* Our /dev/audio doesn't like non-blocking I/O */ - int flags; - if ((flags = fcntl (fd, F_GETFL, 0)) < 0) - { -@@ -549,6 +550,7 @@ int LinuxObuffer::open_audio_device (voi - perror ("fcntl F_SETFL on /dev/audio failed"); - exit (1); - } -+#endif - return fd; - } - -@@ -558,7 +560,7 @@ LinuxObuffer::LinuxObuffer (uint32 numbe - #ifdef DEBUG - if (!number_of_channels || number_of_channels > MAXCHANNELS) - { -- cerr << "LinuxObuffer: 0 < number of channels < " << MAXCHANNELS << "!\n"; -+ std::cerr << "LinuxObuffer: 0 < number of channels < " << MAXCHANNELS << "!\n"; - exit (1); - } - #endif -@@ -568,7 +570,7 @@ LinuxObuffer::LinuxObuffer (uint32 numbe - - if (audio_fd < 0) - { -- cerr << "Internal error, LinuxObuffer::audio_fd has to be initialized\n" -+ std::cerr << "Internal error, LinuxObuffer::audio_fd has to be initialized\n" - "by LinuxObuffer::class_suitable()!\n"; - exit (1); - } -@@ -602,12 +604,12 @@ void LinuxObuffer::append (uint32 channe - #ifdef DEBUG - if (channel >= channels) - { -- cerr << "illegal channelnumber in LinuxObuffer::append()!\n"; -+ std::cerr << "illegal channelnumber in LinuxObuffer::append()!\n"; - exit (1); - } - if (bufferp[channel] - buffer >= OBUFFERSIZE) - { -- cerr << "buffer overflow!\n"; -+ std::cerr << "buffer overflow!\n"; - exit (1); - } - #endif -@@ -629,7 +631,7 @@ void LinuxObuffer::write_buffer (int) - } - - --bool LinuxObuffer::class_suitable (uint32 number_of_channels) -+boolean LinuxObuffer::class_suitable (uint32 number_of_channels) - { - // open the dsp audio device: - audio_fd = open_audio_device (); diff --git a/audio/maplay/files/patch-obuffer.h b/audio/maplay/files/patch-obuffer.h deleted file mode 100644 index 7362f7a22b40..000000000000 --- a/audio/maplay/files/patch-obuffer.h +++ /dev/null @@ -1,45 +0,0 @@ ---- obuffer.h.orig 1994-06-23 12:14:40 UTC -+++ obuffer.h -@@ -27,7 +27,7 @@ - #ifndef OBUFFER_H - #define OBUFFER_H - --#include <iostream.h> -+#include <iostream> - #include <unistd.h> - #include <stdlib.h> - #include "all.h" -@@ -123,20 +123,20 @@ private: - - public: - #ifdef ULAW -- SparcObuffer (Header *, bool use_speaker, bool use_headphone, bool use_line_out); -+ SparcObuffer (Header *, boolean use_speaker, boolean use_headphone, boolean use_line_out); - #else - SparcObuffer (uint32 number_of_channels, Header *, -- bool use_speaker, bool use_headphone, bool use_line_out); -+ boolean use_speaker, boolean use_headphone, boolean use_line_out); - #endif - ~SparcObuffer (void); - void append (uint32 channel, int16 value); - void write_buffer (int dummy); - - #ifdef ULAW -- static bool class_suitable (uint32 number_of_channels, bool force_amd); -+ static boolean class_suitable (uint32 number_of_channels, boolean force_amd); - // returnvalue == False: no u-law output possible (class unsuitable) - #else -- static bool class_suitable (void); -+ static boolean class_suitable (void); - // returnvalue == False: no 16-bit output possible (class unsuitable) - #endif - }; -@@ -159,7 +159,7 @@ public: - void append (uint32 channel, int16 value); - void write_buffer (int dummy); - -- static bool class_suitable (uint32 number_of_channels); -+ static boolean class_suitable (uint32 number_of_channels); - }; - #endif // LINUX - diff --git a/audio/maplay/files/patch-subband.h b/audio/maplay/files/patch-subband.h deleted file mode 100644 index a54ee49a9ba4..000000000000 --- a/audio/maplay/files/patch-subband.h +++ /dev/null @@ -1,13 +0,0 @@ ---- subband.h.orig 1994-06-23 12:14:40 UTC -+++ subband.h -@@ -35,8 +35,8 @@ class Subband - public: - virtual void read_allocation (Ibitstream *, Header *, Crc16 *) = 0; - virtual void read_scalefactor (Ibitstream *, Header *) = 0; -- virtual bool read_sampledata (Ibitstream *) = 0; -- virtual bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *) = 0; -+ virtual boolean read_sampledata (Ibitstream *) = 0; -+ virtual boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *) = 0; - }; - - #endif diff --git a/audio/maplay/files/patch-subband__layer__1.cc b/audio/maplay/files/patch-subband__layer__1.cc deleted file mode 100644 index 330b8fb14a98..000000000000 --- a/audio/maplay/files/patch-subband__layer__1.cc +++ /dev/null @@ -1,127 +0,0 @@ ---- subband_layer_1.cc.orig 1994-06-23 12:14:36 UTC -+++ subband_layer_1.cc -@@ -67,7 +67,7 @@ SubbandLayer1::SubbandLayer1 (uint32 sub - void SubbandLayer1::read_allocation (Ibitstream *stream, Header *, Crc16 *crc) - { - if ((allocation = stream->get_bits (4)) == 15) -- cerr << "WARNING: stream contains an illegal allocation!\n"; // MPEG-stream is corrupted! -+ std::cerr << "WARNING: stream contains an illegal allocation!\n"; // MPEG-stream is corrupted! - if (crc) - crc->add_bits (allocation, 4); - if (allocation) -@@ -86,14 +86,14 @@ void SubbandLayer1::read_scalefactor (Ib - } - - --bool SubbandLayer1::read_sampledata (Ibitstream *stream) -+boolean SubbandLayer1::read_sampledata (Ibitstream *stream) - { - if (allocation) - { - sample = real (stream->get_bits (samplelength)); - #ifdef DEBUG - if (sample == (1 << samplelength) - 1) -- cerr << "WARNING: stream contains an illegal subband sample!\n"; // MPEG-stream is corrupted! -+ std::cerr << "WARNING: stream contains an illegal subband sample!\n"; // MPEG-stream is corrupted! - #endif - } - if (++samplenumber == 12) -@@ -105,7 +105,7 @@ bool SubbandLayer1::read_sampledata (Ibi - } - - --bool SubbandLayer1::put_next_sample (e_channels channels, -+boolean SubbandLayer1::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *) - { - if (allocation && channels != right) -@@ -113,7 +113,7 @@ bool SubbandLayer1::put_next_sample (e_c - register real scaled_sample = (sample * factor + offset) * scalefactor; - #ifdef DEBUG - if (scaled_sample < -1.0 || scaled_sample > 1.0) -- cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; -+ std::cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; - // this should never occur - #endif - filter1->input_sample (scaled_sample, subbandnumber); -@@ -142,7 +142,7 @@ void SubbandLayer1IntensityStereo::read_ - } - - --bool SubbandLayer1IntensityStereo::put_next_sample (e_channels channels, -+boolean SubbandLayer1IntensityStereo::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *filter2) - { - if (allocation) -@@ -154,7 +154,7 @@ bool SubbandLayer1IntensityStereo::put_n - sample2 = sample * channel2_scalefactor; - #ifdef DEBUG - if (sample1 < -1.0 || sample1 > 1.0 || sample2 < -1.0 || sample2 > 1.0) -- cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; -+ std::cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; - // this should never occur - #endif - filter1->input_sample (sample1, subbandnumber); -@@ -165,7 +165,7 @@ bool SubbandLayer1IntensityStereo::put_n - register real sample1 = sample * scalefactor; - #ifdef DEBUG - if (sample1 < -1.0 || sample1 > 1.0) -- cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; -+ std::cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; - // this should never occur - #endif - filter1->input_sample (sample1, subbandnumber); -@@ -175,7 +175,7 @@ bool SubbandLayer1IntensityStereo::put_n - register real sample2 = sample * channel2_scalefactor; - #ifdef DEBUG - if (sample2 < -1.0 || sample2 > 1.0) -- cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; -+ std::cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; - // this should never occur - #endif - filter1->input_sample (sample2, subbandnumber); -@@ -206,7 +206,7 @@ void SubbandLayer1Stereo::read_allocatio - crc->add_bits (channel2_allocation, 4); - } - if (allocation == 15 || channel2_allocation == 15) -- cerr << "WARNING: stream contains an illegal allocation!\n"; // MPEG-stream is corrupted! -+ std::cerr << "WARNING: stream contains an illegal allocation!\n"; // MPEG-stream is corrupted! - if (allocation) - { - samplelength = allocation + 1; -@@ -231,22 +231,22 @@ void SubbandLayer1Stereo::read_scalefact - } - - --bool SubbandLayer1Stereo::read_sampledata (Ibitstream *stream) -+boolean SubbandLayer1Stereo::read_sampledata (Ibitstream *stream) - { -- bool returnvalue = SubbandLayer1::read_sampledata (stream); -+ boolean returnvalue = SubbandLayer1::read_sampledata (stream); - if (channel2_allocation) - { - channel2_sample = real (stream->get_bits (channel2_samplelength)); - #ifdef DEBUG - if (channel2_sample == (1 << channel2_samplelength) - 1) -- cerr << "WARNING: stream contains an illegal subband sample!\n"; // MPEG-stream is corrupted! -+ std::cerr << "WARNING: stream contains an illegal subband sample!\n"; // MPEG-stream is corrupted! - #endif - } - return returnvalue; - } - - --bool SubbandLayer1Stereo::put_next_sample (e_channels channels, -+boolean SubbandLayer1Stereo::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *filter2) - { - SubbandLayer1::put_next_sample (channels, filter1, filter2); -@@ -256,7 +256,7 @@ bool SubbandLayer1Stereo::put_next_sampl - channel2_scalefactor; - #ifdef DEBUG - if (sample2 < -1.0 || sample2 > 1.0) -- cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; -+ std::cerr << "WARNING: rescaled subband sample is not in [-1.0, 1.0]\n"; - // this should never occur - #endif - if (channels == both) diff --git a/audio/maplay/files/patch-subband__layer__1.h b/audio/maplay/files/patch-subband__layer__1.h deleted file mode 100644 index 81f58632fabf..000000000000 --- a/audio/maplay/files/patch-subband__layer__1.h +++ /dev/null @@ -1,38 +0,0 @@ ---- subband_layer_1.h.orig 1994-06-23 12:14:40 UTC -+++ subband_layer_1.h -@@ -42,8 +42,8 @@ public: - SubbandLayer1 (uint32 subbandnumber); - void read_allocation (Ibitstream *, Header *, Crc16 *); - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *); -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); -+ boolean read_sampledata (Ibitstream *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); - }; - - -@@ -60,11 +60,11 @@ public: - SubbandLayer1::read_allocation (stream, header, crc); - } - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *stream) -+ boolean read_sampledata (Ibitstream *stream) - { - return SubbandLayer1::read_sampledata (stream); - } -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); - }; - - -@@ -82,8 +82,8 @@ public: - SubbandLayer1Stereo (uint32 subbandnumber); - void read_allocation (Ibitstream *, Header *, Crc16 *); - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *); -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); -+ boolean read_sampledata (Ibitstream *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); - }; - - #endif diff --git a/audio/maplay/files/patch-subband__layer__2.cc b/audio/maplay/files/patch-subband__layer__2.cc deleted file mode 100644 index e0ad1297cde8..000000000000 --- a/audio/maplay/files/patch-subband__layer__2.cc +++ /dev/null @@ -1,54 +0,0 @@ ---- subband_layer_2.cc.orig 1994-06-23 12:14:36 UTC -+++ subband_layer_2.cc -@@ -591,7 +591,7 @@ void SubbandLayer2::read_scalefactor (Ib - } - - --bool SubbandLayer2::read_sampledata (Ibitstream *stream) -+boolean SubbandLayer2::read_sampledata (Ibitstream *stream) - { - if (allocation) - if (groupingtable) -@@ -633,7 +633,7 @@ bool SubbandLayer2::read_sampledata (Ibi - } - - --bool SubbandLayer2::put_next_sample (e_channels channels, -+boolean SubbandLayer2::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *) - { - #ifdef DEBUG -@@ -726,7 +726,7 @@ void SubbandLayer2IntensityStereo::read_ - } - - --bool SubbandLayer2IntensityStereo::put_next_sample (e_channels channels, -+boolean SubbandLayer2IntensityStereo::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *filter2) - { - #ifdef DEBUG -@@ -880,9 +880,9 @@ void SubbandLayer2Stereo::read_scalefact - } - - --bool SubbandLayer2Stereo::read_sampledata (Ibitstream *stream) -+boolean SubbandLayer2Stereo::read_sampledata (Ibitstream *stream) - { -- bool returnvalue = SubbandLayer2::read_sampledata (stream); -+ boolean returnvalue = SubbandLayer2::read_sampledata (stream); - - if (channel2_allocation) - if (channel2_groupingtable) -@@ -919,10 +919,10 @@ bool SubbandLayer2Stereo::read_sampledat - } - - --bool SubbandLayer2Stereo::put_next_sample (e_channels channels, -+boolean SubbandLayer2Stereo::put_next_sample (e_channels channels, - SynthesisFilter *filter1, SynthesisFilter *filter2) - { -- bool returnvalue = SubbandLayer2::put_next_sample (channels, filter1, filter2); -+ boolean returnvalue = SubbandLayer2::put_next_sample (channels, filter1, filter2); - if (channel2_allocation && channels != left) - { - register real sample = channel2_samples[samplenumber - 1]; diff --git a/audio/maplay/files/patch-subband__layer__2.h b/audio/maplay/files/patch-subband__layer__2.h deleted file mode 100644 index b1ee79319de7..000000000000 --- a/audio/maplay/files/patch-subband__layer__2.h +++ /dev/null @@ -1,47 +0,0 @@ ---- subband_layer_2.h.orig 1994-06-23 12:14:40 UTC -+++ subband_layer_2.h -@@ -55,8 +55,8 @@ public: - void read_allocation (Ibitstream *, Header *, Crc16 *); - virtual void read_scalefactor_selection (Ibitstream *, Crc16 *); - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *); -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter * = NULL); -+ boolean read_sampledata (Ibitstream *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter * = NULL); - }; - - -@@ -75,11 +75,11 @@ public: - } - void read_scalefactor_selection (Ibitstream *, Crc16 *); - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *stream) -+ boolean read_sampledata (Ibitstream *stream) - { - return SubbandLayer2::read_sampledata (stream); - } -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); - }; - - -@@ -90,7 +90,7 @@ protected: - uint32 channel2_allocation; - uint32 channel2_scfsi; - real channel2_scalefactor1, channel2_scalefactor2, channel2_scalefactor3; -- bool channel2_grouping; -+ boolean channel2_grouping; - uint32 channel2_codelength; - const real *channel2_groupingtable; - real channel2_factor; -@@ -102,8 +102,8 @@ public: - void read_allocation (Ibitstream *, Header *, Crc16 *); - void read_scalefactor_selection (Ibitstream *, Crc16 *); - void read_scalefactor (Ibitstream *, Header *); -- bool read_sampledata (Ibitstream *); -- bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); -+ boolean read_sampledata (Ibitstream *); -+ boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *); - }; - - #endif diff --git a/audio/maplay/files/patch-synthesis__filter.h b/audio/maplay/files/patch-synthesis__filter.h deleted file mode 100644 index 652fe31d9165..000000000000 --- a/audio/maplay/files/patch-synthesis__filter.h +++ /dev/null @@ -1,11 +0,0 @@ ---- synthesis_filter.h.orig 1994-06-23 12:14:40 UTC -+++ synthesis_filter.h -@@ -21,7 +21,7 @@ - #ifndef SYNTHESIS_FILTER_H - #define SYNTHESIS_FILTER_H - --#include <iostream.h> -+#include <iostream> - #include "all.h" - #include "obuffer.h" - diff --git a/audio/maplay/pkg-descr b/audio/maplay/pkg-descr deleted file mode 100644 index 7122dccdf0fa..000000000000 --- a/audio/maplay/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -The audio part of the MPEG standard specifies three layers, whereat each -layer specifies its own file format. All three layers are using similar -audio coding techniques, but they vary in efficiency and complexity. -Layer I needs the fewest calculation time for en-/decoding a stream, layer III -the most. But a layer I MPEG audio stream is bigger than a layer III stream -at the same quality. This program is able to decode and play only layer I -and II streams, layer III is not supported (yet?!?). - -The maplay decodes layer I and layer II MPEG audio streams and plays them -using a CD-quality audio device or sends the to stdout normally as 16 bit -signed PCM values, interleaved for stereo streams. - -This player supports all modes, which are single channel, stereo, -joint stereo and dual channel, and all bitrates except free mode. -The missing free mode support should not be a problem for now, -because I haven't seen such a stream yet. - -LICENSE: GPL2 or later diff --git a/audio/mbox/Makefile b/audio/mbox/Makefile deleted file mode 100644 index 4d08ffa3dcfa..000000000000 --- a/audio/mbox/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# Created by: Vladimir Osintsev <oc@nm.ru> -# $FreeBSD$ - -PORTNAME= mbox -PORTVERSION= 0.7.2 -PORTREVISION= 15 -CATEGORIES= audio -MASTER_SITES= http://www.mbox.wz.cz/src/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Program intended to help with organizing your music files - -LICENSE= GPLv2 - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ogg>0:audio/py-ogg@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}vorbis>0:audio/py-vorbis@${PY_FLAVOR} \ - lame:audio/lame \ - oggenc:audio/vorbis-tools \ - mplayer:multimedia/mplayer - -WRKSRC= ${WRKDIR}/mBox-${PORTVERSION} -USES= python:2.7 tar:bzip2 -USE_PYTHON= autoplist distutils -USE_WX= 3.0+ -WX_COMPS= python - -.include <bsd.port.mk> diff --git a/audio/mbox/distinfo b/audio/mbox/distinfo deleted file mode 100644 index 0320008bcc2d..000000000000 --- a/audio/mbox/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (mbox-0.7.2.tar.bz2) = 35a0657808faf48fd1c0bf65492470cdf9c9ab925f3d3114164a3da5668029d3 -SIZE (mbox-0.7.2.tar.bz2) = 141128 diff --git a/audio/mbox/pkg-descr b/audio/mbox/pkg-descr deleted file mode 100644 index 96275d39d14f..000000000000 --- a/audio/mbox/pkg-descr +++ /dev/null @@ -1,18 +0,0 @@ -Readme for mBox -mBox is program intended to help you with organizing your music files. - -The most important features are: -- Ability to reencode mp3/ogg/wma to mp3/ogg -- contains utility 'convertor' which converts whole directories to desired - format. Bitrate, etc. is automatically adjusted depending on settings and - source audio. See users-guide for further information. -- supports reading/writing tags in MP3 ID3v1 and ID3v2, Ogg Vorbis -- supports reading WMA tags -- supports FreeDB, treats encoded files as if it was CD, so you can simply - select your files and - if found in database - write tags to them. -- supports auto tagging - reads tag information from filename -- supports batch tags editing -- supports batch files renaming (can use tags) -- supports directory renaming (can use tags) - -WWW: http://www.mbox.wz.cz diff --git a/audio/nuvolaplayer/Makefile b/audio/nuvolaplayer/Makefile deleted file mode 100644 index 51747deda226..000000000000 --- a/audio/nuvolaplayer/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# $FreeBSD$ - -PORTNAME= nuvolaplayer -PORTVERSION= 3.0.4 -PORTREVISION= 3 -CATEGORIES= audio www - -MAINTAINER= ports@FreeBSD.org -COMMENT= Cloud music integration for your desktop - -LICENSE= BSD2CLAUSE - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libdioritegtk-0.2.so:x11-toolkits/diorite \ - libjson-glib-1.0.so:devel/json-glib \ - libnotify.so:devel/libnotify \ - libgstreamer-1.0.so:multimedia/gstreamer1 \ - libwebkit2gtk-4.0.so:www/webkit2-gtk3 -BUILD_DEPENDS= valac:lang/vala -RUN_DEPENDS= ${PORTNAME}-all-services>=0:www/${PORTNAME}-all-services - -USE_GITHUB= yes -GH_ACCOUNT= tiliado - -USES= compiler:c11 gnome libarchive pkgconfig waf -USE_GNOME= glib20 gtk30 -USE_XORG= x11 -# src/nuvolakit-runner/components/keybindings/XKeyGrabber.c:128:2: error: non-void function 'nuvola_xkey_grabber_construct' should return a value [-Wreturn-type] -CFLAGS+= -Wno-return-type -CONFIGURE_ARGS= --platform=LINUX -MAKE_ARGS= --no-system-hooks -INSTALLS_ICONS= yes -USE_LDCONFIG= yes - -.ifdef(WITH_DEBUG) -CONFIGURE_ARGS+=--debug -.else -CONFIGURE_ARGS+=--no-debug -.endif - -DATADIR= ${PREFIX}/share/${PORTNAME}3 - -OPTIONS_DEFINE= MPG123 -OPTIONS_DEFAULT=MPG123 - -MPG123_DESC= HTML5 audio support via mpg123 - -MPG123_USE= GSTREAMER1=good,mpg123 - -pre-configure: - ${REINPLACE_CMD} -e 's/Linux desktop/desktop/' \ - ${WRKSRC}/wscript \ - ${WRKSRC}/data/${PORTNAME}3.appdata.xml - -post-install: - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* \ - ${STAGEDIR}${PREFIX}/lib/*.so \ - ${STAGEDIR}${PREFIX}/lib/${PORTNAME}3/* - -.include <bsd.port.mk> diff --git a/audio/nuvolaplayer/distinfo b/audio/nuvolaplayer/distinfo deleted file mode 100644 index 1cc5d9e7b239..000000000000 --- a/audio/nuvolaplayer/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1483475777 -SHA256 (tiliado-nuvolaplayer-3.0.4_GH0.tar.gz) = 6577f96f305fd9a1d294c6f1a49b5d6a515dd42b026ce58ef89aeb19cd03349d -SIZE (tiliado-nuvolaplayer-3.0.4_GH0.tar.gz) = 3408086 diff --git a/audio/nuvolaplayer/pkg-descr b/audio/nuvolaplayer/pkg-descr deleted file mode 100644 index 0587c2cd4e6d..000000000000 --- a/audio/nuvolaplayer/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Nuvola Player is a runtime for web-based music streaming services -providing more native user experience and integration with desktop -environments than usual web browsers can offer. Nuvola Player handles -multimedia keys, shows desktop notifications, integrates with various -sound menus, applets and launchers and more. Additional features -include Last.fm scrobbling. - -WWW: https://tiliado.eu/nuvolaplayer diff --git a/audio/nuvolaplayer/pkg-message b/audio/nuvolaplayer/pkg-message deleted file mode 100644 index a10361f5c7d5..000000000000 --- a/audio/nuvolaplayer/pkg-message +++ /dev/null @@ -1,7 +0,0 @@ -[ -{ type: install - message: <<EOM -To use Flash-based services you need to install www/flashplayer. -EOM -} -] diff --git a/audio/nuvolaplayer/pkg-plist b/audio/nuvolaplayer/pkg-plist deleted file mode 100644 index 1c53e8318346..000000000000 --- a/audio/nuvolaplayer/pkg-plist +++ /dev/null @@ -1,35 +0,0 @@ -bin/nuvolaplayer3 -bin/nuvolaplayer3ctl -include/nuvolaplayer3-1.0/nuvolaplayer3-base.h -include/nuvolaplayer3-1.0/nuvolaplayer3-runner.h -include/nuvolaplayer3-1.0/nuvolaplayer3-worker.h -lib/libnuvolaplayer3-base.so -lib/libnuvolaplayer3-runner.so -lib/nuvolaplayer3/apprunner -lib/nuvolaplayer3/libnuvolaplayer3-worker.so -share/appdata/nuvolaplayer3.appdata.xml -share/applications/nuvolaplayer3.desktop -share/icons/hicolor/16x16/apps/nuvolaplayer3.png -share/icons/hicolor/22x22/apps/nuvolaplayer3.png -share/icons/hicolor/24x24/apps/nuvolaplayer3.png -share/icons/hicolor/32x32/apps/nuvolaplayer3.png -share/icons/hicolor/48x48/apps/nuvolaplayer3.png -share/icons/hicolor/64x64/apps/nuvolaplayer3.png -share/icons/hicolor/scalable/apps/nuvolaplayer3.svg -%%DATADIR%%/audio/audiotest.mp3 -%%DATADIR%%/js/flash_detect.js -%%DATADIR%%/js/main.js -%%DATADIR%%/web_apps/test/LICENSE -%%DATADIR%%/web_apps/test/Makefile -%%DATADIR%%/web_apps/test/home.html -%%DATADIR%%/web_apps/test/integrate.js -%%DATADIR%%/web_apps/test/metadata.json -%%DATADIR%%/web_apps/test/src/icon.svg -%%DATADIR%%/web_apps/test/webcomponents.js -%%DATADIR%%/web_apps/test/webcomponents2.js -share/vala/vapi/nuvolaplayer3-base.deps -share/vala/vapi/nuvolaplayer3-base.vapi -share/vala/vapi/nuvolaplayer3-runner.deps -share/vala/vapi/nuvolaplayer3-runner.vapi -share/vala/vapi/nuvolaplayer3-worker.deps -share/vala/vapi/nuvolaplayer3-worker.vapi diff --git a/audio/vagalume/Makefile b/audio/vagalume/Makefile deleted file mode 100644 index dc7eb10067d5..000000000000 --- a/audio/vagalume/Makefile +++ /dev/null @@ -1,62 +0,0 @@ -# Created by: Bernhard Fröhlich <decke@bluelife.at> -# $FreeBSD$ - -PORTNAME= vagalume -PORTVERSION= 0.8.6 -PORTREVISION= 2 -CATEGORIES= audio -MASTER_SITES= http://vagalume.igalia.com/files/source/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= GTK+-based client for the Last.fm online radio - -LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libxml2.so:textproc/libxml2 \ - libcurl.so:ftp/curl - -GNU_CONFIGURE= yes -USES= gmake pkgconfig desktop-file-utils -USE_GNOME= gtk20 intltool -USE_GSTREAMER= good mad gconf -INSTALLS_ICONS= yes - -OPTIONS_DEFINE= DBUS TRAY NLS GCONF -OPTIONS_DEFAULT= DBUS TRAY -OPTIONS_SUB= yes -TRAY_DESC= Tray icon and libnotify support - -DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib -DBUS_CONFIGURE_ON= --enable-dbus --enable-im-status -DBUS_CONFIGURE_OFF= --disable-dbus --disable-im-status - -TRAY_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libnotify.pc:devel/libnotify -TRAY_LIB_DEPENDS= libnotify.so:devel/libnotify -TRAY_CONFIGURE_ENABLE= tray-icon - -NLS_USES= gettext -NLS_CPPFLAGS= -I${LOCALBASE}/include -NLS_LDFLAGS= -L${LOCALBASE}/lib -NLS_CONFIGURE_ENABLE= nls -NLS_USES_OFF= gettext-tools - -GCONF_USE= GNOME=gconf2 -GCONF_CONFIGURE_ENABLE= gconf - -post-patch: - @${REINPLACE_CMD} -e 's|serviceentrydir = @serviceentrydir@|serviceentrydir = ${PREFIX}/share/dbus-1/services|' \ - ${WRKSRC}/Makefile.in - -post-patch-NLS-off: - @${REINPLACE_CMD} -e 's|SUBDIRS = src po|SUBDIRS = src|' \ - ${WRKSRC}/Makefile.in - -post-install: - ${INSTALL_DATA} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps - -.include <bsd.port.mk> diff --git a/audio/vagalume/distinfo b/audio/vagalume/distinfo deleted file mode 100644 index f4d26d7bc0be..000000000000 --- a/audio/vagalume/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (vagalume-0.8.6.tar.gz) = d09aa893965a7632aec30a31d69abe5bebf17420f10e440521a070146c166141 -SIZE (vagalume-0.8.6.tar.gz) = 796190 diff --git a/audio/vagalume/pkg-descr b/audio/vagalume/pkg-descr deleted file mode 100644 index 46bd7cace09b..000000000000 --- a/audio/vagalume/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -Vagalume is an GTK+-based client for the Last.fm online radio. - -Although it works in standard PCs, it is specially designed -to work in the Maemo platform. It has access to virtually all -the same functions as the official client, including scrobbling, -tagging, loving, banning etc. - -WWW: http://vagalume.igalia.com/ diff --git a/audio/vagalume/pkg-plist b/audio/vagalume/pkg-plist deleted file mode 100644 index ab4e4f6f7706..000000000000 --- a/audio/vagalume/pkg-plist +++ /dev/null @@ -1,32 +0,0 @@ -bin/vagalume -%%DBUS%%bin/vagalumectl -man/man1/vagalume.1.gz -%%DBUS%%man/man1/vagalumectl.1.gz -share/applications/vagalume.desktop -%%DBUS%%share/dbus-1/services/vagalume.service -share/icons/hicolor/48x48/apps/vagalume.png -%%NLS%%share/locale/ca/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/de/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/es/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/fi/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/fr/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/gl/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/it/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/lv/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/pl/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/pt/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/pt_BR/LC_MESSAGES/vagalume.mo -%%NLS%%share/locale/ru/LC_MESSAGES/vagalume.mo -share/pixmaps/vagalume.xpm -share/pixmaps/vagalume.png -%%DATADIR%%/cover.png -%%DATADIR%%/icons/hicolor/scalable/apps/accessories-text-editor.svg -%%DATADIR%%/icons/hicolor/scalable/apps/document-save.svg -%%DATADIR%%/icons/hicolor/scalable/apps/emblem-favorite.svg -%%DATADIR%%/icons/hicolor/scalable/apps/list-add.svg -%%DATADIR%%/icons/hicolor/scalable/apps/mail-message-new.svg -%%DATADIR%%/icons/hicolor/scalable/apps/media-playback-start.svg -%%DATADIR%%/icons/hicolor/scalable/apps/media-playback-stop.svg -%%DATADIR%%/icons/hicolor/scalable/apps/media-skip-forward.svg -%%DATADIR%%/icons/hicolor/scalable/apps/process-stop.svg -%%DATADIR%%/servers.xml diff --git a/audio/wmsmixer/Makefile b/audio/wmsmixer/Makefile deleted file mode 100644 index ad2157c0d56a..000000000000 --- a/audio/wmsmixer/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Created by: Konstantinos Konstantinidis <kkonstan@daemon.gr> -# $FreeBSD$ - -PORTNAME= wmsmixer -PORTVERSION= 0.5.1 -PORTREVISION= 1 -CATEGORIES= audio windowmaker -MASTER_SITES= http://redundancy.redundancy.org/mirror/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Audio mixer for the WindowMaker dock - -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USES= alias imake -USE_XORG= xpm -MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS}" - -PLIST_FILES= bin/wmsmixer -PORTDOCS= README - -OPTIONS_DEFINE= DOCS - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/wmsmixer ${STAGEDIR}${PREFIX}/bin - -do-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/audio/wmsmixer/distinfo b/audio/wmsmixer/distinfo deleted file mode 100644 index c1f6ac3d1532..000000000000 --- a/audio/wmsmixer/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (wmsmixer-0.5.1.tar.gz) = 168b0f608e4da9fab078845652a8bbffcfeabbcdce949faf597ba9a17c4bb556 -SIZE (wmsmixer-0.5.1.tar.gz) = 33085 diff --git a/audio/wmsmixer/files/patch-Imakefile b/audio/wmsmixer/files/patch-Imakefile deleted file mode 100644 index 5f9b582ac665..000000000000 --- a/audio/wmsmixer/files/patch-Imakefile +++ /dev/null @@ -1,8 +0,0 @@ ---- Imakefile.orig 2003-04-12 22:08:16 UTC -+++ Imakefile -@@ -12,4 +12,4 @@ LD = c++ -m32 -nostdlib - SRCS = wmsmixer.cc - OBJS = wmsmixer.o - --ComplexProgramTarget(wmsmixer) -+ComplexProgramTargetNoMan(wmsmixer) diff --git a/audio/wmsmixer/files/patch-mixctl.h b/audio/wmsmixer/files/patch-mixctl.h deleted file mode 100644 index 9a27cf4c6dce..000000000000 --- a/audio/wmsmixer/files/patch-mixctl.h +++ /dev/null @@ -1,11 +0,0 @@ ---- mixctl.h.orig 2001-03-02 10:32:05 UTC -+++ mixctl.h -@@ -19,7 +19,7 @@ - #include <soundcard.h> - #endif - #ifdef __FreeBSD__ --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - #endif - #ifdef __linux__ - #include <linux/soundcard.h> diff --git a/audio/wmsmixer/files/patch-wmsmixer.cc b/audio/wmsmixer/files/patch-wmsmixer.cc deleted file mode 100644 index dc388a529c67..000000000000 --- a/audio/wmsmixer/files/patch-wmsmixer.cc +++ /dev/null @@ -1,11 +0,0 @@ ---- wmsmixer.cc.orig 2003-04-12 22:08:58 UTC -+++ wmsmixer.cc -@@ -547,7 +547,7 @@ void readFile() - } - } - --void checkVol(bool forced=true) -+void checkVol(bool forced) - { - mixctl->readVol(channel[curchannel], true); - int nl=mixctl->readLeft(channel[curchannel]); diff --git a/audio/wmsmixer/pkg-descr b/audio/wmsmixer/pkg-descr deleted file mode 100644 index 7f6180f28850..000000000000 --- a/audio/wmsmixer/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Improved version of wmmixer, an audio mixer for the WindowMaker dock. - -WWW: http://www.dockapps.org/file.php/id/63 diff --git a/audio/xmms2-scrobbler/Makefile b/audio/xmms2-scrobbler/Makefile deleted file mode 100644 index a3532963d85f..000000000000 --- a/audio/xmms2-scrobbler/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# Created by: Alexander Botero-Lowry <alex@foxybanana.com> -# $FreeBSD$ - -PORTNAME= xmms2-scrobbler -PORTVERSION= 0.4.0 -PORTREVISION= 5 -CATEGORIES= audio -MASTER_SITES= ftp://ftp.code-monkey.de/pub/${PORTNAME}/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Last.fm submission client for XMMS2 - -LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -LIB_DEPENDS= libxmmsclient.so:audio/xmms2 \ - libcurl.so:ftp/curl - -USES= gmake pkgconfig -LDFLAGS+= -lpthread - -PLIST_FILES= bin/xmms2-scrobbler -PORTDOCS= README - -SUB_FILES= pkg-message - -OPTIONS_DEFINE= APIFIX DOCS -OPTIONS_DEFAULT= APIFIX - -APIFIX_DESC= Apply fix for Last.fm API 1.x -APIFIX_EXTRA_PATCHES= ${FILESDIR}/extra-patch-xmms2-scrobbler.c - -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xmms2-scrobbler - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/audio/xmms2-scrobbler/distinfo b/audio/xmms2-scrobbler/distinfo deleted file mode 100644 index f33f29a58a89..000000000000 --- a/audio/xmms2-scrobbler/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (xmms2-scrobbler-0.4.0.tar.gz) = 7aed1670f381463e44466083f2e49119636e96005b9b93899edf79d613a2d2bc -SIZE (xmms2-scrobbler-0.4.0.tar.gz) = 19831 diff --git a/audio/xmms2-scrobbler/files/extra-patch-xmms2-scrobbler.c b/audio/xmms2-scrobbler/files/extra-patch-xmms2-scrobbler.c deleted file mode 100644 index 84380c0cf4d3..000000000000 --- a/audio/xmms2-scrobbler/files/extra-patch-xmms2-scrobbler.c +++ /dev/null @@ -1,196 +0,0 @@ ---- src/xmms2-scrobbler.c.orig 2009-12-30 17:04:01 UTC -+++ src/xmms2-scrobbler.c -@@ -140,93 +140,126 @@ signal_handler (int sig) - keep_running = false; - } - --static size_t --handle_handshake_reponse (void *rawptr, size_t size, size_t nmemb, -- void *data) --{ -- Server *server = data; -- size_t total = size * nmemb, left = total; -- char *ptr = rawptr, *newline; -- int len; -+char * get_line_from_response (char *answer, int lfpos) { -+ int lfpositions[10]; -+ int i, k, lfcounter, start, end, resultlen; - -- newline = memchr (ptr, '\n', left); -- if (!newline) { -- fprintf (stderr, "no newline (1)\n"); -- return total; -- } -+ char *result; - -- *newline = 0; -+#ifdef DEBUG -+ fprintf (stderr, "DEBUG: got string: %s\n", answer); -+#endif - -- if (strcmp (ptr, "OK")) { -- fprintf (stderr, "handshake failed\n"); -- return total; -+ /* marking the string */ -+ i = 0; -+ lfcounter = 0; -+ while (answer[i] != '\0') { -+ if (answer[i] == '\n' && lfcounter < 10) { -+ lfpositions[lfcounter] = i; -+ lfcounter++; -+#ifdef DEBUG -+ fprintf (stderr, "DEBUG: got LF location: %d\n", i); -+#endif - } -+ i++; -+ } -+ /* getting the actual line */ -+ /* getting the size of it */ - -- len = newline - ptr + 1; -+ start = lfpos - 1; -+ end = lfpos; -+#ifdef DEBUG -+ if (start >= 0) { -+ fprintf (stderr, "DEBUG: requested line starts at char no. %d and ends at %d.\n", lfpositions[start], lfpositions[end]); -+ } else { -+ fprintf (stderr, "DEBUG: requested line starts at the start of string and ends at char no. %d.\n", lfpositions[end]); -+ } -+#endif - -- left -= len; -- ptr += len; -+ if (start >= 0) { -+ resultlen = lfpositions[end] - lfpositions[start] + 1; -+ } else { -+ resultlen = lfpositions[end] + 1; -+ } -+#ifdef DEBUG -+ fprintf (stderr, "DEBUG: requested line will need %d bytes.\n", resultlen); -+#endif -+ result = malloc(resultlen); -+ bzero(result, resultlen); - -- newline = memchr (ptr, '\n', left); -- if (!newline) { -- fprintf (stderr, "no newline (1)\n"); -- return total; -+ /* bytecopying the line */ -+#ifdef DEBUG -+ if (start >= 0) { -+ fprintf (stderr, "DEBUG: copying the string from char no. %d to %d.\n", lfpositions[start], lfpositions[end]); -+ } else { -+ fprintf (stderr, "DEBUG: copying the string from the beginning to char no. %d.\n", lfpositions[end]); -+ } -+#endif -+ k = 0; -+ if (start >= 0) { -+ i = lfpositions[start]; -+ } else { -+ i = 0; -+ } -+ while (i < lfpositions[end]) { -+ /* don't copy LF themselves */ -+ if (answer[i] != '\n') { -+ result[k] = answer[i]; -+ k++; - } -+ i++; -+ } - -- *newline = 0; -- -- len = newline - ptr + 1; -+#ifdef DEBUG -+ fprintf (stderr, "DEBUG: returning string: %s\n", result); -+#endif -+ return(result); -+} - -- if (len > 255) { -- fprintf (stderr, "session ID is too long (%i characters)\n", len); -- return total; -- } -+static size_t -+handle_handshake_reponse (void *rawptr, size_t size, size_t nmemb, -+ void *data) -+{ -+ Server *server; -+ size_t total, left; -+ char *ptr, *status, *sessionid, *np_url, *subm_url; - -- strcpy (server->session_id, ptr); -+ server = data; -+ ptr = rawptr; -+ total = size * nmemb; -+ left = total; - -- left -= len; -- ptr += len; -+#ifdef DEBUG -+ fprintf (stderr, "DEBUG: got string \"%s\".\n", rawptr); -+#endif - -- /* now playing URL */ -- newline = memchr (ptr, '\n', left); -- if (!newline) { -- fprintf (stderr, "no newline (2)\n"); -- return total; -+ status = get_line_from_response(rawptr, 0); -+ -+ if (strcmp(status, "OK") != 0) { -+ fprintf (stderr, "WARNING: handshake failed: %s.\n", status); -+ return(total); - } - -- *newline = 0; -- -- len = newline - ptr + 1; -- -- if (len > 255) { -- fprintf (stderr, "now_playing URL is too long " -- "(%i characters)\n", len); -- return total; -+ sessionid = get_line_from_response(rawptr, 3); -+ if (strlen(sessionid) > 255) { -+ fprintf (stderr, "ERROR: session ID is too long (%ld characters).\n", strlen(sessionid)); -+ return(total); - } -+ strcpy (server->session_id, sessionid); - -- strcpy (server->np_url, ptr); -- -- left -= len; -- ptr += len; -- -- /* submission URL */ -- newline = memchr (ptr, '\n', left); -- if (!newline) { -- printf("no newline (3)\n"); -- return total; -+ np_url = get_line_from_response(rawptr, 6); -+ if (strlen(np_url) > 255) { -+ fprintf (stderr, "ERROR: nowplaying URL is too long (%ld characters).\n", strlen(np_url)); -+ return(total); - } -+ strcpy (server->np_url, np_url); - -- *newline = 0; -- -- len = newline - ptr + 1; -- -- if (len > 255) { -- fprintf (stderr, "submission URL is too long " -- "(%i characters)\n", len); -- return total; -+ subm_url = get_line_from_response(rawptr, 9); -+ if (strlen(sessionid) > 255) { -+ fprintf (stderr, "ERROR: submission URL is too long (%ld characters).\n", strlen(subm_url)); -+ return(total); - } -- -- strcpy (server->subm_url, ptr); -+ strcpy (server->subm_url, subm_url); - - fprintf (stderr, "got:\n'%s' '%s' '%s'\n", - server->session_id, server->np_url, server->subm_url); diff --git a/audio/xmms2-scrobbler/files/pkg-message.in b/audio/xmms2-scrobbler/files/pkg-message.in deleted file mode 100644 index 2c412a57bb2f..000000000000 --- a/audio/xmms2-scrobbler/files/pkg-message.in +++ /dev/null @@ -1,32 +0,0 @@ -[ -{ type: install - message: <<EOM -You need to set up XMMS2-Scrobbler's config files. -Config values that are specific to the AudioScrobbler server go in - ~/.config/xmms2/clients/xmms2-scrobbler/$SERVER_NAME/config. -You will usually have - ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config -and maybe - ~/.config/xmms2/clients/xmms2-scrobbler/librefm/config. - -These server-specific config files contain your username and password -and the URL to use: - mkdir ~/.config/xmms2/clients/xmms2-scrobbler/librefm/config - echo -e "user: foo\npassword: bar\nhandshake_url: http://post.audioscrobbler.com\n" > \ - ~/.config/xmms2/clients/xmms2-scrobbler/lastfm/config -For libre.fm, use - handshake_url: http://turtle.libre.fm. - -Optionally, if you're behind a proxy, you'll need to tell XMMS2-Scrobbler -about that proxy. This information applies to all servers and so goes in -~/.config/xmms2/clients/xmms2-scrobbler/config: - echo -e "proxy: my.proxynproxy_port: 8080\n" >> \ - ~/.config/xmms2/clients/xmms2-scrobbler/config - -~/.config is actually $XDG_CONFIG_HOME whose default value is ~/.config. - -If you wish for XMMS2Scrobbler to start when you start xmms2d, make a -symbolic link from %%PREFIX%%/bin/xmms2-scrobbler to ~/.xmms2/startup.d/ -EOM -} -] diff --git a/audio/xmms2-scrobbler/pkg-descr b/audio/xmms2-scrobbler/pkg-descr deleted file mode 100644 index 4b496dd27ae5..000000000000 --- a/audio/xmms2-scrobbler/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -XMMS2-Scrobbler is a client for XMMS2 that feeds information about the songs -you played to last.fm, formerly known as AudioScrobbler. - -WWW: http://code-monkey.de/pages/xmms2-scrobbler |