ports/151669: [patch] audio/gimmix: update to 0.5.7.1
Sofian Brabez
sbrabez at gmail.com
Sun Oct 24 01:40:11 UTC 2010
>Number: 151669
>Category: ports
>Synopsis: [patch] audio/gimmix: update to 0.5.7.1
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 24 01:40:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sofian Brabez
>Release: FreeBSD 8.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd81 8.1-STABLE FreeBSD 8.1-STABLE #1: Tue Aug 31 22:46:46 CEST 2010
>Description:
- Update to 0.5.7.1
- Make happy portlint
- Respect WITHOUT_NLS KNOB
Please take a look to ports/151525 pr, it's the same, but I guess mine is more clean and complete.
Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:
--- gimmix-0.5.7.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/audio/gimmix/Makefile /tmp/gimmix/Makefile
--- /usr/ports/audio/gimmix/Makefile 2010-05-16 19:27:04.000000000 +0200
+++ /tmp/gimmix/Makefile 2010-10-24 05:32:24.000000000 +0200
@@ -6,8 +6,7 @@
#
PORTNAME= gimmix
-PORTVERSION= 0.5.6
-PORTREVISION= 8
+PORTVERSION= 0.5.7.1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_BERLIOS}
MASTER_SITE_SUBDIR= gimmix
@@ -19,19 +18,33 @@
tag.1:${PORTSDIR}/audio/taglib \
nxml:${PORTSDIR}/textproc/libnxml
+OPTIONS= NLS "Native Language Support" on
+
+.include <bsd.port.options.mk>
+
USE_GNOME= gtk20 intltool libglade2
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+MAKE_JOBS_SAFE= yes
MAN1= gimmix.1
CONFIGURE_ENV= DATADIRNAME=share
+.if !defined(WITHOUT_NLS)
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lintl"
+CONFIGURE_ARGS+= --enable-nls
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
post-patch:
- ${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
- @${REINPLACE_CMD} -e 's,libmpd-1.0\/libmpd,libmpd,' \
- ${WRKSRC}/src/gimmix.h
+ @${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in
.include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/audio/gimmix/distinfo /tmp/gimmix/distinfo
--- /usr/ports/audio/gimmix/distinfo 2009-03-14 16:11:01.000000000 +0100
+++ /tmp/gimmix/distinfo 2010-10-24 04:22:30.000000000 +0200
@@ -1,3 +1,3 @@
-MD5 (gimmix-0.5.6.tar.bz2) = ee94cca60f66d9241ee574e48f587826
-SHA256 (gimmix-0.5.6.tar.bz2) = 84712e2e9b5249d4263a5951e6f75233ecb4661e27beaa9ca2b8722e578bdb8e
-SIZE (gimmix-0.5.6.tar.bz2) = 339269
+MD5 (gimmix-0.5.7.1.tar.bz2) = d89f3d6a80a85e9e6f34f9abd2614c15
+SHA256 (gimmix-0.5.7.1.tar.bz2) = f504e19615fe2032b958d14a88504fbf9c2684ccad3cbe0b177068173e538cba
+SIZE (gimmix-0.5.7.1.tar.bz2) = 330368
diff -ruN --exclude=CVS /usr/ports/audio/gimmix/pkg-plist /tmp/gimmix/pkg-plist
--- /usr/ports/audio/gimmix/pkg-plist 2010-05-16 19:27:04.000000000 +0200
+++ /tmp/gimmix/pkg-plist 2010-10-24 05:31:45.000000000 +0200
@@ -1,8 +1,10 @@
+ at comment $FreeBSD$
bin/gimmix
-share/locale/de/LC_MESSAGES/gimmix.mo
-share/locale/sv/LC_MESSAGES/gimmix.mo
-share/locale/tr/LC_MESSAGES/gimmix.mo
-share/locale/zh_TW/LC_MESSAGES/gimmix.mo
+%%NLS%%share/locale/de/LC_MESSAGES/gimmix.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gimmix.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gimmix.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/gimmix.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/gimmix.mo
share/applications/gimmix.desktop
%%DATADIR%%/gimmix.glade
%%DATADIR%%/gimmix_firstrun.png
@@ -20,6 +22,8 @@
@dirrmtry share/locale/sv
@dirrmtry share/locale/de/LC_MESSAGES
@dirrmtry share/locale/de
+ at dirrmtry share/locale/fr/LC_MESSAGES
+ at dirrmtry share/locale/fr
@dirrmtry share/locale
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
--- gimmix-0.5.7.1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list