luit does not work

  • Done
  • quality assurance status badge
Details
2 participants
  • luhux
  • Maxim Cournoyer
Owner
unassigned
Submitted by
luhux
Severity
normal

Debbugs page

luhux wrote 4 years ago
(address . bug-guix@gnu.org)
PSXP216MB02146967E1CAF39D077906E8A0390@PSXP216MB0214.KORP216.PROD.OUTLOOK.COM
I use luit to convert the encoding of MUD games, but I failed

It uses the wrong path to find the data

dev@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.
Maxim Cournoyer wrote 3 years ago
(name . luhux)(address . luhux@outlook.com)(address . 43592-done@debbugs.gnu.org)
87v8s3bh58.fsf@gmail.com
Hi,

luhux <luhux@outlook.com> writes:

Toggle quote (9 lines)
> I use luit to convert the encoding of MUD games, but I failed
>
> It uses the wrong path to find the data
>
> dev@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))

Closing.

Thanks for the report!

Maxim
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 43592@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 43592
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help