From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40887) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g54Oc-0000dF-VM for guix-patches@gnu.org; Wed, 26 Sep 2018 03:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g54Oa-0002JQ-Rz for guix-patches@gnu.org; Wed, 26 Sep 2018 03:38:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:50074) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g54OX-0002IN-Tc for guix-patches@gnu.org; Wed, 26 Sep 2018 03:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g54OX-0004Sd-Lq for guix-patches@gnu.org; Wed, 26 Sep 2018 03:38:01 -0400 Subject: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> <877ejau1z2.fsf@gnu.org> <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> Date: Wed, 26 Sep 2018 09:36:55 +0200 In-Reply-To: <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> (Timo Eisenmann's message of "Tue, 25 Sep 2018 12:51:18 +0200") Message-ID: <87a7o44smg.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Timo Eisenmann Cc: 32811@debbugs.gnu.org Hi, Timo Eisenmann skribis: >> OK, I see. However, =E2=80=98locale=E2=80=99 is already present in the = build >> environment even without adding glibc explicitly. Thus I wonder what=E2= =80=99s >> happening. > > So implicit inputs provide their binaries only during build-time? Yes, inputs in general denote build-time dependencies. Run-time dependencies are automatically determined by scanning the build result in search of /gnu/store references. >> Do you happen to know what part of the Enlightenment code refers to the >> =E2=80=98locale=E2=80=99 command? > > Enlightenment uses > output =3D 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 =E2=80=98locale=E2=80=99= with =E2=80=98/gnu/store/=E2=80=A6/bin/locale=E2=80=99 in the files above, using= the =E2=80=98substitute*=E2=80=99 macro. Would you like to give it a try? There are many examples of similar uses of =E2=80=98substitute*=E2=80=99 in the package definitions. HTH! Ludo=E2=80=99.