guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard s


From: Timo Eisenmann
Subject: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection
Date: Wed, 26 Sep 2018 17:37:50 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0

Hi Ludo,

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.
In that case a proper solution would be to replace ‘locale’ with ‘/gnu/store/…/bin/locale’ in the files above, using the ‘substitute*’ macro. Would you like to give it a try? There are many examples of similar uses of ‘substitute*’ in the package definitions.

I attached a patch that uses 'substitute*'.

Thanks for your help,
Timo Eisenmann

Attachment: 0001-enlightenment.scm-Fix-initial-locale-and-keyboard-se.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]