From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 21 21:50:26 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79CF616A4CE for ; Tue, 21 Sep 2004 21:50:26 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AE4143D53 for ; Tue, 21 Sep 2004 21:50:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8LLoQap030419 for ; Tue, 21 Sep 2004 21:50:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8LLoQm4030388; Tue, 21 Sep 2004 21:50:26 GMT (envelope-from gnats) Resent-Date: Tue, 21 Sep 2004 21:50:26 GMT Resent-Message-Id: <200409212150.i8LLoQm4030388@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Thomas E. Zander" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1703416A4CE for ; Tue, 21 Sep 2004 21:45:26 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95D1943D46 for ; Tue, 21 Sep 2004 21:45:25 +0000 (GMT) (envelope-from riggs@rrr.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id C8ED26A473 for ; Tue, 21 Sep 2004 23:45:14 +0200 (CEST) Received: from marvin.riggiland.au (ppp-82-135-13-203.mnet-online.de [82.135.13.203]) by mail.m-online.net (Postfix) with ESMTP id D9AF212F816 for ; Tue, 21 Sep 2004 23:45:13 +0200 (CEST) Received: from marvin.riggiland.au (localhost [127.0.0.1]) by marvin.riggiland.au (8.13.1/8.13.1) with ESMTP id i8LLjCmn017266 for ; Tue, 21 Sep 2004 23:45:12 +0200 (CEST) (envelope-from riggs@marvin.riggiland.au) Received: (from riggs@localhost) by marvin.riggiland.au (8.13.1/8.13.1/Submit) id i8LLjCTZ017265; Tue, 21 Sep 2004 23:45:12 +0200 (CEST) (envelope-from riggs) Message-Id: <200409212145.i8LLjCTZ017265@marvin.riggiland.au> Date: Tue, 21 Sep 2004 23:45:12 +0200 (CEST) From: "Thomas E. Zander" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/71987: [New port] audio/ifp-line (interface to iRiver music players) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Sep 2004 21:50:26 -0000 >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@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@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 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 and /dev/ugen where X 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: