Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Sep 2008 08:38:33 +0200 (CEST)
From:      Dennis Herrmann <adox@mcx2.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/127198: Ncmpcpp Update to 0.2.2
Message-ID:  <200809070638.m876cXDX020781@contempt.mcx2.org>
Resent-Message-ID: <200809080110.m881A2i8091944@freefall.freebsd.org>

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

>Number:         127198
>Category:       ports
>Synopsis:       Ncmpcpp Update to 0.2.2
>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 Sep 08 01:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dennis Herrmann
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD contempt 7.0-STABLE FreeBSD 7.0-STABLE #1: Sun Aug 24 16:57:50 CEST 2008 root@:/usr/obj/usr/src/sys/CONTEMPT i386

>Description:
Ncmpcpp Update to 0.2.2 and add new functions:

	* new screen - playlist editor
	* new playlist view - columns
	* playlist view switcher added (key 'p' by default)
	* find function modes added (wrapped/normal, switch is 'w' by default)
	* albums in media library sorted by year (and it's also displayed)
	* multiple items selection support and related functions added
	* playlists management support
	* new function - "go to dir containing selected song" (key 'G' by default)
	* moving items improved 
	* lots of minor fixes

>How-To-Repeat:
>Fix:

--- ncmpcpp-0.2.2.diff begins here ---
diff -ruN ncmpcpp.orig/Makefile ncmpcpp/Makefile
--- ncmpcpp.orig/Makefile	2008-09-07 08:15:40.000000000 +0200
+++ ncmpcpp/Makefile	2008-09-07 06:42:32.000000000 +0200
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ncmpcpp
-PORTVERSION=	0.2.1
+PORTVERSION=	0.2.2
 CATEGORIES=	audio
 MASTER_SITES=	http://unkart.ovh.org/ncmpcpp/ \
 		http://mirror.mcx2.org/
diff -ruN ncmpcpp.orig/distinfo ncmpcpp/distinfo
--- ncmpcpp.orig/distinfo	2008-09-07 08:15:40.000000000 +0200
+++ ncmpcpp/distinfo	2008-09-07 06:40:33.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (ncmpcpp-0.2.1.tar.bz2) = 14d4022f9c9cd98cc4871e6335cdf26c
-SHA256 (ncmpcpp-0.2.1.tar.bz2) = 08718dd17341fbc6d9752738bcf631721686ed8c7e43a307eeb468c688f09fd9
-SIZE (ncmpcpp-0.2.1.tar.bz2) = 286624
+MD5 (ncmpcpp-0.2.2.tar.bz2) = 617e0dba49598ef73cab80653a58e6fa
+SHA256 (ncmpcpp-0.2.2.tar.bz2) = 4e6125d8b3efdf0669e81a22be5104f39286e85986feeaf8e374de3840270e4a
+SIZE (ncmpcpp-0.2.2.tar.bz2) = 290557
diff -ruN ncmpcpp.orig/files/patch-src-lyrics.cpp ncmpcpp/files/patch-src-lyrics.cpp
--- ncmpcpp.orig/files/patch-src-lyrics.cpp	1970-01-01 01:00:00.000000000 +0100
+++ ncmpcpp/files/patch-src-lyrics.cpp	2008-09-07 07:57:35.000000000 +0200
@@ -0,0 +1,21 @@
+--- src/lyrics.cpp.orig	2008-09-05 18:25:26.000000000 +0200
++++ src/lyrics.cpp	2008-09-07 07:53:05.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include <fcntl.h>
+ 
+ const string lyrics_folder = home_folder + "/" + ".lyrics";
++const string mkdir_command = "mkdir " + lyrics_folder + " >/dev/null 2>&1";
+ 
+ size_t write_data(char *buffer, size_t size, size_t nmemb, string data)
+ {
+@@ -38,8 +39,8 @@
+ {
+ 	const string filename = artist + " - " + song + ".txt";
+ 	const string fullpath = lyrics_folder + "/" + filename;
+-	mkdir(lyrics_folder.c_str(), 0755);
+-	
++	system(mkdir_command.c_str());
++
+ 	string result;
+ 	std::ifstream input(fullpath.c_str());
+ 	
--- ncmpcpp-0.2.2.diff ends here ---


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



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