From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ABewJCtGV2cbQgEAqHPOHw:P1 (envelope-from ) for ; Mon, 09 Dec 2024 19:34:03 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ABewJCtGV2cbQgEAqHPOHw (envelope-from ) for ; Mon, 09 Dec 2024 20:34:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=uJG4WTgx; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="z mFG9If"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733772843; a=rsa-sha256; cv=none; b=hbnlUlrEJ8ZE0jCoGZQFdM079xikk1JWVwQzkXWOjW+6bIzjya2P+KFjb2RBHpuwAXLR9Y IANlU2lUQMqYt+aeMf2ZN5GdT0wykqWsNHxTjwhM6hgMYJ1x/rgEW/L0NSSwenKcIpC+6y 4/healM8PKeQ0lvEUf3Ye8V7op+zI2PnaM+hexw/pLQNNjREm6gSbJWQV/ol23toFdB8vW XDJEBccC4y0kAqOFcs1hcJIbVH+Ap6E+nQC1MBdUGQUtIXr/5qSbssCbBm7a9Bsk3uKuwu y9gVAl1Fr1Gqiiu8QUDJGMBG8O9Gi+cnnEF/njvXMY+ybDn1+2dBwOxH2nKucg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=uJG4WTgx; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="z mFG9If"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733772843; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=KwDOQOd0Zkwc5YhWUZBj651VlQeDeyDIt7lJFD2dNI0=; b=JWbC9FfHf3Z2ENndoOm+M2FALWMN0woJdRAuLScjqzMXM6MZjgQXkJxMTWt8UhGlBzqtil 6BsV3qwoRPUQ1v3DNEww72YFhbxBNtSjuaEuJGdhEQocaHgyhnWaVRBtgSb0lAbpo5e6Lo 2rq0Ko1egW5MA/LMQm8vA1a9GGIlgUW3DrRpMagP/Ga5k5QurvfAO4RpmnXIGrOJlz7rbp dhssUFLM+N9BSCuQUE+A0RJZZnnuO+xBN4cDXtNOoDZvA5JQzbSyVDeEfA+vllUW8d1C+g ou8x8WmmcSNoPv2LN7znaz8EuaLTkeAR/GTSZ2aIt1iiukqqfMiKeKAH4PteCA== 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 F16C07A811 for ; Mon, 09 Dec 2024 20:34:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKjVZ-0006wM-3Q; Mon, 09 Dec 2024 14:33:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKjVV-0006w2-72 for help-guix@gnu.org; Mon, 09 Dec 2024 14:33:26 -0500 Received: from fhigh-b1-smtp.messagingengine.com ([202.12.124.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tKjVR-0004pK-5B for help-guix@gnu.org; Mon, 09 Dec 2024 14:33:24 -0500 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9A10025400F5; Mon, 9 Dec 2024 14:33:19 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Mon, 09 Dec 2024 14:33:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1733772799; x=1733859199; bh=KwDOQOd0Zkwc5YhWUZBj651VlQeDeyDIt7lJFD2dNI0=; b= uJG4WTgxyvFdfIm6IJrPVyAyYToQe62eMMF1hheOZ9X+BIbnRaOt7I6gpi+lIvhh CxG0ny/3XDcyXr/y8eRJxiQOJxgYbaqEVmzlK0oZMmBzt62QvV9/QV6zeRnHzPAD Rt4LRFiXdNOJeyZnVlbPtyTWGsveqsmC2UUF4C5GaTGKvLl1ZomqJc3/Ungdm6qI 2hZN/Av0EIL67qrjk4YIDWF4AexKBHpoDtTk97akyEceb+gEjfWs9gO3aCTeRMiN tzp6rjtX0EUOcWbZ4vMIvKARkB0znborvaK/jUZyEdfmtzUlTh9dX3KELUM1Iizh OpjgKd8vKxRldPoBmUmR1w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1733772799; x= 1733859199; bh=KwDOQOd0Zkwc5YhWUZBj651VlQeDeyDIt7lJFD2dNI0=; b=z mFG9IfnRm1RFfNNIAGMW6LxR9X7FHnoREVDnjVRv7xj2te+b3+60HXyOKG45zrkN DPXkeOdP4pwaoOp1jnWDtBD3XhbzxHmtT7IoKqyJGVeDoYEnt4rt4dHWTKIuk38H rxyphYMza4f44izZyWHawmwBhjKtudBiyFy/4bTONGZqADXkTm7nDxERpCLAXQcK 5GM1Pucp0dbicxu4UoZL2jwir+YLu4uaywU1R4Fd79XpgaTcIo+vYOXWbmyCjIk5 juhC418BPVH2GsTMcJQCBRKNlnnnba8viNekJrvHrGzTHEh5r/0riXksBb93hw7l vvBCnVLPrrgavFhEdh+Mw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrjeeigddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtreej necuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggtrdhtvheqne cuggftrfgrthhtvghrnhepleegheeijefgheelgefgvdefiefhtedvueethfeiudeuteev ffdvjefgffelieeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvghtrhhoshhp vggtrdhtvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdprhgtphhtthhopehmrghrvghksehm rghrvghkphgrshhnihhkohifshhkihdrphhl X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Dec 2024 14:33:18 -0500 (EST) From: Ian Eure To: Marek =?utf-8?Q?Pa=C5=9Bnikowski?= Cc: help-guix@gnu.org Subject: Re: Packaging Proton Bridge: Progress Report #1 In-Reply-To: <6002705.MhkbZ0Pkbq@aisaka> ("Marek =?utf-8?Q?Pa=C5=9Bnikowsk?= =?utf-8?Q?i=22's?= message of "Mon, 09 Dec 2024 20:15:07 +0100") References: <2208743.irdbgypaU6@aisaka> <8460874.T7Z3S40VBb@aisaka> <28ee1d75-d234-4dae-b822-ac787472833c@app.fastmail.com> <6002705.MhkbZ0Pkbq@aisaka> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Mon, 09 Dec 2024 11:33:16 -0800 Message-ID: <87ttbc8xdv.fsf@retrospec.tv> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=202.12.124.152; envelope-from=ian@retrospec.tv; helo=fhigh-b1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F16C07A811 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -1.91 X-Spam-Score: -1.91 X-TUID: El7AWfWBx94D Hi Marek, Marek Pa=C5=9Bnikowski writes: > I copied and extended the invocation of "make" from the=20 > gnu-build-system: > (arguments > (list > #:phases '(modify-phases > %standard-phases > (add-before > 'build > 'make-project > (lambda* > (#:key (make-flags (list "build-nogui")) > (parallel-build? #t) > #:allow-other-keys) > (invoke "find" > "." > "-name" > "Makefile") > (invoke "ls" > "-al" > "./src/github.com/ProtonMail/proton-bridge/v3") > > (apply invoke > "make" > "-e" > "-C" > "./src/github.com/ProtonMail/proton-bridge/v3" > "--debug=3Dbasic" > `(,@(if parallel-build? > `("-j" ,(number->string=20 > (parallel-job-count))) > '()) > ,@make-flags))))) > #:embed-files '(list "children" "nodes" "text") > #:unpack-path "github.com/ProtonMail/proton-bridge/v3" > #:import-path=20 > "github.com/ProtonMail/proton-bridge/v3/cmd/Desktop- > Bridge")) > > I am getting some kind of progress, pasted below. Before=20 > continuing, I would > appreciate confirmation whether I am on the right track. > You don=E2=80=99t need to copy anything from gnu-build-system, so your=20 approach is unnecessarily complicated and duplicates work=20 go-build-system needs to do. Replace the lambda in that phase=20 with a (lambda _) which calls: (invoke "make" "gofiles") Or: (with-directory-excursion "utils" (invoke "./credits.sh"=20 "bridge")) ...which is what the Makefile runs to generate the credits source. -- Ian