GNU bug report logs - #43592
luit does not work

Previous Next

Package: guix;

Reported by: luhux <luhux <at> outlook.com>

Date: Thu, 24 Sep 2020 15:55:02 UTC

Severity: normal

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#43592: closed (luit does not work)
Date: Mon, 11 Jul 2022 19:10:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Jul 2022 15:09:39 -0400
with message-id <87v8s3bh58.fsf <at> gmail.com>
and subject line Re: bug#43592: luit does not work
has caused the debbugs.gnu.org bug report #43592,
regarding luit does not work
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
43592: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43592
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: luhux <luhux <at> outlook.com>
To: bug-guix <at> gnu.org
Subject: luit does not work
Date: Thu, 24 Sep 2020 20:24:50 +0800
I use luit to convert the encoding of MUD games, but I failed

It uses the wrong path to find the data

dev <at> tencent ~$ luit -encoding gbk
/gnu/store/a4knixgswikbb4r7cw9srh07w0f9n0jw-luit-1.1.1/share/X11/locale/locale.alias:
No such file or directory
Warning: couldn't find charset data for locale gbk; using ISO 8859-1.


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: luhux <luhux <at> outlook.com>
Cc: 43592-done <at> debbugs.gnu.org
Subject: Re: bug#43592: luit does not work
Date: Mon, 11 Jul 2022 15:09:39 -0400
Hi,

luhux <luhux <at> outlook.com> writes:

> I use luit to convert the encoding of MUD games, but I failed
>
> It uses the wrong path to find the data
>
> dev <at> tencent ~$ luit -encoding gbk
> /gnu/store/a4knixgswikbb4r7cw9srh07w0f9n0jw-luit-1.1.1/share/X11/locale/locale.alias:
> No such file or directory
> Warning: couldn't find charset data for locale gbk; using ISO 8859-1.

'gbk' doesn't appear to be a known alias, at least for the locale.alias
file provided by our libx11 package.

I believe the missing locale.alias file has now been fixed with:

modified   gnu/packages/xorg.scm
@@ -1548,8 +1548,14 @@ (define-public luit
        ;; should become obsolete with the next release.
        (patches (search-patches "luit-posix.patch"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list (string-append "--with-localealiasfile="
+                             (search-input-file
+                              %build-inputs "share/X11/locale/locale.alias")))))
     (inputs
-     (list libfontenc))
+     (list libfontenc libx11))
     (native-inputs
      (list pkg-config))
     (home-page "https://www.x.org/wiki/")

Closing.

Thanks for the report!

Maxim


This bug report was last modified 3 years ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.