Date: Mon, 14 Apr 2008 01:41:46 +0200 (CEST) From: Romain Tartiere <romain@blogreen.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: KillFill <pneumann@gmail.com>, dkeav <dkeav04@gmail.com>, Tom McLaughlin <tmclaugh@FreeBSD.org> Subject: ports/122737: [new port] audio/taglib-sharp Message-ID: <20080413234146.062F25C059@marvin.blogreen.org> Resent-Message-ID: <200804132350.m3DNo2Ka097579@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 122737 >Category: ports >Synopsis: [new port] audio/taglib-sharp >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: Sun Apr 13 23:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Romain Tartiere >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD marvin.blogreen.org 7.0-STABLE FreeBSD 7.0-STABLE #13: Sun Apr 13 18:40:33 CEST 2008 root@marvin.blogreen.org:/usr/obj/usr/src/sys/MARVIN i386 >Description: taglib-sharp [1] is a Mono library for easy tags manipulation of multimedia files. It is a dependency of the upcomming Banshee [2] multimedia player for which a port is "in the pipeline" [3] (added concerned people in CC... sorry for spamming). This port was tindertested with FreeBSD {5.5,6.1,6.2,6.3,7.0}-STABLE. The included patch agains the configure script has been reported upstream [4] and is awaiting a response at the time of writting this PR. References: 1. http://taglib-sharp.com/ 2. http://banshee-project.org/ 3. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/110740 4. http://forum.taglib-sharp.com/viewtopic.php?f=5&t=231 >How-To-Repeat: >Fix: --- taglib-sharp.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: # # taglib-sharp # taglib-sharp/files # taglib-sharp/files/patch-configure # taglib-sharp/pkg-descr # taglib-sharp/distinfo # taglib-sharp/pkg-deinstall # taglib-sharp/pkg-plist # taglib-sharp/Makefile # echo c - taglib-sharp mkdir -p taglib-sharp > /dev/null 2>&1 echo c - taglib-sharp/files mkdir -p taglib-sharp/files > /dev/null 2>&1 echo x - taglib-sharp/files/patch-configure sed 's/^X//' >taglib-sharp/files/patch-configure << 'END-of-taglib-sharp/files/patch-configure' X--- configure.orig 2008-04-13 21:50:16.000000000 +0200 X+++ configure 2008-04-13 21:50:42.000000000 +0200 X@@ -2583,7 +2583,7 @@ X X # Check whether --enable-docs was given. X if test "${enable_docs+set}" = set; then X- enableval=$enable_docs; with_docs=no X+ enableval=$enable_docs; with_docs=$enableval X else X with_docs=yes X fi END-of-taglib-sharp/files/patch-configure echo x - taglib-sharp/pkg-descr sed 's/^X//' >taglib-sharp/pkg-descr << 'END-of-taglib-sharp/pkg-descr' XTagLib# is a FREE and Open Source library for the .NET 2.0 and Mono frameworks Xwhich will let you tag your software with as much or as little detail as you Xlike without slowing you down. It supports a large variety of movie and music Xformats which abstract away the work, handling all the different cases, so all Xyou have to do is access file.Tag.Title, file.Tag.Lyrics, or my personal Xfavorite file.Tag.Pictures. X XWWW: http://www.taglib-sharp.com END-of-taglib-sharp/pkg-descr echo x - taglib-sharp/distinfo sed 's/^X//' >taglib-sharp/distinfo << 'END-of-taglib-sharp/distinfo' XMD5 (taglib-sharp-2.0.3.0.tar.gz) = aa2c344760c8f4d878957fd4600155a5 XSHA256 (taglib-sharp-2.0.3.0.tar.gz) = b931e5c22fca58adf0ae2f74b8a49c855c4d1dfcf6c2bb725bb4687d1b5e00bd XSIZE (taglib-sharp-2.0.3.0.tar.gz) = 352463 END-of-taglib-sharp/distinfo echo x - taglib-sharp/pkg-deinstall sed 's/^X//' >taglib-sharp/pkg-deinstall << 'END-of-taglib-sharp/pkg-deinstall' X#!/bin/sh X XPATH="/bin:/usr/bin:/usr/sbin" X Xcase "$2" in XDEINSTALL) X # Revert monodoc table of contents so that it does not include an invalid X # reference to this software package. X # Note that the tool used to update the table of contents during install X # reformats the whole TOC file, and therefore the file md5 sum will fail when X # uninstalling monodoc. X MONODOC_XML="${PKG_PREFIX}/lib/monodoc/monodoc.xml" X TMP_MONODOC_XML="${PKG_PREFIX}/lib/monodoc/.#monodoc.xml" X X if [ -f "${MONODOC_XML}" ]; then X grep -v '^[[:space:]]*<node label="TagLib#" name="classlib-taglib-sharp" />$' "${MONODOC_XML}" > "${TMP_MONODOC_XML}" X if ! cmp -sz "${MONODOC_XML}" "${TMP_MONODOC_XML}"; then X echo "===> Removing stale reference to ${1%-*} from ${MONODOC_XML}" X cat "${TMP_MONODOC_XML}" > "${MONODOC_XML}" X fi X rm "${TMP_MONODOC_XML}" X fi X ;; XPOST-DEINSTALL) X ;; X*) X exit 64 X ;; Xesac END-of-taglib-sharp/pkg-deinstall echo x - taglib-sharp/pkg-plist sed 's/^X//' >taglib-sharp/pkg-plist << 'END-of-taglib-sharp/pkg-plist' X@comment $FreeBSD$ Xlib/mono/gac/taglib-sharp/2.0.3.0__db62eba44689b5b0/taglib-sharp.dll Xlib/mono/gac/taglib-sharp/2.0.3.0__db62eba44689b5b0/taglib-sharp.dll.mdb Xlib/mono/gac/policy.2.0.taglib-sharp/0.0.0.0__db62eba44689b5b0/policy.2.0.taglib-sharp.dll Xlib/mono/gac/policy.2.0.taglib-sharp/0.0.0.0__db62eba44689b5b0/policy.2.0.taglib-sharp.config Xlib/mono/taglib-sharp/taglib-sharp.dll X%%PORTDOCS%%lib/monodoc/sources/taglib-sharp-docs.zip X%%PORTDOCS%%lib/monodoc/sources/taglib-sharp-docs.tree X%%PORTDOCS%%lib/monodoc/sources/taglib-sharp-docs.source Xlibdata/pkgconfig/taglib-sharp.pc X@dirrm lib/mono/gac/taglib-sharp/2.0.3.0__db62eba44689b5b0 X@dirrm lib/mono/gac/taglib-sharp X@dirrm lib/mono/gac/policy.2.0.taglib-sharp/0.0.0.0__db62eba44689b5b0 X@dirrm lib/mono/gac/policy.2.0.taglib-sharp X@dirrm lib/mono/taglib-sharp END-of-taglib-sharp/pkg-plist echo x - taglib-sharp/Makefile sed 's/^X//' >taglib-sharp/Makefile << 'END-of-taglib-sharp/Makefile' X# New ports collection makefile for: taglib-sharp X# Date created: 2008-04-11 X# Whom: Romain Tartiere <romain@blogreen.org> X# X# $FreeBSD$ X# X XPORTNAME= taglib-sharp XPORTVERSION= 2.0.3.0 XCATEGORIES= audio XMASTER_SITES= http://www.taglib-sharp.com/Download/ X XMAINTAINER= romain@blogreen.org XCOMMENT= A library for handling multimedia files in .Net applications X XBUILD_DEPENDS= mono:${PORTSDIR}/lang/mono XRUN_DEPENDS= mono:${PORTSDIR}/lang/mono X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XUSE_GNOME= gnomehack X X.if !defined(NOPORTDOCS) XCONFIGURE_ARGS+= --enable-docs XBUILD_DEPENDS+= monodocer:${PORTSDIR}/devel/monodoc X.else XCONFIGURE_ARGS+= --disable-docs X.endif X X.include <bsd.port.pre.mk> X.include <bsd.port.post.mk> END-of-taglib-sharp/Makefile exit --- taglib-sharp.sh ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080413234146.062F25C059>