diff options
author | tron <tron@pkgsrc.org> | 2000-03-07 10:44:32 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-03-07 10:44:32 +0000 |
commit | fa143361270518eb8659f0e8ab2c9fbb1fe43960 (patch) | |
tree | 49239c5b6fa1ca95cf3bb9ca38dbf8017828400e /audio/xmms | |
parent | f3a209d07d143a523f9932b1290de3a4e18ec94d (diff) | |
download | pkgsrc-fa143361270518eb8659f0e8ab2c9fbb1fe43960.tar.gz |
Import "xmms" package from FreeBSD ports collection:
X Multimedia System --- An audio player with a Winamp GUI
Diffstat (limited to 'audio/xmms')
-rw-r--r-- | audio/xmms/Makefile | 45 | ||||
-rw-r--r-- | audio/xmms/files/md5 | 1 | ||||
-rw-r--r-- | audio/xmms/patches/patch-aa | 19 | ||||
-rw-r--r-- | audio/xmms/patches/patch-ab | 76 | ||||
-rw-r--r-- | audio/xmms/patches/patch-ac | 36 | ||||
-rw-r--r-- | audio/xmms/patches/patch-ba | 215 | ||||
-rw-r--r-- | audio/xmms/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/xmms/pkg/DESCR | 8 | ||||
-rw-r--r-- | audio/xmms/pkg/PLIST | 41 |
9 files changed, 442 insertions, 0 deletions
diff --git a/audio/xmms/Makefile b/audio/xmms/Makefile new file mode 100644 index 00000000000..da1dae0ab6e --- /dev/null +++ b/audio/xmms/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: xmms +# Version required: 1.0.1 +# Date created: 3 July 1999 +# Whom: Espen Skoglund <esk@ira.uka.de> +# +# FreeBSD: ports/audio/xmms/Makefile,v 1.9 2000/02/11 01:46:12 cpiazza Exp +# + +DISTNAME= xmms-1.0.1 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.xmms.org/xmms/1.0/ \ + ftp://ftp.uk.xmms.org/xmms/1.0/ \ + ftp://ftp.us.xmms.org/xmms/1.0/ \ + ftp://ftp.ca.us.xmms.org/xmms/1.0/ \ + ftp://ftp.md.us.xmms.org/xmms/1.0/ \ + ftp://ftp.nl.xmms.org/xmms/1.0/ \ + ftp://ftp.de.xmms.org/xmms/1.0/ + +MAINTAINER= esk@ira.uka.de + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + glib12.3:${PORTSDIR}/devel/glib12 \ + xml.5:${PORTSDIR}/textproc/libxml + +USE_LIBTOOL= yes +CONFIGURE_ARGS= --without-gnome + +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config + +CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" \ + GLIB_CONFIG="${GLIB_CONFIG}" + +post-extract: + @(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \ + ${MV} getbits.s getbits.S && cd ${WRKSRC}/Visualization/blur_scope && \ + ${MV} blur_8.s blur_8.S); + @${PERL} -pi.bak -e 's:\.s :\.S :g' ${WRKSRC}/Input/mpg123/Makefile.in + @${PERL} -pi.bak -e 's:blur_8.s:blur_8.S:g' \ + ${WRKSRC}/Visualization/blur_scope/Makefile.in + +post-install: + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/audio/xmms/files/md5 b/audio/xmms/files/md5 new file mode 100644 index 00000000000..21f7fe998d9 --- /dev/null +++ b/audio/xmms/files/md5 @@ -0,0 +1 @@ +MD5 (xmms-1.0.1.tar.gz) = 2d34665f32006ed83892de1d057176fd diff --git a/audio/xmms/patches/patch-aa b/audio/xmms/patches/patch-aa new file mode 100644 index 00000000000..0d4fb8e9b94 --- /dev/null +++ b/audio/xmms/patches/patch-aa @@ -0,0 +1,19 @@ +*** libxmms/configure.org Wed Feb 2 13:33:43 2000 +--- libxmms/configure Wed Feb 2 13:33:56 2000 +*************** +*** 589,595 **** + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 + echo "configure:592: checking for a BSD compatible install" >&5 +! if test -z "$INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +--- 589,595 ---- + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 + echo "configure:592: checking for a BSD compatible install" >&5 +! if test -z "$NO__INSTALL"; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else diff --git a/audio/xmms/patches/patch-ab b/audio/xmms/patches/patch-ab new file mode 100644 index 00000000000..6737dede096 --- /dev/null +++ b/audio/xmms/patches/patch-ab @@ -0,0 +1,76 @@ +*** Makefile.in.org Wed Feb 2 13:36:47 2000 +--- Makefile.in Wed Feb 2 13:37:01 2000 +*************** +*** 125,131 **** + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = libxmms xmms Output Input Effect General Visualization wmxmms gnomexmms + + bin_SCRIPTS = xmms-config + +--- 125,131 ---- + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = libxmms xmms Output Input Effect General Visualization wmxmms + + bin_SCRIPTS = xmms-config + +*** Visualization/Makefile.in.org Wed Feb 2 13:37:14 2000 +--- Visualization/Makefile.in Wed Feb 2 13:37:26 2000 +*************** +*** 125,131 **** + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = blur_scope sanalyzer opengl_spectrum + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = +--- 125,131 ---- + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = blur_scope sanalyzer + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = +*** Input/Makefile.in.org Wed Feb 2 13:38:23 2000 +--- Input/Makefile.in Wed Feb 2 13:38:40 2000 +*************** +*** 125,131 **** + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = wav mpg123 mikmod cdaudio idcin + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = +--- 125,131 ---- + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = wav mpg123 cdaudio idcin + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = +*** Output/Makefile.in.org Wed Feb 2 13:39:06 2000 +--- Output/Makefile.in Wed Feb 2 13:39:17 2000 +*************** +*** 125,131 **** + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = OSS esd disk_writer + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = +--- 125,131 ---- + sidplay_library = @sidplay_library@ + xmmsdir = @xmmsdir@ + +! SUBDIRS = OSS disk_writer + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_HEADER = ../config.h + CONFIG_CLEAN_FILES = diff --git a/audio/xmms/patches/patch-ac b/audio/xmms/patches/patch-ac new file mode 100644 index 00000000000..7c592ad4fe9 --- /dev/null +++ b/audio/xmms/patches/patch-ac @@ -0,0 +1,36 @@ +*** xmms/eq_graph.c.org Wed Feb 2 21:12:51 2000 +--- xmms/eq_graph.c Wed Feb 2 21:13:07 2000 +*************** +*** 74,79 **** +--- 74,87 ---- + gfloat x[] = + {0, 11, 23, 35, 47, 59, 71, 83, 97, 109}, yf[10]; + ++ /* ++ * This avoids the init_spline() function to be inlined. ++ * Inlining the function caused troubles when compiling with ++ * `-O' (at least on FreeBSD). ++ */ ++ void (*__init_spline)(gfloat *, gfloat *, gint, gfloat *) = ++ init_spline; ++ + src = get_skin_pixmap(SKIN_EQMAIN); + obj = eg->eg_widget.parent; + gdk_draw_pixmap(obj, eg->eg_widget.gc, src, 0, 294, eg->eg_widget.x, eg->eg_widget.y, eg->eg_widget.width, eg->eg_widget.height); +*************** +*** 83,89 **** + cols[i] = gdk_image_get_pixel(img, 0, i); + gdk_image_destroy(img); + +! init_spline(x, cfg.equalizer_bands, 10, yf); + for (i = 0; i < 109; i++) + { + y = 9 - (gint) ((eval_spline(x, cfg.equalizer_bands, yf, 10, i) * 9.0) / 20.0); +--- 91,97 ---- + cols[i] = gdk_image_get_pixel(img, 0, i); + gdk_image_destroy(img); + +! __init_spline(x, cfg.equalizer_bands, 10, yf); + for (i = 0; i < 109; i++) + { + y = 9 - (gint) ((eval_spline(x, cfg.equalizer_bands, yf, 10, i) * 9.0) / 20.0); diff --git a/audio/xmms/patches/patch-ba b/audio/xmms/patches/patch-ba new file mode 100644 index 00000000000..3a33f541c0a --- /dev/null +++ b/audio/xmms/patches/patch-ba @@ -0,0 +1,215 @@ +--- configure.orig Mon Jan 31 10:43:50 2000 ++++ configure Wed Feb 9 17:24:39 2000 +@@ -38,6 +38,8 @@ + ac_help="$ac_help + --disable-gtktest Do not try to compile and run a test GTK program" + ac_help="$ac_help ++ --with-libxml-prefix=PFX Prefix where libxml is installed (optional)" ++ac_help="$ac_help + --with-esd-prefix=PFX Prefix where ESD is installed (optional)" + ac_help="$ac_help + --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)" +@@ -1473,8 +1475,8 @@ + LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \ + LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \ + DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \ +-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \ +-$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \ ++${CONFIG_SHELL-/bin/sh} /usr/local/share/libtool/ltconfig --no-reexec \ ++$libtool_flags --no-verify --disable-ltlibs /usr/local/share/libtool/ltmain.sh $host \ + || { echo "configure: error: libtool configure failed" 1>&2; exit 1; } + + # Reload cache, that may have been modified by ltconfig +@@ -1488,7 +1490,7 @@ + + + # This can be used to rebuild libtool when needed +-LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh" ++LIBTOOL_DEPS="/usr/local/share/libtool/ltconfig --disable-ltlibs /usr/local/share/libtool/ltmain.sh" + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' +@@ -3010,48 +3012,69 @@ + echo "$ac_t""no" 1>&6 + fi + +-echo $ac_n "checking for xmlParseMemory in -lxml""... $ac_c" 1>&6 +-echo "configure:3015: checking for xmlParseMemory in -lxml" >&5 +-ac_lib_var=`echo xml'_'xmlParseMemory | sed 'y%./+-%__p_%'` +-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- ac_save_LIBS="$LIBS" +-LIBS="-lxml -lz $LIBS" +-cat > conftest.$ac_ext <<EOF +-#line 3023 "configure" +-#include "confdefs.h" +-/* Override any gcc2 internal prototype to avoid an error. */ +-/* We use char because int might match the return type of a gcc2 +- builtin and then its argument prototype would still apply. */ +-char xmlParseMemory(); ++LIBS=$LIBS_save + +-int main() { +-xmlParseMemory() +-; return 0; } +-EOF +-if { (eval echo configure:3034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_lib_$ac_lib_var=no" ++# Check whether --with-libxml-prefix or --without-libxml-prefix was given. ++if test "${with_libxml_prefix+set}" = set; then ++ withval="$with_libxml_prefix" ++ libxml_prefix="$withval" ++else ++ libxml_prefix="" + fi +-rm -f conftest* +-LIBS="$ac_save_LIBS" + ++if test x$libxml_prefix != x ; then ++ libxml_args="$libxml_args --prefix=$libxml_prefix" ++ if test x${XML_CONFIG+set} != xset ; then ++ XML_CONFIG=$libxml_prefix/bin/xml-config ++ fi + fi +-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- XML_LIBS="-lxml -lz" ++# Extract the first word of "xml-config", so it can be a program name with args. ++set dummy xml-config; ac_word=$2 ++echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 ++echo "configure:3035: checking for $ac_word" >&5 ++if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then ++ echo $ac_n "(cached) $ac_c" 1>&6 ++else ++ case "$XML_CONFIG" in ++ /*) ++ ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a path. ++ ;; ++ ?:/*) ++ ac_cv_path_XML_CONFIG="$XML_CONFIG" # Let the user override the test with a dos path. ++ ;; ++ *) ++ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" ++ ac_dummy="$PATH" ++ for ac_dir in $ac_dummy; do ++ test -z "$ac_dir" && ac_dir=. ++ if test -f $ac_dir/$ac_word; then ++ ac_cv_path_XML_CONFIG="$ac_dir/$ac_word" ++ break ++ fi ++ done ++ IFS="$ac_save_ifs" ++ test -z "$ac_cv_path_XML_CONFIG" && ac_cv_path_XML_CONFIG="no" ++ ;; ++esac ++fi ++XML_CONFIG="$ac_cv_path_XML_CONFIG" ++if test -n "$XML_CONFIG"; then ++ echo "$ac_t""$XML_CONFIG" 1>&6 + else + echo "$ac_t""no" 1>&6 + fi + ++if test "$XML_CONFIG" = "no" ; then ++ echo "configure: warning: *** libxml not installed, disabling CDindex support ***" 1>&2 ++else ++ XML_CFLAGS=`$XML_CONFIG $xmlconf_args --cflags` ++ XML_LIBS=`$XML_CONFIG $xmlconf_args --libs` ++ cat >> confdefs.h <<\EOF ++#define WITH_CDINDEX 1 ++EOF ++ ++fi + +-LIBS=$LIBS_save + + # Check whether --with-esd-prefix or --without-esd-prefix was given. + if test "${with_esd_prefix+set}" = set; then +@@ -4506,46 +4529,6 @@ + fi + done + +-for ac_hdr in gnome-xml/parser.h +-do +-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` +-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 +-echo "configure:4514: checking for $ac_hdr" >&5 +-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then +- echo $ac_n "(cached) $ac_c" 1>&6 +-else +- cat > conftest.$ac_ext <<EOF +-#line 4519 "configure" +-#include "confdefs.h" +-#include <$ac_hdr> +-EOF +-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" +-{ (eval echo configure:4524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` +-if test -z "$ac_err"; then +- rm -rf conftest* +- eval "ac_cv_header_$ac_safe=yes" +-else +- echo "$ac_err" >&5 +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- eval "ac_cv_header_$ac_safe=no" +-fi +-rm -f conftest* +-fi +-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then +- echo "$ac_t""yes" 1>&6 +- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` +- cat >> confdefs.h <<EOF +-#define $ac_tr_hdr 1 +-EOF +- +-else +- echo "$ac_t""no" 1>&6 +-fi +-done +- + + echo $ac_n "checking for sched_setscheduler""... $ac_c" 1>&6 + echo "configure:4552: checking for sched_setscheduler" >&5 +@@ -4818,16 +4801,6 @@ + HAVE_LINUX_JOYSTICK_FALSE= + fi + +-if test "x$ac_cv_header_gnome_xml_parser_h" = "xyes" && test "x$ac_cv_lib_xml_xmlParseMemory" = "xyes" +-then +- cat >> confdefs.h <<\EOF +-#define WITH_CDINDEX 1 +-EOF +- +-else +- echo "configure: warning: *** libxml not installed, disabling CDindex support ***" 1>&2 +-fi +- + + echo $ac_n "checking machine architecture""... $ac_c" 1>&6 + echo "configure:4834: checking machine architecture" >&5 +@@ -4898,7 +4871,7 @@ + if test "$ARCH_TYPE" = "i386" || test "$ARCH_TYPE" = "i486" || test "$ARCH_TYPE" = "i586" || + test "$ARCH_TYPE" = "i686" || test "$ARCH_TYPE" = "i86pc" + then +- CFLAGS="$CFLAGS -m486" ++ CFLAGS="$CFLAGS" + ARCH_DEFINES="-DI386_ASSEM" + else + ARCH_DEFINES="" +@@ -5145,6 +5118,7 @@ + s%@OPENGL_LIBS@%$OPENGL_LIBS%g + s%@HAVE_OPENGL_TRUE@%$HAVE_OPENGL_TRUE%g + s%@HAVE_OPENGL_FALSE@%$HAVE_OPENGL_FALSE%g ++s%@XML_CONFIG@%$XML_CONFIG%g + s%@XML_LIBS@%$XML_LIBS%g + s%@ESD_CONFIG@%$ESD_CONFIG%g + s%@ESD_CFLAGS@%$ESD_CFLAGS%g diff --git a/audio/xmms/pkg/COMMENT b/audio/xmms/pkg/COMMENT new file mode 100644 index 00000000000..3ba3e0d407c --- /dev/null +++ b/audio/xmms/pkg/COMMENT @@ -0,0 +1 @@ +X Multimedia System --- An audio player with a Winamp GUI diff --git a/audio/xmms/pkg/DESCR b/audio/xmms/pkg/DESCR new file mode 100644 index 00000000000..d3ab702dbc6 --- /dev/null +++ b/audio/xmms/pkg/DESCR @@ -0,0 +1,8 @@ +XMMS --- X Multimedia System. XMMS is a multimedia player based on +the look of Winamp. Currently it plays mpeg layer 1/2/3, wav, au, and +CD audio. Other formats are supported by different xmms plugins (e.g. +xmms-mikmod). + +WWW: http://www.xmms.org/ + + eSk diff --git a/audio/xmms/pkg/PLIST b/audio/xmms/pkg/PLIST new file mode 100644 index 00000000000..dd1ed4bc9c9 --- /dev/null +++ b/audio/xmms/pkg/PLIST @@ -0,0 +1,41 @@ +bin/xmms +bin/wmxmms +bin/xmms-config +include/xmms/configfile.h +include/xmms/xmmsctrl.h +include/xmms/dirbrowser.h +include/xmms/util.h +include/xmms/fullscreen.h +include/xmms/dga.h +include/xmms/plugin.h +lib/libxmms.so.1 +@exec ln -fs %D/%F %B/libxmms.so +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib +@unexec rm -f %B/libxmms.so +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R +lib/xmms/Output/libOSS.so +lib/xmms/Output/libdisk_writer.so +lib/xmms/Input/libwav.so +lib/xmms/Input/libmpg123.so +lib/xmms/Input/libcdaudio.so +lib/xmms/Input/libidcin.so +lib/xmms/Effect/libvoice.so +lib/xmms/Effect/libecho.so +lib/xmms/Effect/libstereo.so +lib/xmms/Effect/libsrndecho.so +lib/xmms/General/libir.so +lib/xmms/General/libsong_change.so +lib/xmms/Visualization/libbscope.so +lib/xmms/Visualization/libsanalyzer.so +lib/libxmms.la +lib/libxmms.a +share/aclocal/xmms.m4 +share/xmms/wmxmms.xpm +@dirrm include/xmms +@dirrm lib/xmms/Output +@dirrm lib/xmms/Input +@dirrm lib/xmms/Effect +@dirrm lib/xmms/General +@dirrm lib/xmms/Visualization +@dirrm lib/xmms +@dirrm share/xmms |