From unknown Fri Jun 20 07:14:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#32811 <32811@debbugs.gnu.org> To: bug#32811 <32811@debbugs.gnu.org> Subject: Status: [PATCH] enlightenment.scm: Fix initial locale and keyboard selection Reply-To: bug#32811 <32811@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:13 +0000 retitle 32811 [PATCH] enlightenment.scm: Fix initial locale and keyboard se= lection reassign 32811 guix-patches submitter 32811 Timo Eisenmann severity 32811 normal tag 32811 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 23 12:39:46 2018 Received: (at submit) by debbugs.gnu.org; 23 Sep 2018 16:39:46 +0000 Received: from localhost ([127.0.0.1]:51029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g47QA-0006Kd-D0 for submit@debbugs.gnu.org; Sun, 23 Sep 2018 12:39:46 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g44Ox-0001eL-Kb for submit@debbugs.gnu.org; Sun, 23 Sep 2018 09:26:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g44Oo-0002IN-Qq for submit@debbugs.gnu.org; Sun, 23 Sep 2018 09:26:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g44Oo-0002ID-Je for submit@debbugs.gnu.org; Sun, 23 Sep 2018 09:26:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g44On-0002A9-PY for guix-patches@gnu.org; Sun, 23 Sep 2018 09:26:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g44Ok-0002GJ-Lo for guix-patches@gnu.org; Sun, 23 Sep 2018 09:26:09 -0400 Received: from mout3.freenet.de ([2001:748:100:40::2:5]:54664) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g44Ok-0002Ez-F9 for guix-patches@gnu.org; Sun, 23 Sep 2018 09:26:06 -0400 Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID eisenmann@fn.de) (port 25) (Exim 4.90_1 #2) id 1g44Oh-0004jK-A8 for guix-patches@gnu.org; Sun, 23 Sep 2018 15:26:03 +0200 Received: from [::1] (port=47772 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g44Oh-0003FS-8M for guix-patches@gnu.org; Sun, 23 Sep 2018 15:26:03 +0200 Received: from sub8.freenet.de ([195.4.92.127]:48162) by mjail1.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g44MB-0000PG-9U for guix-patches@gnu.org; Sun, 23 Sep 2018 15:23:27 +0200 Received: from p200300d403d9ff00152cd009a81efe86.dip0.t-ipconnect.de ([2003:d4:3d9:ff00:152c:d009:a81e:fe86]:50626 helo=HOME.fritz.box) by sub8.freenet.de with esmtpsa (ID eisenmann@fn.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1g44MB-0001MU-5p; Sun, 23 Sep 2018 15:23:27 +0200 From: Timo Eisenmann To: guix-patches@gnu.org Subject: [PATCH] enlightenment.scm: Fix initial locale and keyboard selection Date: Sun, 23 Sep 2018 15:22:24 +0200 Message-Id: <20180923132224.1268-1-eisenmann@fn.de> X-Mailer: git-send-email 2.18.0 X-Originated-At: 2003:d4:3d9:ff00:152c:d009:a81e:fe86!50626 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 23 Sep 2018 12:39:45 -0400 Cc: Timo Eisenmann X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) * gnu/packages/enlightenment.scm (enlightenment): Add glibc to inputs and fix path to xorg.lst --- gnu/packages/enlightenment.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/enlightenment.scm b/gnu/packages/enlightenment.scm index 45dc1dbbe..2d3d0795f 100644 --- a/gnu/packages/enlightenment.scm +++ b/gnu/packages/enlightenment.scm @@ -275,6 +275,10 @@ Libraries with some extra bells and whistles.") (("/usr/share/X11/xkb/rules/xorg.lst") (string-append xkeyboard "/share/X11/xkb/rules/base.lst"))) + (substitute* "src/modules/wizard/page_011.c" + (("/usr/share/X11/xkb/rules/xorg.lst") + (string-append xkeyboard + "/share/X11/xkb/rules/base.lst"))) (substitute* "src/modules/everything/evry_plug_apps.c" (("/usr/bin/") "")) (substitute* "configure" @@ -295,6 +299,7 @@ Libraries with some extra bells and whistles.") ("dbus" ,dbus) ("efl" ,efl) ("freetype" ,freetype) + ("glibc" ,glibc) ("libxcb" ,libxcb) ("libxext" ,libxext) ("linux-pam" ,linux-pam) -- 2.18.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 24 08:28:15 2018 Received: (at 32811) by debbugs.gnu.org; 24 Sep 2018 12:28:15 +0000 Received: from localhost ([127.0.0.1]:51446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4PyJ-0003gv-6m for submit@debbugs.gnu.org; Mon, 24 Sep 2018 08:28:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4PyH-0003gg-Cb for 32811@debbugs.gnu.org; Mon, 24 Sep 2018 08:28:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4Py9-0003hg-4e for 32811@debbugs.gnu.org; Mon, 24 Sep 2018 08:28:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4Py8-0003hY-Rh; Mon, 24 Sep 2018 08:28:05 -0400 Received: from [193.50.110.247] (port=58004 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g4Py8-0006x5-I9; Mon, 24 Sep 2018 08:28:04 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Timo Eisenmann Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection References: <20180923132224.1268-1-eisenmann@fn.de> Date: Mon, 24 Sep 2018 14:28:03 +0200 In-Reply-To: <20180923132224.1268-1-eisenmann@fn.de> (Timo Eisenmann's message of "Sun, 23 Sep 2018 15:22:24 +0200") Message-ID: <875zyvw04s.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Timo, Timo Eisenmann skribis: > * gnu/packages/enlightenment.scm (enlightenment): Add glibc to inputs and= fix path to xorg.lst Could you explain the effect of adding glibc as an input? Normally this is unnecessary because glibc is an implicit input. Thank you for the patch! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 24 11:39:07 2018 Received: (at 32811) by debbugs.gnu.org; 24 Sep 2018 15:39:08 +0000 Received: from localhost ([127.0.0.1]:52250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4Sx1-0000H8-OU for submit@debbugs.gnu.org; Mon, 24 Sep 2018 11:39:07 -0400 Received: from mout2.freenet.de ([195.4.92.92]:55796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4Swz-0000Gy-Oz for 32811@debbugs.gnu.org; Mon, 24 Sep 2018 11:39:06 -0400 Received: from [195.4.92.126] (helo=sub7.freenet.de) by mout2.freenet.de with esmtpsa (ID eisenmann@fn.de) (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (port 25) (Exim 4.90_1 #2) id 1g4Swy-0003aw-AP; Mon, 24 Sep 2018 17:39:04 +0200 Received: from web3.emo.freenet-rz.de ([194.97.107.236]:29348) by sub7.freenet.de with esmtpa (ID eisenmann@fn.de) (port 587) (Exim 4.90_1 #2) id 1g4Swy-0006KD-5D; Mon, 24 Sep 2018 17:39:04 +0200 Received: from localhost ([127.0.0.1] helo=emo.freenet.de) by web3.emo.freenet-rz.de with esmtpa (Exim 4.84_2 2 (Panther_1)) id 1g4Swx-0000GR-TJ; Mon, 24 Sep 2018 17:39:03 +0200 Date: Mon, 24 Sep 2018 17:39:03 +0200 X-Originated-At: 79.217.109.144!57253 From: eisenmann@fn.de Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection To: Ludovic Courtès X-Priority: 3 MIME-Version: 1.0 X-Abuse: 000000 / 79.217.109.144 Message-Id: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> User-Agent: freenetMail Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 e= xplicitly installing it, no languages are shown. Regards, Timo Eisenmann From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 24 15:31:25 2018 Received: (at 32811) by debbugs.gnu.org; 24 Sep 2018 19:31:25 +0000 Received: from localhost ([127.0.0.1]:52370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4WZo-0005xf-Q3 for submit@debbugs.gnu.org; Mon, 24 Sep 2018 15:31:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4WZn-0005xS-6V for 32811@debbugs.gnu.org; Mon, 24 Sep 2018 15:31:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4WZg-0003o6-0p for 32811@debbugs.gnu.org; Mon, 24 Sep 2018 15:31:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4WZf-0003nw-PD; Mon, 24 Sep 2018 15:31:15 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39554 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g4WZf-0003Rt-Gt; Mon, 24 Sep 2018 15:31:15 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: eisenmann@fn.de Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 3 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 24 Sep 2018 21:31:13 +0200 In-Reply-To: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> (eisenmann's message of "Mon, 24 Sep 2018 17:39:03 +0200") Message-ID: <877ejau1z2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hello Timo, eisenmann@fn.de skribis: >> 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, =E2=80=98locale=E2=80=99 is already present in the bui= ld environment even without adding glibc explicitly. Thus I wonder what=E2=80= =99s happening. Do you happen to know what part of the Enlightenment code refers to the =E2=80=98locale=E2=80=99 command? Thank you, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 25 06:54:05 2018 Received: (at 32811) by debbugs.gnu.org; 25 Sep 2018 10:54:05 +0000 Received: from localhost ([127.0.0.1]:52896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4kyi-0002SS-SH for submit@debbugs.gnu.org; Tue, 25 Sep 2018 06:54:05 -0400 Received: from mout3.freenet.de ([195.4.92.93]:60446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4kyh-0002SJ-FE for 32811@debbugs.gnu.org; Tue, 25 Sep 2018 06:54:03 -0400 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout3.freenet.de with esmtpa (ID eisenmann@fn.de) (port 25) (Exim 4.90_1 #2) id 1g4kyf-00015f-PM; Tue, 25 Sep 2018 12:54:01 +0200 Received: from [::1] (port=60256 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g4kyf-0004ub-Oh; Tue, 25 Sep 2018 12:54:01 +0200 Received: from sub4.freenet.de ([195.4.92.123]:43364) by mjail0.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g4kw4-0002iQ-BC; Tue, 25 Sep 2018 12:51:20 +0200 Received: from p200300d403d9ff00293f2b4526f0e940.dip0.t-ipconnect.de ([2003:d4:3d9:ff00:293f:2b45:26f0:e940]:62492) by sub4.freenet.de with esmtpsa (ID eisenmann@fn.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1g4kw4-0004gN-7q; Tue, 25 Sep 2018 12:51:20 +0200 From: Timo Eisenmann Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection To: ludo@gnu.org 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 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <877ejau1z2.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Originated-At: 2003:d4:3d9:ff00:293f:2b45:26f0:e940!62492 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 26 03:37:07 2018 Received: (at 32811) by debbugs.gnu.org; 26 Sep 2018 07:37:07 +0000 Received: from localhost ([127.0.0.1]:54332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g54Nf-0004RG-J0 for submit@debbugs.gnu.org; Wed, 26 Sep 2018 03:37:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g54Nd-0004Ql-Vj for 32811@debbugs.gnu.org; Wed, 26 Sep 2018 03:37:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g54NW-0001gM-HT for 32811@debbugs.gnu.org; Wed, 26 Sep 2018 03:36:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g54NW-0001gG-DZ; Wed, 26 Sep 2018 03:36:58 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52740 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g54NW-0002te-4G; Wed, 26 Sep 2018 03:36:58 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Timo Eisenmann Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> <877ejau1z2.fsf@gnu.org> <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 26 11:40:07 2018 Received: (at 32811) by debbugs.gnu.org; 26 Sep 2018 15:40:07 +0000 Received: from localhost ([127.0.0.1]:55569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5Bv4-0006BA-2E for submit@debbugs.gnu.org; Wed, 26 Sep 2018 11:40:07 -0400 Received: from mout2.freenet.de ([195.4.92.92]:42762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5Bv1-0006Aw-Jp for 32811@debbugs.gnu.org; Wed, 26 Sep 2018 11:40:04 -0400 Received: from [195.4.92.163] (helo=mjail0.freenet.de) by mout2.freenet.de with esmtpa (ID eisenmann@fn.de) (port 25) (Exim 4.90_1 #2) id 1g5Bv0-0001Bf-C3; Wed, 26 Sep 2018 17:40:02 +0200 Received: from [::1] (port=43868 helo=mjail0.freenet.de) by mjail0.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g5Bv0-0004yZ-BA; Wed, 26 Sep 2018 17:40:02 +0200 Received: from sub4.freenet.de ([195.4.92.123]:41226) by mjail0.freenet.de with esmtpa (ID eisenmann@fn.de) (Exim 4.90_1 #2) id 1g5Bst-0003P9-0y; Wed, 26 Sep 2018 17:37:51 +0200 Received: from p200300d403d9ff0064e040688d577a99.dip0.t-ipconnect.de ([2003:d4:3d9:ff00:64e0:4068:8d57:7a99]:57225) by sub4.freenet.de with esmtpsa (ID eisenmann@fn.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 587) (Exim 4.90_1 #2) id 1g5Bss-00031E-Ty; Wed, 26 Sep 2018 17:37:51 +0200 From: Timo Eisenmann Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection To: ludo@gnu.org References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> <877ejau1z2.fsf@gnu.org> <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> <87a7o44smg.fsf@gnu.org> Message-ID: 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 MIME-Version: 1.0 In-Reply-To: <87a7o44smg.fsf@gnu.org> Content-Type: multipart/mixed; boundary="------------AA0F59AC647BCFBFE97C1333" X-Originated-At: 2003:d4:3d9:ff00:64e0:4068:8d57:7a99!57225 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 32811 Cc: 32811@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) This is a multi-part message in MIME format. --------------AA0F59AC647BCFBFE97C1333 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------AA0F59AC647BCFBFE97C1333 Content-Type: text/plain; charset=UTF-8; name="0001-enlightenment.scm-Fix-initial-locale-and-keyboard-se.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="0001-enlightenment.scm-Fix-initial-locale-and-keyboard-se.pa"; filename*1="tch" RnJvbSAyODAzNWZhMWZmMjQyZDFlNGQ0NWZjY2YwZGZlNTg3NDI3MDJkNmFhIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBUaW1vIEVpc2VubWFubiA8ZWlzZW5tYW5uQGZuLmRl PgpEYXRlOiBXZWQsIDI2IFNlcCAyMDE4IDE3OjAxOjMzICswMjAwClN1YmplY3Q6IFtQQVRD SF0gZW5saWdodGVubWVudC5zY206IEZpeCBpbml0aWFsIGxvY2FsZSBhbmQga2V5Ym9hcmQg c2VsZWN0aW9uCgoqIGdudS9wYWNrYWdlcy9lbmxpZ2h0ZW5tZW50LnNjbSAoZW5saWdodGVu bWVudCk6IEZpeCBwYXRocyB0byAnbG9jYWxlJyBhbmQgJ3hvcmcubHN0JwotLS0KIGdudS9w YWNrYWdlcy9lbmxpZ2h0ZW5tZW50LnNjbSB8IDEwICsrKysrKysrLS0KIDEgZmlsZSBjaGFu Z2VkLCA4IGluc2VydGlvbnMoKyksIDIgZGVsZXRpb25zKC0pCgpkaWZmIC0tZ2l0IGEvZ251 L3BhY2thZ2VzL2VubGlnaHRlbm1lbnQuc2NtIGIvZ251L3BhY2thZ2VzL2VubGlnaHRlbm1l bnQuc2NtCmluZGV4IDQ1ZGMxZGJiZS4uMGNlZDcwMjg4IDEwMDY0NAotLS0gYS9nbnUvcGFj a2FnZXMvZW5saWdodGVubWVudC5zY20KKysrIGIvZ251L3BhY2thZ2VzL2VubGlnaHRlbm1l bnQuc2NtCkBAIC0yNjgsMTMgKzI2OCwxOSBAQCBMaWJyYXJpZXMgd2l0aCBzb21lIGV4dHJh IGJlbGxzIGFuZCB3aGlzdGxlcy4iKQogICAgICAgICAgKGFkZC1iZWZvcmUgJ2NvbmZpZ3Vy ZSAnc2V0LXN5c3RlbS1hY3Rpb25zCiAgICAgICAgICAgIChsYW1iZGEqICgjOmtleSBpbnB1 dHMgIzphbGxvdy1vdGhlci1rZXlzKQogICAgICAgICAgICAgIChsZXQgKCh4a2V5Ym9hcmQg KGFzc29jLXJlZiBpbnB1dHMgInhrZXlib2FyZC1jb25maWciKSkKLSAgICAgICAgICAgICAg ICAgICAodXRpbHMgICAgIChhc3NvYy1yZWYgaW5wdXRzICJ1dGlsLWxpbnV4IikpKQorICAg ICAgICAgICAgICAgICAgICh1dGlscyAgICAgKGFzc29jLXJlZiBpbnB1dHMgInV0aWwtbGlu dXgiKSkKKyAgICAgICAgICAgICAgICAgICAobGliYyAgICAgIChhc3NvYy1yZWYgaW5wdXRz ICJsaWJjIikpKQogICAgICAgICAgICAgICAgOzsgV2UgbmVlZCB0byBwYXRjaCB0aGUgcGF0 aCB0byAnYmFzZS5sc3QnIHRvIGJlIGFibGUKICAgICAgICAgICAgICAgIDs7IHRvIHN3aXRj aCB0aGUga2V5Ym9hcmQgbGF5b3V0IGluIEUuCi0gICAgICAgICAgICAgICAoc3Vic3RpdHV0 ZSogInNyYy9tb2R1bGVzL3hrYnN3aXRjaC9lX21vZF9wYXJzZS5jIgorICAgICAgICAgICAg ICAgKHN1YnN0aXR1dGUqIChsaXN0ICJzcmMvbW9kdWxlcy94a2Jzd2l0Y2gvZV9tb2RfcGFy c2UuYyIKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAic3JjL21vZHVsZXMv d2l6YXJkL3BhZ2VfMDExLmMiKQogICAgICAgICAgICAgICAgICAoKCIvdXNyL3NoYXJlL1gx MS94a2IvcnVsZXMveG9yZy5sc3QiKQogICAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBl bmQgeGtleWJvYXJkCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiL3NoYXJl L1gxMS94a2IvcnVsZXMvYmFzZS5sc3QiKSkpCisgICAgICAgICAgICAgICAoc3Vic3RpdHV0 ZSogKGxpc3QgInNyYy9iaW4vZV9pbnRsLmMiCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgInNyYy9tb2R1bGVzL2NvbmZfaW50bC9lX2ludF9jb25maWdfaW50bC5jIgor ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJzcmMvbW9kdWxlcy93aXphcmQv cGFnZV8wMTAuYyIpCisgICAgICAgICAgICAgICAgICgoImxvY2FsZSAtYSIpIChzdHJpbmct YXBwZW5kIGxpYmMgIi9iaW4vbG9jYWxlIC1hIikpKQogICAgICAgICAgICAgICAgKHN1YnN0 aXR1dGUqICJzcmMvbW9kdWxlcy9ldmVyeXRoaW5nL2V2cnlfcGx1Z19hcHBzLmMiCiAgICAg ICAgICAgICAgICAgICgoIi91c3IvYmluLyIpICIiKSkKICAgICAgICAgICAgICAgIChzdWJz dGl0dXRlKiAiY29uZmlndXJlIgotLSAKMi4xOC4wCgo= --------------AA0F59AC647BCFBFE97C1333-- From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 26 17:41:54 2018 Received: (at 32811-done) by debbugs.gnu.org; 26 Sep 2018 21:41:54 +0000 Received: from localhost ([127.0.0.1]:55702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5HZC-0000Bv-7m for submit@debbugs.gnu.org; Wed, 26 Sep 2018 17:41:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g5HZB-0000Be-1E for 32811-done@debbugs.gnu.org; Wed, 26 Sep 2018 17:41:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5HZ5-0007XO-4d for 32811-done@debbugs.gnu.org; Wed, 26 Sep 2018 17:41:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5HZ4-0007X5-Vn; Wed, 26 Sep 2018 17:41:47 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39496 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g5HZ2-0005Mw-JL; Wed, 26 Sep 2018 17:41:46 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Timo Eisenmann Subject: Re: [bug#32811] [PATCH] enlightenment.scm: Fix initial locale and keyboard selection References: <87c1e7471d626c89b2aae314eb4a1915@email.freenet.de> <877ejau1z2.fsf@gnu.org> <909e244a-1fb7-361b-63b1-9e70bc042e53@fn.de> <87a7o44smg.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vend=C3=A9miaire?= an 227 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 26 Sep 2018 23:41:43 +0200 In-Reply-To: (Timo Eisenmann's message of "Wed, 26 Sep 2018 17:37:50 +0200") Message-ID: <877ej80wdk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32811-done Cc: 32811-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Hi Timo, Timo Eisenmann skribis: > From 28035fa1ff242d1e4d45fccf0dfe58742702d6aa Mon Sep 17 00:00:00 2001 > From: Timo Eisenmann > Date: Wed, 26 Sep 2018 17:01:33 +0200 > Subject: [PATCH] enlightenment.scm: Fix initial locale and keyboard selec= tion > > * gnu/packages/enlightenment.scm (enlightenment): Fix paths to 'locale' a= nd 'xorg.lst' Awesome, pushed as e15ede6e28cfaf5fe951faf88d7c1e3213a476a4. I added a copyright line for you (let me know if I got it wrong!) and tweaked the commit log to match our conventions. Thank you! Ludo=E2=80=99. From unknown Fri Jun 20 07:14:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Oct 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator