From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 27 08:57:10 2020 Received: (at submit) by debbugs.gnu.org; 27 Oct 2020 12:57:10 +0000 Received: from localhost ([127.0.0.1]:43250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXOXG-0007c8-3p for submit@debbugs.gnu.org; Tue, 27 Oct 2020 08:57:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:56336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXOXE-0007c1-Ji for submit@debbugs.gnu.org; Tue, 27 Oct 2020 08:57:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXOXE-0005Ma-72 for guix-patches@gnu.org; Tue, 27 Oct 2020 08:57:08 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:2063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXOXA-0001v9-PT for guix-patches@gnu.org; Tue, 27 Oct 2020 08:57:07 -0400 Received: from localhost.localdomain (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CLBYL5S5nz3wXl for ; Tue, 27 Oct 2020 13:56:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1603803414; bh=2gsU+uKUowfS0ii+ouipZOgUkvnJOCqq/ao5Jg2g5hU=; h=From:To:Subject:Date; b=d99ZINJtpOcrkacTRNbmHuohDPlF1DdKqElxc/nC3fhz/A4KZ3mQiY3GV44t0v6S9 3UYMZqmm87m8cd/czOdalvI5Hal5BpGVe3sbhb4OyY09NiozZ8+USxtP0ezxajV4j9 KjG7VMoDygkUe1qRIhj5noo+2SRiBbLy+qvq8Zs8= From: Leo Prikler To: guix-patches@gnu.org Subject: [PATCH] gnu: Add guile-filesystem. Date: Tue, 27 Oct 2020 13:55:53 +0100 Message-Id: <20201027125552.20573-1-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 Received-SPF: pass client-ip=129.27.2.202; envelope-from=leo.prikler@student.tugraz.at; helo=mailrelay.tugraz.at X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/27 08:56:57 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=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-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) * gnu/packages/guile-xyz.scm (guile-filesystem): New variable. (guile2.0-filesystem guile2.2-filesystem): New variable. --- gnu/packages/guile-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 12ded23990..4322d3028b 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -31,6 +31,7 @@ ;;; Copyright © 2020 Masaya Tojo ;;; Copyright © 2020 Jesse Gibbons ;;; Copyright © 2020 Mike Rosset +;;; Copyright © 2020 Leo Prikler ;;; ;;; This file is part of GNU Guix. ;;; @@ -620,6 +621,45 @@ is not available for Guile 2.0.") (define-public guile3.0-fibers (deprecated-package "guile3.0-fibers" guile-fibers)) +(define-public guile-filesystem + (package + (name "guile-filesystem") + (version "0.1.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/leoprikler/guile-filesystem.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1shmkc0y9r2sj3kw7hrsnamnp7y8xifkhf3m3rnfxczqg63k67vy")))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf-wrapper) + ("automake" ,automake) + ("pkg-config" ,pkg-config) + ("texinfo" ,texinfo))) + (inputs + `(("guile" ,guile-3.0))) + (home-page "https://gitlab.com/leoprikler/guile-filesystem") + (synopsis "Complementary library to Guile's built-in file system procedures") + (description "@code{guile-filesystem} provides a set of utility functions, +that augment Guile's support for handling files and their names.") + (license license:lgpl3+))) + +(define-public guile2.0-filesystem + (package + (inherit guile-filesystem) + (name "guile2.0-filesystem") + (inputs `(("guile" ,guile-2.0))))) + +(define-public guile2.2-filesystem + (package + (inherit guile-filesystem) + (name "guile2.2-filesystem") + (inputs `(("guile" ,guile-2.2))))) + (define-public guile-syntax-highlight (package (name "guile-syntax-highlight") -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 11:22:10 2020 Received: (at 44253-done) by debbugs.gnu.org; 28 Oct 2020 15:22:10 +0000 Received: from localhost ([127.0.0.1]:50158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnH8-0002Yy-EU for submit@debbugs.gnu.org; Wed, 28 Oct 2020 11:22:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnH6-0002Yl-O2 for 44253-done@debbugs.gnu.org; Wed, 28 Oct 2020 11:22:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46196) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXnGz-0006lw-W8; Wed, 28 Oct 2020 11:22:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44658 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXnGz-0003vV-5F; Wed, 28 Oct 2020 11:22:01 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Prikler Subject: Re: [bug#44253] [PATCH] gnu: Add guile-filesystem. References: <20201027125552.20573-1-leo.prikler@student.tugraz.at> Date: Wed, 28 Oct 2020 16:21:59 +0100 In-Reply-To: <20201027125552.20573-1-leo.prikler@student.tugraz.at> (Leo Prikler's message of "Tue, 27 Oct 2020 13:55:53 +0100") Message-ID: <877dra1ilk.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44253-done Cc: 44253-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: -3.3 (---) Hi, Leo Prikler skribis: > * gnu/packages/guile-xyz.scm (guile-filesystem): New variable. > (guile2.0-filesystem guile2.2-filesystem): New variable. Applied, thanks! However, note that I would not recommend adding 2.0/2.2 variants unless we have a clear use case for it in Guix. With my Guile hat on, I=E2=80=99d also recommend against using the (ice-9 = =E2=80=A6) name space, which is in Guile=E2=80=99s backyard. :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 28 11:43:32 2020 Received: (at 44253-done) by debbugs.gnu.org; 28 Oct 2020 15:43:33 +0000 Received: from localhost ([127.0.0.1]:50205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnbo-00039u-Lx for submit@debbugs.gnu.org; Wed, 28 Oct 2020 11:43:32 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]:31559) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXnbm-00039j-0W for 44253-done@debbugs.gnu.org; Wed, 28 Oct 2020 11:43:31 -0400 Received: from nijino.local (217-149-162-161.nat.highway.telekom.at [217.149.162.161]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4CLtC25bkJz1LWny; Wed, 28 Oct 2020 16:43:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4CLtC25bkJz1LWny DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1603899806; bh=U4H2AR1YuIqUfxFXyU5iFiTk6wu15wkb2P7xOq4hHcI=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=fHEzpALA/X6SsCl7st6+GMQihGbYIaPl+dzRlLwTlA4IAXyn0vF703LEBk+kIh9fR WxNs3oIXsa/mWM4TzW4LxzhBZ2KRkmBga5LM1wEsh3Jg1+AD3/7WxpAg7zfiwf5JnL UgPftL3QYpv4jvWxI5htkLzMzVNQZ5VTyKOMJKq8= Message-ID: Subject: Re: [bug#44253] [PATCH] gnu: Add guile-filesystem. From: Leo Prikler To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Wed, 28 Oct 2020 16:43:25 +0100 In-Reply-To: <877dra1ilk.fsf@gnu.org> References: <20201027125552.20573-1-leo.prikler@student.tugraz.at> <877dra1ilk.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44253-done Cc: 44253-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: -3.3 (---) Hi, Am Mittwoch, den 28.10.2020, 16:21 +0100 schrieb Ludovic Courtès: > Hi, > > Leo Prikler skribis: > > > * gnu/packages/guile-xyz.scm (guile-filesystem): New variable. > > (guile2.0-filesystem guile2.2-filesystem): New variable. > > Applied, thanks! > > However, note that I would not recommend adding 2.0/2.2 variants > unless > we have a clear use case for it in Guix. In this case I simply wanted to make sure, that people could include it in projects, whose other dependencies are still stuck on Guile 2.0 or Guile 2.2 in Guix. Not really a "clear use case", but that's my reasoning. On the topic of those variants, however, would it perhaps be wiser to make this a package-mapping instead, or is there a case where `--with- input=guile=guile@$EFFECTIVE_VERSION` would be ill-advised? > With my Guile hat on, I’d also recommend against using the (ice-9 …) > name space, which is in Guile’s backyard. :-) > > Ludo’. I thought poking into Guile's backyard was a best practice in order to get the attention of Guile maintainers, as with guile-readline and guile-colorized ;) My plan is also to contribute it to Guile proper at some point and then perhaps keep that repository as a backport for a while until all relevant versions of Guile have a "proper" filesystem module. Regards, Leo From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 29 19:17:03 2020 Received: (at 44253-done) by debbugs.gnu.org; 29 Oct 2020 23:17:03 +0000 Received: from localhost ([127.0.0.1]:55319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYHAE-0000a8-N1 for submit@debbugs.gnu.org; Thu, 29 Oct 2020 19:17:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYHA2-0000ZQ-PU for 44253-done@debbugs.gnu.org; Thu, 29 Oct 2020 19:17:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49585) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYH9v-0007DU-Cm; Thu, 29 Oct 2020 19:16:43 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50418 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kYH9t-0007o6-PP; Thu, 29 Oct 2020 19:16:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Leo Prikler Subject: Re: [bug#44253] [PATCH] gnu: Add guile-filesystem. References: <20201027125552.20573-1-leo.prikler@student.tugraz.at> <877dra1ilk.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 9 Brumaire an 229 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: Fri, 30 Oct 2020 00:16:40 +0100 In-Reply-To: (Leo Prikler's message of "Wed, 28 Oct 2020 16:43:25 +0100") Message-ID: <87h7qczkpz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44253-done Cc: 44253-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: -3.3 (---) Hi Leo! Leo Prikler skribis: > Am Mittwoch, den 28.10.2020, 16:21 +0100 schrieb Ludovic Court=C3=A8s: >> Hi, >>=20 >> Leo Prikler skribis: >>=20 >> > * gnu/packages/guile-xyz.scm (guile-filesystem): New variable. >> > (guile2.0-filesystem guile2.2-filesystem): New variable. >>=20 >> Applied, thanks! >>=20 >> However, note that I would not recommend adding 2.0/2.2 variants >> unless >> we have a clear use case for it in Guix. > In this case I simply wanted to make sure, that people could include it > in projects, whose other dependencies are still stuck on Guile 2.0 or > Guile 2.2 in Guix. Not really a "clear use case", but that's my > reasoning. I guess that=E2=80=99s very valid use case for you as the upstream develope= r of =E2=80=98guile-filesystem=E2=80=99, but not so much for a downstream user o= f Guix. > On the topic of those variants, however, would it perhaps be wiser to > make this a package-mapping instead, or is there a case where `--with- > input=3Dguile=3Dguile@$EFFECTIVE_VERSION` would be ill-advised? Unfortunately, =E2=80=98--with-input=3Dguile=3D=E2=80=A6=E2=80=99 triggers = a world rebuild because Guile appears deep down in the graph. Otherwise it would be a good use case. :-) >> With my Guile hat on, I=E2=80=99d also recommend against using the (ice-= 9 =E2=80=A6) >> name space, which is in Guile=E2=80=99s backyard. :-) >>=20 >> Ludo=E2=80=99. > I thought poking into Guile's backyard was a best practice in order to > get the attention of Guile maintainers, as with guile-readline and > guile-colorized ;) Heheh, true! But note that guile-readline is actually part of Guile. > My plan is also to contribute it to Guile proper at some point and then > perhaps keep that repository as a backport for a while until all > relevant versions of Guile have a "proper" filesystem module. Make sense. (I=E2=80=99d recommed =E2=80=9Cfile system=E2=80=9D as two wor= ds, then. :-)) Cheers, Ludo=E2=80=99. From unknown Sun Jun 22 00:07:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 27 Nov 2020 12:24:05 +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