From owner-freebsd-ports Thu Jul 4 8:40:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ECD3337B401 for ; Thu, 4 Jul 2002 08:40:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECD0A43E31 for ; Thu, 4 Jul 2002 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g64Fe2JU076518 for ; Thu, 4 Jul 2002 08:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g64Fe2SO076517; Thu, 4 Jul 2002 08:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3681137B400 for ; Thu, 4 Jul 2002 08:38:27 -0700 (PDT) Received: from daemonz.org (TK212017094178.teleweb.at [212.17.94.178]) by mx1.FreeBSD.org (Postfix) with SMTP id 8408F43E09 for ; Thu, 4 Jul 2002 08:38:24 -0700 (PDT) (envelope-from tacho@daemonz.org) Received: (qmail 49948 invoked by uid 1001); 4 Jul 2002 15:42:24 -0000 Message-Id: <20020704154224.49947.qmail@daemonz.org> Date: 4 Jul 2002 15:42:24 -0000 From: Stanislav Grozev Reply-To: Stanislav Grozev To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/40189: XFree86 4.2 doesn't support bg_BG.CP1251 properly Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 40189 >Category: ports >Synopsis: XFree86 4.2 doesn't support bg_BG.CP1251 properly >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jul 04 08:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Stanislav Grozev >Release: FreeBSD 4.6-STABLE i386 >Organization: factline Webservices GmbH. >Environment: System: FreeBSD meerkat.dungeon 4.6-STABLE FreeBSD 4.6-STABLE #2: Tue Jun 18 08:04:41 CEST 2002 root@meerkat.dungeon:/usr/obj/usr/src/sys/MEERKAT i386 >Description: the XFree86-4-libraries (xfree 4.2) is missing a Compose file for the microsoft-cp1251 (dunno why XFree people choose that alias), thus breaking some programs when locale bg_BG.CP1251 is set (most notably Gtk+ apps, like gvim, or some gnome app) This affects both -current and -stable users. >How-To-Repeat: % setenv LANG bg_BG.CP1251 % setenv LC_ALL bg_BG.CP1251 % gvim Segmentation Fault (core dumped) >Fix: apply this diff and rebuild the port. i will also request the maintainer to submit this to the XFree people for inclusion in the next release --- begin diff --- diff -urN ../XFree86-4-libraries.orig/Makefile ./Makefile --- ../XFree86-4-libraries.orig/Makefile Wed Mar 20 01:33:47 2002 +++ ./Makefile Thu Jul 4 17:05:43 2002 @@ -7,7 +7,7 @@ PORTNAME= libraries PORTVERSION= 4.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} \ ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \ @@ -90,6 +90,7 @@ .endif post-patch: + ${CP} ${MASTERDIR}/files/nls::Compose::microsoft-cp1251 ${WRKSRC}/nls/Compose/microsoft-cp1251 cd ${WRKSRC}/nls; \ for i in Compose XI18N_OBJS XLC_LOCALE; do \ ${LN} -s zh_TW.big5 $$i/zh_TW.Big5; \ diff -urN ../XFree86-4-libraries.orig/files/nls::Compose::microsoft-cp1251 ./files/nls::Compose::microsoft-cp1251 --- ../XFree86-4-libraries.orig/files/nls::Compose::microsoft-cp1251 Thu Jan 1 01:00:00 1970 +++ ./files/nls::Compose::microsoft-cp1251 Thu Jul 4 17:05:43 2002 @@ -0,0 +1,15 @@ +XCOMM +XCOMM microsoft-cp1251 Compose Sequence +XCOMM +XCOMM Sequence Definition +XCOMM +XCOMM $XFree86$ +XCOMM +XCOMM This file currently has no entries. It appears that a compose file (even +XCOMM just an empty one) is required for the appropriate keysyms to work for +XCOMM this encoding. +XCOMM +XCOMM Means +XCOMM Special Character + +XCOMM End of Sequence Definition diff -urN ../XFree86-4-libraries.orig/files/patch-nls::Compose::Imakefile ./files/patch-nls::Compose::Imakefile --- ../XFree86-4-libraries.orig/files/patch-nls::Compose::Imakefile Thu Jan 1 01:00:00 1970 +++ ./files/patch-nls::Compose::Imakefile Thu Jul 4 17:05:43 2002 @@ -0,0 +1,10 @@ +--- nls/Compose/Imakefile.orig Sat Nov 3 00:29:28 2001 ++++ nls/Compose/Imakefile Thu Jul 4 16:38:00 2002 +@@ -64,6 +64,7 @@ + ComposeTarget(koi8-r) + ComposeTarget(koi8-u) + ComposeTarget(koi8-c) ++ComposeTarget(microsoft-cp1251) + ComposeTarget(mulelao-1) + ComposeTarget(vi_VN.tcvn) + ComposeTarget(vi_VN.viscii) diff -urN ../XFree86-4-libraries.orig/pkg-plist ./pkg-plist --- ../XFree86-4-libraries.orig/pkg-plist Sun Mar 17 00:40:17 2002 +++ ./pkg-plist Thu Jul 4 17:05:43 2002 @@ -487,6 +487,7 @@ lib/X11/locale/koi8-u/XLC_LOCALE lib/X11/locale/locale.alias lib/X11/locale/locale.dir +lib/X11/locale/microsoft-cp1251/Compose lib/X11/locale/microsoft-cp1251/XI18N_OBJS lib/X11/locale/microsoft-cp1251/XLC_LOCALE lib/X11/locale/microsoft-cp1255/XI18N_OBJS --- end diff --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message