# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # alsaplayer # alsaplayer/files # alsaplayer/files/patch-configure # alsaplayer/files/patch-input::sndfile::sndfile_engine.c # alsaplayer/files/patch-app::Makefile.am # alsaplayer/files/patch-app::Makefile.in # alsaplayer/files/patch-Makefile.am # alsaplayer/files/patch-Makefile.in # alsaplayer/files/patch-app::CorePlayer.cpp # alsaplayer/files/patch-scopes::monoscope::monoscope.c # alsaplayer/Makefile # alsaplayer/distinfo # alsaplayer/pkg-descr # alsaplayer/pkg-plist # echo c - alsaplayer mkdir -p alsaplayer > /dev/null 2>&1 echo c - alsaplayer/files mkdir -p alsaplayer/files > /dev/null 2>&1 echo x - alsaplayer/files/patch-configure sed 's/^X//' >alsaplayer/files/patch-configure << 'END-of-alsaplayer/files/patch-configure' X--- configure-orig Tue Jun 17 16:16:26 2003 X+++ configure Tue Jun 17 16:16:46 2003 X@@ -10316,7 +10316,7 @@ X echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5 X echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6 X if test $ac_cv_lib_GL_glBegin = yes; then X- OPENGL_LIBS="-lGL -lpthread" X+ OPENGL_LIBS="-lGL -pthread" X fi X X X@@ -10376,7 +10376,7 @@ X echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glBegin" >&5 X echo "${ECHO_T}$ac_cv_lib_MesaGL_glBegin" >&6 X if test $ac_cv_lib_MesaGL_glBegin = yes; then X- OPENGL_LIBS="-lMesaGL -lpthread" X+ OPENGL_LIBS="-lMesaGL -pthread" X fi X X fi X@@ -11233,13 +11233,13 @@ X X X X-echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5 X-echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6 X+echo "$as_me:$LINENO: checking for pthread_create in -pthread" >&5 X+echo $ECHO_N "checking for pthread_create in -pthread... $ECHO_C" >&6 X if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then X echo $ECHO_N "(cached) $ECHO_C" >&6 X else X ac_check_lib_save_LIBS=$LIBS X-LIBS="-lpthread $LIBS" X+LIBS="-pthread $LIBS" X cat >conftest.$ac_ext <<_ACEOF X #line $LINENO "configure" X /* confdefs.h. */ X@@ -11292,7 +11292,7 @@ X #define HAVE_LIBPTHREAD 1 X _ACEOF X X- LIBS="-lpthread $LIBS" X+ LIBS="-pthread $LIBS" X X else X { { echo "$as_me:$LINENO: error: ** POSIX.4 threads not installed or broken **" >&5 END-of-alsaplayer/files/patch-configure echo x - alsaplayer/files/patch-input::sndfile::sndfile_engine.c sed 's/^X//' >alsaplayer/files/patch-input::sndfile::sndfile_engine.c << 'END-of-alsaplayer/files/patch-input::sndfile::sndfile_engine.c' X--- input/sndfile/sndfile_engine.c-orig Tue Jun 17 16:43:57 2003 X+++ input/sndfile/sndfile_engine.c Tue Jun 17 16:44:12 2003 X@@ -20,7 +20,6 @@ X */ X X #include X-#include X #include X #include X #include END-of-alsaplayer/files/patch-input::sndfile::sndfile_engine.c echo x - alsaplayer/files/patch-app::Makefile.am sed 's/^X//' >alsaplayer/files/patch-app::Makefile.am << 'END-of-alsaplayer/files/patch-app::Makefile.am' X--- app/Makefile.am-orig Tue Jun 17 17:32:45 2003 X+++ app/Makefile.am Tue Jun 17 17:32:58 2003 X@@ -17,7 +17,7 @@ X X endif X X-LIBS = -lpthread -ldl $(SUN_LIBS) X+LIBS = -pthread $(SUN_LIBS) X X COMMON_FLAGS = @DFLAGS@ -D_REENTRANT \ X -DADDON_DIR=\"$(ADDON_DIR)\" \ END-of-alsaplayer/files/patch-app::Makefile.am echo x - alsaplayer/files/patch-app::Makefile.in sed 's/^X//' >alsaplayer/files/patch-app::Makefile.in << 'END-of-alsaplayer/files/patch-app::Makefile.in' X--- app/Makefile.in-orig Tue Jun 17 17:33:15 2003 X+++ app/Makefile.in Tue Jun 17 17:33:33 2003 X@@ -149,7 +149,7 @@ X LIBMIKMOD_LIBS = @LIBMIKMOD_LIBS@ X LIBOBJS = @LIBOBJS@ X X-LIBS = -lpthread -ldl $(SUN_LIBS) X+LIBS = -pthread $(SUN_LIBS) X LIBTOOL = @LIBTOOL@ X LN_S = @LN_S@ X LTLIBOBJS = @LTLIBOBJS@ END-of-alsaplayer/files/patch-app::Makefile.in echo x - alsaplayer/files/patch-Makefile.am sed 's/^X//' >alsaplayer/files/patch-Makefile.am << 'END-of-alsaplayer/files/patch-Makefile.am' X--- Makefile.am-orig Tue Jun 17 17:34:05 2003 X+++ Makefile.am Tue Jun 17 17:34:15 2003 X@@ -1,5 +1,5 @@ X AUTOMAKE_OPTIONS = foreign X-SUBDIRS = interface output input scopes app alsaplayer extra docs \ X+SUBDIRS = interface output input scopes app alsaplayer extra \ X libalsaplayer examples m4 reader X X EXTRA_DIST = bootstrap alsaplayer.spec END-of-alsaplayer/files/patch-Makefile.am echo x - alsaplayer/files/patch-Makefile.in sed 's/^X//' >alsaplayer/files/patch-Makefile.in << 'END-of-alsaplayer/files/patch-Makefile.in' X--- Makefile.in-orig Tue Jun 17 17:34:25 2003 X+++ Makefile.in Tue Jun 17 17:34:43 2003 X@@ -228,7 +228,7 @@ X sysconfdir = @sysconfdir@ X target_alias = @target_alias@ X AUTOMAKE_OPTIONS = foreign X-SUBDIRS = interface output input scopes app alsaplayer extra docs \ X+SUBDIRS = interface output input scopes app alsaplayer extra \ X libalsaplayer examples m4 reader X X END-of-alsaplayer/files/patch-Makefile.in echo x - alsaplayer/files/patch-app::CorePlayer.cpp sed 's/^X//' >alsaplayer/files/patch-app::CorePlayer.cpp << 'END-of-alsaplayer/files/patch-app::CorePlayer.cpp' X--- app/CorePlayer.cpp-orig Wed Jun 18 13:48:49 2003 X+++ app/CorePlayer.cpp Wed Jun 18 13:52:02 2003 X@@ -1165,6 +1165,7 @@ X //alsaplayer_error("producer: waiting for free buffer"); X pthread_mutex_lock(&obj->counter_mutex); X //alsaplayer_error("producer: unblocked"); X+ dosleep(1000); X } X } X //alsaplayer_error("Exitting producer_func (producing = %d)", obj->producing); END-of-alsaplayer/files/patch-app::CorePlayer.cpp echo x - alsaplayer/files/patch-scopes::monoscope::monoscope.c sed 's/^X//' >alsaplayer/files/patch-scopes::monoscope::monoscope.c << 'END-of-alsaplayer/files/patch-scopes::monoscope::monoscope.c' X--- scopes/monoscope/monoscope.c-orig Thu Jun 19 11:15:16 2003 X+++ scopes/monoscope/monoscope.c Thu Jun 19 11:15:22 2003 X@@ -103,7 +103,7 @@ X pthread_mutex_lock(&update_mutex); X memcpy (copyEq, newEq, sizeof (short) * CONVOLVE_BIG); X thisEq = copyEq; X-#if 1 X+#if 0 X val = convolve_match (avgEq, copyEq, state); X thisEq += val; X #endif END-of-alsaplayer/files/patch-scopes::monoscope::monoscope.c echo x - alsaplayer/Makefile sed 's/^X//' >alsaplayer/Makefile << 'END-of-alsaplayer/Makefile' X# New ports collection makefile for: alsaplayer X# Date created: 18 June 2003 X# Whom: Robin Schilham X# X# $FreeBSD$ X# X XPORTNAME= alsaplayer XPORTVERSION= 0.99.75 XCATEGORIES= audio XMASTER_SITES= ftp://ftp.alsa-project.org/pub/people/andy/ \ X http://www.alsaplayer.org/ X XMAINTAINER= co9@xs4all.nl XCOMMENT= Audio player with pitch control and a GNOME GUI X XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \ X sndfile.1:${PORTSDIR}/audio/libsndfile X XUSE_REINPLACE= yes X XMAN1= alsaplayer.1 X XUSE_GNOMENG= yes XUSE_GNOME= glib12 XGNU_CONFIGURE= yes XCONFIGURE_ENV+= GLIB_CONFIG="${GLIB_CONFIG}" XCONFIGURE_ARGS= --disable-oss --disable-oggtest X X.if defined(WITHOUT_X11) XCONFIGURE_ARGS+=--disable-gtktest --disable-gtk X.else XUSE_XLIB= yes XCONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}" XUSE_GTK= yes X Xpre-fetch: X @${ECHO_MSG} "To build this port without X11, define \"WITHOUT_X11\"." X.endif X Xpre-patch: X @${FIND} ${WRKSRC} -name '*.c' | ${XARGS} \ X ${REINPLACE_CMD} -e "s|||g" X @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} \ X ${REINPLACE_CMD} -e "s|||g" X X.include END-of-alsaplayer/Makefile echo x - alsaplayer/distinfo sed 's/^X//' >alsaplayer/distinfo << 'END-of-alsaplayer/distinfo' XMD5 (alsaplayer-0.99.75.tar.gz) = 5b8337f2e2b22b31cf13dbbc3cb3072a END-of-alsaplayer/distinfo echo x - alsaplayer/pkg-descr sed 's/^X//' >alsaplayer/pkg-descr << 'END-of-alsaplayer/pkg-descr' XAlsaPlayer is a new type of PCM player that supports different output systems Xincluding OSS, Esound, NAS (Network Audio Server), Sparc, and SGI. X XAlsaPlayer is heavily multi-threaded and has some very interesting features Xunique to Linux/Unix players such as full pitch control and the possibility Xof playing music backwards. X XWarning: AlsaPlayer consumes a lot of CPU cycles. X XWWW: http://www.alsaplayer.org END-of-alsaplayer/pkg-descr echo x - alsaplayer/pkg-plist sed 's/^X//' >alsaplayer/pkg-plist << 'END-of-alsaplayer/pkg-plist' Xbin/alsaplayer Xlib/alsaplayer/input/libmad_in.la Xlib/alsaplayer/input/libmad_in.so Xlib/alsaplayer/input/libmod.la Xlib/alsaplayer/input/libmod.so Xlib/alsaplayer/input/libsndfile_in.la Xlib/alsaplayer/input/libsndfile_in.so Xlib/alsaplayer/input/libwav.la Xlib/alsaplayer/input/libwav.so Xlib/alsaplayer/interface/libdaemon_interface.la Xlib/alsaplayer/interface/libdaemon_interface.so Xlib/alsaplayer/interface/libgtk_interface.la Xlib/alsaplayer/interface/libgtk_interface.so Xlib/alsaplayer/interface/libtext_interface.la Xlib/alsaplayer/interface/libtext_interface.so Xlib/alsaplayer/output/libesound_out.la Xlib/alsaplayer/output/libesound_out.so Xlib/alsaplayer/output/libnull_out.la Xlib/alsaplayer/output/libnull_out.so Xlib/alsaplayer/reader/libfile.la Xlib/alsaplayer/reader/libfile.so Xlib/alsaplayer/reader/libhttp.la Xlib/alsaplayer/reader/libhttp.so Xlib/alsaplayer/scopes/libblurscope.la Xlib/alsaplayer/scopes/libblurscope.so Xlib/alsaplayer/scopes/liblevelmeter.la Xlib/alsaplayer/scopes/liblevelmeter.so Xlib/alsaplayer/scopes/liblogbarfft.la Xlib/alsaplayer/scopes/liblogbarfft.so Xlib/alsaplayer/scopes/libmonoscope.la Xlib/alsaplayer/scopes/libmonoscope.so Xlib/alsaplayer/scopes/libspacescope.la Xlib/alsaplayer/scopes/libspacescope.so Xlib/alsaplayer/scopes/libsynaescope.la Xlib/alsaplayer/scopes/libsynaescope.so Xlib/libalsaplayer.la Xlib/libalsaplayer.so Xlib/libalsaplayer.so.0 Xlib/pkgconfig/alsaplayer.pc X@dirrm lib/alsaplayer/scopes X@dirrm lib/alsaplayer/reader X@dirrm lib/alsaplayer/output X@dirrm lib/alsaplayer/interface X@dirrm lib/alsaplayer/input X@dirrm lib/alsaplayer END-of-alsaplayer/pkg-plist exit