You are not logged in.

#1 2016-11-02 14:19:07

tpavelka
Member
Registered: 2016-11-02
Posts: 2

[SOLVED] Dead key caron (háček) doesn't work in xterm

After update to libX11-1.6.4, dead_caron does not work in cs_CZ.UTF-8 locale. Also, xterm shows "locale not supported by Xlib".

Gtk and Qt apps are not afected, just xterm, rxvt and similar.

It is a bug in libX11-1.6.4, reported here: https://bugs.freedesktop.org/show_bug.cgi?id=98219

The report includes patch to fix the problem: https://bugs.freedesktop.org/attachment.cgi?id=127670

T. Pavelka

Last edited by tpavelka (2016-11-02 14:23:15)

Offline

#2 2016-11-02 19:14:18

tpavelka
Member
Registered: 2016-11-02
Posts: 2

Re: [SOLVED] Dead key caron (háček) doesn't work in xterm

PKGBUILD I have used to recompile libX11-1.6.4 in ABS:

# Contributor: Tomáš Pavelka <tompavelka@volny.cz>

pkgname=libx11-cz_deadkeys
provides=('libx11') 
pkgver=1.6.4
pkgrel=1
pkgdesc="X11 client-side library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org/"
depends=('libxcb' 'xproto' 'kbproto')
makedepends=('xorg-util-macros' 'xextproto' 'xtrans' 'inputproto')
license=('custom')
source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2{,.sig} 'locale.patch::https://bugs.freedesktop.org/attachment.cgi?id=127670')
sha256sums=('b7c748be3aa16ec2cbd81edc847e9b6ee03f88143ab270fb59f58a044d34e441'
            'SKIP'
            'f90714826f8d884a158ca6734f0226da55cc68d8f4f1a7307279a81070c83c31')


prepare() {
  cd "${srcdir}/libX11-${pkgver}"
  patch -Np1 -i "${srcdir}/locale.patch"
}

build() {
  cd "${srcdir}/libX11-${pkgver}"
  ./configure --prefix=/usr --disable-static --disable-xf86bigfont
  make
}

check() {
  cd "${srcdir}/libX11-${pkgver}"
  make check
}

package() {
  cd "${srcdir}/libX11-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}

It is not PGP signed, so you have to use

 makepkg --skippgpcheck 

Last edited by tpavelka (2016-11-02 19:20:08)

Offline

#3 2016-11-02 21:02:01

vbh
Member
Registered: 2014-03-06
Posts: 1

Re: [SOLVED] Dead key caron (háček) doesn't work in xterm

Wow man, thanks. This solved the issue that was bothering me for a few days already.

Offline

Board footer

Powered by FluxBB