From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4kzi-0003oO-AP for guix-patches@gnu.org; Tue, 25 Sep 2018 06:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4kze-0005kl-5x for guix-patches@gnu.org; Tue, 25 Sep 2018 06:55:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48638) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4kze-0005kR-13 for guix-patches@gnu.org; Tue, 25 Sep 2018 06:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4kzd-0002Tm-Rw for guix-patches@gnu.org; Tue, 25 Sep 2018 06:55:01 -0400 Subject: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection Resent-Message-ID: From: Timo Eisenmann References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> <877ejau1z2.fsf@gnu.org> Message-ID: <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> Date: Tue, 25 Sep 2018 12:51:18 +0200 MIME-Version: 1.0 In-Reply-To: <877ejau1z2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: ludo@gnu.org Cc: 32811@debbugs.gnu.org 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