From owner-freebsd-sparc64@FreeBSD.ORG Tue Jul 12 07:58:04 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7B5516A41C; Tue, 12 Jul 2005 07:58:04 +0000 (GMT) (envelope-from bel@white.orel.ru) Received: from white.orel.ru (white.orel.ru [213.59.64.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 135EB43D5E; Tue, 12 Jul 2005 07:58:03 +0000 (GMT) (envelope-from bel@white.orel.ru) Received: from white.orel.ru (localhost [127.0.0.1]) by white.orel.ru (8.13.3/8.13.3) with ESMTP id j6C7vZ84036293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Jul 2005 11:57:36 +0400 (MSD) (envelope-from bel@white.orel.ru) Received: (from bel@localhost) by white.orel.ru (8.13.3/8.13.3/Submit) id j6C7vYQE036290; Tue, 12 Jul 2005 11:57:34 +0400 (MSD) (envelope-from bel) Date: Tue, 12 Jul 2005 11:57:34 +0400 (MSD) Message-Id: <200507120757.j6C7vYQE036290@white.orel.ru> To: FreeBSD-gnats-submit@freebsd.org From: Andrew Belashov X-send-pr-version: 3.113 X-GNATS-Notify: X-Zombi-Check: on netra2.orel.ru Cc: freebsd-sparc64@freebsd.org Subject: xorg-libraries/sparc64: locale not supported by Xlib X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Belashov List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jul 2005 07:58:04 -0000 >Submitter-Id: current-users >Originator: Andrew Belashov >Organization: JSC CenterTelecom >Confidential: no >Synopsis: xorg-libraries/sparc64: locale not supported by Xlib >Severity: non-critical >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 5.4-STABLE sparc64 >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