ports/71987: [New port] audio/ifp-line (interface to iRiver music players)

Thomas E. Zander riggs at rrr.de
Tue Sep 21 21:50:26 UTC 2004


>Number:         71987
>Category:       ports
>Synopsis:       [New port] audio/ifp-line (interface to iRiver music 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:   Tue Sep 21 21:50:25 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Thomas E. Zander
>Release:        FreeBSD 5.3-BETA5 i386
>Organization:
>Environment:
System: FreeBSD marvin.riggiland.au 5.3-BETA5 FreeBSD 5.3-BETA5 #1: Sun Sep 19 17:27:50 CEST 2004 root at marvin.riggiland.au:/usr/obj/usr/src/sys/MARVIN i386
>Description:
This port provides a simple but easy to use, and via
scriptability powerful interface to control iRiver's
great 'ifp' series portable music players.
If there is a 'manager firmware' installed on this
device, it's not possible to gain access via umass(4).
This port uses libusb to connect directly via ugen.
>How-To-Repeat:
>Fix:
That's it for ${PORTSDIR}audio/ifp-line:

# 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:
#
#	ifp-line
#	ifp-line/Makefile
#	ifp-line/distinfo
#	ifp-line/files
#	ifp-line/files/patch-Makefile
#	ifp-line/pkg-descr
#	ifp-line/pkg-message
#
echo c - ifp-line
mkdir -p ifp-line > /dev/null 2>&1
echo x - ifp-line/Makefile
sed 's/^X//' >ifp-line/Makefile << 'END-of-ifp-line/Makefile'
X# ex:ts=8
X# New ports collection makefile for:	ifp-line
X# Date created:			Sep 21, 2004
X# Whom:				riggs
X#
X# $FreeBSD$
X#
X
XPORTNAME=	ifp-line
XPORTVERSION=	0.2.4.4
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ifp-driver
X
XMAINTAINER=	riggs at rrr.de
XCOMMENT=	Command line interface to iRiver music players
X
XLIB_DEPENDS=	usb-0.1.7:${PORTSDIR}/devel/libusb
X
XMAN1=		ifp.1
X
XPLIST_FILES+=	bin/ifp
X
Xpost-install:
X	@${CAT} ${.CURDIR}/pkg-message
X
X.include <bsd.port.mk>
END-of-ifp-line/Makefile
echo x - ifp-line/distinfo
sed 's/^X//' >ifp-line/distinfo << 'END-of-ifp-line/distinfo'
XMD5 (ifp-line-0.2.4.4.tar.gz) = 188b41668cc74cea0f1b848c39637776
XSIZE (ifp-line-0.2.4.4.tar.gz) = 23879
END-of-ifp-line/distinfo
echo c - ifp-line/files
mkdir -p ifp-line/files > /dev/null 2>&1
echo x - ifp-line/files/patch-Makefile
sed 's/^X//' >ifp-line/files/patch-Makefile << 'END-of-ifp-line/files/patch-Makefile'
X--- Makefile.orig	Sun May 30 17:05:29 2004
X+++ Makefile	Tue Sep 21 10:48:59 2004
X@@ -1,10 +1,5 @@
X-# $Id: Makefile,v 1.8 2004/05/30 15:05:29 yamajun Exp $
X-
X-CFLAGS	= `libusb-config --cflags` -Wall -g
X-LDFLAGS	= `libusb-config --libs`
X-PREFIX	?= /usr/local
X-MANDIR	?= ${PREFIX}/man/man1
X-INSTALL	?= /usr/bin/install
X+CFLAGS+=	`libusb-config --cflags`
X+LDFLAGS+=	`libusb-config --libs`
X 
X OBJS = ifp.o ifp_routines.o unicodehack.o
X 
X@@ -12,12 +7,9 @@
X ifp: $(OBJS)
X 	$(CC) -o ifp $(OBJS) $(LDFLAGS)
X 
X-$(MANDIR):
X-	mkdir -p $(MANDIR)
X-
X-install: ifp $(MANDIR)
X-	$(INSTALL) -c ifp $(PREFIX)/bin
X-	$(INSTALL) -c -m 644 ifp.1 $(MANDIR)
X+install: ifp
X+	@${BSD_INSTALL_PROGRAM} ifp $(PREFIX)/bin
X+	@${BSD_INSTALL_MAN} ifp.1 $(PREFIX)/man/man1
X 
X ifp.o: ifp_routines.h
X ifp_routines.o: ifp_routines.h unicodehack.h
END-of-ifp-line/files/patch-Makefile
echo x - ifp-line/pkg-descr
sed 's/^X//' >ifp-line/pkg-descr << 'END-of-ifp-line/pkg-descr'
Xifp-line is a simple command-line tool to provide basic
Xfunctionality to manage files on iRiver music players
Xwhich are using the "manager firmware".
XUsing this tool, you can
Xo add/remove files on the player
Xo view information about the player, e.g. battery status
Xo flash your firmware using an .hex file
X
XWWW: http://ifp-driver.sourceforge.net/
END-of-ifp-line/pkg-descr
echo x - ifp-line/pkg-message
sed 's/^X//' >ifp-line/pkg-message << 'END-of-ifp-line/pkg-message'
XNOTE:
Xifp directly accesses the usb/ugen devices via libusb. So
Xif you want to use this application as a non-root user, you
Xhave to make sure that the corresponding device nodes
X/dev/usb<somenumber> and /dev/ugen<somenumber> where
X<somenumber> is dependent on your personal usb environment
Xare readable and writable by the user intended to use the
Xtool.
END-of-ifp-line/pkg-message
exit

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



More information about the freebsd-ports-bugs mailing list