GNU bug report logs -
#32811
[PATCH] enlightenment.scm: Fix initial locale and keyboard selection
Previous Next
Reported by: Timo Eisenmann <eisenmann <at> fn.de>
Date: Sun, 23 Sep 2018 16:40:02 UTC
Severity: normal
Tags: patch
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello Ludo,
>>> Could you explain the effect of adding glibc as an input? Normally
this
>>> is unnecessary because glibc is an implicit input.
>>
>> glibc provides locale, which enlightenment uses to list
languages.Without explicitly installing it, no languages are shown.
>
> OK, I see. However, ‘locale’ is already present in the build
> environment even without adding glibc explicitly. Thus I wonder what’s
> happening.
So implicit inputs provide their binaries only during build-time?
Enlightenment actually uses the output of 'locale -a' during runtime.
> Do you happen to know what part of the Enlightenment code refers to the
> ‘locale’ command?
Enlightenment uses
output = popen("locale -a", "r");
in these three files:
src/bin/e_intl.c (_e_intl_locale_system_locales_get)
src/modules/conf_intl/e_int_config_intl.c (_fill_data)
src/modules/wizard/page_010.c (wizard_page_init)
'page_010' is the language selection screen during first time config.
Regards,
Timo Eisenmann
This bug report was last modified 6 years and 240 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.