From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id INSOMf29V2ABeAAA0tVLHw (envelope-from ) for ; Sun, 21 Mar 2021 21:43:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mL5TLf29V2CcCQAAB5/wlQ (envelope-from ) for ; Sun, 21 Mar 2021 21:43:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 554E02C7C6 for ; Sun, 21 Mar 2021 22:43:25 +0100 (CET) Received: from localhost ([::1]:41200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lO5r1-00067x-Qp for larch@yhetil.org; Sun, 21 Mar 2021 17:43:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lO5qg-00067S-BE for guix-patches@gnu.org; Sun, 21 Mar 2021 17:43:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lO5qg-0002YH-3Q for guix-patches@gnu.org; Sun, 21 Mar 2021 17:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lO5qg-0002W8-1L for guix-patches@gnu.org; Sun, 21 Mar 2021 17:43:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47187] [PATCH] gnu: Add c-lightning. Resent-From: =?UTF-8?Q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Mar 2021 21:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47187 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ZmnSCPxj Cc: "47187@debbugs.gnu.org" <47187@debbugs.gnu.org> Received: via spool by 47187-submit@debbugs.gnu.org id=B47187.16163629399627 (code B ref 47187); Sun, 21 Mar 2021 21:43:01 +0000 Received: (at 47187) by debbugs.gnu.org; 21 Mar 2021 21:42:19 +0000 Received: from localhost ([127.0.0.1]:55582 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO5pz-0002VC-Gq for submit@debbugs.gnu.org; Sun, 21 Mar 2021 17:42:19 -0400 Received: from mail.zaclys.net ([178.33.93.72]:46255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lO5pv-0002Ux-EY for 47187@debbugs.gnu.org; Sun, 21 Mar 2021 17:42:18 -0400 Received: from guix-xps.local (lsl43-1_migr-78-195-19-20.fbx.proxad.net [78.195.19.20] (may be forged)) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 12LLg8QW027468 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 21 Mar 2021 22:42:09 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 12LLg8QW027468 Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1616362929; bh=g94fGTiBcEYzExaLil1jWlMLh3PlLms1NtlI3gWFMrM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=oI11nuWGs190+xFn9Wi1Ry1cZ/3yeX5CObV9R1JG6MSlph4dDjB3Hdl5Hw7ZsBwUb sXrsb8ygip5YQ91DkWwOAevW9XbwxTR9Awjnag7geuskXTj8INOXuNRBzjg6N10Rmi wlWUuA5WNDsYFm63y3Dk9xwZTSNIfCqEu5z6QVFc= Message-ID: <2e63a42572d05d3b3b0ecadfb3bf214c719ab560.camel@zaclys.net> Date: Sun, 21 Mar 2021 22:42:08 +0100 In-Reply-To: References: <81c654076d3c07c0f7d1657b4e44dce29a01eca2.camel@zaclys.net> <9436292ea880757cf47a5ce59879e6e7098ff195.camel@zaclys.net> <8f7d4c04d96fdf8cf1239c476c4c869f92446ada.camel@zaclys.net> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9De5vtWPhjgFp+sQksVd" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: =?UTF-8?Q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616363005; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=g94fGTiBcEYzExaLil1jWlMLh3PlLms1NtlI3gWFMrM=; b=qF0ZZx7tlC+AbuUn7u3QAlzDoaiuud58fe5DH8qlxkvNRFaPKdrOUldmwAZAxV+AkFWUVr iLxmeR8feeSHuuMBj+PABA1rL7F1+yHqREJyO1aNBhq19ZrZf8PAbVMhbUo15u1QdEPws3 z3sQu2dR6fRsPSHm8f7PkWRZDJAuuM9k7BBSZvetYZuwzcJ2HeykewBeGMEiRWy4/I4wzK OknXd53KKeyRFOaYF3vf+ypbREso6tNShusrt92gkIhhXsgPuLjQXdogt33npmbxiV0ALC 2mSRgMeCYmNf3TaLJF03hktcj9L5OKLKhQrXCiziVqB/5I8qXCOM7JbssTNl3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616363005; a=rsa-sha256; cv=none; b=oOkugGP+AX8yo/mnHlDaE/dOtlX/6sYC4cuPSMbxUxuNG+Ipnnc7sxCJf9K9ivkrA8VcsE EEJSy612tc8dEyi3aSgVp+1bzCSvetk8CJHgMkbGm1iMoRfxPC8D/rBVEw6JmH9dxgw4kE HzZU+xC2rwKtu9dRvZOBEFt2fJqZ1K5t4j0OY/zTRxYyYpll3M02+abIQ4ndSzQe8+SFu+ 45Ph+lxzrL3lS5ThhvSpoiuGARfMfRQDY6AOyQ62chxsezd33A7Nh2Mdf1MxYZYPGCmroX HFvIwMnSibY4JfcGGE0LnBFnNe1fmIfN3G/nhEhkwkHyy6wtkjQkfOgW6yck+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=oI11nuWG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -5.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b=oI11nuWG; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 554E02C7C6 X-Spam-Score: -5.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: mURhKTB+RxPS --=-9De5vtWPhjgFp+sQksVd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! > Okay. >=20 > It is somewhat unclear to me however how to discover where the > library is located. > As far as I understand how autotools does it, it looks at some > standard locations on `/`, but I am uncertain if that is how it > actually works. >=20 > For example if `libwally-core` is separately packaged, obviously it > would install into a `/gnu/store/*` via a `--prefix` override. > And if the dependent package were using autotools, it is somehow able > to magically find where the `lib*.a` file is. > However, C-Lightning does not actually use autotools (its build > system predated my participation, I offered to port to autotools but > this was declined), so I somehow need to emulate what autotools does > in `--use-system-libraries` mode. >=20 > I probably have to go hack some autotools package that trivially > depends on `libwally-core` and see what the exact shell script is > generated. pkg-config if your deps provide .pc files! Otherwise I am actually not sure of the lookup strategies. > Note that AFAIK the Python bindings do not actually invoke any of the > C-Lightning binaries, they just open the UNIX socket to the c- > lightning daemon, so I think there is no need for `c-lightning` > itself as an input. Alright! > Regards, > ZmnSCPxj L=C3=A9o --=-9De5vtWPhjgFp+sQksVd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEFIvLi9gL+xax3g6RRaix6GvNEKYFAmBXvbAACgkQRaix6GvN EKZCgA/+LT7lH7odRu8Z9FW0RAqA7d3g+X/JHz5XKEQ3OaR8JR5GYZtZNDQ+jycf 6CiFRMQtrO+74+1Z9K1PVgHDt5leQP5BHofjMAOBt8HswtL8Y4CqgxijrupgOZYu BYO9tKU4kq/HJUT3e25cnIlknmssS3cbQ6+bydZ9iZ5I3Oe6VH0Fm7kxqLrGuYQX EJ4Xs0hcMGSSDUf+7QEpaY+BYQP9NJKK4pL+nSchr7OYXPEK4AinteL5jsaZIgSd Q1udpHzj5F4GjZbhvJbQUtBbiF/gZWCXPdARBh3U/SMj1TFgIxhV9NHEl9JPxZU1 hIuBPZ9z2V+Pt+8anXsYKqerDPSkAB1swsiQ41DZIux0A4bLw9HAfyxXLVh1MJuh UZfO5yNToBX+wEs2/hH10xH2URWZA5zoL0bFaLb08ys5U9np5Yz8/Aj+nQjnOr1H NUUxRfZ2DCT9HX5R76aVRfKHn0cVYI8F2Ah/s8rLk+NzO0lBEEMDC+mY+rA6HN4Y 8At+mT5MUhpqj31NoVezJcTcxZ/QpCcYDMUuLiJZSPFSHRalAEJuHt5DB2v+/zYA tm4PFYJ1U/IbsKpLmZjQFEVDK4o2VFWlAoAPARbI1RVChpVVBxwK/lMFMSwmxXWV t/5Tx/O5GEBjoJRskVFS3F8W6VkZ9fikgCTU2W05h3PUHji7oHQ= =dO1S -----END PGP SIGNATURE----- --=-9De5vtWPhjgFp+sQksVd--