Bug 63671 - x11/gdm2 does not detect *.euc??
Summary: x11/gdm2 does not detect *.euc??
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-03 01:00 UTC by KAWATA Masahiko
Modified: 2004-03-06 07:28 UTC (History)
0 users

See Also:


Attachments
file.diff (663 bytes, patch)
2004-03-03 01:00 UTC, KAWATA Masahiko
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!