Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 19:54:03 GMT
From:      Stefan Rumetshofer <sterum@overrider.at>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/165337: new port: sysutils/fusefs-mp3fs <FUSE-based filesystem for transcoding flac to mp3>
Message-ID:  <201202201954.q1KJs3kd000324@red.freebsd.org>
Resent-Message-ID: <201202202000.q1KK0N3k095181@freefall.freebsd.org>

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

>Number:         165337
>Category:       ports
>Synopsis:       new port: sysutils/fusefs-mp3fs <FUSE-based filesystem for transcoding flac to mp3>
>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:   Mon Feb 20 20:00:23 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Stefan Rumetshofer
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD saturn. 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Mon Feb 20 16:48:32 CET 2012     stefan@saturn.:/usr/obj/usr/src/sys/SATURN  amd64
>Description:
MP3FS is a read-only FUSE filesystem which transcodes audio formats (currently
FLAC) to MP3 on the fly when opened and read. This was written to enable me to
use my FLAC collection with software and/or hardware which only understands
the MP3 format e.g. gmediaserver to a Netgear MP101 MP3 player.

It is also a novel alternative to traditional MP3 encoders. Just use your
favorite file browser to select the files you want encoded and copy them
somewhere!

WWW: https://github.com/khenriks/mp3fs
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	sysutils/fusefs-mp3fs
#	sysutils/fusefs-mp3fs/files
#	sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c
#	sysutils/fusefs-mp3fs/pkg-descr
#	sysutils/fusefs-mp3fs/distinfo
#	sysutils/fusefs-mp3fs/Makefile
#
echo c - sysutils/fusefs-mp3fs
mkdir -p sysutils/fusefs-mp3fs > /dev/null 2>&1
echo c - sysutils/fusefs-mp3fs/files
mkdir -p sysutils/fusefs-mp3fs/files > /dev/null 2>&1
echo x - sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c
sed 's/^X//' >sysutils/fusefs-mp3fs/files/patch-src-mp3fs.c << 'e46ccd5edbcae45864b76fe5e9e41232'
X--- src/mp3fs.c	2012-02-18 20:55:29.000000000 +0100
X+++ src/mp3fs.c	2012-02-17 21:06:13.000000000 +0100
X@@ -38,6 +38,9 @@
X 
X #include "transcode.h"
X 
X+#define	S_ISLNK(m)	(((m) & 0170000) == 0120000)	/* symbolic link */
X+#define	S_ISSOCK(m)	(((m) & 0170000) == 0140000)
X+
X struct mp3fs_params params = {
X     .basepath           = NULL,
X     .bitrate            = 128,
e46ccd5edbcae45864b76fe5e9e41232
echo x - sysutils/fusefs-mp3fs/pkg-descr
sed 's/^X//' >sysutils/fusefs-mp3fs/pkg-descr << 'faf67476a245ed7f037f643039c1eab6'
XMP3FS is a read-only FUSE filesystem which transcodes audio formats (currently
XFLAC) to MP3 on the fly when opened and read. This was written to enable me to
Xuse my FLAC collection with software and/or hardware which only understands
Xthe MP3 format e.g. gmediaserver to a Netgear MP101 MP3 player.
X
XIt is also a novel alternative to traditional MP3 encoders. Just use your
Xfavorite file browser to select the files you want encoded and copy them
Xsomewhere!
X
XWWW: https://github.com/khenriks/mp3fs
faf67476a245ed7f037f643039c1eab6
echo x - sysutils/fusefs-mp3fs/distinfo
sed 's/^X//' >sysutils/fusefs-mp3fs/distinfo << '6baf903c7874b8b3e04c809ff25fe0c7'
XSHA256 (mp3fs-0.31.tar.gz) = fdfe1f4936f49191f55ac9546231ef26e4e99a8bfdf4f7a14122b57667ee9799
XSIZE (mp3fs-0.31.tar.gz) = 105735
6baf903c7874b8b3e04c809ff25fe0c7
echo x - sysutils/fusefs-mp3fs/Makefile
sed 's/^X//' >sysutils/fusefs-mp3fs/Makefile << 'bb4bd242d5fc5099ab08450e921dd43d'
X# New ports collection makefile for:	fusefs-mp3fs
X# Date created: 			18 Feb 2012
X# Whom:					Stefan Rumetshofer
X# $FreeBSD$
X#
X
XPORTNAME=	mp3fs
XPORTVERSION=	0.31
XCATEGORIES=	sysutils audio
XMASTER_SITES=	https://github.com/downloads/khenriks/${PORTNAME}/
XPKGNAMEPREFIX=	fusefs-
X
XMAINTAINER=	sterum@overrider.at
XCOMMENT=	FUSE-based filesystem for transcoding flac to mp3
X
XLIB_DEPENDS=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs\
X		mp3lame.0:${PORTSDIR}/audio/lame\
X		FLAC.10:${PORTSDIR}/audio/flac\
X		id3tag.0:${PORTSDIR}/audio/libid3tag
XRUN_DEPENDS=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
X
XFETCH_CMD=	fetch -Fpr
X
XCFLAGS+=        -L${LOCALBASE}/lib -I${LOCALBASE}/include
XGNU_CONFIGURE=	yes
XMAN1=		mp3fs.1
XPLIST_FILES=	bin/mp3fs
X
X.include <bsd.port.mk>
bb4bd242d5fc5099ab08450e921dd43d
exit



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



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