Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 10:33:34 -0400 (EDT)
From:      Michael Johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/70080: [NEW PORT] multimedia/bmp: Gtk2/Gnome2 fork of XMMS
Message-ID:  <200408061433.i76EXYhr056419@gentoo.ahze.net>
Resent-Message-ID: <200408061440.i76EeKKA006670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         70080
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/bmp: Gtk2/Gnome2 fork of XMMS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 14:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael Johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #60: Wed Aug  4 21:10:57 EDT
>Description:
Beep Media Player (BMP) is a multimedia player that currently uses a skinned 
user interface based on Winamp 2.x skins. It is based on ("forked off") XMMS.

WWW:	http://beepmp.sourceforge.net/

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- bmp-0.9.7.shar begins here ---
# 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:
#
#	bmp
#	bmp/pkg-descr
#	bmp/Makefile
#	bmp/pkg-plist
#	bmp/distinfo
#	bmp/files
#	bmp/files/patch-ltmain.sh
#	bmp/files/patch-beep::controlsocket.c
#	bmp/files/patch-beep::playback.c
#	bmp/files/patch-Output::OSS::audio.c
#
echo c - bmp
mkdir -p bmp > /dev/null 2>&1
echo x - bmp/pkg-descr
sed 's/^X//' >bmp/pkg-descr << 'END-of-bmp/pkg-descr'
XBeep Media Player (BMP) is a multimedia player that currently uses a skinned 
Xuser interface based on Winamp 2.x skins. It is based on ("forked off") XMMS.
X
XWWW:	http://beepmp.sourceforge.net/
END-of-bmp/pkg-descr
echo x - bmp/Makefile
sed 's/^X//' >bmp/Makefile << 'END-of-bmp/Makefile'
X# New ports collection makefile for:	bmp
X# Date created:		2004-08-05
X# Whom:			Michael Johnson <ahze@ahze.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bmp
XPORTVERSION=	0.9.7
XCATEGORIES=	multimedia audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	beepmp
XDISTNAME=	${PORTNAME}-cvs-20040708
X
XMAINTAINER=	ahze@ahze.net
XCOMMENT=	Gtk2/Gnome2 fork of XMMS
X
XUSE_X_PREFIX=	yes
XUSE_GNOME=	libgnomeui gnomehack gnomeprefix gnometarget
XUSE_INC_LIBTOOL_VER=15
XUSE_GMAKE=	yes
XINSTALLS_SHLIB=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
X		LIBS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
X
XMAN1=	beep-media-player.1
XPORTDOCS=	README FAQ
X# enable later..
X#CONFIGURE_ARGS=	--enable-gnome-vfs --enable-gconf
X
X.include <bsd.port.pre.mk>
X
X.if !defined(WITHOUT_VORBIS)
XLIB_DEPENDS+=	vorbis.3:${PORTSDIR}/audio/libvorbis
XPLIST_SUB+=	VORBISPLUGIN=""
X.else
XCONFIGURE_ARGS+=	--disable-vorbis
XPLIST_SUB+=	VORBISPLUGIN="@comment "
X.endif
X
X.if ${HAVE_GNOME:Mesound}!=""
XUSE_GNOME+=	esound
XOUTPUT_PLUGINS+=	esd
XPLIST_SUB+=	ESDPLUGIN=""
X.if defined(PKGNAMESUFFIX)
XPKGNAMESUFFIX:=	${PKGNAMESUFFIX}-esound
X.else
XPKGNAMESUFFIX=	-esound
X.endif
X.else
XCONFIGURE_ARGS+=	--disable-esd
XPLIST_SUB+=	ESDPLUGIN="@comment "
X.endif
X
X.if ${ARCH} != "i386"
XWITHOUT_SIMD=	yes
X.endif
X
X.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
XCONFIGURE_ARGS+=	 --enable-simd
X.endif
X
Xpre-everything::
X.if !defined(WITHOUT_VORBIS)
X	@${ECHO_MSG} "===>"
X	@${ECHO_MSG} "===> You can disable support for vorbis by defining"
X	@${ECHO_MSG} "===> WITHOUT_VORBIS."
X.endif
X.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
X	@${ECHO_MSG} "===>"
X	@${ECHO_MSG} "===> You can disable x86 SIMD (3DNow!/MMX) optimizations by defining"
X	@${ECHO_MSG} "===> WITHOUT_SIMD."
X.endif
X.if ${HAVE_GNOME:Mesound}!=""
X	@${ECHO_MSG} "===>"
X	@${ECHO_MSG} "===> You can disable support for esound by defining"
X	@${ECHO_MSG} "===> WITHOUT_GNOME=esound."
X.endif
X	@${ECHO_MSG} "===>"
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for f in ${PORTDOCS}
X	@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.post.mk>
END-of-bmp/Makefile
echo x - bmp/pkg-plist
sed 's/^X//' >bmp/pkg-plist << 'END-of-bmp/pkg-plist'
Xbin/beep-media-player
Xinclude/bmp/beepctrl.h
Xinclude/bmp/configdb.h
Xinclude/bmp/configfile.h
Xinclude/bmp/dirbrowser.h
Xinclude/bmp/formatter.h
Xinclude/bmp/fullscreen.h
Xinclude/bmp/plugin.h
Xinclude/bmp/rcfile.h
Xinclude/bmp/titlestring.h
Xinclude/bmp/util.h
Xinclude/bmp/vfs.h
Xlib/bmp/Input/libcdaudio.so
Xlib/bmp/Input/libmpg123.so
X%%VORBISPLUGIN%%lib/bmp/Input/libvorbis.so
Xlib/bmp/Input/libwav.so
Xlib/bmp/Output/libOSS.so
X%%ESDPLUGIN%%lib/bmp/Output/libesdout.so
Xlib/bmp/Visualization/libbscope.so
Xlib/libbeep.so
Xlib/libbeep.so.2
Xlibdata/pkgconfig/bmp.pc
Xshare/gnome/applications/bmp.desktop
Xshare/gnome/bmp/Skins/Default/Avs.bmp
Xshare/gnome/bmp/Skins/Default/Balance.bmp
Xshare/gnome/bmp/Skins/Default/Eq_ex.bmp
Xshare/gnome/bmp/Skins/Default/Eqmain.bmp
Xshare/gnome/bmp/Skins/Default/Main.bmp
Xshare/gnome/bmp/Skins/Default/Mb.bmp
Xshare/gnome/bmp/Skins/Default/Monoster.bmp
Xshare/gnome/bmp/Skins/Default/Nums_ex.bmp
Xshare/gnome/bmp/Skins/Default/Pledit.bmp
Xshare/gnome/bmp/Skins/Default/Posbar.bmp
Xshare/gnome/bmp/Skins/Default/Shufrep.bmp
Xshare/gnome/bmp/Skins/Default/Text.bmp
Xshare/gnome/bmp/Skins/Default/Titlebar.bmp
Xshare/gnome/bmp/Skins/Default/Volume.bmp
Xshare/gnome/bmp/Skins/Default/cButtons.bmp
Xshare/gnome/bmp/Skins/Default/pLaypaus.bmp
Xshare/gnome/bmp/Skins/Default/pLedit.txt
Xshare/gnome/bmp/Skins/Default/readme.txt
Xshare/gnome/bmp/Skins/Default/screenshot.bmp
Xshare/gnome/bmp/Skins/Default/vIscolor.txt
Xshare/gnome/bmp/glade/equalizerwin_preset_menu.glade
Xshare/gnome/bmp/glade/prefswin.glade
Xshare/gnome/bmp/images/appearance.png
Xshare/gnome/bmp/images/eq.png
Xshare/gnome/bmp/images/mouse.png
Xshare/gnome/bmp/images/playlist.png
Xshare/gnome/bmp/images/plugins.png
Xshare/gnome/icons/bmp.svg
Xshare/locale/cy/LC_MESSAGES/bmp.mo
Xshare/locale/de/LC_MESSAGES/bmp.mo
Xshare/locale/es/LC_MESSAGES/bmp.mo
Xshare/locale/fr/LC_MESSAGES/bmp.mo
Xshare/locale/ja/LC_MESSAGES/bmp.mo
Xshare/locale/ko/LC_MESSAGES/bmp.mo
Xshare/locale/lt/LC_MESSAGES/bmp.mo
Xshare/locale/pl/LC_MESSAGES/bmp.mo
Xshare/locale/ru/LC_MESSAGES/bmp.mo
Xshare/locale/sv/LC_MESSAGES/bmp.mo
Xshare/locale/zh_CN/LC_MESSAGES/bmp.mo
X@dirrm share/gnome/bmp/images
X@dirrm share/gnome/bmp/glade
X@dirrm share/gnome/bmp/Skins/Default
X@unexec rmdir %D/share/gnome/bmp/Skins %D/share/gnome/bmp 2>/dev/null || echo "If you are permanently removing xmms, do not forget to remove skin files left under %D/share/xmms/Skins. Use \`\`rm -Rf %D/share/gnome/bmp/Skins; rmdir %D/share/gnome/bmp''" | fmt
X@dirrm share/gnome/applications
X@dirrm lib/bmp/Visualization
X@dirrm lib/bmp/Output
X@dirrm lib/bmp/Input
X@dirrm lib/bmp
X@dirrm include/bmp
END-of-bmp/pkg-plist
echo x - bmp/distinfo
sed 's/^X//' >bmp/distinfo << 'END-of-bmp/distinfo'
XMD5 (bmp-cvs-20040708.tar.gz) = 26028be5db93a6c842825bc56451b9af
XSIZE (bmp-cvs-20040708.tar.gz) = 1634220
END-of-bmp/distinfo
echo c - bmp/files
mkdir -p bmp/files > /dev/null 2>&1
echo x - bmp/files/patch-ltmain.sh
sed 's/^X//' >bmp/files/patch-ltmain.sh << 'END-of-bmp/files/patch-ltmain.sh'
X--- ltmain.sh.orig	Thu Aug  5 23:47:54 2004
X+++ ltmain.sh	Thu Aug  5 23:48:14 2004
X@@ -5428,10 +5428,12 @@
X 	fi
X 
X 	# Install the pseudo-library for information purposes.
X+	if /usr/bin/false; then
X 	name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
X 	instname="$dir/$name"i
X 	$show "$install_prog $instname $destdir/$name"
X 	$run eval "$install_prog $instname $destdir/$name" || exit $?
X+	fi
X 
X 	# Maybe install the static library, too.
X 	test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
END-of-bmp/files/patch-ltmain.sh
echo x - bmp/files/patch-beep::controlsocket.c
sed 's/^X//' >bmp/files/patch-beep::controlsocket.c << 'END-of-bmp/files/patch-beep::controlsocket.c'
X--- beep/controlsocket.c.orig	Fri Aug  6 04:31:09 2004
X+++ beep/controlsocket.c	Fri Aug  6 04:35:20 2004
X@@ -29,6 +29,7 @@
X #include <sys/types.h>
X #include <sys/socket.h>
X #include <sys/un.h>
X+#include <sys/time.h>
X 
X #include "main.h"
X #include "equalizer.h"
END-of-bmp/files/patch-beep::controlsocket.c
echo x - bmp/files/patch-beep::playback.c
sed 's/^X//' >bmp/files/patch-beep::playback.c << 'END-of-bmp/files/patch-beep::playback.c'
X--- beep/playback.c.orig	Fri Aug  6 04:35:45 2004
X+++ beep/playback.c	Fri Aug  6 05:45:29 2004
X@@ -264,17 +264,16 @@
X void
X bmp_playback_seek(gint time)
X {
X+    gboolean restore_pause = FALSE;
X+    int l, r;
X     if (!ip_data->playing)
X         return;
X 
X     if (!get_current_input_plugin())
X-        return;
X 
X 	/* FIXME WORKAROUND...that should work with all plugins
X 	 * mute the volume, start playback again, do the seek, then pause again
X 	 * -Patrick Sudowe  */
X-	gboolean restore_pause = FALSE;
X-	gint l=0, r=0;
X 	if(ip_data->paused)
X 	{
X 		restore_pause = TRUE;
END-of-bmp/files/patch-beep::playback.c
echo x - bmp/files/patch-Output::OSS::audio.c
sed 's/^X//' >bmp/files/patch-Output::OSS::audio.c << 'END-of-bmp/files/patch-Output::OSS::audio.c'
X--- Output/OSS/audio.c.orig	Fri Aug  6 05:47:48 2004
X+++ Output/OSS/audio.c	Fri Aug  6 05:49:07 2004
X@@ -26,6 +26,7 @@
X #include <fcntl.h>
X #include <errno.h>
X #include <sys/ioctl.h>
X+#include <sys/time.h>
X 
X #include "OSS.h"
X 
X@@ -530,12 +531,12 @@
X 
X }
X 
X+struct timeval tv;
X gpointer
X oss_loop(gpointer arg)
X {
X     gint length, cnt;
X     fd_set set;
X-    struct timeval tv;
X 
X     while (going) {
X         if (oss_used() > prebuffer_size)
END-of-bmp/files/patch-Output::OSS::audio.c
exit
--- bmp-0.9.7.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408061433.i76EXYhr056419>