Bug 63671

Summary: x11/gdm2 does not detect *.euc??
Product: Ports & Packages Reporter: KAWATA Masahiko <kawata>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description KAWATA Masahiko 2004-03-03 01:00:32 UTC
      gdm2 does not detect *.euc?? locales. And some items (Japanese, Korean, Chinese(simplified)) does not appear in "Language" menu of Greeter window.

Fix: Apply a patch as below to x11/gdm2.
Comment 1 KAWATA Masahiko 2004-03-03 09:29:15 UTC
Sorry, a typo in my patch.


--- gdm2.orig/Makefile  Mon Nov 17 12:29:06 2003
+++ gdm2/Makefile       Wed Mar  3 08:31:33 2004
@@ -17,6 +17,7 @@
 COMMENT=	GNOME 2 version of xdm display manager
 
 USE_BZIP2=	yes
+USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_GMAKE=	yes
 USE_GNOME=	gnomeprefix gnomehack gnomehier libgnomeui librsvg2
@@ -39,6 +40,11 @@
 post-extract:
 	@${SED} -e "s,%%PREFIX%%,${PREFIX},g" \
 		${FILESDIR}/gdm.sh.sample > ${WRKSRC}/gdm.sh.sample
+
+post-patch:
+.if ${OSVERSION} >= 450002 && ${OSVERSION} < 500000 || ${OSVERSION} >= 500020
+	@${REINPLACE_CMD} -E -e 's/(..)\.EUC/\1.euc\1/' ${WRKSRC}/config/locale.alias
+.endif
 
 post-install:
 .if !defined(PACKAGE_BUILDING)
Comment 2 Kirill Ponomarev freebsd_committer freebsd_triage 2004-03-03 13:24:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainers.
Comment 3 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-03-06 07:28:06 UTC
State Changed
From-To: open->closed

Committed, thanks!