ports/142329: [MAINTAINER] update audio/ncmpc to 0.16
Henrik Friedrichsen
hrkfdn at gmail.com
Mon Jan 4 23:10:01 UTC 2010
>Number: 142329
>Category: ports
>Synopsis: [MAINTAINER] update audio/ncmpc to 0.16
>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: Mon Jan 04 23:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Henrik Friedrichsen
>Release: 8-STABLE
>Organization:
>Environment:
FreeBSD eismeer.nachtfabrik.org 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Dec 22 20:29:39 CET 2009 root at eismeer.nachtfabrik.org:/usr/obj/usr/src/sys/LOLITA i386
>Description:
This patch updates ncmpc to 0.16. As of 0.16, ncmpc requires libmpdclient2.
Further changes:
ncmpc 0.16 - (12/25/2009)
* using libmpdclient 2.0 instead of built-in libmpdclient
* require MPD 0.12
* allow multiple queued database updates
* reactivate incremental playlist changes
* optimize "add+play song" with addid/playid
* handle stderr messages from lyrics plugins
* search: eliminate duplicate results
* use the "idle" command to reduce CPU and network usage
* disable the status bar clock by default
* list_window: fix narrow cursor drawing
* screen_play: repaint after the "select-playing" command
* screen_text: start searching at window origin, not bottom
* strfsong: support multiple values for a tag
* screen_browser: different colors for directories and playlists
* screen_browser: display song duration
* screen_queue: move ranges with one single "move" command
* status_bar: fix display_remaining_time while seeking
* status_bar: display elapsed time event when total time is unknown
* charset: added support for zero-width characters
* colors: added support for 256 colors and text attributes
* compatibility fixes for GLib 2.12
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -Naur ./Makefile ../ncmpc/Makefile
--- ./Makefile 2010-01-04 23:50:27.000000000 +0100
+++ ../ncmpc/Makefile 2010-01-05 00:03:28.000000000 +0100
@@ -6,13 +6,15 @@
#
PORTNAME= ncmpc
-PORTVERSION= 0.15
+PORTVERSION= 0.16
CATEGORIES= audio
MASTER_SITES= SF/musicpd/${PORTNAME}/${PORTVERSION}
MAINTAINER= hrkfdn at gmail.com
COMMENT= Ncurses client for the musicpd
+LIB_DEPENDS= mpdclient:${PORTSDIR}/audio/libmpdclient
+
GNU_CONFIGURE= yes
USE_GNOME= glib20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -34,7 +36,7 @@
CONFIGURE_ARGS+=--disable-nls
.else
USE_GETTEXT= yes
-LANGUAGES=cs da de es fr gl he hu ko nb nl ru sk sv uk zh_CN
+LANGUAGES=cs da de eo es fr gl he hu ko nb nl ru sk sv uk zh_CN
.for language in ${LANGUAGES}
PLIST_FILES+=share/locale/${language}/LC_MESSAGES/ncmpc.mo
.endfor
@@ -43,9 +45,10 @@
.ifdef(WITH_LYRICS)
CONFIGURE_ARGS+=--enable-lyrics-screen
-PLIST_FILES+= lib/ncmpc/lyrics/01-hd.sh \
- lib/ncmpc/lyrics/02-lyricwiki.rb \
- lib/ncmpc/lyrics/03-leoslyrics.py
+PLIST_FILES+= lib/ncmpc/lyrics/10-hd.sh \
+ lib/ncmpc/lyrics/15-leoslyrics.sh \
+ lib/ncmpc/lyrics/20-lyricwiki.rb \
+ lib/ncmpc/lyrics/30-leoslyrics.py
PLIST_DIRS+= lib/ncmpc/lyrics \
lib/ncmpc
.else
@@ -56,7 +59,7 @@
post-patch:
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
- ${WRKSRC}/lyrics/03-leoslyrics.py
+ ${WRKSRC}/lyrics/30-leoslyrics.py
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/ncmpc ${PREFIX}/bin/
@@ -73,9 +76,10 @@
.endif
.if !defined(WITHOUT_LYRICS)
${MKDIR} ${PREFIX}/lib/ncmpc/lyrics
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/01-hd.sh ${PREFIX}/lib/ncmpc/lyrics/01-hd.sh
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/02-lyricwiki.rb ${PREFIX}/lib/ncmpc/lyrics/02-lyricwiki.rb
- ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/03-leoslyrics.py ${PREFIX}/lib/ncmpc/lyrics/03-leoslyrics.py
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/10-hd.sh ${PREFIX}/lib/ncmpc/lyrics/10-hd.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/15-leoslyrics.sh ${PREFIX}/lib/ncmpc/lyrics/15-leoslyrics.sh
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/20-lyricwiki.rb ${PREFIX}/lib/ncmpc/lyrics/20-lyricwiki.rb
+ ${INSTALL_SCRIPT} ${WRKSRC}/lyrics/30-leoslyrics.py ${PREFIX}/lib/ncmpc/lyrics/30-leoslyrics.py
.endif
.include <bsd.port.post.mk>
diff -Naur ./distinfo ../ncmpc/distinfo
--- ./distinfo 2010-01-04 23:50:27.000000000 +0100
+++ ../ncmpc/distinfo 2010-01-04 23:50:41.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (ncmpc-0.15.tar.gz) = 363fde730c9b4a5cec05e00e7ae64e03
-SHA256 (ncmpc-0.15.tar.gz) = c28c02b6289b43f1301f0f73121c928fc88c90008fbf3bda6a5069a8519b5887
-SIZE (ncmpc-0.15.tar.gz) = 328034
+MD5 (ncmpc-0.16.tar.gz) = 35ee60f7ce93f53201946dc29f9facbc
+SHA256 (ncmpc-0.16.tar.gz) = 9f58d4607a14e2883480bf641c8e947be7695b619cf3d1158ac48e11b33ffa5a
+SIZE (ncmpc-0.16.tar.gz) = 326048
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list