pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48819: Update audio/cmus to 2.5.1



>Number:         48819
>Category:       pkg
>Synopsis:       Update audio/cmus to 2.5.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun May 18 16:55:00 +0000 2014
>Originator:     Leonardo Taccari
>Release:        NetBSD 6.1.4
>Organization:
/dev/null
>Environment:
System: NetBSD ermonnezza 6.1.4 NetBSD 6.1.4 (CELERON) #2: Wed Apr 23 16:03:38 
CEST 2014 leot@ermonnezza:/usr/src/sys/arch/i386/compile/CELERON i386
Architecture: i386
Machine: i386
>Description:
audio/cmus in pkgsrc is not the latest stable version.
>How-To-Repeat:

 $ cd pkgsrc/audio/cmus
 $ make show-var VARNAME=PKGNAME_NOREV

>Fix:
Please apply the following patches. It seems that now cmus is available on
github and I have updated MASTER_SITES and HOMEPAGE.

While here I will attach a possible commit message the release information are
from freecode.com ( http://freecode.com/projects/cmus/releases/363723 ):


-----------------8<-------------------8<-------------------8<-----------------
Update audio/cmus to cmus-2.5.1.

Release Notes (2.5.1):
This is a maintenance release that contains a lot of accumulated bugfixes
since 2.5.0. Everyone is encouraged to upgrade.
-----------------8<-------------------8<-------------------8<-----------------


Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/audio/cmus/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- Makefile    21 Apr 2014 09:49:49 -0000      1.49
+++ Makefile    18 May 2014 16:48:16 -0000
@@ -1,14 +1,12 @@
 # $NetBSD: Makefile,v 1.49 2014/04/21 09:49:49 wiz Exp $
 
-DISTNAME=              cmus-v2.5.0
-PKGNAME=               ${DISTNAME:S/-v/-/}
-PKGREVISION=           6
+DISTNAME=              v2.5.1
+PKGNAME=               cmus-${DISTNAME:S/v//}
 CATEGORIES=            audio
-MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=cmus/}
-EXTRACT_SUFX=          .tar.bz2
+MASTER_SITES=          https://github.com/cmus/cmus/archive/
 
 MAINTAINER=            ahoka%NetBSD.org@localhost
-HOMEPAGE=              http://cmus.sourceforge.net/
+HOMEPAGE=              http://cmus.github.io/
 COMMENT=               Cmus is a small, fast and powerful text mode music 
player
 LICENSE=               gnu-gpl-v2
 
@@ -17,6 +15,8 @@
 HAS_CONFIGURE=         yes
 USE_TOOLS+=            gmake pkg-config
 
+WRKSRC=                        ${WRKDIR}/${PKGNAME_NOREV}
+
 REPLACE_SH+=           cmus-status-display
 
 CONFIGURE_ARGS+=       prefix=${PREFIX}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/audio/cmus/distinfo,v
retrieving revision 1.18
diff -u -r1.18 distinfo
--- distinfo    21 Apr 2014 09:49:49 -0000      1.18
+++ distinfo    18 May 2014 16:48:16 -0000
@@ -1,8 +1,7 @@
 $NetBSD: distinfo,v 1.18 2014/04/21 09:49:49 wiz Exp $
 
-SHA1 (cmus-v2.5.0.tar.bz2) = 244975a5ff642567acb047f6bd518e4a3271c25b
-RMD160 (cmus-v2.5.0.tar.bz2) = ee7b285cbafd6449d853d669e25cb4997254cece
-Size (cmus-v2.5.0.tar.bz2) = 224675 bytes
+SHA1 (v2.5.1.tar.gz) = fd6c63c7cb405e4b4fea6a737074c454f602c202
+RMD160 (v2.5.1.tar.gz) = 74d09f38f61905be191e47e4a95bdf3e0a8bc71f
+Size (v2.5.1.tar.gz) = 276317 bytes
 SHA1 (patch-mixer__sun.c) = 4a7599fc200157cbd1169125d03ce1e29b26b643
-SHA1 (patch-modplug.c) = b08ea6c1c3501de9b3b2614df9f6450c0b508895
 SHA1 (patch-sun.c) = 1155871f5fcc714e3c26f21ecbd94604fee28a7f
Index: patches/patch-modplug.c
===================================================================
RCS file: patches/patch-modplug.c
diff -N patches/patch-modplug.c
--- patches/patch-modplug.c     21 Apr 2014 09:49:49 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-modplug.c,v 1.2 2014/04/21 09:49:49 wiz Exp $
-
-Adapt for header path change.
-
---- modplug.c.orig     2014-04-19 13:01:44.000000000 +0000
-+++ modplug.c
-@@ -24,7 +24,7 @@
- #include "config/modplug.h"
- #endif
- 
--#include <modplug.h>
-+#include <libmodplug/modplug.h>
- #include <sys/types.h>
- #include <unistd.h>
- #include <stdlib.h>



Home | Main Index | Thread Index | Old Index