Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 2009 12:25:48 -0800 (PST)
From:      Dennis Herrmann <adox@mcx2.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/131092: [MAINTAINER] audio/ncmpcpp: update to 0.3
Message-ID:  <4980bf4c.0a0db80a.7096.0740@mx.google.com>
Resent-Message-ID: <200901282030.n0SKU23R097941@freefall.freebsd.org>

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

>Number:         131092
>Category:       ports
>Synopsis:       [MAINTAINER] audio/ncmpcpp: update to 0.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 28 20:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Herrmann
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD dhn.homeunix.com 7.1-STABLE FreeBSD 7.1-STABLE #4: Sat Jan 10 13:45:30 CET 2009
>Description:
- Update to 0.3
	* general core rewrite
	* new screen - clock
	* support for asian wide characters
	* support for non-utf8 encodings
	* a lot of bugfixes
- Add CLOCK and UTF8 Options
- Tested ( http://tb.4bit.ws/index.php?action=describe_port&id=3 )

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ncmpcpp-0.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/ncmpcpp/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile	23 Jan 2009 15:42:31 -0000	1.9
+++ Makefile	28 Jan 2009 18:59:23 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	ncmpcpp
-PORTVERSION=	0.2.5
-PORTREVISION=	1
+PORTVERSION=	0.3
 CATEGORIES=	audio
 MASTER_SITES=	http://unkart.ovh.org/ncmpcpp/ \
 		http://mirror.mcx2.org/
@@ -19,11 +18,15 @@
 GNU_CONFIGURE=	yes
 USE_ICONV=	yes
 USE_GNOME=	glib20
+USE_AUTOTOOLS=	automake:110 aclocal:110 libtool:15
+ACLOCAL_ARGS=	--acdir=${ACLOCAL_DIR} -I ${LOCALBASE}/share/aclocal
 CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib -lpthread"
-CONFIGURE_ARGS=	--disable-unicode
+#CONFIGURE_ARGS=	--disable-unicode
 
 OPTIONS=	CURL "Enable fetching lyrics from the Internet" on \
+		CLOCK "Enable clock-screen support" on \
+		UTF8 "Enable UTF8 support" on \
 		TAGLIB "Enable taglib support" off
 
 .include <bsd.port.pre.mk>
@@ -50,6 +53,18 @@
 CONFIGURE_ARGS+=	--with-curl=no
 .endif
 
+.if !defined(WITHOUT_CLOCK)
+CONFIGURE_ARGS+=	--enable-clock
+.else
+CONFIGURE_ARGS+=	--disable-clock
+.endif
+
+.if !defined(WITHOUT_UTF8)
+CONFIGURE_ARGS+=	--enable-unicode
+.else
+CONFIGURE_ARGS+=	--disable-unicode
+.endif
+
 .if !defined(WITHOUT_TAGLIB)
 LIB_DEPENDS+=	tag:${PORTSDIR}/audio/taglib
 CONFIGURE_ARGS+=	--with-taglib
@@ -57,6 +72,10 @@
 CONFIGURE_ARGS+=	--with-taglib=no
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/share/i18n/SUPPORTED|${LOCALBASE}/share/locale|g' \
+		-e 's|iconv.h|sys/iconv.h|g' ${WRKSRC}/configure*
+
 post-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpcpp ${PREFIX}/bin/
 .if !defined(NOPORTDOCS)
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/audio/ncmpcpp/distinfo,v
retrieving revision 1.6
diff -u -u -r1.6 distinfo
--- distinfo	6 Dec 2008 15:28:17 -0000	1.6
+++ distinfo	28 Jan 2009 16:41:18 -0000
@@ -1,3 +1,3 @@
-MD5 (ncmpcpp-0.2.5.tar.bz2) = acd8df3f5512f7cab8b5b9207c778db1
-SHA256 (ncmpcpp-0.2.5.tar.bz2) = 9fde4a7fad47cee62fe5ab9f3c24f6b24cf592d2fd7a3d8009a157a2e4d51531
-SIZE (ncmpcpp-0.2.5.tar.bz2) = 310567
+MD5 (ncmpcpp-0.3.tar.bz2) = 5b2d400cab697ff74ae9a4d7e25d7a3e
+SHA256 (ncmpcpp-0.3.tar.bz2) = 2d64d186490cf6c18e77baa58aa8f60794facdbd4113956a93e4e09672e265b8
+SIZE (ncmpcpp-0.3.tar.bz2) = 313879
Index: pkg-message
===================================================================
RCS file: /home/pcvs/ports/audio/ncmpcpp/pkg-message,v
retrieving revision 1.4
diff -u -u -r1.4 pkg-message
--- pkg-message	17 Oct 2008 19:10:13 -0000	1.4
+++ pkg-message	28 Jan 2009 18:44:07 -0000
@@ -5,6 +5,11 @@
 files anymore. It's been using respectively ~/.ncmpcpp/config and
 ~/.ncmpcpp/keys for this since ver. 0.2.4!
 
+--------------------------------------------------------------------------
+Colors syntax has changed since 0.3 version. See example config file for
+new syntax.
+--------------------------------------------------------------------------
+
 A default config has been installed to:
 PREFIX/share/doc/ncmpcpp/config
 
--- ncmpcpp-0.3.patch ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4980bf4c.0a0db80a.7096.0740>