*/*: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2018-12-22 02:09:10 +01:00
parent 611b8e818f
commit 31e1256631
1071 changed files with 623 additions and 29726 deletions

View File

@ -212,11 +212,9 @@
SUBDIR += ghostess
SUBDIR += giada
SUBDIR += gimmix
SUBDIR += gkrellmms2
SUBDIR += gkrellmvolume2
SUBDIR += glurp
SUBDIR += gmidimonitor
SUBDIR += gmixer
SUBDIR += gmpc
SUBDIR += gmpc-alarm
SUBDIR += gmpc-albumview
@ -245,7 +243,6 @@
SUBDIR += goattracker
SUBDIR += gogglesmm
SUBDIR += goobox
SUBDIR += gqmpeg
SUBDIR += gqradio
SUBDIR += gradio
SUBDIR += gramofile
@ -514,7 +511,6 @@
SUBDIR += maplay
SUBDIR += mate-media
SUBDIR += mbox
SUBDIR += mcplay
SUBDIR += mctoolame-decoder
SUBDIR += mctoolame-encoder
SUBDIR += mda-lv2
@ -731,7 +727,6 @@
SUBDIR += rhvoice
SUBDIR += rhvoice-dictionary
SUBDIR += rhythmbox
SUBDIR += rio500
SUBDIR += rioutil
SUBDIR += ripit
SUBDIR += ripperx
@ -756,7 +751,6 @@
SUBDIR += sc3-plugins
SUBDIR += schismtracker
SUBDIR += screcord-lv2
SUBDIR += scrobbler
SUBDIR += sdl2_mixer
SUBDIR += sdl_mixer
SUBDIR += sdl_sound
@ -789,7 +783,6 @@
SUBDIR += soundgrab
SUBDIR += soundkonverter
SUBDIR += soundtouch
SUBDIR += soundtracker
SUBDIR += sox
SUBDIR += spc2it
SUBDIR += specimen
@ -880,7 +873,6 @@
SUBDIR += webrtc-audio-processing
SUBDIR += whysynth
SUBDIR += wildmidi
SUBDIR += wmalbum
SUBDIR += wmix
SUBDIR += wmmp
SUBDIR += wmrecord
@ -901,27 +893,8 @@
SUBDIR += xmix
SUBDIR += xmixer
SUBDIR += xmmix
SUBDIR += xmms-ahx
SUBDIR += xmms-curses
SUBDIR += xmms-faad
SUBDIR += xmms-festalon
SUBDIR += xmms-flac
SUBDIR += xmms-gbsplay
SUBDIR += xmms-ladspa
SUBDIR += xmms-mailnotify
SUBDIR += xmms-nas
SUBDIR += xmms-nsf
SUBDIR += xmms-sapplug
SUBDIR += xmms-scrobbler
SUBDIR += xmms-sexypsf
SUBDIR += xmms-shn
SUBDIR += xmms-volnorm
SUBDIR += xmms-wavpack
SUBDIR += xmms-xf86audio
SUBDIR += xmms-xymms
SUBDIR += xmms2
SUBDIR += xmms2-scrobbler
SUBDIR += xmmsctrl
SUBDIR += xmp
SUBDIR += xmradio
SUBDIR += xoscope

View File

@ -30,7 +30,8 @@ RUN_DEPENDS= xdg-open:devel/xdg-utils
EXTRACT_BEFORE_ARGS=\
-s '!\(/Clarinet in B\).*\(\.denemo\)$$!\1b\2!p' -xf
USES= bison desktop-file-utils gettext gmake pkgconfig
USES= bison compiler:c++11-lang desktop-file-utils gettext gmake \
pkgconfig
USE_GNOME= intltool librsvg2 libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-jack \

View File

@ -1,39 +0,0 @@
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
# $FreeBSD$
PORTNAME= gkrellmms
PORTVERSION= 2.1.22
PORTREVISION= 13
CATEGORIES= audio
MASTER_SITES= http://gkrellm.luon.net/files/
PKGNAMESUFFIX= 2
MAINTAINER= ume@FreeBSD.org
COMMENT= GKrellM XMMS Plugin
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2
LIB_DEPENDS= libxmms.so:multimedia/xmms
RUN_DEPENDS= gkrellm:sysutils/gkrellm2
WRKSRC= ${WRKDIR}/gkrellmms
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmms.so \
share/locale/da/LC_MESSAGES/gkrellmms.mo \
share/locale/es/LC_MESSAGES/gkrellmms.mo \
share/locale/fr/LC_MESSAGES/gkrellmms.mo \
share/locale/nl/LC_MESSAGES/gkrellmms.mo \
share/locale/ru/LC_MESSAGES/gkrellmms.mo
USES= gettext gmake pkgconfig
MAKE_ENV+= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins \
LOCALEDIR=${PREFIX}/share/locale \
enable_nls=1
pre-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gkrellmms-2.1.22.tar.gz) = cd84d6678740374567b01b69a095fc99ec7a96e10d7315c4416a8de590770e7f
SIZE (gkrellmms-2.1.22.tar.gz) = 46903

View File

@ -1,45 +0,0 @@
Index: Makefile
--- Makefile.orig 2005-01-21 17:02:17 UTC
+++ Makefile
@@ -3,8 +3,8 @@
# You may want to rename the binary-file.
BIN_FILENAME = gkrellmms
-GTK_INCLUDE ?= `pkg-config gtk+-2.0 --cflags`
-GTK_LIB ?= `pkg-config gtk+-2.0 --libs`
+GTK_INCLUDE ?= `pkg-config gtk+-2.0 gthread-2.0 --cflags`
+GTK_LIB ?= `pkg-config gtk+-2.0 gthread-2.0 --libs`
IMLIB_INCLUDE ?=
IMLIB_LIB ?=
@@ -18,9 +18,9 @@ endif
PLUGIN_DIR ?= /usr/local/lib/gkrellm2/plugins
-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
+FLAGS = -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
-LFLAGS = -shared -lpthread
+LFLAGS = -shared
ifdef USE_BMP
FLAGS += -DUSE_BMP
@@ -35,8 +35,7 @@ PACKAGE ?= gkrellmms
FLAGS += -DPACKAGE="\"$(PACKAGE)\""
export PACKAGE LOCALEDIR
-CC ?= gcc
-CC += $(CFLAGS) $(FLAGS)
+CFLAGS += $(FLAGS)
INSTALL = install -c
INSTALL_PROGRAM = $(INSTALL) -s
@@ -47,7 +46,7 @@ all: $(BIN_FILENAME).so
(cd po && ${MAKE} all )
$(BIN_FILENAME).so: $(OBJS)
- $(CC) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
+ $(CC) $(CFLAGS) $(OBJS) -o $(BIN_FILENAME).so $(LFLAGS) $(LIBS)
clean:
rm -f *.o core *.so* *.bak *~

View File

@ -1,4 +0,0 @@
GKrellMMS: GKrellM XMMS Plugin
A plugin for GKrellM, which allows you to control XMMS from within GKrellM.
WWW: http://gkrellm.luon.net/gkrellmms.phtml

View File

@ -1,26 +0,0 @@
# Created by: Chris Piazza <cpiazza@FreeBSD.org>
# $FreeBSD$
PORTNAME= gmixer
PORTVERSION= 0.98c
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= LOCAL/cpiazza
MAINTAINER= ports@FreeBSD.org
COMMENT= X11/gtk+ mixer control
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
ALL_TARGET= gmixer
USES= pkgconfig
USE_GNOME= gtk12
PLIST_FILES= bin/gmixer share/pixmaps/gmixer.xpm
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gmixer ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/icons/gmixer.xpm ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gmixer-0.98c.tar.gz) = 73ffbd6eafebc65222695ddec90e9ed5f5c8b2a32901279aa851a6bf499e1e70
SIZE (gmixer-0.98c.tar.gz) = 5663

View File

@ -1,14 +0,0 @@
--- Makefile.orig 1999-02-21 10:18:50 UTC
+++ Makefile
@@ -1,9 +1,9 @@
-CC = gcc
+CC ?= gcc
#CC = egcs
#FLAGS = -g
gmixer: gmixer.c
- $(CC) $(FLAGS) `gtk-config --cflags` `gtk-config --libs` gmixer.c -o gmixer
+ $(CC) $(CFLAGS) `$(GTK_CONFIG) --cflags` `$(GTK_CONFIG) --libs` gmixer.c -o gmixer
install: gmixer
install -s -m 755 -o 0 -g 0 gmixer /usr/X11R6/bin/
install -m 644 -o 0 -g 0 icons/gmixer.xpm /usr/share/pixmaps/

View File

@ -1,51 +0,0 @@
--- gmixer.c.orig 1999-02-22 16:11:10 UTC
+++ gmixer.c
@@ -1,10 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <strings.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <gtk/gtk.h>
#include "icons/gmixer.xpm"
#include "icons/mix_logo.xpm"
@@ -378,6 +379,27 @@ void usage(char *prog_name)
exit(0);
}
+void fill_volctrls ()
+{
+ int i;
+ char str[3];
+
+ /* if you raise upper limit beyond 100, you have to make str longer. */
+ for (i = 17; i < SOUND_MIXER_NRDEVICES && i < 100 ; i++ )
+ {
+ snprintf (str, 3, "%2d", i);
+ volctrls[i].mixer_id = (gpointer) str;
+ volctrls[i].vol_widget = NULL;
+ volctrls[i].right_widget = NULL;
+ volctrls[i].enable_widget = NULL;
+ volctrls[i].rec_widget = NULL;
+ volctrls[i].stereo_widget = NULL;
+ volctrls[i].vol_left = NULL;
+ volctrls[i].vol_right = NULL;
+ volctrls[i].xpm = mix_unknown_xpm;
+ }
+}
+
int main (int argc, char *argv[])
{
char *homedir;
@@ -385,6 +407,7 @@ int main (int argc, char *argv[])
char *default_dev = "/dev/mixer";
int i;
g_print ("gmixer 0.98 (22.2.1999)\nCopyleft (C) 1998,1999 - Sergey Kiselev <sergey@junior.technion.ac.il>\n");
+ fill_volctrls();
homedir = getenv("HOME");
snprintf (rcfile, NAME_LEN, "%s/.gmixerrc", homedir);
mixer_dev = default_dev;

View File

@ -1,2 +0,0 @@
gmixer is an X11/gtk+ mixer control program. Features a clean interface
and the ability to auto load/save a configuration.

View File

@ -1,40 +0,0 @@
# Created by: Vanilla Pooh Shu <vanilla@FreeBSD.org>
# $FreeBSD$
PORTNAME= gqmpeg
PORTVERSION= 0.20.0
PORTREVISION= 12
PORTEPOCH= 2
CATEGORIES+= audio
MASTER_SITES= SF
MAINTAINER?= lyngbol@wheel.dk
COMMENT?= Another gtk-based MP3 frontend
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
OPTIONS_DEFINE= MPG321
MPG321_DESC= use mpg321 instead of mpg123
LIB_DEPENDS= libpng.so:graphics/png
RUN_DEPENDS= ogg123:audio/vorbis-tools \
xmp:audio/xmp
MPG321_RUN_DEPENDS= mpg321:audio/mpg321
MPG321_RUN_DEPENDS_OFF= mpg123:audio/mpg123
USE_GNOME= gdkpixbuf
USES= gettext libtool
GNU_CONFIGURE= yes
CONFIGURE_ENV= ac_cv_path_GNOME_CONFIG=no
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -E -e \
's/^(#define MPG123_BINARY "mpg)123"/\1321"/' \
${WRKSRC}/src/io_mpg123.c
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (gqmpeg-0.20.0.tar.gz) = 42ea49ee14d0c0538469d5e346badbdccd4353229b9a15096c10ec5bd041b793
SIZE (gqmpeg-0.20.0.tar.gz) = 966991

View File

@ -1,31 +0,0 @@
--- configure.orig 2003-02-02 04:27:15 UTC
+++ configure
@@ -4027,10 +4027,9 @@ else
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
+return (int) gettext ("") + _nl_msg_cat_cntr
; return 0; }
EOF
if { (eval echo configure:4037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -4416,7 +4415,6 @@ else
#include "confdefs.h"
#include <libintl.h>
extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
@@ -4424,7 +4422,7 @@ extern
const char *_nl_expand_alias ();
int main() {
bindtextdomain ("", "");
-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)
+return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
; return 0; }
EOF
if { (eval echo configure:4431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then

View File

@ -1,11 +0,0 @@
--- src/ui_pixbuf_save.c.orig 2002-03-09 19:00:13 UTC
+++ src/ui_pixbuf_save.c
@@ -86,7 +86,7 @@ gboolean pixbuf_to_file_as_png (GdkPixbu
return FALSE;
}
- if (setjmp (png_ptr->jmpbuf))
+ if (setjmp (png_jmpbuf (png_ptr)))
{
png_destroy_write_struct (&png_ptr, &info_ptr);
fclose (handle);

View File

@ -1,4 +0,0 @@
A GTK-based mp3 front-end. Uses mpg123 for decoding and supports
winamp themes.
WWW: http://gqmpeg.sourceforge.net/

View File

@ -1,77 +0,0 @@
bin/gqmpeg
bin/gqmpeg-shoutcast-plugin.sh
man/man1/gqmpeg.1.gz
share/gqmpeg/skins/README
share/gqmpeg/skins/SKIN-SPECS
share/gqmpeg/skins/mrclean/blue-handle-24.png
share/gqmpeg/skins/mrclean/blue2-about.png
share/gqmpeg/skins/mrclean/blue2-round-shadowed.png
share/gqmpeg/skins/mrclean/blue2-soft-round-7.png
share/gqmpeg/skins/mrclean/blue2-soft-round-logo.png
share/gqmpeg/skins/mrclean/btn-expand-toggle-20-h.png
share/gqmpeg/skins/mrclean/btn-rect-clr-32-eject.png
share/gqmpeg/skins/mrclean/btn-rect-clr-32-stop.png
share/gqmpeg/skins/mrclean/btn-rect-clr-32r-pause.png
share/gqmpeg/skins/mrclean/btn-rect-clr-32r-play.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-16-left.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-16-plus.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-16-right.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-01.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-02.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-03.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-04.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-05.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-06.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-07.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-08.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-09.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-10.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-dn.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-eye.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-left.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-list.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-max.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-min.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-right.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-toggle.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-up.png
share/gqmpeg/skins/mrclean/btn-rnd-clr-26-x.png
share/gqmpeg/skins/mrclean/bubble-fly.png
share/gqmpeg/skins/mrclean/bubble-slider-16-h.png
share/gqmpeg/skins/mrclean/bubble-slider-16-v.png
share/gqmpeg/skins/mrclean/dial-ball2.png
share/gqmpeg/skins/mrclean/dial-clip2.png
share/gqmpeg/skins/mrclean/dial-eye.png
share/gqmpeg/skins/mrclean/digit-digital-15-aa.png
share/gqmpeg/skins/mrclean/digit-digital-24-aa.png
share/gqmpeg/skins/mrclean/focus-rect-border-1.png
share/gqmpeg/skins/mrclean/focus-rect-border-7b.png
share/gqmpeg/skins/mrclean/item-ab-static.png
share/gqmpeg/skins/mrclean/item-clear-load-aa.png
share/gqmpeg/skins/mrclean/item-colon-15.png
share/gqmpeg/skins/mrclean/item-colon-24.png
share/gqmpeg/skins/mrclean/item-pda-minus.png
share/gqmpeg/skins/mrclean/item-pda-random-static.png
share/gqmpeg/skins/mrclean/item-pda-repeat-static.png
share/gqmpeg/skins/mrclean/item-repeat1-static.png
share/gqmpeg/skins/mrclean/item-volume-static.png
share/gqmpeg/skins/mrclean/list-clear-back.png
share/gqmpeg/skins/mrclean/list-clear-flags.png
share/gqmpeg/skins/mrclean/list-clear.png
share/gqmpeg/skins/mrclean/list-menu-flags.png
share/gqmpeg/skins/mrclean/list-row-clear.png
share/gqmpeg/skins/mrclean/skindata
share/gqmpeg/skins/mrclean/skindata_about
share/gqmpeg/skins/mrclean/skindata_compact
share/gqmpeg/skins/mrclean/skindata_extra
share/gqmpeg/skins/mrclean/skindata_flyby
share/gqmpeg/skins/mrclean/skindata_menu
share/gqmpeg/skins/mrclean/skindata_playlist
share/gqmpeg/skins/mrclean/skindata_submenu
share/locale/cs/LC_MESSAGES/gqmpeg.mo
share/locale/de/LC_MESSAGES/gqmpeg.mo
share/locale/fi/LC_MESSAGES/gqmpeg.mo
share/locale/fr/LC_MESSAGES/gqmpeg.mo
share/locale/ja/LC_MESSAGES/gqmpeg.mo
share/locale/pt_BR/LC_MESSAGES/gqmpeg.mo
share/locale/zh_TW/LC_MESSAGES/gqmpeg.mo

View File

@ -24,7 +24,8 @@ USE_GNOME= cairo
USE_XORG= x11
USE_BINUTILS= yes # linking needs some GNU features, fails on 12 without this, see https://github.com/brummer10/GxPlugins.lv2/issues/9
LDFLAGS+= -B ${LOCALBASE}/bin/ld # Use ld provided by USE_BINUTILS for GNU features, otherwise GNU ld isn't called
MAKE_ENV= PATH=${LOCALBASE}/bin:/usr/bin:/bin # 'ld' needs to be first in the path on 12, -B{path} isn't sufficient for some reason
LDFLAGS+= -B${LOCALBASE}/bin # Use ld provided by USE_BINUTILS for GNU features, otherwise GNU ld isn't called
.for x in GxAxisFace.lv2:c370e75 GxBottleRocket.lv2:8d1a914 GxDOP250.lv2:574b709 GxFz1b.lv2:d204796 GxFz1s.lv2:973d6f7 \
GxGuvnor.lv2:6082bcf GxHeathkit.lv2:bb73b24 GxHotBox.lv2:db17513 GxHyperion.lv2:9b91395 GxKnightFuzz.lv2:0d9518f \

View File

@ -21,6 +21,11 @@ USE_LDCONFIG= yes
CXXFLAGS+= -Wno-implicit-fallthrough
.if exists(/usr/lib/libstdc++.so)
CXXFLAGS+= -Wno-unused-function -Wno-class-memaccess -Wno-catch-value
CFLAGS+= -Wno-format-overflow
.endif
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/cmake/modules/*.cmake

View File

@ -1,36 +0,0 @@
# Created by: Charlie Kester <corky1951@comcast.net>
# $FreeBSD$
PORTNAME= mcplay
DISTVERSION= 0.3i
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.yahuxo.de/${PORTNAME}/ \
http://www.sourcefiles.org/Multimedia/MP3/Front_End/
MAINTAINER= ports@FreeBSD.org
COMMENT= Curses based front-end to various audio players
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2
USES= ncurses
USE_GNOME= glib12
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
post-patch:
.for i in mcplay.c screen.c
@${REINPLACE_CMD} -e \
's|<sys/termios.h>|<termios.h>|' ${WRKSRC}/${i}
.endfor
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} \
${STAGEDIR}${PREFIX}/bin)
(cd ${FILESDIR} && ${INSTALL_MAN} ${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1)
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (mcplay-0.3i.tar.gz) = 1bfbc6f3f5b263de0d1939cd19381da83a667d16275dcbfefa9fdbf9cd11ee93
SIZE (mcplay-0.3i.tar.gz) = 102592

View File

@ -1,65 +0,0 @@
.TH MCPLAY "1" "March 2010" "mcplay 0.3i" "User Commands"
.SH NAME
mcplay \- A curses based front-end for various audio players
.SH SYNOPSIS
.B mcplay
[\fIoptions\fR] [\fIfile|dir|playlist\fR]...
.SH DESCRIPTION
.B mcplay
is a reimplementation in C of the well-known python program 'cplay'.
.PP
The following players are supported: mpg123 ogg123 sox
.PP
Files, Directories and Playlist\-Files (m3u\-files) given as arguments on the
commandline will be added to the internal playlist.
.SH OPTIONS
.TP
\fB\-a\fR, \fB\-\-aggressive\fR
Increase the priority of the players (if possible).
.TP
\fB\-c\fR, \fB\-\-color\fR
Run program in colored mode (if available).
.TP
\fB\-l\fR, \fB\-\-logfile\fR
Log messages to this file. [default: /tmp/mcplay.log]
.TP
\fB\-p\fR, \fB\-\-play\fR
Start playing the playlist.
.TP
\fB\-r\fR, \fB\-\-repeat\fR
Start in repeat playlist mode.
.TP
\fB\-R\fR, \fB\-\-random\fR
Start in random playlist mode.
.TP
\fB\-\-version\fR
Print version information.
.TP
\fB\-\-copyright\fR
Print copyright information.
.TP
\fB\-h\fR, \fB\-\-help\fR
Shows this text.
.PP
Press 'h' while mcplay is running for help on keys.
.SH SEE ALSO
Website: http://www.yahuxo.de/mcplay/
.SH AUTHOR
Tobias Rapp <yahuxo at gmx.de>
.SH LICENSE
Copyright (C) 2002 Tobias Rapp.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, write to the Free Software
Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

View File

@ -1,47 +0,0 @@
--- Makefile.orig 2002-04-28 13:30:35 UTC
+++ Makefile
@@ -13,7 +13,7 @@ OGG_CFLAGS=-DHAVE_OGG123
SOX_CFLAGS=-DHAVE_SOX
#uncomment _one_ of these for midi support
-MID_CFLAGS=-DHAVE_DRVMIDI
+#MID_CFLAGS=-DHAVE_DRVMIDI
#MID_CFLAGS=-DHAVE_PLAYMIDI
#uncomment these two lines if you have lirc
@@ -24,7 +24,7 @@ MID_CFLAGS=-DHAVE_DRVMIDI
#LOG_CFLAGS=-DLOG_DIR_S=\"/tmp\"
#set install dirs here
-INSTDIR=/usr/local
+INSTDIR=${PREFIX}
BINDIR=$(INSTDIR)/bin
#####################################################################
@@ -33,7 +33,7 @@ BINDIR=$(INSTDIR)/bin
PROGNAME=mcplay
VERSION=0.3i
DISTDIR=$(PROGNAME)-$(VERSION)
-CC=gcc
+CC?=gcc
TARGET=mcplay
OBJECTS=mcplay.o \
screen.o \
@@ -48,7 +48,7 @@ OBJECTS=mcplay.o \
DATA=Makefile COPYING
-MY_CFLAGS=-Wall -g -I. -DPROGNAME_S=\"$(PROGNAME)\" -DVERSION_S=\"$(VERSION)\" $(LOG_CFLAGS)
+MY_CFLAGS=-Wall -I. -DPROGNAME_S=\"$(PROGNAME)\" -DVERSION_S=\"$(VERSION)\" $(LOG_CFLAGS)
MY_LFLAGS=
PLAYER_CFLAGS=$(MPG_CFLAGS) $(OGG_CFLAGS) $(SOX_CFLAGS) $(MID_CFLAGS)
@@ -60,7 +60,7 @@ GLIB_LFLAGS=`glib-config --libs`
NCURSES_CFLAGS=
NCURSES_LFLAGS=-lncurses
-CFLAGS=$(MY_CFLAGS) $(PLAYER_CFLAGS) $(GLIB_CFLAGS) $(NCURSES_CFLAGS) $(LIRC_CFLAGS)
+CFLAGS+=$(MY_CFLAGS) $(PLAYER_CFLAGS) $(GLIB_CFLAGS) $(NCURSES_CFLAGS) $(LIRC_CFLAGS)
LFLAGS=$(MY_LFLAGS) $(PLAYER_LFLAGS) $(GLIB_LFLAGS) $(NCURSES_LFLAGS) $(LIRC_LFLAGS)
all: $(TARGET)

View File

@ -1,11 +0,0 @@
--- config.h.orig 2002-04-28 13:30:35 UTC
+++ config.h
@@ -26,7 +26,7 @@
#define LOGFILE_S LOGDIR_S""G_DIR_SEPARATOR_S""PROGNAME_S".log"
/* if you have linux */
-#include <linux/limits.h>
+#include <sys/limits.h>
/* else */
/* #define PATH_MAX 1000 */
/* #define NAME_MAX 200 */

View File

@ -1,11 +0,0 @@
--- mixer.c.orig 2002-04-28 13:30:35 UTC
+++ mixer.c
@@ -7,7 +7,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <errno.h>
#include <string.h>

View File

@ -1,17 +0,0 @@
--- screen.c.orig 2002-04-28 13:30:35 UTC
+++ screen.c
@@ -275,9 +275,13 @@ void screen_message( ScreenData *data, g
gchar *tmp, *str;
va_start(az, fmt);
- str = g_strdup_vprintf(fmt, az);
+ if ( fmt != NULL )
+ str = g_strdup_vprintf(fmt, az);
va_end(az);
+ if ( fmt == NULL )
+ return;
+
if( data->nmsg >= 0 )
{
tmp = g_strdup_printf("%*.*s", -1*(data->cols-7), data->cols-7, str);

View File

@ -1,10 +0,0 @@
mcplay is a curses based front-end for various audio players. It is a C
language reimplementation of the well-known Python program, `cplay'.
Supported players currently include:
- mpg123
- ogg123
- sox
WWW: http://www.yahuxo.de/mcplay/

View File

@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= mixxx
DISTVERSION= 2.1.5
PORTREVISION= 2
DISTVERSIONPREFIX= release-
DISTVERSION= 2.1.5
PORTREVISION= 3
CATEGORIES= audio
MAINTAINER= acm@FreeBSD.org
@ -13,9 +13,6 @@ COMMENT= DJ mixing application
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2019-03-15
BROKEN_aarch64= fails to compile: Exception("invalid machine type")
BROKEN_powerpc64= fails to configure: unmet dependencies: Could not find libprotobuf, libchromaprint, libmp4, and libwavpack
@ -37,7 +34,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libtag.so:audio/taglib \
libprotobuf.so:devel/protobuf
USES= compiler:c++11-lang iconv qt:5 pkgconfig scons
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
@ -112,5 +109,6 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} Mixxx-Manual.pdf \
${STAGEDIR}${DOCSDIR}
@${FIND} ${STAGEDIR}${PREFIX}/lib/mixxx/plugins/soundsource -type d -empty -delete
.include <bsd.port.mk>

View File

@ -2,4 +2,4 @@ Mixxx is software for DJ'ing. You can use wave based audio files, Ogg Vorbis
and MP3 files as audio input. Mixxx can be controlled through the GUI and
with external controllers including MIDI devices, joysticks, and more.
WWW: http://www.mixxx.org/
WWW: https://mixxx.org/

File diff suppressed because it is too large Load Diff

View File

@ -20,13 +20,10 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= XMMS MP3 OGG FLAC NLS
OPTIONS_DEFINE= MP3 OGG FLAC NLS
OPTIONS_DEFAULT= MP3
OPTIONS_SUB= yes
XMMS_DESC= XMMS plugin
XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms
XMMS_CONFIGURE_ENABLE= xmms
MP3_RUN_DEPENDS+= madplay:audio/madplay \
lame:audio/lame
OGG_RUN_DEPENDS= oggdec:audio/vorbis-tools

View File

@ -3,6 +3,5 @@ bin/normalize-mp3
bin/normalize-ogg
%%NLS%%share/locale/en_GB/LC_MESSAGES/normalize.mo
%%NLS%%share/locale/fr/LC_MESSAGES/normalize.mo
%%XMMS%%lib/xmms/Effect/librva.so
man/man1/normalize-mp3.1.gz
man/man1/normalize.1.gz

View File

@ -1,31 +0,0 @@
# Created by: Kazumasa Nishizawa <k_nishizawa@anet.ne.jp>
# $FreeBSD$
PORTNAME= rio500
PORTVERSION= 0.7
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities for Diamond Rio500
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= glib12
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-devicepath='/dev' \
--with-deviceentry='urio0' \
--with-id3support
post-patch:
${REINPLACE_CMD} -e "s,byteswap.h,sys/endian.h," \
${WRKSRC}/lib/libfon.c \
${WRKSRC}/lib/librio500.c
${REINPLACE_CMD} -e "s,getopt.h,," ${WRKSRC}/include/Makefile.in
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (rio500-0.7.tar.gz) = 7a678571c70829386c3d4e042e709ae7036c50227c1c7efa8e9d535bef244f5f
SIZE (rio500-0.7.tar.gz) = 169143

View File

@ -1,12 +0,0 @@
--- include/libfon.h.orig 2000-05-21 23:01:46 UTC
+++ include/libfon.h
@@ -34,6 +34,9 @@
#define MZ_HEADER_MAGIC 0x5a4d
#define NE_HEADER_MAGIC 0x454e
+#define bswap_16(x) (be16toh(x))
+#define bswap_32(x) (be32toh(x))
+
typedef struct {
uint16_t magic;
uint16_t dummy[29]; /* MZ Header data that we want to skip */

View File

@ -1,19 +0,0 @@
--- src/rio_add_song.c.orig 2000-06-14 13:46:06 UTC
+++ src/rio_add_song.c
@@ -325,6 +325,7 @@ main(int argc, char *argv[])
send_command (rio_dev, 0x58, 0x0, card_number);
try_next:
+ break;
} /* end of add file loop */
/* Close device */
@@ -624,7 +625,7 @@ printf("%s\n", display_format);
safe_strcat(display_string, "%", DISPLAY_STRING_LEN);
break;
- default: /* No Action */
+ default: break; /* No Action */
}
} else {

View File

@ -1,5 +0,0 @@
This set of utilities and driver have been written so that Linux, FreeBSD,
OpenBSD and NetBSD users can use their Rio500 without the need to reboot
to 'that other OS'.
WWW: http://rio500.sourceforge.net/

View File

@ -1,46 +0,0 @@
bin/rio_add_directory
bin/rio_add_folder
bin/rio_add_song
bin/rio_del_song
bin/rio_font_info
bin/rio_format
bin/rio_get_song
bin/rio_stat
include/libfon.h
include/libpsf.h
include/librio500.h
include/librio500_api.h
lib/librio500.a
lib/librio500_api.a
share/rio500/fonts/6581.fon
share/rio500/fonts/Readme.txt
share/rio500/fonts/amiga.fon
share/rio500/fonts/amplitud.fon
share/rio500/fonts/atopaz.fon
share/rio500/fonts/blackout.fon
share/rio500/fonts/camels.fon
share/rio500/fonts/cbm64.fon
share/rio500/fonts/ce.fon
share/rio500/fonts/ck.nfo
share/rio500/fonts/defjam.fon
share/rio500/fonts/dynamic.fon
share/rio500/fonts/flt.fon
share/rio500/fonts/font-bitmaps.psf
share/rio500/fonts/future.fon
share/rio500/fonts/genesis.fon
share/rio500/fonts/heretic2.fon
share/rio500/fonts/hl1.fon
share/rio500/fonts/hl2.fon
share/rio500/fonts/icoin.fon
share/rio500/fonts/kung_fu.fon
share/rio500/fonts/noname.fon
share/rio500/fonts/phont.fon
share/rio500/fonts/q1c.fon
share/rio500/fonts/q2c.fon
share/rio500/fonts/qu.fon
share/rio500/fonts/sac.fon
share/rio500/fonts/shylock.fon
share/rio500/fonts/sin.fon
share/rio500/fonts/star.fon
share/rio500/fonts/trek.fon
share/rio500/fonts/triangle.fon

View File

@ -1,49 +0,0 @@
# Created by: arved
# $FreeBSD$
PORTNAME?= scrobbler
PORTVERSION= 0.3.8.1
PORTREVISION= 18
CATEGORIES= audio
MASTER_SITES= http://static.audioscrobbler.com/plugins/ \
http://www.pipian.com/stuffforchat/
DISTNAME= xmms-scrobbler-${PORTVERSION}
MAINTAINER?= novel@FreeBSD.org
COMMENT?= XMMS/BMP plugin for Audioscrobbler.com
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LIB_DEPENDS= libcurl.so:ftp/curl
CONFLICTS= xmms-scrobbler-[0-9]*
USES= gmake libtool pkgconfig tar:bzip2
USE_CSTD= gnu89
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
SLAVEDIRS= audio/xmms-scrobbler
OPTIONS_DEFINE= APE XMMS DEBUG ENCODINGS_PATCH
OPTIONS_DEFAULT=XMMS
XMMS_DESC= Enable XMMS support
ENCODINGS_PATCH_DESC= Enable ID3 tags recoding support
XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms
XMMS_PLIST_FILES= lib/xmms/General/libxmms_scrobbler.so
XMMS_CONFIGURE_ENABLE= xmms-plugin
CONFIGURE_ARGS+= --disable-bmp-plugin
DEBUG_CONFIGURE_ARGS= debug
APE_CONFIGURE_ENABLE= prefer-ape
ENCODINGS_PATCH_USES= iconv
ENCODINGS_PATCH_EXTRA_PATCHES= ${FILESDIR}/extra-encodings-patch:-p1
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms-scrobbler-0.3.8.1.tar.bz2) = e5e6f19b57935fd1823340a904829a5ce1d9387a83d05f96d98c1ca644280793
SIZE (xmms-scrobbler-0.3.8.1.tar.bz2) = 257740

View File

@ -1,245 +0,0 @@
diff -urp xmms-scrobbler-0.3.8.1/gtkstuff.c xmms-scrobbler-0.3.8.1-enc/gtkstuff.c
--- xmms-scrobbler-0.3.8.1/gtkstuff.c 2005-02-20 05:26:08.000000000 +0100
+++ xmms-scrobbler-0.3.8.1-enc/gtkstuff.c 2005-12-13 22:02:56.000000000 +0100
@@ -13,11 +13,14 @@
#endif
#include <stdio.h>
#include <string.h>
+#include <wchar.h>
#include "config.h"
#include "md5.h"
+#include "tags/include/unicode.h"
static GtkWidget *eduname,
- *edpwd;
+ *edpwd,
+ *edenc;
static int errorbox_done;
void about_show(void)
{
@@ -115,6 +118,10 @@
const char *pwd = gtk_entry_get_text(GTK_ENTRY(edpwd));
const char *uid = gtk_entry_get_text(GTK_ENTRY(eduname));
+ const char *enc = gtk_entry_get_text(GTK_ENTRY(edenc));
+
+ g_free(tags_encoding);
+ tags_encoding = g_strdup(enc);
if ((cfgfile = xmms_cfg_open_default_file())) {
@@ -130,6 +137,9 @@
xmms_cfg_write_string(cfgfile, "audioscrobbler", "password",
(char *)hexify(md5pword, sizeof(md5pword)));
}
+
+ xmms_cfg_write_string(cfgfile, "audioscrobbler", "encoding", (char *)enc);
+
#ifdef MAKE_XMMS
xmms_cfg_write_default_file(cfgfile);
#endif
@@ -147,8 +157,10 @@
*hbox,
*unhbox,
*pwhbox,
+ *enhbox,
*lblun,
*lblpw,
+ *lblen,
*frame;
ConfigFile *cfgfile;
@@ -184,9 +196,16 @@
gtk_entry_set_visibility(GTK_ENTRY(edpwd), FALSE);
gtk_box_pack_start(GTK_BOX(pwhbox), lblpw, FALSE, FALSE, 3);
gtk_box_pack_start(GTK_BOX(pwhbox), edpwd, FALSE, FALSE, 3);
+
+ enhbox = gtk_hbox_new(FALSE, 0);
+ edenc = gtk_entry_new();
+ lblen = gtk_label_new("Tags encoding");
+ gtk_box_pack_start(GTK_BOX(enhbox), lblen, FALSE, FALSE, 3);
+ gtk_box_pack_start(GTK_BOX(enhbox), edenc, FALSE, FALSE, 3);
gtk_box_pack_start(GTK_BOX(vbox), unhbox, FALSE, FALSE, 3);
gtk_box_pack_start(GTK_BOX(vbox), pwhbox, FALSE, FALSE, 3);
+ gtk_box_pack_start(GTK_BOX(vbox), enhbox, FALSE, FALSE, 3);
hbox = gtk_hbox_new(FALSE, 0);
@@ -202,17 +221,26 @@
gtk_box_pack_start(GTK_BOX(vbox), hbox, FALSE, FALSE, 3);
- frame = gtk_frame_new(" The plugin will have to be restarted for changes to take effect! ");
+ frame = gtk_frame_new(" The plugin will have to be restarted for username/password changes to take effect! ");
gtk_container_add(GTK_CONTAINER(frame), vbox);
gtk_container_add(GTK_CONTAINER(cnfdlg), frame);
if ((cfgfile = xmms_cfg_open_default_file())) {
- gchar *username = NULL;
- xmms_cfg_read_string(cfgfile, "audioscrobbler", "username",
- &username);
- if (username) {
- gtk_entry_set_text(GTK_ENTRY(eduname), username);
- g_free(username);
+ gchar *entry;
+
+ entry = NULL;
+ xmms_cfg_read_string(cfgfile, "audioscrobbler", "username", &entry);
+ if (entry) {
+ gtk_entry_set_text(GTK_ENTRY(eduname), entry);
+ g_free(entry);
+ }
+
+ entry = NULL;
+ xmms_cfg_read_string(cfgfile, "audioscrobbler", "encoding", &entry);
+ if (entry) {
+ gtk_entry_set_text(GTK_ENTRY(edenc), entry);
+ g_free(entry);
}
+
xmms_cfg_free(cfgfile);
}
diff -urp xmms-scrobbler-0.3.8.1/tags/include/unicode.h xmms-scrobbler-0.3.8.1-enc/tags/include/unicode.h
--- xmms-scrobbler-0.3.8.1/tags/include/unicode.h 2004-03-28 19:34:56.000000000 +0200
+++ xmms-scrobbler-0.3.8.1-enc/tags/include/unicode.h 2005-12-13 22:00:35.000000000 +0100
@@ -26,4 +26,6 @@ void iso88591_to_utf8(unsigned char *, s
void utf16bom_to_utf8(unsigned char *, size_t, unsigned char **);
void utf16be_to_utf8(unsigned char *, size_t, unsigned char **);
void utf16le_to_utf8(unsigned char *, size_t, unsigned char **);
+
+extern char *tags_encoding;
#endif
diff -urp xmms-scrobbler-0.3.8.1/tags/unicode.c xmms-scrobbler-0.3.8.1-enc/tags/unicode.c
--- xmms-scrobbler-0.3.8.1/tags/unicode.c 2004-03-28 20:15:37.000000000 +0200
+++ xmms-scrobbler-0.3.8.1-enc/tags/unicode.c 2005-12-13 22:31:34.000000000 +0100
@@ -21,9 +21,84 @@
#include <stdlib.h>
#include <wchar.h>
#include <string.h>
+#include <iconv.h>
+#include <glib.h>
+#include <errno.h>
#include "include/endian.h"
#include "include/unicode.h"
+char *tags_encoding = NULL;
+
+/*
+ * generic iconv function
+ * taken from gentoo libxmms - looks nice and works
+ *
+ * Tue Dec 13 22:15:06 CET 2005 - Kosma Moczek <kosmam@op.pl>
+ */
+static char* generic_iconv(const unsigned char *string, size_t insize, char *from, char *to)
+{
+ size_t outleft, outsize;
+ iconv_t cd;
+ char *out, *outptr;
+ char *input = (char *) string;
+
+ if (!string) return NULL;
+
+// g_message("converting %s from %s to %s (%u)", string, from, to, insize);
+
+ /* check if the conversion is needed */
+ if (!strcmp(from,to)) return g_strdup(string);
+
+ if ((cd = iconv_open(to, from)) == (iconv_t)-1)
+ {
+ g_warning("convert_string(): Conversion not supported. "
+ "Charsets: %s -> %s", from, to);
+ return g_strdup(string);
+ }
+
+ /* Due to a GLIBC bug, round outbuf_size up to a multiple of 4 */
+ /* + 1 for nul in case len == 1 */
+ outsize = ((insize + 3) & ~3) + 1;
+ out = g_malloc(outsize);
+ outleft = outsize - 1;
+ outptr = out;
+
+ retry:
+ if (iconv(cd, &input, &insize, &outptr, &outleft) == -1)
+ {
+ int used;
+ switch (errno)
+ {
+ case E2BIG:
+ used = outptr - out;
+ outsize = (outsize - 1) * 2 + 1;
+ out = g_realloc(out, outsize);
+ outptr = out + used;
+ outleft = outsize - 1 - used;
+ goto retry;
+ case EINVAL:
+ /* incomplete multibyte sequence (at the end of string)
+ * - just quit, nothing to do here */
+ break;
+ case EILSEQ:
+ /* Invalid sequence, try to get the
+ rest of the string */
+ input++;
+ insize--;
+ goto retry;
+ default:
+ g_warning("convert_string(): Conversion failed. "
+ "Inputstring: %s; Error: %s",
+ string, strerror(errno));
+ break;
+ }
+ }
+ *outptr = '\0';
+
+ iconv_close(cd);
+ return out;
+}
+
wchar_t *utf8_to_wchar(unsigned char *utf, size_t memsize)
{
int i, j = 0;
@@ -141,6 +216,12 @@ unsigned char *wchar_to_utf8(wchar_t *wc
void iso88591_to_utf8(unsigned char *iso, size_t memsize,
unsigned char **utf)
{
+ /* don't run recoder of setting is incomplete */
+ if (tags_encoding && *tags_encoding) {
+ *utf = generic_iconv(iso, memsize, tags_encoding, "UTF-8");
+ return;
+ }
+
int i;
wchar_t *wchar;
diff -urp xmms-scrobbler-0.3.8.1/xmms_scrobbler.c xmms-scrobbler-0.3.8.1-enc/xmms_scrobbler.c
--- xmms-scrobbler-0.3.8.1/xmms_scrobbler.c 2005-02-21 02:25:47.000000000 +0100
+++ xmms-scrobbler-0.3.8.1-enc/xmms_scrobbler.c 2005-12-13 22:53:29.000000000 +0100
@@ -59,7 +59,7 @@ static GeneralPlugin xmms_scrobbler =
static void init(void)
{
- char *username = NULL, *password = NULL;
+ char *username = NULL, *password = NULL, *encoding = NULL;
ConfigFile *cfgfile;
going = 1;
@@ -68,6 +68,8 @@ static void init(void)
&username);
xmms_cfg_read_string(cfgfile, "audioscrobbler", "password",
&password);
+ xmms_cfg_read_string(cfgfile, "audioscrobbler", "encoding",
+ &encoding);
xmms_cfg_free(cfgfile);
}
if ((!username || !password) || (!*username || !*password)) {
@@ -76,6 +78,10 @@ static void init(void)
going = 0;
return;
}
+ if (encoding) {
+ tags_encoding = g_strdup(encoding);
+ g_free(encoding);
+ }
sc_init(username, password);
g_free(username);
g_free(password);

View File

@ -1,129 +0,0 @@
--- Makefile.in.orig 2005-02-27 02:37:07 UTC
+++ Makefile.in
@@ -78,7 +78,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
-LIBS = `curl-config --libs` -lmusicbrainz -lm -lstdc++
+LIBS = `curl-config --libs` -lm
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
@@ -173,9 +173,9 @@ libxmms_scrobbler_la_SOURCES = xmms_scro
queue.c queue.h tags/tags.c tags/include/tags.h tags/unicode.c \
tags/include/unicode.h fmt.c fmt.h gtkstuff.c gtkstuff.h md5.c md5.h \
tags/include/endian.h tags/id3v1.c tags/id3v2.c tags/vorbis.c tags/ape.c \
-tags/itunes.c tags/cdaudio.c tags/include/id3v1.h tags/include/id3v2.h \
+tags/itunes.c tags/include/id3v1.h tags/include/id3v2.h \
tags/include/ape.h tags/include/vorbis.h tags/include/itunes.h \
-tags/include/cdaudio.h tags/id3genres.c tags/wma.c tags/include/wma.h
+tags/id3genres.c tags/wma.c tags/include/wma.h
libbmp_scrobbler_la_CFLAGS = $(AM_CFLAGS) @BMP_CFLAGS@ -DMAKE_BMP=1 \
@@ -188,13 +188,13 @@ libbmp_scrobbler_la_SOURCES = xmms_scrob
queue.c queue.h tags/tags.c tags/include/tags.h tags/unicode.c \
tags/include/unicode.h fmt.c fmt.h gtkstuff.c gtkstuff.h md5.c md5.h \
tags/include/endian.h tags/id3v1.c tags/id3v2.c tags/vorbis.c tags/ape.c \
-tags/itunes.c tags/cdaudio.c tags/include/id3v1.h tags/include/id3v2.h \
+tags/itunes.c tags/include/id3v1.h tags/include/id3v2.h \
tags/include/ape.h tags/include/vorbis.h tags/include/itunes.h \
-tags/include/cdaudio.h tags/id3genres.c tags/wma.c tags/include/wma.h \
+tags/id3genres.c tags/wma.c tags/include/wma.h \
tags/include/bmp_vfs.h
-EXTRA_DIST = README.tags KnownIssues
+EXTRA_DIST = README.tags KnownIssues tags/cdaudio.c tags/include/cdaudio.h
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
@@ -210,7 +210,7 @@ am_libbmp_scrobbler_la_OBJECTS = libbmp_
libbmp_scrobbler_la-md5.lo libbmp_scrobbler_la-id3v1.lo \
libbmp_scrobbler_la-id3v2.lo libbmp_scrobbler_la-vorbis.lo \
libbmp_scrobbler_la-ape.lo libbmp_scrobbler_la-itunes.lo \
- libbmp_scrobbler_la-cdaudio.lo libbmp_scrobbler_la-id3genres.lo \
+ libbmp_scrobbler_la-id3genres.lo \
libbmp_scrobbler_la-wma.lo
libbmp_scrobbler_la_OBJECTS = $(am_libbmp_scrobbler_la_OBJECTS)
libxmms_scrobbler_la_LIBADD =
@@ -221,7 +221,6 @@ am_libxmms_scrobbler_la_OBJECTS = libxmm
libxmms_scrobbler_la-md5.lo libxmms_scrobbler_la-id3v1.lo \
libxmms_scrobbler_la-id3v2.lo libxmms_scrobbler_la-vorbis.lo \
libxmms_scrobbler_la-ape.lo libxmms_scrobbler_la-itunes.lo \
- libxmms_scrobbler_la-cdaudio.lo \
libxmms_scrobbler_la-id3genres.lo libxmms_scrobbler_la-wma.lo
libxmms_scrobbler_la_OBJECTS = $(am_libxmms_scrobbler_la_OBJECTS)
@@ -229,7 +228,6 @@ DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libbmp_scrobbler_la-ape.Plo \
-@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-fmt.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-gtkstuff.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-id3genres.Plo \
@@ -245,7 +243,6 @@ am__depfiles_maybe = depfiles
@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-wma.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libbmp_scrobbler_la-xmms_scrobbler.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libxmms_scrobbler_la-ape.Plo \
-@AMDEP_TRUE@ ./$(DEPDIR)/libxmms_scrobbler_la-cdaudio.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libxmms_scrobbler_la-fmt.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libxmms_scrobbler_la-gtkstuff.Plo \
@AMDEP_TRUE@ ./$(DEPDIR)/libxmms_scrobbler_la-id3genres.Plo \
@@ -381,7 +378,6 @@ distclean-compile:
-rm -f *.tab.c
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-ape.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-fmt.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-gtkstuff.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-id3genres.Plo@am__quote@
@@ -397,7 +393,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-wma.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libbmp_scrobbler_la-xmms_scrobbler.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxmms_scrobbler_la-ape.Plo@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxmms_scrobbler_la-cdaudio.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxmms_scrobbler_la-fmt.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxmms_scrobbler_la-gtkstuff.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libxmms_scrobbler_la-id3genres.Plo@am__quote@
@@ -875,39 +870,6 @@ libbmp_scrobbler_la-itunes.lo: tags/itun
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -c -o libbmp_scrobbler_la-itunes.lo `test -f 'tags/itunes.c' || echo '$(srcdir)/'`tags/itunes.c
-libbmp_scrobbler_la-cdaudio.o: tags/cdaudio.c
-@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -MT libbmp_scrobbler_la-cdaudio.o -MD -MP -MF "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" \
-@am__fastdepCC_TRUE@ -c -o libbmp_scrobbler_la-cdaudio.o `test -f 'tags/cdaudio.c' || echo '$(srcdir)/'`tags/cdaudio.c; \
-@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Po"; \
-@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo"; exit 1; \
-@am__fastdepCC_TRUE@ fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tags/cdaudio.c' object='libbmp_scrobbler_la-cdaudio.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Po' tmpdepfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -c -o libbmp_scrobbler_la-cdaudio.o `test -f 'tags/cdaudio.c' || echo '$(srcdir)/'`tags/cdaudio.c
-
-libbmp_scrobbler_la-cdaudio.obj: tags/cdaudio.c
-@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -MT libbmp_scrobbler_la-cdaudio.obj -MD -MP -MF "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" \
-@am__fastdepCC_TRUE@ -c -o libbmp_scrobbler_la-cdaudio.obj `if test -f 'tags/cdaudio.c'; then $(CYGPATH_W) 'tags/cdaudio.c'; else $(CYGPATH_W) '$(srcdir)/tags/cdaudio.c'; fi`; \
-@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Po"; \
-@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo"; exit 1; \
-@am__fastdepCC_TRUE@ fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tags/cdaudio.c' object='libbmp_scrobbler_la-cdaudio.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Po' tmpdepfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.TPo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -c -o libbmp_scrobbler_la-cdaudio.obj `if test -f 'tags/cdaudio.c'; then $(CYGPATH_W) 'tags/cdaudio.c'; else $(CYGPATH_W) '$(srcdir)/tags/cdaudio.c'; fi`
-
-libbmp_scrobbler_la-cdaudio.lo: tags/cdaudio.c
-@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -MT libbmp_scrobbler_la-cdaudio.lo -MD -MP -MF "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" \
-@am__fastdepCC_TRUE@ -c -o libbmp_scrobbler_la-cdaudio.lo `test -f 'tags/cdaudio.c' || echo '$(srcdir)/'`tags/cdaudio.c; \
-@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo" "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Plo"; \
-@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Tpo"; exit 1; \
-@am__fastdepCC_TRUE@ fi
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='tags/cdaudio.c' object='libbmp_scrobbler_la-cdaudio.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.Plo' tmpdepfile='$(DEPDIR)/libbmp_scrobbler_la-cdaudio.TPlo' @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -c -o libbmp_scrobbler_la-cdaudio.lo `test -f 'tags/cdaudio.c' || echo '$(srcdir)/'`tags/cdaudio.c
-
libbmp_scrobbler_la-id3genres.o: tags/id3genres.c
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libbmp_scrobbler_la_CFLAGS) $(CFLAGS) -MT libbmp_scrobbler_la-id3genres.o -MD -MP -MF "$(DEPDIR)/libbmp_scrobbler_la-id3genres.Tpo" \
@am__fastdepCC_TRUE@ -c -o libbmp_scrobbler_la-id3genres.o `test -f 'tags/id3genres.c' || echo '$(srcdir)/'`tags/id3genres.c; \

View File

@ -1,12 +0,0 @@
--- config.h.in.orig 2005-02-20 19:26:40 UTC
+++ config.h.in
@@ -12,9 +12,6 @@
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
-/* Define to 1 if you have the `musicbrainz' library (-lmusicbrainz). */
-#undef HAVE_LIBMUSICBRAINZ
-
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

View File

@ -1,173 +0,0 @@
--- configure.orig 2005-02-27 02:37:06 UTC
+++ configure
@@ -22548,145 +22548,6 @@ fi
-
-echo "$as_me:$LINENO: checking for mb_GetVersion in -lmusicbrainz" >&5
-echo $ECHO_N "checking for mb_GetVersion in -lmusicbrainz... $ECHO_C" >&6
-if test "${ac_cv_lib_musicbrainz_mb_GetVersion+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lmusicbrainz -lstdc++ $LIBS"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-/* Override any gcc2 internal prototype to avoid an error. */
-#ifdef __cplusplus
-extern "C"
-#endif
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char mb_GetVersion ();
-int
-main ()
-{
-mb_GetVersion ();
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>conftest.er1
- ac_status=$?
- grep -v '^ *+' conftest.er1 >conftest.err
- rm -f conftest.er1
- cat conftest.err >&5
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } &&
- { ac_try='test -z "$ac_c_werror_flag"
- || test ! -s conftest.err'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; } &&
- { ac_try='test -s conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- ac_cv_lib_musicbrainz_mb_GetVersion=yes
-else
- echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-ac_cv_lib_musicbrainz_mb_GetVersion=no
-fi
-rm -f conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_musicbrainz_mb_GetVersion" >&5
-echo "${ECHO_T}$ac_cv_lib_musicbrainz_mb_GetVersion" >&6
-if test $ac_cv_lib_musicbrainz_mb_GetVersion = yes; then
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBMUSICBRAINZ 1
-_ACEOF
-
- LIBS="-lmusicbrainz $LIBS"
-
-else
- echo "*"
- echo "* The MusicBrainz client library needs to be installed "
- echo "* to build this plugin. Please download the library from "
- echo "* http://www.musicbrainz.org/download "
- echo "*"
- { { echo "$as_me:$LINENO: error: \"Cannot build. Stop.\"" >&5
-echo "$as_me: error: \"Cannot build. Stop.\"" >&2;}
- { (exit 1); exit 1; }; }
-
-fi
-
-
-LIBS="-lmusicbrainz -lstdc++"
-if test "$cross_compiling" = yes; then
- have_mbver=false
-else
- cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h. */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h. */
-
-#include <musicbrainz/mb_c.h>
-
-int main ()
-{
- int major, minor, rev;
- musicbrainz_t o;
-
- o = mb_New();
- mb_GetVersion(o, &major, &minor, &rev);
- mb_Delete(o);
- if (major >= 2)
- {
- return 0;
- }
-
- return -1;
-}
-
-_ACEOF
-rm -f conftest$ac_exeext
-if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
- (eval $ac_link) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
- { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
- (eval $ac_try) 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); }; }; then
- have_mbver=true
-else
- echo "$as_me: program exited with status $ac_status" >&5
-echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-( exit $ac_status )
-have_mbver=false
-fi
-rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
-fi
-
-
if test "${my_cv_curl_vers+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
@@ -22727,24 +22588,6 @@ fi
LIBS="$LIBS $GTKLIBS"
-echo "$as_me:$LINENO: checking for version >= 2.0.0 in -lmusicbrainz" >&5
-echo $ECHO_N "checking for version >= 2.0.0 in -lmusicbrainz... $ECHO_C" >&6
-if test "$have_mbver" = "false"; then
- echo "$as_me:$LINENO: result: no" >&5
-echo "${ECHO_T}no" >&6
- echo "*"
- echo "* Version 2.0.0 or higher of the MusicBrainz "
- echo "* client library needs to be installed to build this application. "
- echo "* Please download the library from: "
- echo "* http://musicbrainz.org/products/client/download.html "
- echo "*"
- { { echo "$as_me:$LINENO: error: Cannot build. Stop." >&5
-echo "$as_me: error: Cannot build. Stop." >&2;}
- { (exit 1); exit 1; }; }
-else
- echo "$as_me:$LINENO: result: yes" >&5
-echo "${ECHO_T}yes" >&6
-fi
ac_config_files="$ac_config_files Makefile"
cat >confcache <<\_ACEOF

View File

@ -1,15 +0,0 @@
--- scrobbler.c.orig 2005-02-21 00:45:05 UTC
+++ scrobbler.c
@@ -382,9 +382,9 @@ static int sc_parse_sb_res(void)
static gchar *sc_itemtag(char c, int n, char *str)
{
- static char buf[256];
- snprintf(buf, 256, "&%c[%d]=%s", c, n, str);
- return buf;
+ static char buf[1024];
+ snprintf(buf, 1024, "&%c[%d]=%s", c, n, str);
+ return buf;
}
#define cfa(f, l, n, v) \

View File

@ -1,26 +0,0 @@
--- tags/include/tags.h.orig 2004-09-24 01:23:17 UTC
+++ tags/include/tags.h
@@ -31,7 +31,6 @@
#include "vorbis.h"
#include "itunes.h"
#include "ape.h"
-#include "cdaudio.h"
extern const char *genre_list[148];
@@ -59,7 +58,6 @@ typedef struct {
has_oggflac,
has_speex,
has_itunes,
- has_cdaudio,
prefer_ape;
wma_t *wma;
id3v1_t *id3v1;
@@ -70,7 +68,6 @@ typedef struct {
*oggflac,
*speex;
itunes_t *itunes;
- cdaudio_t *cdaudio;
} metatag_t;
void get_tag_data(metatag_t *, char *, int);

View File

@ -1,58 +0,0 @@
--- tags/tags.c.orig 2005-02-20 18:08:42 UTC
+++ tags/tags.c
@@ -141,37 +141,6 @@ void tag_exists(metatag_t *meta, char *f
return;
}
-void metaCD(metatag_t *meta, char *filename, int track)
-{
- int tmp;
-
- pdebug("Getting CD Audio metadata...", META_DEBUG);
- meta->cdaudio = readCDAudio(filename, track);
- if(meta->cdaudio == NULL)
- {
- pdebug("Error getting metadata", META_DEBUG);
-
- return;
- }
-
- meta->has_cdaudio = 1;
-
- pdebug("Reading metadata into structs...", META_DEBUG);
- meta->artist = meta->cdaudio->artist;
- meta->title = meta->cdaudio->title;
- meta->mb = realloc(meta->mb, strlen(meta->cdaudio->mbid) + 1);
- strcpy(meta->mb, meta->cdaudio->mbid);
- meta->album = meta->cdaudio->album;
- meta->year = NULL;
- meta->genre = NULL;
- /* Special track handling... Yay! */
- meta->track = realloc(meta->track, 4);
- tmp = snprintf(meta->track, 3, "%d", track);
- *(meta->track + tmp) = '\0';
-
- return;
-} /* End CD Audio support */
-
static ape_t *fetchAPE(char *filename)
{
ape_t *ape;
@@ -693,8 +662,6 @@ void get_tag_data(metatag_t *meta, char
{
if(track > 0)
{
- metaCD(meta, filename, track);
-
return;
}
else
@@ -801,8 +768,6 @@ void metatag_delete(metatag_t *meta)
freeVorbis(meta->speex);
if(meta->itunes != NULL)
freeiTunes(meta->itunes);
- if(meta->cdaudio != NULL)
- freeCDAudio(meta->cdaudio);
free(meta);
}

View File

@ -1,4 +0,0 @@
This is an XMMS Plugin which sends the Playlist data to
audioscrobbler.com
WWW: http://www.audioscrobbler.com

View File

@ -1,73 +0,0 @@
# Created by: Kristopher Zentner <kzentner@u.washington.edu>
# $FreeBSD$
PORTNAME= soundtracker
PORTVERSION= 0.6.8
PORTREVISION= 18
CATEGORIES= audio
MASTER_SITES= http://www.soundtracker.org/dl/v${PORTVERSION:R}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Mod player/tracking tool which supports XM and MOD formats
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2
LIB_DEPENDS= libsndfile.so:audio/libsndfile
GNU_CONFIGURE= yes
USES= compiler pathfix pkgconfig
USE_GNOME= gdkpixbuf
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= JACK SDL NLS
OPTIONS_DEFINE_i386= ASM
OPTIONS_DEFAULT= SDL
OPTIONS_SUB= yes
ASM_DESC= Use optimized assembly (potentially unstable)
CONFIGURE_ARGS+= --disable-alsa --disable-esd --disable-gnome
DESKTOP_ENTRIES="SoundTracker" "Pattern-oriented music editor" \
"${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
"soundtracker" "AudioVideo;Audio;AudioVideoEditing;" false
ASM_CONFIGURE_ON= --enable-asm
JACK_LIB_DEPENDS= libjack.so:audio/jack
JACK_CONFIGURE_OFF= --disable-jack
SDL_USE= SDL=sdl
SDL_CONFIGURE_OFF= --disable-sdl
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MASM} && ${CHOSEN_COMPILER_TYPE} == "clang"
CFLAGS+= -no-integrated-as
.endif
post-patch:
@${REINPLACE_CMD} -e 's|soundtracker.desktop||' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's| install-exec-local||' \
${WRKSRC}/app/Makefile.in
@${REINPLACE_CMD} -e 's|-ldl||' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|PREFIX"/share/soundtracker|DATADIR"|' \
${WRKSRC}/app/gui.c
pre-build-NLS-on:
cd ${WRKSRC}/po && ${LOCALBASE}/bin/msgfmt -c -o ja.gmo ja.po
post-install:
${INSTALL_DATA} ${WRKSRC}/sharp.xpm \
${STAGEDIR}${PREFIX}/share/pixmaps/soundtracker.xpm
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
SHA256 (soundtracker-0.6.8.tar.gz) = 03b2f2c0edba48457ec6178b0a10edfe3481254112936715603a21f638822f50
SIZE (soundtracker-0.6.8.tar.gz) = 1016718

View File

@ -1,15 +0,0 @@
--- app/Makefile.in.orig 2006-02-25 13:37:15 UTC
+++ app/Makefile.in
@@ -235,9 +235,9 @@ soundtracker_LDADD = drivers/libdrivers.
stdir = $(datadir)/soundtracker
-#INCLUDES = -DDATADIR=\"$(stdir)\" \
-# -DLOCALEDIR=\"$(datadir)/locale\"
-INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
+INCLUDES = -DDATADIR=\"$(stdir)\" \
+ -DLOCALEDIR=\"$(datadir)/locale\"
+#INCLUDES = -DLOCALEDIR=\"$(datadir)/locale\"
subdir = app
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs

View File

@ -1,21 +0,0 @@
--- app/sample-editor.c.orig 2006-02-25 12:26:05 UTC
+++ app/sample-editor.c
@@ -2647,13 +2647,15 @@ sample_editor_trim(gboolean trbeg, gbool
static void
sample_editor_crop()
{
- int start = sampledisplay->sel_start, end = sampledisplay->sel_end;
+ int start, end, l;
+
+ start = sampledisplay->sel_start, end = sampledisplay->sel_end;
if(current_sample == NULL || start == -1)
return;
-
- int l = current_sample->sample.length;
+ l = current_sample->sample.length;
+
sample_editor_lock_sample();
sample_editor_delete(current_sample, 0, start);
sample_editor_delete(current_sample, end - start, l - start);

View File

@ -1,41 +0,0 @@
--- app/tracer.c.orig 2006-02-25 12:30:54 UTC
+++ app/tracer.c
@@ -361,15 +361,19 @@ static st_mixer mixer_tracer = {
void
tracer_trace (int mixfreq, int songpos, int patpos)
{
+ st_mixer *real_mixer;
+ int stopsongpos, stoppatpos;
+ double rest, previous;
+
/* Attemp to take pitchband into account */
/* Test if tempo and BPM are traced */
- st_mixer *real_mixer = mixer;
+ real_mixer = mixer;
mixer = &mixer_tracer;
- int stopsongpos = songpos;
- int stoppatpos = patpos;
+ stopsongpos = songpos;
+ stoppatpos = patpos;
- double rest = 0, previous = 0; /* Fractional part of the samples */
+ rest = 0, previous = 0; /* Fractional part of the samples */
if((stoppatpos -= 1) < 0){
stopsongpos -= 1;
@@ -381,12 +385,13 @@ tracer_trace (int mixfreq, int songpos,
while(1) {
double t;
+ guint32 samples;
double current = xmplayer_play();
t = current - previous + rest;
previous = current;
- guint32 samples = t * mixfreq;
+ samples = t * mixfreq;
rest = t - (double)samples / (double)mixfreq;
tracer_mix(NULL, samples, NULL, 0);

View File

@ -1,29 +0,0 @@
--- app/track-editor.c.orig 2006-02-25 12:30:54 UTC
+++ app/track-editor.c
@@ -603,6 +603,8 @@ track_editor_handle_keys (int shift,
}
if(!GUI_ENABLED && !ASYNCEDIT) { // Recording mode
+ XMNote *note;
+
if(pressed){ // Insert note
for(c = 0; c < 32; c++){ // Cleanup
@@ -624,7 +626,7 @@ track_editor_handle_keys (int shift,
reckey[c].chn = t->cursor_ch;
reckey[c].act = TRUE;
- XMNote *note = &t->curpattern->channels[t->cursor_ch][t->patpos];
+ note = &t->curpattern->channels[t->cursor_ch][t->patpos];
note->note = i;
note->instrument = gui_get_current_instrument();
tracker_redraw_current_row(t);
@@ -645,7 +647,7 @@ track_editor_handle_keys (int shift,
if (!insert_noteoff)
goto fin_note;
- XMNote *note = &t->curpattern->channels[reckey[c].chn][t->patpos];
+ note = &t->curpattern->channels[reckey[c].chn][t->patpos];
note->note = 97;
note->instrument = 0;
tracker_redraw_current_row(t);

View File

@ -1,65 +0,0 @@
--- po/ja.po.orig 2006-02-25 13:25:08 UTC
+++ po/ja.po
@@ -2,14 +2,14 @@
# Copyright (C) 1998-2000 Michael Krause <m.krause@tu-harburg.de>.
# Translators: Atsushi Yamagata <yamagata@plathome.co.jp>, 1999, 2000.
# Yuuki NINOMIYA <gm@smn.enjoy.ne.jp>, 1999, 2000.
-# Junichi Uekawa <dancer@debian.org>, 2002, 2003.
+# Junichi Uekawa <dancer@debian.org>, 2002, 2003, 2004.
#
msgid ""
msgstr ""
"Project-Id-Version: SoundTracker 0.3.10\n"
"Report-Msgid-Bugs-To: soundtracker-discuss@soundtracker.org\n"
"POT-Creation-Date: 2006-02-25 14:25+0100\n"
-"PO-Revision-Date: 2003-08-05 06:54+0900\n"
+"PO-Revision-Date: 2004-01-12 12:13+0900\n"
"Last-Translator: Junichi Uekawa <dancer@debian.org>\n"
"Language-Team: Debian Japanese project <debian-japanese@lists.debian.org>\n"
"MIME-Version: 1.0\n"
@@ -553,6 +553,8 @@ msgid ""
"Odd pattern rows contain data which will be lost after shrinking.\n"
"Do you want to continue anyway?"
msgstr ""
+"奇数のパターンの列は縮小すると失われます.\n"
+"続行しますか?"
#: app/gui.c:506
msgid ""
@@ -560,6 +562,8 @@ msgid ""
"Some data at the end of the pattern will be lost.\n"
"Do you want to continue anyway?"
msgstr ""
+"拡張するにはパターンは長すぎます.\n"
+"パターンの最後のデータが一部失われる事になります.続行しますか?"
#: app/gui.c:555 app/instrument-editor.c:212 app/sample-editor.c:1719
#: app/sample-editor.c:1915 app/sample-editor.c:1959
@@ -1034,9 +1038,8 @@ msgid "Transpose octave down"
msgstr "オクターブ下げる"
#: app/menubar.c:526
-#, fuzzy
msgid "P_aste"
-msgstr "貼付"
+msgstr "貼付(_a)"
#: app/menubar.c:531
msgid "_Jazz Edit Mode"
@@ -1087,14 +1090,12 @@ msgid "L_oad Pattern"
msgstr "パターンを読み込み(_o)"
#: app/menubar.c:599
-#, fuzzy
msgid "Sh_rink Current Pattern"
-msgstr "現在のパターン"
+msgstr "現在のパターンを縮小(_r)"
#: app/menubar.c:601
-#, fuzzy
msgid "_Expand Current Pattern"
-msgstr "現在のパターンを保存(_S)"
+msgstr "現在のパターンを拡張(_E)"
#: app/menubar.c:608
msgid "_Toggle Current Channel Permanentness"

View File

@ -1,8 +0,0 @@
SoundTracker is a pattern-oriented music editor (similar to the classic DOS
program FastTracker and the Amiga legend ProTracker). Samples can be lined
up on tracks and patterns which are then arranged to a song.
Supported module formats are XM and MOD; the player code is the one from
OpenCP. A basic sample recorder and editor is also included.
WWW: http://www.soundtracker.org/

View File

@ -1,31 +0,0 @@
bin/soundtracker
share/pixmaps/soundtracker.xpm
%%NLS%%share/locale/da/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/de/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/en@boldquot/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/en@quot/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/es/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/fr/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/gl/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/hr/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/it/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/ja/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/no/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/pl/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/ru/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/rw/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/sk/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/sl/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/sv/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/tr/LC_MESSAGES/soundtracker.mo
%%NLS%%share/locale/vi/LC_MESSAGES/soundtracker.mo
%%DATADIR%%/downarrow.xpm
%%DATADIR%%/flat.xpm
%%DATADIR%%/lock.xpm
%%DATADIR%%/muted.png
%%DATADIR%%/play.xpm
%%DATADIR%%/play_cur.xpm
%%DATADIR%%/rightarrow.xpm
%%DATADIR%%/sharp.xpm
%%DATADIR%%/soundtracker_splash.png
%%DATADIR%%/stop.xpm

View File

@ -17,12 +17,12 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libid3.so:audio/id3lib \
libvorbis.so:audio/libvorbis
USES= tar:bzip2 gettext gmake pathfix pkgconfig
USES= compiler:c++11-lang gettext gmake localbase:ldflags pathfix \
pkgconfig tar:bzip2
USE_GNOME= intlhack libglade2
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpthread -logg -lm
LDFLAGS+= -lpthread -logg -lm
.include <bsd.port.mk>

View File

@ -34,20 +34,16 @@ PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \
play_loop_state_diagram.dia play_loop_state_diagram.eps \
play_loop_state_diagram.txt uade.html
OPTIONS_DEFINE= TEXTSCOPE FUSE XMMS DOCS
OPTIONS_DEFINE= TEXTSCOPE FUSE DOCS
OPTIONS_SUB= yes
TEXTSCOPE_DESC= Audio register debug mode
XMMS_DESC= XMMS plugin
TEXTSCOPE_CONFIGURE_WITH= text-scope
FUSE_USES= fuse
FUSE_CONFIGURE_WITH= uadefs
XMMS_LIB_DEPENDS= libxmms.so:multimedia/xmms
XMMS_CONFIGURE_WITH= xmms
post-extract:
@${RM} -r ${WRKSRC}/players/S

View File

@ -1,11 +0,0 @@
--- src/frontends/xmms/Makefile.in.orig 2009-10-29 21:01:12 UTC
+++ src/frontends/xmms/Makefile.in
@@ -8,7 +8,7 @@ DEBUGFLAGS={DEBUGFLAGS}
XMMSFLAGS={XMMSFLAGS}
XMMSLIBS={XMMSLIBS}
SHAREDLIBRARYFLAGS={SHAREDLIBRARYFLAGS}
-CFLAGS = -Wall -O2 $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
+CFLAGS = $(SHAREDLIBRARYFLAGS) $(DEBUGFLAGS) $(XMMSFLAGS) $(ARCHFLAGS) -I../common -I../../include
CLIBS = $(XMMSLIBS) -lm
all: libuade2.so

View File

@ -3,9 +3,7 @@ bin/uade123
%%FUSE%%bin/uadefs
%%FUSE%%man/man1/uadefs.1.gz
man/man1/uade123.1.gz
%%XMMS%%bin/uadexmmsadd
lib/uade2/uadecore
%%XMMS%%lib/xmms/Input/libuade2.so
libdata/pkgconfig/uade.pc
%%DATADIR%%/eagleplayer.conf
%%DATADIR%%/players/ADPCM_mono

View File

@ -1,29 +0,0 @@
# Created by: lx@redundancy.redundancy.org
# $FreeBSD$
PORTNAME= wmalbum
PORTVERSION= 0.1.5
PORTREVISION= 11
CATEGORIES= audio windowmaker
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Dockapp to display album covers for XMMS
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LIB_DEPENDS= libxmms.so:multimedia/xmms \
libgdk_pixbuf_xlib.so:graphics/gdk-pixbuf
GNU_CONFIGURE= yes
USE_CSTD= gnu89
PLIST_FILES= bin/wmalbum \
man/man1/wmalbum.1.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmalbum/wmalbum ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmalbum.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (wmalbum-0.1.5.tar.gz) = 4e6f1021fb79d94b85d1e1131b615f63ca184a410a5f204c250c165101632fd0
SIZE (wmalbum-0.1.5.tar.gz) = 157369

View File

@ -1,8 +0,0 @@
WMalbum is a dock applet that displays album covers for songs being
played by XMMS. You must already have images of the album covers stored
near the file being played. WMAlbum provides a handy circular menu
for play/skip/etc, and can replace wmxmms. Although dock applets are
designed for the WindowMaker window manager, they also work in other
window managers including openbox and blackbox.
WWW: http://wmalbum.sourceforge.net/

View File

@ -1,33 +0,0 @@
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= xmms-ahx
PORTVERSION= 0.6
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}.tar.gz
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= XMMS plugin for playing AHX tunes
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2
BUILD_DEPENDS= xmms:multimedia/xmms
RUN_DEPENDS= xmms:multimedia/xmms
PLIST_FILES= lib/xmms/Input/libahx.so
GNU_CONFIGURE= yes
USES= gmake libtool gettext-runtime
USE_XORG= xi xext x11
USE_GNOME= gtk12
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms-ahx-0.6.tar.gz) = 972f30bba126390d2cbc4517521dc3af317adc86374e8ef0469ceddd6d608eae
SIZE (xmms-ahx-0.6.tar.gz) = 339874

View File

@ -1,4 +0,0 @@
XMMS input plugin for AHX format support. AHX is a synthetic music format from
Amiga, and reproducing C64-style music.
WWW: http://xmms-ahx.sourceforge.net/

View File

@ -1,35 +0,0 @@
# Created by: Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmms-curses
PORTVERSION= 0.2.2
PORTREVISION= 8
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Ncurses program for (remote) controlling multimedia/xmms
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
BUILD_DEPENDS= xmms:multimedia/xmms \
${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs
RUN_DEPENDS= xmms:multimedia/xmms
USES= gettext iconv ncurses
USE_GNOME= gtk12
USE_XORG= x11 xau xcb xdmcp xext xi
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${CC} ${CFLAGS} -lpthread -lncurses \
`xmms-config --cflags --libs` -o xmms-curses *.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xmms-curses.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms-curses-0.2.2.tar.gz) = d05903163819e8b59105b8c4e8d60e0f88af3d72309c6e45d2bfda7641bcddce
SIZE (xmms-curses-0.2.2.tar.gz) = 18311

View File

@ -1,6 +0,0 @@
xmms-curses is a simple application for controlling XMMS from the command line.
It is designed to make common, simple tasks fast and easy to do. It is operated
using arrow keys and standard XMMS keys, to make it easy and intuitive to learn.
WWW: http://xmms-curses.sourceforge.net/

View File

@ -1,3 +0,0 @@
bin/xmms-curses
man/man1/xmms-curses.1.gz
@sample etc/xmms-curses.conf.sample

View File

@ -1,43 +0,0 @@
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= faad2
PORTVERSION= 2.8.8
CATEGORIES= audio
MASTER_SITES= SF/faac/${PORTNAME}-src/${PORTNAME}-${PORTVERSION:R}.0
PKGNAMEPREFIX= xmms-
MAINTAINER= ports@FreeBSD.org
COMMENT= XMMS plugin for MP4/M4A/AAC files
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/../../../COPYING
LIB_DEPENDS= libxmms.so:multimedia/xmms \
libfaad.so:audio/faad
WRKSRC_SUBDIR= plugins/xmms/src
USES= pkgconfig
USE_GNOME= gtk12
EXTRA_CFLAGS= `xmms-config --cflags`
EXTRA_LDFLAGS= `xmms-config --libs`
PLUGINS_DIR= ${PREFIX}/lib/xmms/Input
PLIST_FILES= ${PLUGINS_DIR:S,^${PREFIX}/,,}/libmp4.so
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -fPIC -shared \
-I${LOCALBASE}/include -DHAVE_STDINT_H \
${EXTRA_CFLAGS} *.c -o libmp4.so \
-L${LOCALBASE}/lib -lfaad -lmp4ff \
${EXTRA_LDFLAGS}
do-install:
@${MKDIR} ${STAGEDIR}${PLUGINS_DIR}
${INSTALL_LIB} ${WRKSRC}/libmp4.so ${STAGEDIR}${PLUGINS_DIR}
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1513703210
SHA256 (faad2-2.8.8.tar.gz) = 985c3fadb9789d2815e50f4ff714511c79c2710ac27a4aaaf5c0c2662141426d
SIZE (faad2-2.8.8.tar.gz) = 1069044

View File

@ -1,9 +0,0 @@
FAAD2 (Freeware Advanced Audio Decoder) is an MPEG-2, MPEG-4 AAC decoder.
FAAD2 is the fastest ISO AAC audio decoder available and can be used with
DRM (Digital Radio Mondiale), and supports HE (High Efficiency), Main,
LC, LD, LTP, PS (Parametric Stereo) AAC files.
This is an XMMS plugin for playing MPEG-4 AAC files.
WWW: http://www.audiocoding.com/

View File

@ -1,30 +0,0 @@
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PKGNAMEPREFIX= xmms-
COMMENT= XMMS plugin for playing .nsf and .hes audio files
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
MASTERDIR= ${.CURDIR}/../festalon
BUILD_DEPENDS= xmms:multimedia/xmms
RUN_DEPENDS= xmms:multimedia/xmms
USES+= gettext-runtime
USE_GNOME= glib12 gtk12
USE_XORG= xext xi x11
CONFIGURE_ARGS+= --enable-interface=interface
INSTALL_TARGET= install-strip
DESCR= ${.CURDIR}/pkg-descr
PLIST= ${.CURDIR}/pkg-plist
PLIST_FILES= lib/xmms/Input/libfestalon_xmms.a \
lib/xmms/Input/libfestalon_xmms.so \
lib/xmms/Input/libfestalon_xmms.so.0 \
lib/xmms/Input/libfestalon_xmms.so.0.0.0
.include "${MASTERDIR}/Makefile"

View File

@ -1,9 +0,0 @@
This is a XMMS input plugin for playing .nsf and .hes audio files.
It supports all internal sound channels and the extra sound channels found in
the Konami VRC6, Konami VRC7, Namco 106, Nintendo MMC5, and Sunsoft FME-07
chips.
The extra sound channel present in the Famicom Disk System is also emulated.
WWW: http://projects.raphnet.net/#festalon

View File

@ -1,32 +0,0 @@
# $FreeBSD$
PORTNAME= xmms-flac
PORTVERSION= 1.3.2
CATEGORIES= audio
MASTER_SITES= http://downloads.xiph.org/releases/flac/
DISTNAME= flac-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= XMMS input plugin for playing FLAC files
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING.GPL
LIB_DEPENDS= libxmms.so:multimedia/xmms \
libFLAC.so:audio/flac \
libogg.so:audio/libogg
USES= gettext-runtime iconv libtool tar:xz
USE_GNOME= gtk12
USE_XORG= xi xext x11
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
MAKEFILE= ${FILESDIR}/Makefile
PLIST_FILES= lib/xmms/Input/libxmms-flac.so
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1484341501
SHA256 (flac-1.3.2.tar.xz) = 91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f
SIZE (flac-1.3.2.tar.xz) = 776192

View File

@ -1,8 +0,0 @@
# $FreeBSD$
SUBDIRS= src/share src/plugin_common src/plugin_xmms
all install install-strip:
@for d in ${SUBDIRS}; do \
(cd $$d; ${MAKE} $@); \
done

View File

@ -1,13 +0,0 @@
--- configure.orig 2017-01-01 03:46:48 UTC
+++ configure
@@ -20547,8 +20547,8 @@ if test "x$debug" = xtrue; then
CFLAGS="-g $CFLAGS"
else
CPPFLAGS="-DNDEBUG $CPPFLAGS"
- CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
- CFLAGS="-O3 -funroll-loops $CFLAGS"
+ #CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
+ #CFLAGS="-O3 -funroll-loops $CFLAGS"
fi

View File

@ -1,22 +0,0 @@
--- src/plugin_xmms/Makefile.in.orig 2017-01-01 03:46:49 UTC
+++ src/plugin_xmms/Makefile.in
@@ -166,8 +166,7 @@ libxmms_flac_la_DEPENDENCIES = \
$(top_builddir)/src/share/grabbag/libgrabbag.la \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
- $(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la
+ $(top_builddir)/src/share/utf8/libutf8.la
am__objects_1 = charset.lo configure.lo fileinfo.lo http.lo plugin.lo \
tag.lo
am_libxmms_flac_la_OBJECTS = $(am__objects_1)
@@ -429,8 +428,7 @@ libxmms_flac_la_LIBADD = \
$(top_builddir)/src/share/replaygain_analysis/libreplaygain_analysis.la \
$(top_builddir)/src/share/replaygain_synthesis/libreplaygain_synthesis.la \
$(top_builddir)/src/share/utf8/libutf8.la \
- $(top_builddir)/src/libFLAC/libFLAC.la \
- -L$(top_builddir)/src/libFLAC/.libs \
+ -lFLAC \
@XMMS_LIBS@ \
@LIBICONV@

View File

@ -1,5 +0,0 @@
FLAC is an Open Source lossless audio codec.
This is an XMMS input plugin for FLAC files.
WWW: https://www.xiph.org/flac/

View File

@ -1,73 +0,0 @@
# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= gbsplay
PORTVERSION= 0.0.8
PORTREVISION= 14
CATEGORIES= audio
MASTER_SITES= LOCAL/ehaupt
PKGNAMEPREFIX= xmms-
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= XMMS plugin for playing Nintendo Game Boy(TM) audio
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2
BUILD_DEPENDS= xmms:multimedia/xmms
RUN_DEPENDS= xmms:multimedia/xmms
USES= gmake
USE_GNOME= glib12
HAS_CONFIGURE= yes
USE_CSTD= gnu89
USE_HARDENING= pie:off relro:off
OPTIONS_DEFINE= NLS
NLS_CONFIGURE_OFF= --disable-i18n
NLS_USES= gettext-runtime
CONFIGURE_ARGS= --disable-nas --prefix=${PREFIX}
PLIST_FILES= lib/xmms/Input/gbsxmms.so
post-extract:
@${RM} ${WRKSRC}/po/subdir.mk
post-patch:
@${REINPLACE_CMD} -e \
's|char argc|int argc|; \
s|`which xmms-config`||; \
s|\(xmms-config\)|${LOCALBASE}/bin/\1|g; \
s|`which glib-config`||; \
s|glib-config|${GLIB_CONFIG}|g; \
/LOCALE_PREFIX/ s|$$localedir|${LOCALBASE}/share/locale|' \
${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|^objs += $$(objs_gbsplay) $$(objs_gbsinfo)||; \
s|^dsts += gbsplay gbsinfo||; \
/^default:/ s|$$(mans)||' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e \
'/^need_include\ /d; \
468s|char argc|int argc|; \
s|/usr/local/include|${LOCALBASE}/include|; \
s|/usr/local/lib|${LOCALBASE}/lib|; \
s|/usr/X11R6/include||; \
s|/usr/X11R6/lib||; \
s|/usr/X11/lib|${LOCALBASE}/lib|; \
s|/usr/lib/X11|${LOCALBASE}/lib/X11|; \
s|-Os||; s|-pipe||; s|-fomit-frame-pointer||; \
s|-march=$$ARCH||' \
${WRKSRC}/configure
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input
${INSTALL_PROGRAM} ${WRKSRC}/gbsxmms.so \
${STAGEDIR}${PREFIX}/lib/xmms/Input
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1475768149
SHA256 (gbsplay-0.0.8.tar.gz) = 9bd95118741315e991dfe4f5108128817725c924ba81bb4938de45290e8f0926
SIZE (gbsplay-0.0.8.tar.gz) = 57033

View File

@ -1,5 +0,0 @@
xmms-gbsplay is a XMMS input plugin which emulates the sound hardware of the
Nintendo Game Boy(TM). It is able to play the sounds from a Game Boy(TM)
module dump (.GBS format) in XMMS.
WWW: https://www.cgarbs.de/gbsplay.en.html

View File

@ -1,32 +0,0 @@
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmms-ladspa
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= http://www.ecs.soton.ac.uk/~njl98r/code/ladspa/ \
LOCAL/arved
DISTNAME= xmms_ladspa-${PORTVERSION}
MAINTAINER= arved@FreeBSD.org
COMMENT= XMMS Plugin that provides LADSPA Plugins to XMMS
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
LIB_DEPENDS= libxmms.so:multimedia/xmms
PLIST_FILES= lib/xmms/Effect/ladspa.so
USE_GNOME= gtk12
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Effect/
${INSTALL_DATA} ${WRKSRC}/ladspa.so ${STAGEDIR}${PREFIX}/lib/xmms/Effect/
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms_ladspa-1.1.tar.gz) = 38c55248aec402e6f081acd894c5da6c6bc42bad3e423960132768ee738e4dd0
SIZE (xmms_ladspa-1.1.tar.gz) = 24741

View File

@ -1,17 +0,0 @@
--- Makefile.orig 2005-03-16 02:39:32 UTC
+++ Makefile
@@ -4,7 +4,7 @@ VER=1.1
DOCS= README PLUGINS COPYING ChangeLog
CODE= Makefile ladspa.c ladspa.h
-CFLAGS= -fPIC `gtk-config --cflags`
+CFLAGS+= -fPIC `gtk-config --cflags`
all: ladspa.so
@echo
@@ -24,4 +24,4 @@ clean:
rm ladspa.so
ladspa.so: ladspa.c
- gcc -Wall -shared -o ladspa.so ladspa.c $(CFLAGS) -DVERSION=\"$(VER)\"
+ ${CC} -Wall -shared -o ladspa.so ladspa.c $(CFLAGS) -DVERSION=\"$(VER)\"

View File

@ -1,8 +0,0 @@
XMMS LADSPA an Effect Plugin for XMMS that provides (some of)
the power of the Linux Audio Developer's Simple Plugin API (LADSPA) to your
everyday MP3 and all-around media player.
With XMMS LADSPA you can use any number of audio processing plugins
written to the LADSPA specification,
WWW: http://www.ecs.soton.ac.uk/~njl98r/code/audio/

View File

@ -1,37 +0,0 @@
# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= xmms-mailnotify
PORTVERSION= 0.2.0
PORTREVISION= 10
CATEGORIES= audio
MASTER_SITES= LOCAL/arved
MAINTAINER= arved@FreeBSD.org
COMMENT= XMMS plugin, that plays a sound on incoming mail and opens the MUA
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LIB_DEPENDS= libxmms.so:multimedia/xmms
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
GNU_CONFIGURE= yes
USES= gmake
USE_GNOME= gtk12
USE_LDCONFIG= yes
PLIST_FILES= lib/xmms/General/libmailnotify.so \
lib/xmms/General/alert.wav
post-patch:
${REINPLACE_CMD} -e "s,/usr/lib,${LOCALBASE}/lib," ${WRKSRC}/mailnotify.c
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/General/
@${INSTALL_DATA} ${WRKSRC}/libmailnotify.so ${STAGEDIR}${PREFIX}/lib/xmms/General/
@${INSTALL_DATA} ${WRKSRC}/alert.wav ${STAGEDIR}${PREFIX}/lib/xmms/General/
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms-mailnotify-0.2.0.tar.gz) = 4d599df5db607513820f13cee2fd8c9adc3b6aa0e3a0cd140d14c69b3d8ac976
SIZE (xmms-mailnotify-0.2.0.tar.gz) = 158652

View File

@ -1,20 +0,0 @@
--- Makefile.in.orig Sat Feb 2 23:47:13 2002
+++ Makefile.in Tue Jul 8 01:42:36 2003
@@ -3,7 +3,7 @@
CC = @CC@
INSTALL = @INSTALL@
LIBS = @LIBS@
-CFLAGS = -O -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
+CFLAGS+= -fPIC -Wall @CFLAGS@ @DEFS@ -DVERSION=\"@VERSION@\"
LDFLAGS = @LDFLAGS@ $(LIBS) -shared
PREFIX = @prefix@
INSTALLPATH = @libdir@
@@ -32,7 +32,7 @@
$(INSTALL) alert.wav $(INSTALLPATH)
mailnotify: $(OBJS)
- $(CC) -o $(TARGET) $(OBJS) $(LDFLAGS)
+ $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LDFLAGS)
mailnotify.o: mailnotify.c

View File

@ -1,19 +0,0 @@
--- mailnotify.c.orig Sun Feb 3 21:12:45 2002
+++ mailnotify.c Sun Feb 3 21:13:05 2002
@@ -82,14 +82,14 @@
gchar command[256];
gboolean runcmd;
gchar alertfile[256];
- } folders[MAX_FOLDERS] = {0};
+ } folders[MAX_FOLDERS] = {{{0}}};
struct origin {
gchar senderaddr[256];
gboolean runcmd;
gchar command[256];
gchar alertfile[256];
- } origins[MAX_ORIGINS] = {0};
+ } origins[MAX_ORIGINS] = {{{0}}};
/* #if !defined(UTIMBUF)

View File

@ -1,12 +0,0 @@
--- mailnotify.c.orig Thu Mar 27 14:06:57 2003
+++ mailnotify.c Thu Mar 27 14:08:02 2003
@@ -489,7 +489,7 @@
incoming_folder = (gchar *)getenv("MAIL");
- if (strlen(incoming_folder) < 1)
+ if (incoming_folder == NULL || strlen(incoming_folder) < 1)
{
if((pw = getpwuid(geteuid())) == NULL)
{

View File

@ -1,26 +0,0 @@
--- mailnotify.c.orig Mon Mar 31 16:55:38 2003
+++ mailnotify.c Mon Mar 31 16:55:52 2003
@@ -675,16 +675,18 @@
dummy = xmms_remote_get_playlist_file(mailnotify.xmms_session, saved_position);
printf(" which is %s\n", dummy);
#endif
- if(!wasplaying)
- xmms_remote_stop(mailnotify.xmms_session);
-
+ xmms_remote_stop(mailnotify.xmms_session);
xmms_remote_set_playlist_pos(mailnotify.xmms_session, saved_position);
xmms_remote_playlist_delete(mailnotify.xmms_session, afpos);
-#ifdef CONTINUE_WHERE_INTERRUPTED
if(wasplaying)
+ {
+ xmms_remote_play(mailnotify.xmms_session);
+#ifdef CONTINUE_WHERE_INTERRUPTED
xmms_remote_jump_to_time(mailnotify.xmms_session, saved_offset);
#endif
+ }
+
}
else
{

View File

@ -1 +0,0 @@
XMMS plugin, that plays a sound on incoming mail and opens the MUA

View File

@ -1,32 +0,0 @@
# Created by: James McNaughton
# $FreeBSD$
PORTNAME= xmms-nas
PORTVERSION= 0.2
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= ftp://ftp.stack.nl/pub/users/willem/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network Audio System (NAS) output plugin for XMMS
DEPRECATED= Uses obsolete glib12
EXPIRATION_DATE= 2018-12-20
LIB_DEPENDS= libxmms.so:multimedia/xmms \
libaudio.so:audio/nas
USE_HARDENING= pie:off relro:off
USES= libtool
USE_GNOME= gtk12
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
PLIST_FILES= lib/xmms/Output/libnas.so
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/xmms/Output/libnas.so
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (xmms-nas-0.2.tar.gz) = 60b8c5210cdd3289344d707248e856747f876323ddbb06a20be8079652f01a93
SIZE (xmms-nas-0.2.tar.gz) = 109998

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig 1999-09-02 00:12:26 UTC
+++ Makefile.in
@@ -81,7 +81,7 @@ XMMS_PATH = @XMMS_PATH@
lib_LTLIBRARIES = libnas.la
-CFLAGS = @GTK_CFLAGS@ @NAS_CFLAGS@ -W -Wall -D_REENTRANT -I$(top_srcdir)
+CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @NAS_CFLAGS@ -W -Wall -I$(top_srcdir)
libnas_la_LDFLAGS = -export-dynamic -avoid-version
libnas_la_SOURCES = nas.c nas.h about.c audio.c nasconf.c

View File

@ -1,18 +0,0 @@
--- configure.orig 1999-09-01 22:23:19 UTC
+++ configure
@@ -3140,6 +3140,7 @@ fi
NAS_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -laudio -lXt -lm"
NAS_CFLAGS=$X_CFLAGS
LIBS=$NAS_LIBS
+ac_save_CFLAGS="$CFLAGS"
CFLAGS=$NAS_CFLAGS
echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
@@ -3191,6 +3192,7 @@ else
fi
+CFLAGS="$ac_save_CFLAGS"
trap '' 1 2 15

Some files were not shown because too many files have changed in this diff Show More