ports/63671: x11/gdm2 does not detect *.euc??
KAWATA Masahiko
kawata at mta.biglobe.ne.jp
Wed Mar 3 01:00:39 UTC 2004
>Number: 63671
>Category: ports
>Synopsis: x11/gdm2 does not detect *.euc??
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 02 17:00:32 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KAWATA Masahiko
>Release: FreeBSD 5.2-RELEASE i386
>Organization:
>Environment:
FreeBSD owen 5.2-RELEASE FreeBSD 5.2-RELEASE #2: Sun Jan 18 23:51:55 GMT 2004 kawata at owen:/usr/src/sys/i386/compile/OWEN i386
>Description:
gdm2 does not detect *.euc?? locales. And some items (Japanese, Korean, Chinese(simplified)) does not appear in "Language" menu of Greeter window.
>How-To-Repeat:
>Fix:
Apply a patch as below to x11/gdm2.
--- 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)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list