From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPQz4-000215-0s for guix-patches@gnu.org; Mon, 26 Jun 2017 06:11:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPQz0-0000zr-QY for guix-patches@gnu.org; Mon, 26 Jun 2017 06:11:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPQz0-0000zi-MI for guix-patches@gnu.org; Mon, 26 Jun 2017 06:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dPQz0-0006UV-9y for guix-patches@gnu.org; Mon, 26 Jun 2017 06:11:02 -0400 Subject: [bug#27355] [PATCH 3/7] gnu: Add libsigrokdecode. Resent-Message-ID: References: <20170614095813.1926-1-theodoros.for@openmailbox.org> <20170614095813.1926-3-theodoros.for@openmailbox.org> <20170619222054.028af180@scratchpost.org> From: Hartmut Goebel Message-ID: <5950DD76.7030402@crazy-compilers.com> Date: Mon, 26 Jun 2017 12:09:58 +0200 MIME-Version: 1.0 In-Reply-To: <20170619222054.028af180@scratchpost.org> 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: Danny Milosavljevic , Theodoros Foradis Cc: 27355@debbugs.gnu.org Hi, > Also, reading srd.c it seems that this library embeds Python. Is it st= ill supposed to be a propagated-input then? It doesn't need the executab= le at runtime or anything. Users probably do need the Python standard li= brary, so I guess it's OK... Hartmut, what do you think? Sorry for answering late. I'm confident that python should be a *normal* input =E2=80=93 although i= t should be tested (and the result documented in guix.texi). I'm short in time, so I can't test myself now. =46rom the Documentation [1] I can not tell exactly how libpython behaves= if used embedded. But the code [2] says: Step 3 [=E2=80=A6 search python3 on $PATH] Step 4. Search the directories pointed to by the preprocessor variabl= es PREFIX and EXEC_PREFIX. These are supplied by the Makefile but can b= e passed in as options to the configure script. So the PREFIX guix is setting is honoured (as a last resort). BTW: I assume glib should be a normal input, too. [1] https://docs.python.org/3/c-api/init.html [2] https://github.com/python/cpython/blob/master/Modules/getpath.c#L73 [3] https://github.com/python/cpython/blob/master/Modules/getpath.c#L495 [4] https://github.com/python/cpython/blob/master/Modules/getpath.c#L364 --=20 Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |