Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2007 16:00:14 +0200 (CEST)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        multimedia@FreeBSD.org
Subject:   ports/115446: multimedia/vlc: fix scrambled output with non-en locales.
Message-ID:  <20070812140014.9026411438@graf.pompo.net>
Resent-Message-ID: <200708121410.l7CEA3rI094769@freefall.freebsd.org>

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

>Number:         115446
>Category:       ports
>Synopsis:       multimedia/vlc: fix scrambled output with non-en locales.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 12 14:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun May 20 15:59:36 CEST 2007 thierry@graf.pompo.net:/usr/obj/usr/src/sys/GRAF070519 i386


	
>Description:
	vlc-0.8.6c comes with pre-generated messages catalogs files
	which seem uncompatible with our gettext, and that produces
	scrambled outputs when LC_ALL is defined to a non-english
	locale.

	The following patch remove these pre-generated catalogs, and
	correct ones are re-generated during the build process.

>How-To-Repeat:
	Set and export LC_ALL to fr_FR.ISO8859-15, or any locale
	supported by VLC, and launch the GUI, or run `vlc -h ', and
	examine the strings!

>Fix:
	Please apply the following patch.

	Remark: this patch bumps PORTREVISION from 3 to 4, because I
	have applied it after the patch proposed in PR ports/115428 ;
	If it gets committed before, just re-order these numbers.

--- vlc.diff begins here ---
diff -urN multimedia/vlc.orig/Makefile multimedia/vlc/Makefile
--- multimedia/vlc.orig/Makefile	Sat Aug 11 19:57:07 2007
+++ multimedia/vlc/Makefile	Sun Aug 12 14:06:56 2007
@@ -10,7 +10,7 @@
 
 PORTNAME=	vlc
 DISTVERSION=	0.8.6c
-PORTREVISION=	3
+PORTREVISION=	4
 PORTEPOCH=	2
 CATEGORIES=	multimedia audio ipv6 net www
 MASTER_SITES=	http://download.videolan.org/pub/videolan/vlc/${DISTVERSION}/ \
diff -urN multimedia/vlc.orig/Makefile.inc multimedia/vlc/Makefile.inc
--- multimedia/vlc.orig/Makefile.inc	Sat Aug 11 19:57:10 2007
+++ multimedia/vlc/Makefile.inc	Sun Aug 12 14:10:39 2007
@@ -269,6 +269,8 @@
 		${WRKSRC}/loader/module.c
 .endif
 	@${REINPLACE_CMD} -e 's|dts_free|dca_free|g' ${WRKSRC}/configure
+# remove badly formatted pre-generated messages catalogs
+	${FIND} ${WRKSRC} -name "*.gmo" -delete
 
 pre-build:
 	@${REINPLACE_CMD} -e 's|/intl/libintl.a|${WRKSRC}/intl/libintl.a|' \
--- vlc.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?20070812140014.9026411438>