ports/172654: [UPDATE] audio/linnya: update to 2.2.1

XiaoQI Ge ghw at 7axu.com
Sat Oct 13 04:10:01 UTC 2012


>Number:         172654
>Category:       ports
>Synopsis:       [UPDATE] audio/linnya: update to 2.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 13 04:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     XiaoQI Ge
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
FreeBSDChina
>Environment:
System: FreeBSD 7axu.com 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r241344: Mon Oct  8 20:27:26
>Description:
- Update to 2.2.1
- Use OptionsNG for additional options (NLS)

Build logs on RedPorts: https://redports.org/buildarchive/20121013023723-11078/
>How-To-Repeat:
>Fix:

--- linnya-2.2.1.patch begins here ---
diff -ruN --exclude=CVS ../linnya.orig/Makefile ./Makefile
--- ../linnya.orig/Makefile	2012-09-17 20:37:40.000000000 +0800
+++ ./Makefile	2012-10-13 10:31:09.128182266 +0800
@@ -4,7 +4,7 @@
 # $FreeBSD: ports/audio/linnya/Makefile,v 1.1 2012/09/17 12:37:40 wen Exp $
 
 PORTNAME=	linnya
-PORTVERSION=	2.2.0
+PORTVERSION=	2.2.1
 CATEGORIES=	audio
 
 MAINTAINER=	ghw at 7axu.com
@@ -14,14 +14,13 @@
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	herenvarno
-GH_COMMIT=	6724a9b
+GH_COMMIT=	5b0f38a
 
 USE_AUTOTOOLS=	aclocal automake
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gtk30
 USE_SQLITE=	3
-USE_GETTEXT=	yes
 USE_GSTREAMER=	good mp3 ogg
 MAKE_JOBS_SAFE=	yes
 USE_AUTOTOOLS=	libtool
@@ -32,4 +31,17 @@
 BUILD_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
 RUN_DEPENDS+=	curl:${PORTSDIR}/ftp/curl
 
+OPTIONS_DEFINE=		NLS
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MNLS}
+USE_GETTEXT=	YES
+CONFIGURE_ARGS+=--enable-nls
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
+
 .include <bsd.port.mk>
diff -ruN --exclude=CVS ../linnya.orig/distinfo ./distinfo
--- ../linnya.orig/distinfo	2012-09-17 20:37:40.000000000 +0800
+++ ./distinfo	2012-10-13 08:40:20.578417705 +0800
@@ -1,2 +1,2 @@
-SHA256 (linnya-2.2.0.tar.gz) = c8add0b693cb882f45522231e585c3edb8adf1a33d59a0f1070fe84a8a64df6e
-SIZE (linnya-2.2.0.tar.gz) = 841288
+SHA256 (linnya-2.2.1.tar.gz) = 2849dffec695e701f96663df982a43bec93b79e7cd7cee2a29a1de039cccbe78
+SIZE (linnya-2.2.1.tar.gz) = 841321
diff -ruN --exclude=CVS ../linnya.orig/pkg-plist ./pkg-plist
--- ../linnya.orig/pkg-plist	2012-09-17 20:37:40.000000000 +0800
+++ ./pkg-plist	2012-10-13 08:55:55.891179024 +0800
@@ -110,9 +110,9 @@
 %%DATADIR%%/uix/theme/default/linnya.css
 %%DATADIR%%/uix/theme/default/sssbg/sssbg_1.jpg
 %%DATADIR%%/uix/theme/default/sssbg/sssbg_2.jpg
-share/locale/zh_CN/LC_MESSAGES/linnya.mo
-share/locale/zh_HK/LC_MESSAGES/linnya.mo
-share/locale/zh_TW/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/linnya.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/linnya.mo
 @dirrm %%DATADIR%%/uix/theme/default/sssbg
 @dirrm %%DATADIR%%/uix/theme/default/image
 @dirrm %%DATADIR%%/uix/theme/default
--- linnya-2.2.1.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list