ports/66799: [new port] cantus_3: GNOME2 tool for tagging and renaming MP3 and OGG/Vorbis files
Sergey Akifyev
asa at gascom.ru
Tue May 18 12:08:10 UTC 2004
>Number: 66799
>Category: ports
>Synopsis: [new port] cantus_3: GNOME2 tool for tagging and renaming MP3 and OGG/Vorbis files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 18 05:00:24 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Sergey Akifyev
>Release: FreeBSD 4.9-RELEASE-p2 i386
>Organization:
JSC Gascom
>Environment:
System: FreeBSD mail.gascom.ru 4.9-RELEASE-p2 FreeBSD 4.9-RELEASE-p2 #8: Wed Mar 3 10:15:04 MSK 2004 katya at boulder.gascom.ru:/usr/src/sys/compile/SMP_STD i386
>Description:
[description ripped from audio/cantus]
Cantus is an easy to use tool for tagging and renaming MP3 and OGG/Vorbis files.It has many features including mass tagging and renaming of MP3s, the ability togenerate a tag out of the filename, filter definitions for renaming, recursive
actions, CDDB (Freedb) lookup (no CD needed), copy between ID3V1 and ID3V2 tags,and a lot more.
WWW: http://www.debain.org/?session=&site=2&project=3
>How-To-Repeat:
>Fix:
--- cantus_3.sh 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:
#
# cantus_3/
# cantus_3/files
# cantus_3/files/patch-build.sh
# cantus_3/files/patch-src::libs::lib_charset.c
# cantus_3/files/patch-src::plugins::lib_charset.c
# cantus_3/Makefile
# cantus_3/distinfo
# cantus_3/pkg-descr
# cantus_3/pkg-plist
#
echo c - cantus_3/
mkdir -p cantus_3/ > /dev/null 2>&1
echo c - cantus_3/files
mkdir -p cantus_3/files > /dev/null 2>&1
echo x - cantus_3/files/patch-build.sh
sed 's/^X//' >cantus_3/files/patch-build.sh << 'END-of-cantus_3/files/patch-build.sh'
X--- build.sh.orig Thu Apr 22 04:26:52 2004
X+++ build.sh Tue May 18 14:57:02 2004
X@@ -165,11 +165,7 @@
X INST_LOCALEDIR="$INST_PREFIX/share/locale"
X INST_PIXMAPDIR="$INST_PREFIX/lib/$EXECUTABLE"
X INST_DOCDIR="$INST_PREFIX/doc/$EXECUTABLE"
X-if [ -d "/usr/share/gnome/help/" ]; then
X- INST_GNOMEDOCDIR="/usr/share/gnome/help/$EXECUTABLE/C"
X-else
X- INST_GNOMEDOCDIR="/usr/local/share/gnome/help/$EXECUTABLE/C"
X-fi
X+INST_GNOMEDOCDIR="$INST_PREFIX/share/gnome/help/$EXECUTABLE/C"
X
X # Preprocessor macros:
X MACROS="PACKAGE_LIB_DIR=$INST_LIBDIR/\
END-of-cantus_3/files/patch-build.sh
echo x - cantus_3/files/patch-src::libs::lib_charset.c
sed 's/^X//' >cantus_3/files/patch-src::libs::lib_charset.c << 'END-of-cantus_3/files/patch-src::libs::lib_charset.c'
X--- src/libs/lib_charset.c.orig Tue May 18 14:25:50 2004
X+++ src/libs/lib_charset.c Tue May 18 14:25:59 2004
X@@ -207,7 +207,7 @@
X outptr = out;
X
X retry:
X- if (iconv(cd, (char**)&input, &length, &outptr, &outleft) == -1) {
X+ if (iconv(cd, (const char**)&input, &length, &outptr, &outleft) == -1) {
X int used;
X switch (errno) {
X case E2BIG:
END-of-cantus_3/files/patch-src::libs::lib_charset.c
echo x - cantus_3/files/patch-src::plugins::lib_charset.c
sed 's/^X//' >cantus_3/files/patch-src::plugins::lib_charset.c << 'END-of-cantus_3/files/patch-src::plugins::lib_charset.c'
X--- src/plugins/lib_charset.c.orig Tue May 18 14:17:18 2004
X+++ src/plugins/lib_charset.c Tue May 18 14:17:34 2004
X@@ -191,7 +191,7 @@
X outptr = out;
X
X retry:
X- if (iconv(cd, (char**)&input, &length, &outptr, &outleft) == -1) {
X+ if (iconv(cd, (const char**)&input, &length, &outptr, &outleft) == -1) {
X int used;
X switch (errno) {
X case E2BIG:
END-of-cantus_3/files/patch-src::plugins::lib_charset.c
echo x - cantus_3/Makefile
sed 's/^X//' >cantus_3/Makefile << 'END-of-cantus_3/Makefile'
X# New ports collection makefile for: cantus_3
X# Date created: 18 May 2004
X# Whom: asa at gascom.ru
X#
X# $FreeBSD$
X#
X
XPORTNAME= cantus_3
XPORTVERSION= 3.0.0
XCATEGORIES= audio
XMASTER_SITES= ftp://ftp.gascom.ru/pub/asa/
XDISTNAME= ${PORTNAME}-${PORTVERSION}-1
X
XMAINTAINER= asa at gascom.ru
XCOMMENT= Tool for tagging and renaming MP3 and OGG/Vorbis files
X
XBUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2
X
XLIB_DEPENDS= gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 \
X glademm-2.0.1:${PORTSDIR}/devel/libglademm \
X ogg.5:${PORTSDIR}/audio/libogg \
X vorbis.3:${PORTSDIR}/audio/libvorbis
X
XUSE_GMAKE= yes
XUSE_GNOME= gnomehack libglade2
XUSE_X_PREFIX= yes
X
XCD?= cd
XBASH?= bash
X
Xdo-build:
X @${CD} ${WRKSRC} && ${BASH} build.sh --prefix '${PREFIX}'
X
Xdo-install:
X @${CD} ${WRKSRC} && ${BASH} build.sh --install --prefix '${PREFIX}'
X
X.include <bsd.port.mk>
END-of-cantus_3/Makefile
echo x - cantus_3/distinfo
sed 's/^X//' >cantus_3/distinfo << 'END-of-cantus_3/distinfo'
XMD5 (cantus_3-3.0.0-1.tar.gz) = 4bce0d2682ae2d03da2ff710d186bb78
XSIZE (cantus_3-3.0.0-1.tar.gz) = 185810
END-of-cantus_3/distinfo
echo x - cantus_3/pkg-descr
sed 's/^X//' >cantus_3/pkg-descr << 'END-of-cantus_3/pkg-descr'
XCantus is an easy to use tool for tagging and renaming MP3 and OGG/Vorbis files.
XIt has many features including mass tagging and renaming of MP3s, the ability to
Xgenerate a tag out of the filename, filter definitions for renaming, recursive
Xactions, CDDB (Freedb) lookup (no CD needed), copy between ID3V1 and ID3V2 tags,
Xand a lot more.
X
XWWW: http://www.debain.org/?session=&site=2&project=3
END-of-cantus_3/pkg-descr
echo x - cantus_3/pkg-plist
sed 's/^X//' >cantus_3/pkg-plist << 'END-of-cantus_3/pkg-plist'
Xbin/cantus_3
Xlib/cantus_3/id3v1.so
Xlib/cantus_3/vorbis.so
Xlib/cantus_3/id3copier.so
Xlib/cantus_3/tag2filename.so
Xlib/cantus_3/mpegheader.so
Xlib/cantus_3/id3v2.so
Xlib/cantus_3/cantus-3.glade
Xlib/cantus_3/general.png
Xlib/cantus_3/cantus_tag.png
Xshare/gnome/help/cantus_3/C/figures/cantus_start_window.png
Xshare/gnome/help/cantus_3/C/legal.xml
Xshare/gnome/help/cantus_3/C/cantus_3.xml
Xshare/gnome/help/cantus_3/C/cantus_start_window.png
Xshare/locale/de/LC_MESSAGES/cantus_3.mo
Xshare/locale/es/LC_MESSAGES/cantus_3.mo
Xshare/locale/fr/LC_MESSAGES/cantus_3.mo
Xshare/locale/pl/LC_MESSAGES/cantus_3.mo
X at dirrm lib/cantus_3/
X at dirrm share/gnome/help/cantus_3/C/figures
X at dirrm share/gnome/help/cantus_3/C
X at dirrm share/gnome/help/cantus_3/
END-of-cantus_3/pkg-plist
exit
--- cantus_3.sh ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list