Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2005 11:57:34 +0400 (MSD)
From:      Andrew Belashov <bel@orel.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-sparc64@FreeBSD.org
Subject:   ports/83316: xorg-libraries/sparc64: locale not supported by Xlib
Message-ID:  <200507120757.j6C7vYQE036290@white.orel.ru>
Resent-Message-ID: <200507120800.j6C80d2f091651@freefall.freebsd.org>

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

>Number:         83316
>Category:       ports
>Synopsis:       xorg-libraries/sparc64: locale not supported by Xlib
>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 Jul 12 08:00:38 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Belashov
>Release:        FreeBSD 5.4-STABLE sparc64
>Organization:
JSC CenterTelecom
>Environment:
System: FreeBSD bel.localdomain 5.4-STABLE FreeBSD 5.4-STABLE #27: Thu Jun 9
 15:29:30 MSD 2005 bel@bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64

$ pkg_info|grep xorg-lib
xorg-libraries-6.8.2 X11 libraries and headers from X.Org

$ locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=

>Description:
	Xorg does not support locales on FreeBSD/sparc64. Clipboard paste
does not work in xterm. No way to type national symbols in xterm.

>How-To-Repeat:

	Run xterm and try copy and paste. Try to type national symbols from
keyboard. Use truss(1) for trace open(2) system calls and determine needed
shared libraries.

$ xterm
Warning: locale not supported by Xlib, locale set to C
Warning: X locale modifiers not supported, using default
Failed to open input method

>Fix:

	Here is workaround. Go to lib/X11/locale/common and make symbolic link
to existing directory with shared libraries:

# cd /usr/X11R6/lib/X11/locale/common
# ln -s ../lib/common sparcv9


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507120757.j6C7vYQE036290>