Date: Fri, 19 Mar 2010 12:19:56 -0700 From: Charlie Kester <corky1951@comcast.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/144879: [NEW PORT] audio/mcplay: a curses based front-end to various audio players Message-ID: <20100319191959.82CF2106564A@hub.freebsd.org> Resent-Message-ID: <201003191930.o2JJU1rU019431@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144879 >Category: ports >Synopsis: [NEW PORT] audio/mcplay: a curses based front-end to various audio players >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 Mar 19 19:30:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Charlie Kester >Release: FreeBSD 8.0-STABLE i386 >Organization: >Environment: System: FreeBSD atom.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Mar 14 14:51:31 PDT 2010 ckester@atom.local:/usr/obj/usr/src/sys/ATOM i386 >Description: mcplay is a curses based front-end for various audio players. It is a reimplementation in C of the well-known python program 'cplay'. Supported players currently include: - mpg123 - ogg123 - sox Author: Tobias Rapp WWW: http://www.yahuxo.de/mcplay/ >How-To-Repeat: >Fix: --- mcplay-0.3i.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: # # mcplay # mcplay/pkg-descr # mcplay/Makefile # mcplay/distinfo # mcplay/files # mcplay/files/patch-Makefile # mcplay/files/patch-config.h # mcplay/files/patch-mixer.c # mcplay/files/patch-screen.c # mcplay/files/mcplay.1 # echo c - mcplay mkdir -p mcplay > /dev/null 2>&1 echo x - mcplay/pkg-descr sed 's/^X//' >mcplay/pkg-descr << '46e82c7fabb1f15383d46d89183dea63' Xmcplay is a curses based front-end for various audio players. It Xis a reimplementation in C of the well-known python program 'cplay'. X XSupported players currently include: X- mpg123 X- ogg123 X- sox X XAuthor: Tobias Rapp X XWWW: http://www.yahuxo.de/mcplay/ 46e82c7fabb1f15383d46d89183dea63 echo x - mcplay/Makefile sed 's/^X//' >mcplay/Makefile << '185e8af17494dc26e9d2638fb21d4947' X# Ports collection makefile for: mcplay X# Date created: 18 Mar 2010 X# Whom: Charlie Kester <corky1951@comcast.net> X# X# $FreeBSD$ X# X XPORTNAME= mcplay XDISTVERSION= 0.3i XCATEGORIES= audio XMASTER_SITES= http://www.yahuxo.de/${PORTNAME}/ X XMAINTAINER= corky1951@comcast.net XCOMMENT= A curses based front-end to various audioplayers X XLIB_DEPENDS= glib-12:${PORTSDIR}/devel/glib12 X X.if !defined(NO_INSTALL_MANPAGES) XMAN1= ${PORTNAME}.1 XMANCOMPRESSED= no X.endif X XPLIST= bin/${PORTNAME} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X.if !defined(NO_INSTALL_MANPAGES) X ${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 X.endif X X.include <bsd.port.mk> 185e8af17494dc26e9d2638fb21d4947 echo x - mcplay/distinfo sed 's/^X//' >mcplay/distinfo << '601b85e16e3091ca409ffa2283eb6e39' XMD5 (mcplay-0.3i.tar.gz) = 11448f55ea7d6b337ec3b9e2c0bf7b13 XSHA256 (mcplay-0.3i.tar.gz) = 1bfbc6f3f5b263de0d1939cd19381da83a667d16275dcbfefa9fdbf9cd11ee93 XSIZE (mcplay-0.3i.tar.gz) = 102592 601b85e16e3091ca409ffa2283eb6e39 echo c - mcplay/files mkdir -p mcplay/files > /dev/null 2>&1 echo x - mcplay/files/patch-Makefile sed 's/^X//' >mcplay/files/patch-Makefile << '89fc6a0d9e99f1e62c176aba87d14a53' X--- Makefile.orig 2002-04-28 06:30:35.000000000 -0700 X+++ Makefile 2010-03-19 11:07:59.000000000 -0700 X@@ -13,7 +13,7 @@ X SOX_CFLAGS=-DHAVE_SOX X X #uncomment _one_ of these for midi support X-MID_CFLAGS=-DHAVE_DRVMIDI X+#MID_CFLAGS=-DHAVE_DRVMIDI X #MID_CFLAGS=-DHAVE_PLAYMIDI X X #uncomment these two lines if you have lirc X@@ -24,7 +24,7 @@ X #LOG_CFLAGS=-DLOG_DIR_S=\"/tmp\" X X #set install dirs here X-INSTDIR=/usr/local X+INSTDIR=${PREFIX} X BINDIR=$(INSTDIR)/bin X X ##################################################################### 89fc6a0d9e99f1e62c176aba87d14a53 echo x - mcplay/files/patch-config.h sed 's/^X//' >mcplay/files/patch-config.h << 'd1a8bbb4b971ee5f4481cd81166eea5c' X--- config.h.orig 2010-03-18 18:48:31.000000000 -0700 X+++ config.h 2010-03-18 18:50:27.000000000 -0700 X@@ -26,7 +26,7 @@ X #define LOGFILE_S LOGDIR_S""G_DIR_SEPARATOR_S""PROGNAME_S".log" X X /* if you have linux */ X-#include <linux/limits.h> X+#include <sys/limits.h> X /* else */ X /* #define PATH_MAX 1000 */ X /* #define NAME_MAX 200 */ d1a8bbb4b971ee5f4481cd81166eea5c echo x - mcplay/files/patch-mixer.c sed 's/^X//' >mcplay/files/patch-mixer.c << '5a1247988b14ca36c4eb89edf406a1cd' X--- mixer.c.orig 2010-03-18 18:58:51.000000000 -0700 X+++ mixer.c 2010-03-18 18:59:10.000000000 -0700 X@@ -7,7 +7,7 @@ X #include <fcntl.h> X #include <unistd.h> X #include <stdlib.h> X-#include <linux/soundcard.h> X+#include <sys/soundcard.h> X #include <errno.h> X #include <string.h> X 5a1247988b14ca36c4eb89edf406a1cd echo x - mcplay/files/patch-screen.c sed 's/^X//' >mcplay/files/patch-screen.c << '8de81ded241f65a3f9e91913e0537036' X--- screen.c.orig 2010-03-18 19:50:01.000000000 -0700 X+++ screen.c 2010-03-18 19:54:07.000000000 -0700 X@@ -275,9 +275,13 @@ X gchar *tmp, *str; X X va_start(az, fmt); X- str = g_strdup_vprintf(fmt, az); X+ if ( fmt != NULL ) X+ str = g_strdup_vprintf(fmt, az); X va_end(az); X X+ if ( fmt == NULL ) X+ return; X+ X if( data->nmsg >= 0 ) X { X tmp = g_strdup_printf("%*.*s", -1*(data->cols-7), data->cols-7, str); 8de81ded241f65a3f9e91913e0537036 echo x - mcplay/files/mcplay.1 sed 's/^X//' >mcplay/files/mcplay.1 << '73a4d5b8efa946b2b5f9292b5883239f' X.TH MCPLAY "1" "March 2010" "mcplay 0.3i" "User Commands" X.SH NAME Xmcplay \- A curses based front-end for various audio players X.SH SYNOPSIS X.B mcplay X[\fIoptions\fR] [\fIfile|dir|playlist\fR]... X.SH DESCRIPTION X.B mcplay Xis a reimplementation in C of the well-known python program 'cplay'. X.PP XThe following players are supported: mpg123 ogg123 sox X.PP XFiles, Directories and Playlist\-Files (m3u\-files) given as arguments on the Xcommandline will be added to the internal playlist. X.SH OPTIONS X.TP X\fB\-a\fR, \fB\-\-aggressive\fR XIncrease the priority of the players (if possible). X.TP X\fB\-c\fR, \fB\-\-color\fR XRun program in colored mode (if available). X.TP X\fB\-l\fR, \fB\-\-logfile\fR XLog messages to this file. [default: /tmp/mcplay.log] X.TP X\fB\-p\fR, \fB\-\-play\fR XStart playing the playlist. X.TP X\fB\-r\fR, \fB\-\-repeat\fR XStart in repeat playlist mode. X.TP X\fB\-R\fR, \fB\-\-random\fR XStart in random playlist mode. X.TP X\fB\-\-version\fR XPrint version information. X.TP X\fB\-\-copyright\fR XPrint copyright information. X.TP X\fB\-h\fR, \fB\-\-help\fR XShows this text. X.PP XPress 'h' while mcplay is running for help on keys. X.SH SEE ALSO XWebsite: http://www.yahuxo.de/mcplay/ X.SH AUTHOR XTobias Rapp <yahuxo at gmx.de> X.SH LICENSE XCopyright (C) 2002 Tobias Rapp. X XThis program is free software; you can redistribute it and/or modify Xit under the terms of the GNU General Public License as published by Xthe Free Software Foundation; either version 2 of the License, or X(at your option) any later version. X XThis program is distributed in the hope that it will be useful, Xbut WITHOUT ANY WARRANTY; without even the implied warranty of XMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the XGNU General Public License for more details. X XYou should have received a copy of the GNU General Public License Xalong with this program. If not, write to the Free Software XFoundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. X 73a4d5b8efa946b2b5f9292b5883239f exit --- mcplay-0.3i.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?20100319191959.82CF2106564A>