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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43592 in the body.
You can then email your comments to 43592 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43592; Package guix. (Thu, 24 Sep 2020 15:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to luhux <luhux <at> outlook.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 24 Sep 2020 15:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Mon, 11 Jul 2022 19:10:03 GMT) Full text and rfc822 format available.

Notification sent to luhux <luhux <at> outlook.com>:
bug acknowledged by developer. (Mon, 11 Jul 2022 19:10:03 GMT) Full text and rfc822 format available.

Message #10 received at 43592-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Aug 2022 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 259 days ago.

Previous Next


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