From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.user Subject: Re: Help making a GNU Guix package for pure GNU Guile library Date: Sat, 30 Jan 2021 22:15:20 +0100 Message-ID: <87y2gagm8n.fsf@elephly.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31364"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: guile-user@gnu.org To: Zelphir Kaltstahl Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Sat Jan 30 22:15:45 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l5xaq-0007yZ-73 for guile-user@m.gmane-mx.org; Sat, 30 Jan 2021 22:15:44 +0100 Original-Received: from localhost ([::1]:51836 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5xap-0004qF-9b for guile-user@m.gmane-mx.org; Sat, 30 Jan 2021 16:15:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5xae-0004q8-Pp for guile-user@gnu.org; Sat, 30 Jan 2021 16:15:33 -0500 Original-Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5xac-0006nc-1F for guile-user@gnu.org; Sat, 30 Jan 2021 16:15:32 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1612041325; cv=none; d=zohomail.com; s=zohoarc; b=KBX7smlfPpucHtixIcjYvMdMXdqQ8ecJZBGwO86DNClHRkLSTUk5ad7Zx6l1tXiuhHUK0JHt7RWCLSm4nlwRp/OBf3FLoIY1jW0jPDgPUR74odlYR+WRu0uSPucwVVYcdOHGyZBum3ziRakKdJvmtga7poVMQOz5NIxqh5N7FPM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612041325; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=m+Jc4ZjV89BQUsUzhypAzq/ZumpIYVf1p9dZLs75T8g=; b=Z3XBlYREI2aqUKuctL+nWF/U2QNmiKTKGxKoZYSWLDFoQ1E+p5LE963scQdQcWNtxIs7sqg+hWE+QmP3wyzQfo4wPEke9BxYYxSUk/TnLpSixioqrHzd8QJ1NuWa2AtocstpH6VjyCYNDKjyV/y7fLqYorCT1IpK00R7j3Jb064= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1612041325; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=m+Jc4ZjV89BQUsUzhypAzq/ZumpIYVf1p9dZLs75T8g=; b=dYT3IQa83wSqUd4SBFvNeiAQ5iYwSQefdqS9t7/lBbfY/L4iWfLhb8tTUYMxegsk tFadiUIQgl78L0Xf5eqNCGfn/Dn47DT8PSuKK28Bl7tbBXa0fNJyLjy7dm90QkjZku4 LtVVb6O6f/Y5aC8weLrS8TIHR+2D1N+1eMyXdW3I= Original-Received: from localhost (p54ad4b48.dip0.t-ipconnect.de [84.173.75.72]) by mx.zohomail.com with SMTPS id 161204132307056.824983606121805; Sat, 30 Jan 2021 13:15:23 -0800 (PST) In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17212 Archived-At: Hi Zelphir, > For some time now I wanted to be able to make Guix package of some of my > Guile projects or at least understand and know how to do that, write a > guide for it and so on, to be able to do it whenever I need it and also > to be able to contribute better to the Guile community and enable others > to read how to create Guile packages and contribute. People would not > have to clone any repo from me directly, but could use Guix to install > stuff. There is a packaging tutorial in the Guix Cookbook: https://guix.gnu.org/cookbook/en/html_node/Packaging.html > A few weeks ago I asked in the Guile IRC channel about how to approach > learning the required things. There people recommended me to look at > guile-haunt as an example, because it is also a pure Guile program, > which is packaged for Guix already. So that i what I started doing. > > There is a whole jungle of stuff, that I do not yet understand in depth. > Many of those things are GNU Autotools / GNU Automake or GNU M4 > related. [=E2=80=A6] If all you have are Guile modules and all you want is to package it for Guix then you really don=E2=80=99t need to bother with Autotools. Use the =E2=80=9Cguile-build-system=E2=80=9D. It can be as simple as the =E2=80=9C= guile-srfi-89=E2=80=9D package in (gnu packages guile-xyz). --=20 Ricardo