From unknown Thu Aug 14 12:22:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39599 <39599@debbugs.gnu.org> To: bug#39599 <39599@debbugs.gnu.org> Subject: Status: [PATCH 0/2] New build system: copy-build-system Reply-To: bug#39599 <39599@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:22:53 +0000 retitle 39599 [PATCH 0/2] New build system: copy-build-system reassign 39599 guix-patches submitter 39599 Pierre Neidhardt severity 39599 normal tag 39599 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 07:51:53 2020 Received: (at submit) by debbugs.gnu.org; 14 Feb 2020 12:51:53 +0000 Received: from localhost ([127.0.0.1]:60959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aRk-00071T-Li for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:51:52 -0500 Received: from lists.gnu.org ([209.51.188.17]:45696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aRi-00071L-Ts for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:51:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42265) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2aRh-0004ZR-PR for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2aRg-0006Jh-DQ for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:49 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:33407) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2aRg-0006HH-7t for guix-patches@gnu.org; Fri, 14 Feb 2020 07:51:48 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8D7AE240006 for ; Fri, 14 Feb 2020 12:51:45 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH 0/2] New build system: copy-build-system Date: Fri, 14 Feb 2020 13:51:44 +0100 Message-Id: <20200214125144.4185-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.193 X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This build system aims to be a more convenient alternative to the trivial-build-system for packages that only need mere copying around. Since it is based on the gnu-build-system, all packages necessary for archive extraction are already included. Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: -0.5 (/) This build system aims to be a more convenient alternative to the trivial-build-system for packages that only need mere copying around. Since it is based on the gnu-build-system, all packages necessary for archive extraction are already included. The new install-plan argument makes it particularly convenient to install batches of files. See discussion here: https://lists.gnu.org/archive/html/guix-devel/2020-01/msg00485.html. Pierre Neidhardt (2): build-system: Add copy-build-system. gnu: gcide: Use the copy-build-system. Makefile.am | 2 + doc/guix.texi | 57 +++++++++++ gnu/packages/dictionaries.scm | 22 +---- guix/build-system/copy.scm | 145 ++++++++++++++++++++++++++++ guix/build/copy-build-system.scm | 156 +++++++++++++++++++++++++++++++ 5 files changed, 364 insertions(+), 18 deletions(-) create mode 100644 guix/build-system/copy.scm create mode 100644 guix/build/copy-build-system.scm -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 07:54:02 2020 Received: (at 39599) by debbugs.gnu.org; 14 Feb 2020 12:54:02 +0000 Received: from localhost ([127.0.0.1]:60965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aTq-00075O-5C for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:54:02 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aTn-00074s-Vh for 39599@debbugs.gnu.org; Fri, 14 Feb 2020 07:54:00 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 8ABDCE0008 for <39599@debbugs.gnu.org>; Fri, 14 Feb 2020 12:53:58 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 2/2] gnu: gcide: Use the copy-build-system. Date: Fri, 14 Feb 2020 13:53:57 +0100 Message-Id: <20200214125357.5262-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200214125357.5262-1-mail@ambrevar.xyz> References: <20200214125357.5262-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 39599 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: -1.2 (-) * gnu/packages/dictionaries.scm (gcide2)[build-system]: Use the copy-build-system. --- gnu/packages/dictionaries.scm | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index cd0a5db93c..d40c43f74e 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -31,6 +31,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix build-system copy) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -109,25 +110,10 @@ acronyms distributed as an info document.") (sha256 (base32 "1n3bp91sik66z3ca7mjqbr9nck3hg5ck0c8g84xc0qnfpx5vznh2")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - '(#:builder (begin - (use-modules (guix build utils)) - (let* ((src (assoc-ref %build-inputs "source")) - (tar (assoc-ref %build-inputs "tar")) - (xz (assoc-ref %build-inputs "xz")) - (out (assoc-ref %outputs "out")) - (datadir (string-append out "/share/gcide"))) - (set-path-environment-variable "PATH" '("bin") - (list tar xz)) - (mkdir-p datadir) - (invoke "tar" "-C" datadir - "--strip-components=1" - "-xvf" src))) - #:modules ((guix build utils)))) - (native-inputs - `(("tar" ,tar) - ("xz" ,xz))) + '(#:install-plan + '(("." "share/gcide/" #:exclude ("COPYING"))))) (synopsis "GNU Collaborative International Dictionary of English") (description "GCIDE is a free dictionary based on a combination of sources. It can -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 07:54:03 2020 Received: (at 39599) by debbugs.gnu.org; 14 Feb 2020 12:54:03 +0000 Received: from localhost ([127.0.0.1]:60967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aTq-00075Q-K4 for submit@debbugs.gnu.org; Fri, 14 Feb 2020 07:54:03 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:55731) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2aTn-00074r-Vt for 39599@debbugs.gnu.org; Fri, 14 Feb 2020 07:54:01 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4BFE8E000B for <39599@debbugs.gnu.org>; Fri, 14 Feb 2020 12:53:57 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 1/2] build-system: Add copy-build-system. Date: Fri, 14 Feb 2020 13:53:56 +0100 Message-Id: <20200214125357.5262-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * guix/build-system/copy.scm: New file. * guix/build/copy-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document 'copy-build-system'. --- Makefile.am [...] Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 39599 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: 0.3 (/) * guix/build-system/copy.scm: New file. * guix/build/copy-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document 'copy-build-system'. --- Makefile.am | 2 + doc/guix.texi | 57 +++++++++++ guix/build-system/copy.scm | 145 ++++++++++++++++++++++++++++ guix/build/copy-build-system.scm | 156 +++++++++++++++++++++++++++++++ 4 files changed, 360 insertions(+) create mode 100644 guix/build-system/copy.scm create mode 100644 guix/build/copy-build-system.scm diff --git a/Makefile.am b/Makefile.am index c6a2e6cf6c..e18c17d8b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -122,6 +122,7 @@ MODULES = \ guix/build-system/meson.scm \ guix/build-system/minify.scm \ guix/build-system/asdf.scm \ + guix/build-system/copy.scm \ guix/build-system/glib-or-gtk.scm \ guix/build-system/gnu.scm \ guix/build-system/guile.scm \ @@ -169,6 +170,7 @@ MODULES = \ guix/build/go-build-system.scm \ guix/build/asdf-build-system.scm \ guix/build/bzr.scm \ + guix/build/copy-build-system.scm \ guix/build/git.scm \ guix/build/hg.scm \ guix/build/glib-or-gtk-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 42d7cfa2e8..d1ec214674 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6159,6 +6159,63 @@ parameters available to cargo. It will also remove an included if they are defined by the crate. @end defvr + +@defvr {Scheme Variable} copy-build-system +@cindex (copy build system) +This variable is exported by @code{(guix build-system copy)}. It +supports builds of simple packages that don't require much compiling, +mostly just moving files around. + +It adds much of the @code{gnu-build-system} packages to the set of +inputs. Because of this, the @code{copy-build-system} does not require +all the boilerplate code often implied by the +@code{trivial-build-system}. + +To further simplify the file installation process, an +@code{#:install-plan} argument is exposed to let the packaer specify +which files go where. +The install plan is a list of @code{(SOURCE TARGET [FILTERS])}. +@code{FILTERS} are optional. + +@itemize +@item When @code{SOURCE} matches a file or directory without trailing slash, install it to @code{TARGET}. + @itemize + @item If @code{TARGET} has a trailing slash, install @code{SOURCE} basename beneath @code{TARGET}. + @item Otherwise install @code{SOURCE} as @code{TARGET}. + @end itemize + +@item When @code{SOURCE} is a directory with a trailing slash, or when @code{FILTERS} are used, + the trailing slash of @code{TARGET} is implied. + @itemize + @item Without @code{FILTERS}, install the full @code{SOURCE} @emph{content} to @code{TARGET}. + The paths relative to @code{SOURCE} are preserved within @code{TARGET}. + @item With @code{FILTERS} among @code{#:include}, @code{#:include-regexp}, @code{exclude}, + @code{#:exclude-regexp}: + @itemize + @item With @code{#:include}, install only the exact subpaths in the list. + @item With @code{#:include-regexp}, install subpaths matching the regexps in the list. + @item The @code{#:exclude} and @code{#:exclude-regexp} filters work similarly. Without @code{#:include} flags, + install every subpath but the files matching the exclusion filters. + If both inclusions and exclusions are specified, the exclusions are done + on the inclusion list. + @end itemize + @end itemize +@end itemize + +Examples: + +@itemize +@item @code{("foo/bar" "share/my-app/")}: Install @code{bar} to @code{share/my-app/bar}. +@item @code{("foo/bar" "share/my-app/baz")}: Install @code{bar}t o @code{share/my-app/baz}. +@item @code{("foo/" "share/my-app")}: Install the content of @code{foo} inside @code{share/my-app}, + e.g. install @code{foo/sub/file} to @code{share/my-app/sub/file}. +@item @code{("foo/" "share/my-app" #:include ("sub/file"))}: Install only @code{foo/sub/file} to +@code{share/my-app/sub/file}. +@item @code{("foo/sub" "share/my-app" #:include ("file"))}: Install @code{foo/sub/file} to +@code{share/my-app/file}. +@end itemize + + @cindex Clojure (programming language) @cindex simple Clojure build system @defvr {Scheme Variable} clojure-build-system diff --git a/guix/build-system/copy.scm b/guix/build-system/copy.scm new file mode 100644 index 0000000000..9686e7e5c2 --- /dev/null +++ b/guix/build-system/copy.scm @@ -0,0 +1,145 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; Copyright © 2020 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build-system copy) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix derivations) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (guix packages) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1) + #:export (%copy-build-system-modules + default-glibc + lower + copy-build + copy-build-system)) + +;; Commentary: +;; +;; Standard build procedure for simple packages that don't require much +;; compilation, mostly just copying files around. This is implemented as an +;; extension of `gnu-build-system'. +;; +;; Code: + +(define %copy-build-system-modules + ;; Build-side modules imported by default. + `((guix build copy-build-system) + ,@%gnu-build-system-modules)) + +(define (default-glibc) + "Return the default glibc package." + ;; Do not use `@' to avoid introducing circular dependencies. + (let ((module (resolve-interface '(gnu packages base)))) + (module-ref module 'glibc))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (glibc (default-glibc)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (define private-keywords + '(#:source #:target #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs native-inputs) + (outputs outputs) + (build copy-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (copy-build store name inputs + #:key (guile #f) + (outputs '("out")) + (install-plan ''(("." (".") "./"))) + (search-paths '()) + (out-of-source? #t) + (validate-runpath? #t) + (patch-shebangs? #t) + (strip-binaries? #t) + (strip-flags ''("--strip-debug")) + (strip-directories ''("lib" "lib64" "libexec" + "bin" "sbin")) + (phases '(@ (guix build copy-build-system) + %standard-phases)) + (system (%current-system)) + (imported-modules %copy-build-system-modules) + (modules '((guix build copy-build-system) + (guix build utils)))) + "Build SOURCE using INSTALL-PLAN, and with INPUTS." + (define builder + `(begin + (use-modules ,@modules) + (copy-build #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:system ,system + #:outputs %outputs + #:inputs %build-inputs + #:install-plan ,install-plan + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:phases ,phases + #:out-of-source? ,out-of-source? + #:validate-runpath? ,validate-runpath? + #:patch-shebangs? ,patch-shebangs? + #:strip-binaries? ,strip-binaries? + #:strip-flags ,strip-flags + #:strip-directories ,strip-directories))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:system system + #:inputs inputs + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(define copy-build-system + (build-system + (name 'copy) + (description "The standard copy build system") + (lower lower))) + +;;; copy.scm ends here diff --git a/guix/build/copy-build-system.scm b/guix/build/copy-build-system.scm new file mode 100644 index 0000000000..c9c8f1165b --- /dev/null +++ b/guix/build/copy-build-system.scm @@ -0,0 +1,156 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; Copyright © 2020 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build copy-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build utils) + #:use-module (ice-9 match) + #:use-module (ice-9 ftw) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (%standard-phases + copy-build)) + +;; Commentary: +;; +;; System for building packages that don't require much compilation, mostly +;; only to copy files around. +;; +;; Code: + +(define* (install #:key install-plan outputs #:allow-other-keys) + "Copy files from the \"source\" build input to the \"out\" output according to INSTALL-PLAN. + +An install plan is a list of plans in the form: + + (SOURCE TARGET [FILTERS]) + +In the above, FILTERS are optional. + +- When SOURCE matches a file or directory without trailing slash, install it to + TARGET. + - If TARGET has a trailing slash, install SOURCE basename beneath TARGET. + - Otherwise install SOURCE as TARGET. + +- When SOURCE is a directory with a trailing slash, or when FILTERS are used, + the trailing slash of TARGET is implied. + - Without FILTERS, install the full SOURCE _content_ to TARGET. + The paths relative to SOURCE are preserved within TARGET. + - With FILTERS among `#:include`, `#:include-regexp`, `#:exclude`, + `#:exclude-regexp`: + - With `#:include`, install only the exact subpaths in the list. + - With `#:include-regexp`, install subpaths matching the regexps in the list. + - The `#:exclude*` FILTERS work similarly. Without `#:include*` flags, + install every subpath but the files matching the `#:exlude*` filters. + If both `#:include*` and `#:exclude*` are specified, the exclusion is done + on the inclusion list. + +Examples: + +- `(\"foo/bar\" \"share/my-app/\")`: Install bar to \"share/my-app/bar\". +- `(\"foo/bar\" \"share/my-app/baz\")`: Install bar to \"share/my-app/baz\". +- `(\"foo/\" \"share/my-app\")`: Install the content of foo inside \"share/my-app\", + e.g. install \"foo/sub/file\" to \"share/my-app/sub/file\". +- `(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))`: Install only \"foo/sub/file\" to +\"share/my-app/sub/file\". +- `(\"foo/sub\" \"share/my-app\" #:include (\"file\"))`: Install \"foo/sub/file\" to +\"share/my-app/file\"." + (define (install-simple source target) + "TARGET must point to a store location." + (set! target (if (string-suffix? "/" target) + (string-append target (basename source)) + target)) + (mkdir-p (dirname target)) + (copy-recursively source target)) + + (define (install-file file target) + (let ((dest (string-append target + (if (string-suffix? "/" target) + (string-append "/" file) + file)))) + (format (current-output-port) "`~a' -> `~a'~%" file dest) + (mkdir-p (dirname dest)) + (copy-file file dest))) + + (define (make-file-predicate matches matches-regexp) + (if (or matches matches-regexp) + (lambda (file) + (any (lambda (pred) (pred file)) + (append + (map (lambda (str) + (lambda (f) (string-contains f str))) + (or matches '())) + (map (lambda (regexp) + (lambda (f) (regexp-exec (make-regexp regexp) f))) + (or matches-regexp '()))))) + (const #t))) + + (define* (install-file-list source target #:key include exclude include-regexp exclude-regexp) + (let* ((exclusion-pred (negate (make-file-predicate exclude exclude-regexp))) + (inclusion-pred (make-file-predicate include include-regexp)) + (file-list + (filter exclusion-pred + ;; We must use switch current directory to source so + ;; that `find-files' returns file paths relative to + ;; source. + (with-directory-excursion source + (find-files "." (lambda (file _stat) + (inclusion-pred file))))))) + (map (cut install-file <> (if (string-suffix? "/" target) + target + (string-append target "/"))) + file-list))) + + (define* (install source target #:key include exclude include-regexp exclude-regexp) + (set! target (string-append (assoc-ref outputs "out") "/" target)) + (let ((filters? (or include exclude include-regexp exclude-regexp))) + (when (and (not (file-is-directory? source)) + filters?) + (error "Cannot use filters when SOURCE is a file.")) + (let ((multi-files-in-source? + (or (string-suffix? "/" source) + (and (file-is-directory? source) + filters?)))) + (if multi-files-in-source? + (install-file-list source target + #:include include + #:exclude exclude + #:include-regexp include-regexp + #:exclude-regexp exclude-regexp) + (install-simple source target))))) + + (for-each (lambda (plan) (apply install plan)) install-plan) + #t) + +(define %standard-phases + ;; Everything is as with the GNU Build System except for the `configure' + ;; , `build', `check' and `install' phases. + (modify-phases gnu:%standard-phases + (delete 'bootstrap) + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install install))) + +(define* (copy-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args)) + +;;; copy-build-system.scm ends here -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 14 08:39:41 2020 Received: (at 39599) by debbugs.gnu.org; 14 Feb 2020 13:39:41 +0000 Received: from localhost ([127.0.0.1]:60998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2bC1-0008AI-4Y for submit@debbugs.gnu.org; Fri, 14 Feb 2020 08:39:41 -0500 Received: from ns13.heimat.it ([46.4.214.66]:59648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2bBz-0008A3-Fc for 39599@debbugs.gnu.org; Fri, 14 Feb 2020 08:39:40 -0500 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id B4CB930056B; Fri, 14 Feb 2020 13:39:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CkuNZiOaiFCM; Fri, 14 Feb 2020 13:39:12 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.161.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 389953000CB; Fri, 14 Feb 2020 13:39:12 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 80116300A05; Fri, 14 Feb 2020 14:39:11 +0100 (CET) Received: (nullmailer pid 22045 invoked by uid 1000); Fri, 14 Feb 2020 13:39:11 -0000 From: Giovanni Biscuolo To: Pierre Neidhardt , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/2] build-system: Add copy-build-system. In-Reply-To: <20200214125357.5262-1-mail@ambrevar.xyz> Organization: Xelera.eu References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200214125357.5262-1-mail@ambrevar.xyz> Date: Fri, 14 Feb 2020 14:39:10 +0100 Message-ID: <87sgjd9tkx.fsf@roquette.mug.biscuolo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pierre Neidhardt writes: [...] > diff --git a/doc/guix.texi b/doc/guix.texi > index 42d7cfa2e8..d1ec214674 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -6159, 6 +6159, 63 @@ parameters available to cargo. It will also remo [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] X-Debbugs-Envelope-To: 39599 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: 0.5 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pierre Neidhardt writes: [...] > diff --git a/doc/guix.texi b/doc/guix.texi > index 42d7cfa2e8..d1ec214674 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -6159,6 +6159,63 @@ parameters available to cargo. It will also remov= e an included > if they are defined by the crate. > @end defvr >=20=20 > + > +@defvr {Scheme Variable} copy-build-system > +@cindex (copy build system) > +This variable is exported by @code{(guix build-system copy)}. It > +supports builds of simple packages that don't require much compiling, > +mostly just moving files around. > + > +It adds much of the @code{gnu-build-system} packages to the set of > +inputs. Because of this, the @code{copy-build-system} does not require > +all the boilerplate code often implied by the > +@code{trivial-build-system}. > + > +To further simplify the file installation process, an > +@code{#:install-plan} argument is exposed to let the packaer specify s/packaer/packager [...] Thanks! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl5Gov4ACgkQ030Op87M ORKkBhAA1UrX52H5kKX9EYlMpo7bpqdrEWNFLTJ95zSI0IugpnscWoarA6Jysr1k fG+kbGdXLVVmd23pBb1aEVqe6W9RM1lHqY99D7FIRLuqUukp28PkRN09OXkd/pY3 j7o+iTqj2RoFIfk3vIUoTZ5LQuAnzmmYP32Tmh43aTctecrXHtzKJrCOd+/MfqtQ /Q6hCIMvjliQuJACveqK5xJQoVMozlV6OThIIRsY3mU2T7d4R/kaplDHTXneeEN9 BxhBuFA+xyEmymq+lk7kY299Au0sXviOUc8togSiB5kNkjChK5z3kSNswz7rSK9G 57VJ5QXgHFO03ieVqyfRPFkHKgzlDNvDI4w6Jn8FjXh5Cr0VBm89+LGR7JsSrL3P MIgQPtLO0GP2VyAciBo17kf6xp0wiQZy4lAEnMqR4CJ5HSU9/V7BRWiipv4eErf+ s0bN5kcX+LNCvZc2Vyu9PzCyJITFjbbQor/axexl0IMs+ccbqtluayU6rqGbcIxq 4RAld7ldcP2Jg6TyclWmSRtWAxSjOfdF//i179gC2/WMOrMAo9ysu9WW6NaPbBeW HPIZN04sA7XYwQPJo7tD7GKP49fw3mqND6SIKtdoiFn4q5dAKwuRNXV7/FtKetDS xFR+9cAq16Fc7YuQXV7SxLKblJyhuDLZpojh8GvAXymjR0dqGmE= =Po2V -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 16 08:16:41 2020 Received: (at 39599) by debbugs.gnu.org; 16 Feb 2020 13:16:41 +0000 Received: from localhost ([127.0.0.1]:36785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Jmr-0002vG-13 for submit@debbugs.gnu.org; Sun, 16 Feb 2020 08:16:41 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:16755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3Jmo-0002v3-ID for 39599@debbugs.gnu.org; Sun, 16 Feb 2020 08:16:39 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 8681D240002; Sun, 16 Feb 2020 13:16:36 +0000 (UTC) From: Pierre Neidhardt To: Giovanni Biscuolo , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/2] build-system: Add copy-build-system. In-Reply-To: <87sgjd9tkx.fsf@roquette.mug.biscuolo.net> References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200214125357.5262-1-mail@ambrevar.xyz> <87sgjd9tkx.fsf@roquette.mug.biscuolo.net> Date: Sun, 16 Feb 2020 14:16:34 +0100 Message-ID: <87o8tyu0y5.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Note to myself: maybe rename "install-simple" to "install-single". -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Note to myself: maybe rename "install-simple" to "install-single". -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Note to myself: maybe rename "install-simple" to "install-single". =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5JQLIACgkQm9z0l6S7 zH971Af/Yx4erCEaqiSekOpuXaFBxw0vk9uJLPYX2juAfZd3QU2xfZtkgAtPQZQ0 Yzrr5k1Om1EJO60TwFm/jKImbkhcUGRnY9m0Ted8fHAkZ+8QwZ/Uf9l/p1enFLiE fET+lHGoNkbP//KX7FL0vwUVKoXrFzZz31Gj+bDsvfVGYB1TngIYhzgY981/jotB tREaJzMNpzeoOYHVReoAxaXkwhld8pL2VrKzKMKZ4LKy1MoyIB+iYnKi5RvcKkuq tmIKBbTx1NdVe4Wye6LolRpBbwL6u9wmaGNPr8BqPNNq2sb0/sTDQRyI8v0SWoYr sGkkqWeB92jmXKb2QqRPPqtMfmETSA== =5Po5 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 06:12:33 2020 Received: (at 39599) by debbugs.gnu.org; 17 Feb 2020 11:12:34 +0000 Received: from localhost ([127.0.0.1]:38046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKH-00056C-Ma for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:33 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKF-00055c-6O for 39599@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:32 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id BF47920007 for <39599@debbugs.gnu.org>; Mon, 17 Feb 2020 11:12:29 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 2/4] gnu: gcide: Use the copy-build-system. Date: Mon, 17 Feb 2020 12:12:26 +0100 Message-Id: <20200217111228.23716-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200217111228.23716-1-mail@ambrevar.xyz> References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 39599 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: -1.2 (-) * gnu/packages/dictionaries.scm (gcide2)[build-system]: Use the copy-build-system. --- gnu/packages/dictionaries.scm | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/gnu/packages/dictionaries.scm b/gnu/packages/dictionaries.scm index cd0a5db93c..d40c43f74e 100644 --- a/gnu/packages/dictionaries.scm +++ b/gnu/packages/dictionaries.scm @@ -31,6 +31,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system python) #:use-module (guix build-system trivial) + #:use-module (guix build-system copy) #:use-module (gnu packages) #:use-module (gnu packages autotools) #:use-module (gnu packages base) @@ -109,25 +110,10 @@ acronyms distributed as an info document.") (sha256 (base32 "1n3bp91sik66z3ca7mjqbr9nck3hg5ck0c8g84xc0qnfpx5vznh2")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - '(#:builder (begin - (use-modules (guix build utils)) - (let* ((src (assoc-ref %build-inputs "source")) - (tar (assoc-ref %build-inputs "tar")) - (xz (assoc-ref %build-inputs "xz")) - (out (assoc-ref %outputs "out")) - (datadir (string-append out "/share/gcide"))) - (set-path-environment-variable "PATH" '("bin") - (list tar xz)) - (mkdir-p datadir) - (invoke "tar" "-C" datadir - "--strip-components=1" - "-xvf" src))) - #:modules ((guix build utils)))) - (native-inputs - `(("tar" ,tar) - ("xz" ,xz))) + '(#:install-plan + '(("." "share/gcide/" #:exclude ("COPYING"))))) (synopsis "GNU Collaborative International Dictionary of English") (description "GCIDE is a free dictionary based on a combination of sources. It can -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 06:12:34 2020 Received: (at 39599) by debbugs.gnu.org; 17 Feb 2020 11:12:34 +0000 Received: from localhost ([127.0.0.1]:38049 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKH-00056G-VP for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:34 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:48143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKF-00055d-Fe for 39599@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:32 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id EF06B20008 for <39599@debbugs.gnu.org>; Mon, 17 Feb 2020 11:12:29 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 3/4] gnu: Add clojure-wrapper. Date: Mon, 17 Feb 2020 12:12:27 +0100 Message-Id: <20200217111228.23716-3-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200217111228.23716-1-mail@ambrevar.xyz> References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/clojure.scm (clojure-wrapper): New variable. --- gnu/packages/clojure.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 9a1ceed66c..f34e4dadab 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -1,8 +1,9 @@ ;;; GNU Guix --- Func [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.200 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 0.8 (/) * gnu/packages/clojure.scm (clojure-wrapper): New variable. --- gnu/packages/clojure.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index 9a1ceed66c..f34e4dadab 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm @@ -1,8 +1,9 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2018 Alex Vong -;;; Copyright © 2018 Pierre Neidhardt +;;; Copyright © 2018, 2020 Pierre Neidhardt ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2020 Ludovic Courtès +;;; Copyright © 2020 Jesse Gibbons ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,7 @@ #:use-module (guix git-download) #:use-module (guix build-system ant) #:use-module (guix build-system clojure) + #:use-module (guix build-system copy) #:use-module (ice-9 match)) (define-public clojure @@ -321,3 +323,29 @@ tree. "The @code{tools.cli} library provides Clojure programmers with tools to work with command-line arguments.") (license license:epl1.0))) + +(define-public clojure-wrapper + (package + (name "clojure-wrapper") + (version "1.10.1.507") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/clojure/brew-install.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zipz22pszv4vls4qhxkia8gm86s1wkahr0jdbqhc46mpd8n54fz")))) + (build-system copy-build-system) + (arguments + `(#:install-plan + `(("src/main/resources/" "bin/" #:include ("clj" "clojure")) + ("doc/clojure.1" "share/man/man1/") + ("epl.html" ,,(string-append "share/doc/clojure-" (package-version clojure) "/"))))) + (synopsis "Clojure launch scripts") + (description "Scripts to launch Clojure from the command line. +Without these scripts a user would need to run jar with the Clojure jar's +location.") + (home-page "https://clojure.org/") + (license license:epl1.0))) -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 06:12:34 2020 Received: (at 39599) by debbugs.gnu.org; 17 Feb 2020 11:12:34 +0000 Received: from localhost ([127.0.0.1]:38051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKI-00056O-Bk for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:34 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:38117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKF-00055e-AA for 39599@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:32 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 2DE3420013 for <39599@debbugs.gnu.org>; Mon, 17 Feb 2020 11:12:30 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 4/4] gnu: net-base: Use copy build system. Date: Mon, 17 Feb 2020 12:12:28 +0100 Message-Id: <20200217111228.23716-4-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200217111228.23716-1-mail@ambrevar.xyz> References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 39599 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: -1.2 (-) * gnu/packages/admin.scm (net-base)[build-system]: Use copy-build-system. --- gnu/packages/admin.scm | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4780fe124e..1f384edb2c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -54,6 +54,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system emacs) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) @@ -566,30 +567,12 @@ to allow automatic login and starting any app.") (sha256 (base32 "12xqjwg3p4rzmmh2iib6sigm9l29y3dgk74mmnw64k84jnbwdxl1")))) - (build-system trivial-build-system) + (build-system copy-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder (begin - (use-modules (guix build utils) - (srfi srfi-26)) - - (let* ((source (assoc-ref %build-inputs "source")) - (tar (assoc-ref %build-inputs "tar")) - (xz (assoc-ref %build-inputs "xz")) - (output (assoc-ref %outputs "out")) - (etc (string-append output "/etc"))) - (setenv "PATH" (string-append xz "/bin")) - (invoke (string-append tar "/bin/tar") "xvf" - source) - (chdir ,(string-append "netbase-" version)) - (mkdir-p etc) - (for-each copy-file - '("etc-services" "etc-protocols" "etc-rpc") - (map (cut string-append etc "/" <>) - '("services" "protocols" "rpc"))) - #t)))) - (native-inputs `(("tar" ,tar) - ("xz" ,xz))) + `(#:install-plan + `(("etc-services" "etc/services") + ("etc-protocols" "etc/protocols") + ("etc-rpc" "etc/rpc")))) (synopsis "IANA protocol, port, and RPC number assignments") (description "This package provides the /etc/services, /etc/protocols, and /etc/rpc -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 06:12:35 2020 Received: (at 39599) by debbugs.gnu.org; 17 Feb 2020 11:12:35 +0000 Received: from localhost ([127.0.0.1]:38053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKI-00056V-LI for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:35 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:57663) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3eKF-00055b-6N for 39599@debbugs.gnu.org; Mon, 17 Feb 2020 06:12:33 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa.home (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 8635420005 for <39599@debbugs.gnu.org>; Mon, 17 Feb 2020 11:12:29 +0000 (UTC) From: Pierre Neidhardt To: 39599@debbugs.gnu.org Subject: [PATCH 1/4] build-system: Add copy-build-system. Date: Mon, 17 Feb 2020 12:12:25 +0100 Message-Id: <20200217111228.23716-1-mail@ambrevar.xyz> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200214125144.4185-1-mail@ambrevar.xyz> References: <20200214125144.4185-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * guix/build-system/copy.scm: New file. * guix/build/copy-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document 'copy-build-system'. --- Makefile.am [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.200 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 0.8 (/) * guix/build-system/copy.scm: New file. * guix/build/copy-build-system.scm: New file. * Makefile.am (MODULES): Add them. * doc/guix.texi (Build Systems): Document 'copy-build-system'. --- Makefile.am | 2 + doc/guix.texi | 58 ++++++++++++ guix/build-system/copy.scm | 145 ++++++++++++++++++++++++++++ guix/build/copy-build-system.scm | 156 +++++++++++++++++++++++++++++++ 4 files changed, 361 insertions(+) create mode 100644 guix/build-system/copy.scm create mode 100644 guix/build/copy-build-system.scm diff --git a/Makefile.am b/Makefile.am index c6a2e6cf6c..e18c17d8b3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -122,6 +122,7 @@ MODULES = \ guix/build-system/meson.scm \ guix/build-system/minify.scm \ guix/build-system/asdf.scm \ + guix/build-system/copy.scm \ guix/build-system/glib-or-gtk.scm \ guix/build-system/gnu.scm \ guix/build-system/guile.scm \ @@ -169,6 +170,7 @@ MODULES = \ guix/build/go-build-system.scm \ guix/build/asdf-build-system.scm \ guix/build/bzr.scm \ + guix/build/copy-build-system.scm \ guix/build/git.scm \ guix/build/hg.scm \ guix/build/glib-or-gtk-build-system.scm \ diff --git a/doc/guix.texi b/doc/guix.texi index 42d7cfa2e8..578ae9a43d 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6159,6 +6159,64 @@ parameters available to cargo. It will also remove an included if they are defined by the crate. @end defvr + +@defvr {Scheme Variable} copy-build-system +@cindex (copy build system) +This variable is exported by @code{(guix build-system copy)}. It +supports builds of simple packages that don't require much compiling, +mostly just moving files around. + +It adds much of the @code{gnu-build-system} packages to the set of +inputs. Because of this, the @code{copy-build-system} does not require +all the boilerplate code often implied by the +@code{trivial-build-system}. + +To further simplify the file installation process, an +@code{#:install-plan} argument is exposed to let the packaer specify +which files go where. +The install plan is a list of @code{(SOURCE TARGET [FILTERS])}. +@code{FILTERS} are optional. + +@itemize +@item When @code{SOURCE} matches a file or directory without trailing slash, install it to @code{TARGET}. + @itemize + @item If @code{TARGET} has a trailing slash, install @code{SOURCE} basename beneath @code{TARGET}. + @item Otherwise install @code{SOURCE} as @code{TARGET}. + @end itemize + +@item When @code{SOURCE} is a directory with a trailing slash, or when @code{FILTERS} are used, + the trailing slash of @code{TARGET} is implied. + @itemize + @item Without @code{FILTERS}, install the full @code{SOURCE} @emph{content} to @code{TARGET}. + The paths relative to @code{SOURCE} are preserved within @code{TARGET}. + @item With @code{FILTERS} among @code{#:include}, @code{#:include-regexp}, @code{exclude}, + @code{#:exclude-regexp}: + @itemize + @item With @code{#:include}, install only the paths which suffix exactly matches + one of the elements in the list. + @item With @code{#:include-regexp}, install subpaths matching the regexps in the list. + @item The @code{#:exclude} and @code{#:exclude-regexp} filters work similarly. Without @code{#:include} flags, + install every subpath but the files matching the exclusion filters. + If both inclusions and exclusions are specified, the exclusions are done + on the inclusion list. + @end itemize + @end itemize +@end itemize + +Examples: + +@itemize +@item @code{("foo/bar" "share/my-app/")}: Install @code{bar} to @code{share/my-app/bar}. +@item @code{("foo/bar" "share/my-app/baz")}: Install @code{bar}t o @code{share/my-app/baz}. +@item @code{("foo/" "share/my-app")}: Install the content of @code{foo} inside @code{share/my-app}, + e.g. install @code{foo/sub/file} to @code{share/my-app/sub/file}. +@item @code{("foo/" "share/my-app" #:include ("sub/file"))}: Install only @code{foo/sub/file} to +@code{share/my-app/sub/file}. +@item @code{("foo/sub" "share/my-app" #:include ("file"))}: Install @code{foo/sub/file} to +@code{share/my-app/file}. +@end itemize + + @cindex Clojure (programming language) @cindex simple Clojure build system @defvr {Scheme Variable} clojure-build-system diff --git a/guix/build-system/copy.scm b/guix/build-system/copy.scm new file mode 100644 index 0000000000..9686e7e5c2 --- /dev/null +++ b/guix/build-system/copy.scm @@ -0,0 +1,145 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; Copyright © 2020 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build-system copy) + #:use-module (guix store) + #:use-module (guix utils) + #:use-module (guix derivations) + #:use-module (guix search-paths) + #:use-module (guix build-system) + #:use-module (guix build-system gnu) + #:use-module (guix packages) + #:use-module (ice-9 match) + #:use-module (srfi srfi-1) + #:export (%copy-build-system-modules + default-glibc + lower + copy-build + copy-build-system)) + +;; Commentary: +;; +;; Standard build procedure for simple packages that don't require much +;; compilation, mostly just copying files around. This is implemented as an +;; extension of `gnu-build-system'. +;; +;; Code: + +(define %copy-build-system-modules + ;; Build-side modules imported by default. + `((guix build copy-build-system) + ,@%gnu-build-system-modules)) + +(define (default-glibc) + "Return the default glibc package." + ;; Do not use `@' to avoid introducing circular dependencies. + (let ((module (resolve-interface '(gnu packages base)))) + (module-ref module 'glibc))) + +(define* (lower name + #:key source inputs native-inputs outputs system target + (glibc (default-glibc)) + #:allow-other-keys + #:rest arguments) + "Return a bag for NAME." + (define private-keywords + '(#:source #:target #:inputs #:native-inputs)) + + (and (not target) ;XXX: no cross-compilation + (bag + (name name) + (system system) + (host-inputs `(,@(if source + `(("source" ,source)) + '()) + ,@inputs + + ;; Keep the standard inputs of 'gnu-build-system'. + ,@(standard-packages))) + (build-inputs native-inputs) + (outputs outputs) + (build copy-build) + (arguments (strip-keyword-arguments private-keywords arguments))))) + +(define* (copy-build store name inputs + #:key (guile #f) + (outputs '("out")) + (install-plan ''(("." (".") "./"))) + (search-paths '()) + (out-of-source? #t) + (validate-runpath? #t) + (patch-shebangs? #t) + (strip-binaries? #t) + (strip-flags ''("--strip-debug")) + (strip-directories ''("lib" "lib64" "libexec" + "bin" "sbin")) + (phases '(@ (guix build copy-build-system) + %standard-phases)) + (system (%current-system)) + (imported-modules %copy-build-system-modules) + (modules '((guix build copy-build-system) + (guix build utils)))) + "Build SOURCE using INSTALL-PLAN, and with INPUTS." + (define builder + `(begin + (use-modules ,@modules) + (copy-build #:source ,(match (assoc-ref inputs "source") + (((? derivation? source)) + (derivation->output-path source)) + ((source) + source) + (source + source)) + #:system ,system + #:outputs %outputs + #:inputs %build-inputs + #:install-plan ,install-plan + #:search-paths ',(map search-path-specification->sexp + search-paths) + #:phases ,phases + #:out-of-source? ,out-of-source? + #:validate-runpath? ,validate-runpath? + #:patch-shebangs? ,patch-shebangs? + #:strip-binaries? ,strip-binaries? + #:strip-flags ,strip-flags + #:strip-directories ,strip-directories))) + + (define guile-for-build + (match guile + ((? package?) + (package-derivation store guile system #:graft? #f)) + (#f ; the default + (let* ((distro (resolve-interface '(gnu packages commencement))) + (guile (module-ref distro 'guile-final))) + (package-derivation store guile system #:graft? #f))))) + + (build-expression->derivation store name builder + #:system system + #:inputs inputs + #:modules imported-modules + #:outputs outputs + #:guile-for-build guile-for-build)) + +(define copy-build-system + (build-system + (name 'copy) + (description "The standard copy build system") + (lower lower))) + +;;; copy.scm ends here diff --git a/guix/build/copy-build-system.scm b/guix/build/copy-build-system.scm new file mode 100644 index 0000000000..ea37ea0161 --- /dev/null +++ b/guix/build/copy-build-system.scm @@ -0,0 +1,156 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2019 Julien Lepiller +;;; Copyright © 2020 Pierre Neidhardt +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (guix build copy-build-system) + #:use-module ((guix build gnu-build-system) #:prefix gnu:) + #:use-module (guix build utils) + #:use-module (ice-9 match) + #:use-module (ice-9 ftw) + #:use-module (srfi srfi-1) + #:use-module (srfi srfi-26) + #:export (%standard-phases + copy-build)) + +;; Commentary: +;; +;; System for building packages that don't require much compilation, mostly +;; only to copy files around. +;; +;; Code: + +(define* (install #:key install-plan outputs #:allow-other-keys) + "Copy files from the \"source\" build input to the \"out\" output according to INSTALL-PLAN. + +An install plan is a list of plans in the form: + + (SOURCE TARGET [FILTERS]) + +In the above, FILTERS are optional. + +- When SOURCE matches a file or directory without trailing slash, install it to + TARGET. + - If TARGET has a trailing slash, install SOURCE basename beneath TARGET. + - Otherwise install SOURCE as TARGET. + +- When SOURCE is a directory with a trailing slash, or when FILTERS are used, + the trailing slash of TARGET is implied. + - Without FILTERS, install the full SOURCE _content_ to TARGET. + The paths relative to SOURCE are preserved within TARGET. + - With FILTERS among `#:include`, `#:include-regexp`, `#:exclude`, + `#:exclude-regexp`: + - With `#:include`, install only the paths which suffix exactly matches + one of the elements in the list. + - With `#:include-regexp`, install subpaths matching the regexps in the list. + - The `#:exclude*` FILTERS work similarly. Without `#:include*` flags, + install every subpath but the files matching the `#:exlude*` filters. + If both `#:include*` and `#:exclude*` are specified, the exclusion is done + on the inclusion list. + +Examples: + +- `(\"foo/bar\" \"share/my-app/\")`: Install bar to \"share/my-app/bar\". +- `(\"foo/bar\" \"share/my-app/baz\")`: Install bar to \"share/my-app/baz\". +- `(\"foo/\" \"share/my-app\")`: Install the content of foo inside \"share/my-app\", + e.g. install \"foo/sub/file\" to \"share/my-app/sub/file\". +- `(\"foo/\" \"share/my-app\" #:include (\"sub/file\"))`: Install only \"foo/sub/file\" to +\"share/my-app/sub/file\". +- `(\"foo/sub\" \"share/my-app\" #:include (\"file\"))`: Install \"foo/sub/file\" to +\"share/my-app/file\"." + (define (install-simple source target) + "TARGET must point to a store location." + (set! target (if (string-suffix? "/" target) + (string-append target (basename source)) + target)) + (mkdir-p (dirname target)) + (copy-recursively source target)) + + (define (install-file file target) + (let ((dest (string-append target + (if (string-suffix? "/" target) + (string-append "/" file) + file)))) + (format (current-output-port) "`~a' -> `~a'~%" file dest) + (mkdir-p (dirname dest)) + (copy-file file dest))) + + (define* (make-file-predicate matches matches-regexp #:optional (default-value #t)) + (if (or matches matches-regexp) + (lambda (file) + (any (lambda (pred) (pred file)) + (append + (map (lambda (str) + (lambda (f) (string-suffix? str f))) + (or matches '())) + (map (lambda (regexp) + (lambda (f) (regexp-exec (make-regexp regexp) f))) + (or matches-regexp '()))))) + (const default-value))) + + (define* (install-file-list source target #:key include exclude include-regexp exclude-regexp) + ;; We must use switch current directory to source so that `find-files' + ;; returns file paths relative to source. + (with-directory-excursion source + (let* ((exclusion-pred (negate (make-file-predicate exclude exclude-regexp #f))) + (inclusion-pred (make-file-predicate include include-regexp)) + (file-list + (filter! exclusion-pred + (find-files "." (lambda (file _stat) + (inclusion-pred file)))))) + (map (cut install-file <> (if (string-suffix? "/" target) + target + (string-append target "/"))) + file-list)))) + + (define* (install source target #:key include exclude include-regexp exclude-regexp) + (set! target (string-append (assoc-ref outputs "out") "/" target)) + (let ((filters? (or include exclude include-regexp exclude-regexp))) + (when (and (not (file-is-directory? source)) + filters?) + (error "Cannot use filters when SOURCE is a file.")) + (let ((multi-files-in-source? + (or (string-suffix? "/" source) + (and (file-is-directory? source) + filters?)))) + (if multi-files-in-source? + (install-file-list source target + #:include include + #:exclude exclude + #:include-regexp include-regexp + #:exclude-regexp exclude-regexp) + (install-simple source target))))) + + (for-each (lambda (plan) (apply install plan)) install-plan) + #t) + +(define %standard-phases + ;; Everything is as with the GNU Build System except for the `configure' + ;; , `build', `check' and `install' phases. + (modify-phases gnu:%standard-phases + (delete 'bootstrap) + (delete 'configure) + (delete 'build) + (delete 'check) + (replace 'install install))) + +(define* (copy-build #:key inputs (phases %standard-phases) + #:allow-other-keys #:rest args) + "Build the given package, applying all of PHASES in order." + (apply gnu:gnu-build #:inputs inputs #:phases phases args)) + +;;; copy-build-system.scm ends here -- 2.25.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 17 06:49:03 2020 Received: (at submit) by debbugs.gnu.org; 17 Feb 2020 11:49:03 +0000 Received: from localhost ([127.0.0.1]:38070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3etb-00064p-2B for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:49:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:58686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j3etZ-00064b-V4 for submit@debbugs.gnu.org; Mon, 17 Feb 2020 06:49:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41423) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3etY-00037Y-Mw for guix-patches@gnu.org; Mon, 17 Feb 2020 06:49:01 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3etX-00056N-Q9 for guix-patches@gnu.org; Mon, 17 Feb 2020 06:49:00 -0500 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:33846) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3etX-00055D-Jq for guix-patches@gnu.org; Mon, 17 Feb 2020 06:48:59 -0500 Received: by mail-wr1-x431.google.com with SMTP id n10so17398604wrm.1 for ; Mon, 17 Feb 2020 03:48:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:message-id:in-reply-to :date:mime-version; bh=AXqvmRo9WDw9HZ1XMep9q/b1odLJJYsH2nQJWeFTsw0=; b=vMmH4rCrXeXLFW5IRfMicjSBGv9HGnbnTjNV05x7gzsXURbLb4lX3aT1sjV3DN8yIH MEDcV3otc9/gEv0VX7PgNMQDi5q7NDBDT++8Gh6Eegpb84qGTP2vyNW22x0/9RV3Lkve czT0Z+OwdC8yY0oR8QdBPy20O9jFyGBOtWNwJCn3TWn7jPW+7fBPeIioyUot8QQ9ekom vcuispx3hunj+alRydSbElQpc/NvkHv1seBwDPDUAwD3nFyNTPibl1cuDxc5MxheRkN7 KEcI9lC50IKyDfpmfbKG6V9hXegDOLx3ePMCEHc0b7RMtUA5NDzLw+1XEKftxrHA0fCA XW7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :message-id:in-reply-to:date:mime-version; bh=AXqvmRo9WDw9HZ1XMep9q/b1odLJJYsH2nQJWeFTsw0=; b=QwNp1w3UBV0lAWI3rU6XzqXxipLtZSfaLbVlqtSALDA80UrOvetLzKoZG1K8XApLbr 2h6EfxCeVtJYxu8VAkJhjxnacIOTM2Dwr2DLdruftbzGxaUn+qIvOjvytAfAh7ixbcda 0Rs6fq3fiHLRITTR1BdDBlCvPwrI+TJAzqGQ1zKB7KoIVzr/xFcR6+QR9irk2ZFSBE9J HuhnKTXZoV/VZz1con6RnRWLOnhEO4SXBcT8M/Xe30VO74YJomJ3dZLWzSS9anJDjczi WaXrsUBMQxOh+PnCraPecjz1v8w/CpGuRpyunK3JPkaaS//0XzSbEF+SAz02+ud84Eu9 8lRw== X-Gm-Message-State: APjAAAVBZhH3lQgxmqVkDglqs9Xi0rmStfWooQnXvAwJL9U+1GibCnR5 btzTCXkkuaaHjnlfEumckmM= X-Google-Smtp-Source: APXvYqy2bfa1aeSveMPDiLJewyrhIuIoylsJqAC1CC6Kc2X50AiP91fSaJtjhfYYAHAn7UBNCP043w== X-Received: by 2002:a5d:63c7:: with SMTP id c7mr23432806wrw.158.1581940138098; Mon, 17 Feb 2020 03:48:58 -0800 (PST) Received: from meru (lfbn-ann-1-292-23.w86-200.abo.wanadoo.fr. [86.200.245.23]) by smtp.gmail.com with ESMTPSA id o4sm654832wrx.25.2020.02.17.03.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Feb 2020 03:48:57 -0800 (PST) References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: guix-patches@gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. Message-ID: <87tv3po2oy.fsf@gmail.com> In-reply-to: <20200217111228.23716-1-mail@ambrevar.xyz> Date: Mon, 17 Feb 2020 12:48:56 +0100 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: 39599@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: -0.7 (/) Hey Pierre, Thanks for this patch! A few remarks below. > +@item @code{("foo/bar" "share/my-app/baz")}: Install @code{bar}t o @code{share/my-app/baz}. ^ typo > + (and (not target) ;XXX: no cross-compilation Why don't we support cross-compilation here? > + (set! target (if (string-suffix? "/" target) > + (string-append target (basename source)) > + target)) We could use let instead of set!, right? > + (define* (make-file-predicate matches matches-regexp #:optional (default-value #t)) > + (if (or matches matches-regexp) > + (lambda (file) > + (any (lambda (pred) (pred file)) > + (append > + (map (lambda (str) > + (lambda (f) (string-suffix? str f))) > + (or matches '())) > + (map (lambda (regexp) > + (lambda (f) (regexp-exec (make-regexp regexp) f))) > + (or matches-regexp '()))))) > + (const default-value))) You could maybe explain a bit what this function does. And how 'file' differs from 'f'. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 19 20:07:49 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 01:07:49 +0000 Received: from localhost ([127.0.0.1]:43623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4aJd-0005UT-7x for submit@debbugs.gnu.org; Wed, 19 Feb 2020 20:07:49 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4aJa-0005UD-P8 for 39599@debbugs.gnu.org; Wed, 19 Feb 2020 20:07:43 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 5B41F21ADD; Wed, 19 Feb 2020 20:07:37 -0500 (EST) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Wed, 19 Feb 2020 20:07:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=YXxMMYdWim1tqGNrok/96/uShXJrHFlX3S87Wxjry6A=; b=DGG0cTHg /sKz7k8m716N/IzewAU7m3U15iFAMiXXr7Q+/sW1aPkwIRIaEdtzHSfQu82b96b/ c8i/bd8/SeLl2qhr4pK/iUGz7FDwl5t+5IF9yYnKT62jxNB3a/kpF9DNy6lH3pZZ NikmzPo5dBl8dTjZc/2FEsP8ZdDtbMJ0zAzHqvv8c7bBmN6tLP072Yy+46QNhZJB mJY9jgn7+PEH8wmhPw/1GcTT+q4fKgCpo15RhBAuPxQgIAPW5IshJxc6hC9tsTu4 OH9hbHtc+KcUH5uUwmjxvBETu9TwvIYNN4AVDgdRAs015cUXcBvC/ihzAzZpwC6p M58ImCMg7GBqrA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=YXxMMYdWim1tqGNrok/96/uShXJrH FlX3S87Wxjry6A=; b=B0EVmCuQxDbHEYGkq6kwR9VvTxgdw+maAtJZfV0+DEj5X XAZvCWTsmvVG3mLvHLp4UxCbjkQ1KzX6J/+IeAwIJbF0V4rkYEIAm+2n37RyQbGz 1LiXKVXAbSRzD3RNzJHj4VaurMH550s7FGXfDyqsFfvTyc4wTP7+d64Mp94f7tbs VKXH+4Q0ishreIZaanh8tMlDBGc0wPXKWVlsJ6JNpgv5lSlBKxzTa21SzaQLM8wX N6bWRZIGFg4faojLK1PrAdoahNrF+fxVSNSbhrFpuUROS/AuU55MBkLjZSGmGvJR B/rrJJ8XCmvhX8bIg+EEs9nkOvUhyztAmVdadHHBQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkedugdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesmhdtreerre ertdenucfhrhhomhepfdetlhgvgicuifhrihhffhhinhdfuceorgesrghjghhrfhdrtgho mheqnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg esrghjghhrfhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 389B414023E; Wed, 19 Feb 2020 20:07:36 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> Date: Thu, 20 Feb 2020 01:06:44 +0000 From: "Alex Griffin" To: 39599@debbugs.gnu.org, "Pierre Neidhardt" Subject: Re: [PATCH 1/4] build-system: Add copy-build-system. Content-Type: multipart/mixed; boundary=5596205c31f947b7853d992c11d4f043 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39599 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: -1.7 (-) --5596205c31f947b7853d992c11d4f043 Content-Type: text/plain I had to revert your documentation changes to get Guix to compile. I think you are missing '@end defvr' somewhere. Also, I packaged PaperWM using copy-build-system as an additional test case. The patch is attached. Good work, Pierre! -- Alex Griffin --5596205c31f947b7853d992c11d4f043 Content-Disposition: attachment;filename="0001-gnu-Add-gnome-shell-extension-paperwm.patch" Content-Type: text/x-patch; name="0001-gnu-Add-gnome-shell-extension-paperwm.patch" Content-Transfer-Encoding: BASE64 RnJvbSA1MzIwYzVhOWUxZmMwYzQ1MDUzMjhiZjMxOWNkMGIwMTBmNjZlYmI4IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBBbGV4IEdyaWZmaW4gPGFAYWpncmYuY29tPgpEYXRl OiBXZWQsIDE5IEZlYiAyMDIwIDE1OjQ2OjU1IC0wNjAwClN1YmplY3Q6IFtQQVRDSF0gZ251 OiBBZGQgZ25vbWUtc2hlbGwtZXh0ZW5zaW9uLXBhcGVyd20uCgoqIGdudS9wYWNrYWdlcy9n bm9tZS14eXouc2NtIChnbm9tZS1zaGVsbC1leHRlbnNpb24tcGFwZXJ3bSk6IE5ldyB2YXJp YWJsZS4KLS0tCiBnbnUvcGFja2FnZXMvZ25vbWUteHl6LnNjbSB8IDI4ICsrKysrKysrKysr KysrKysrKysrKysrKysrKysKIDEgZmlsZSBjaGFuZ2VkLCAyOCBpbnNlcnRpb25zKCspCgpk aWZmIC0tZ2l0IGEvZ251L3BhY2thZ2VzL2dub21lLXh5ei5zY20gYi9nbnUvcGFja2FnZXMv Z25vbWUteHl6LnNjbQppbmRleCA3ZjM3NWZlZmM1Li4wNmFmNDFhZWE2IDEwMDY0NAotLS0g YS9nbnUvcGFja2FnZXMvZ25vbWUteHl6LnNjbQorKysgYi9nbnUvcGFja2FnZXMvZ25vbWUt eHl6LnNjbQpAQCAtMiw2ICsyLDcgQEAKIDs7OyBDb3B5cmlnaHQgwqkgMjAxOSBMZW8gUHJp a2xlciA8bGVvLnByaWtsZXJAc3R1ZGVudC50dWdyYXouYXQ+CiA7OzsgQ29weXJpZ2h0IMKp IDIwMTkgQWxleGFuZHJvcyBUaGVvZG90b3UgPGFsZXhAenJ5dGhtLm9yZz4KIDs7OyBDb3B5 cmlnaHQgwqkgMjAxOSBHaWFjb21vIExlaWRpIDxnb29kb2xkcGF1bEBhdXRpc3RpY2kub3Jn PgorOzs7IENvcHlyaWdodCDCqSAyMDIwIEFsZXggR3JpZmZpbiA8YUBhamdyZi5jb20+CiA7 OzsKIDs7OyBUaGlzIGZpbGUgaXMgcGFydCBvZiBHTlUgR3VpeC4KIDs7OwpAQCAtMjEsNiAr MjIsNyBAQAogKGRlZmluZS1tb2R1bGUgKGdudSBwYWNrYWdlcyBnbm9tZS14eXopCiAgICM6 dXNlLW1vZHVsZSAoZ3VpeCBidWlsZC1zeXN0ZW0gdHJpdmlhbCkKICAgIzp1c2UtbW9kdWxl IChndWl4IGJ1aWxkLXN5c3RlbSBnbnUpCisgICM6dXNlLW1vZHVsZSAoZ3VpeCBidWlsZC1z eXN0ZW0gY29weSkKICAgIzp1c2UtbW9kdWxlIChndWl4IGdpdC1kb3dubG9hZCkKICAgIzp1 c2UtbW9kdWxlIChndWl4IHBhY2thZ2VzKQogICAjOnVzZS1tb2R1bGUgKChndWl4IGxpY2Vu c2VzKSAjOnByZWZpeCBsaWNlbnNlOikKQEAgLTMwNCw2ICszMDYsMzIgQEAgSXQgdXNlcyBF UzYgc3ludGF4IGFuZCBjbGFpbXMgdG8gYmUgbW9yZSBhY3RpdmVseSBtYWludGFpbmVkIHRo YW4gb3RoZXJzLiIpCiAgICAgKGhvbWUtcGFnZSAiaHR0cHM6Ly9leHRlbnNpb25zLmdub21l Lm9yZy9leHRlbnNpb24vMjE4Mi9ub2Fubm95YW5jZS8iKQogICAgIChsaWNlbnNlIGxpY2Vu c2U6Z3BsMikpKQogCisoZGVmaW5lLXB1YmxpYyBnbm9tZS1zaGVsbC1leHRlbnNpb24tcGFw ZXJ3bQorICAocGFja2FnZQorICAgIChuYW1lICJnbm9tZS1zaGVsbC1leHRlbnNpb24tcGFw ZXJ3bSIpCisgICAgKHZlcnNpb24gIjM0LjMiKQorICAgIChzb3VyY2UgKG9yaWdpbgorICAg ICAgICAgICAgICAobWV0aG9kIGdpdC1mZXRjaCkKKyAgICAgICAgICAgICAgKHVyaSAoZ2l0 LXJlZmVyZW5jZQorICAgICAgICAgICAgICAgICAgICAodXJsICJodHRwczovL2dpdGh1Yi5j b20vcGFwZXJ3bS9QYXBlcldNLmdpdCIpCisgICAgICAgICAgICAgICAgICAgIChjb21taXQg dmVyc2lvbikpKQorICAgICAgICAgICAgICAoZmlsZS1uYW1lIChnaXQtZmlsZS1uYW1lIG5h bWUgdmVyc2lvbikpCisgICAgICAgICAgICAgIChzaGEyNTYKKyAgICAgICAgICAgICAgIChi YXNlMzIKKyAgICAgICAgICAgICAgICAiMXFyeTc1ZjY5NnBnbWQ5eXpxdndocTVoNmNpcGlu MmZ2azdoODgxZzI5Y2pjcHhpbTM3YSIpKSkpCisgICAgKGJ1aWxkLXN5c3RlbSBjb3B5LWJ1 aWxkLXN5c3RlbSkKKyAgICAoYXJndW1lbnRzCisgICAgICcoIzppbnN0YWxsLXBsYW4KKyAg ICAgICAnKCgiLiIgInNoYXJlL2dub21lLXNoZWxsL2V4dGVuc2lvbnMvcGFwZXJ3bUBoZWRu aW5nOm1hdHJpeC5vcmciCisgICAgICAgICAgIzppbmNsdWRlLXJlZ2V4cCAoIlxcLmpzKG9u KT8kIiAiXFwuY3NzJCIgIlxcLnVpJCIgIlxcLnBuZyQiCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIlxcLnhtbCQiICJcXC5jb21waWxlZCQiKSkpKSkKKyAgICAoaG9tZS1wYWdl ICJodHRwczovL2dpdGh1Yi5jb20vcGFwZXJ3bS9QYXBlcldNIikKKyAgICAoc3lub3BzaXMg IlRpbGVkIHNjcm9sbGFibGUgd2luZG93IG1hbmFnZW1lbnQgZm9yIEdOT01FIFNoZWxsIikK KyAgICAoZGVzY3JpcHRpb24gIlBhcGVyV00gaXMgYW4gZXhwZXJpbWVudGFsIEdOT01FIFNo ZWxsIGV4dGVuc2lvbiBwcm92aWRpbmcKK3Njcm9sbGFibGUgdGlsaW5nIG9mIHdpbmRvd3Mg YW5kIHBlciBtb25pdG9yIHdvcmtzcGFjZXMuICBJdCdzIGluc3BpcmVkIGJ5IHBhcGVyCitu b3RlYm9va3MgYW5kIHRpbGluZyB3aW5kb3cgbWFuYWdlcnMuIikKKyAgICAobGljZW5zZSBs aWNlbnNlOmdwbDMpKSkKKwogKGRlZmluZS1wdWJsaWMgbnVtaXgtdGhlbWUKICAgKHBhY2th Z2UKICAgICAobmFtZSAibnVtaXgtdGhlbWUiKQotLSAKMi4yNS4wCgo= --5596205c31f947b7853d992c11d4f043-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 03:40:32 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 08:40:32 +0000 Received: from localhost ([127.0.0.1]:43818 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4hNo-0003fv-5i for submit@debbugs.gnu.org; Thu, 20 Feb 2020 03:40:32 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:8155) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4hNl-0003fh-Sa for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 03:40:30 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id DDD3724000F; Thu, 20 Feb 2020 08:40:22 +0000 (UTC) From: Pierre Neidhardt To: Alex Griffin , 39599@debbugs.gnu.org Subject: Re: [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> Date: Thu, 20 Feb 2020 09:40:22 +0100 Message-ID: <87ftf57itl.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Great, I'll merge tomorrow then if no one objects! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Great, I'll merge tomorrow then if no one objects! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.193 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.193 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Great, I'll merge tomorrow then if no one objects! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5ORfYACgkQm9z0l6S7 zH+N8Qf+Iu8KqmggSoF20UHFIZOqEKpM9jWew/IvH77wma0hu92GLLPvt7m8spOL RjMLWDdETvyX3sPs00eGcOXv2/mGnlR5Lxf5YCHQZhX6WIuicXb0pfcC7Wz/j1Bz GvJZ3tWwg8S6EqWc3HyIVcEtXW9VA6pVkDpA87O92udWVaF5C0b2uR3k1tZLP5X9 onb9BE+etcOiI1cZP/MYa0r1W8mYjCut5v3kVmewlLvAUCdV3lhwiQEsekrqqBT6 9VDlGWVczBhH2A163FNMhqidfwMJxw6U4M35FOoVsY9G6rszjej9gsGqWMhEvrwp 9UgZsFiTsKuOJ8Q7WtxAnH43XpYbvw== =D9II -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 03:44:15 2020 Received: (at submit) by debbugs.gnu.org; 20 Feb 2020 08:44:16 +0000 Received: from localhost ([127.0.0.1]:43822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4hRP-0003lP-Np for submit@debbugs.gnu.org; Thu, 20 Feb 2020 03:44:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:47979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4hRN-0003lH-VP for submit@debbugs.gnu.org; Thu, 20 Feb 2020 03:44:14 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46610) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4hRM-0007ih-Oq for guix-patches@gnu.org; Thu, 20 Feb 2020 03:44:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4hRL-0004eC-SC for guix-patches@gnu.org; Thu, 20 Feb 2020 03:44:12 -0500 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:40764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j4hRL-0004dV-MG for guix-patches@gnu.org; Thu, 20 Feb 2020 03:44:11 -0500 Received: by mail-wm1-x341.google.com with SMTP id t14so1059032wmi.5 for ; Thu, 20 Feb 2020 00:44:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=rKq2EBHs7T3ei1qW3YYAXOi+AW+pZ+FluauM4sM9CKI=; b=VORPtxO7OIguCXVpi74qti/TEmWj78EV6JM/P5GJtT2wC4gFwcaBFRA3/k5SzPYCHV 55LUFwdX6ItcSv6FzH3b3yJ1ihvzgkfksIGuBActnpB/Lz4rqAEp4FOalyhyzgcZyarZ h+I8jjKed1UqBDYbWghD/pe4WvzBXIo1oQOkLz5bp+4ddKzfZDJJF24yayzdLnz2dahq 0fLknOu11LKGm9IPMv6zPAwNNFSbimCUHA269jOGfG/6vC42Yt/HTuizdqwwcW1oTaAf LeL27e1babnES9HLcyzxTH2q2t25SYbMMLL8FnCrcmL4wfn6UAINLUVh/snf6LThflim kxwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=rKq2EBHs7T3ei1qW3YYAXOi+AW+pZ+FluauM4sM9CKI=; b=gImaDhSOP+0uY/lOVhzgr/NESLLtD+tsCwpCaLKbP1fFEhcwR1Hj2YM4ZlEwS53cVn BV1BbfpP8/uEcUAVS9BrBSgyzE5QjP4f83c8HVKa/KvUWm/na/bZsaGZ5dqsy6yymVQM aI5tZB6pKDQ/ibWKKRc+zS9GHdkq6jT8+Pm5MVgZ0FyPM2S/upWMFAuQTnh0hcXE7Pph KJFsHgqfTw0t7KYlXaGdUEYchVUrGxbA9SxM0iMpiYnzgE5TZli22QLfYkjMQqvMleaj /vpW/IMh99NFwWEU+IoRm32qGVvl1n9P8zKVII0Snx0x3fvBaCwqkULmx37MWAyP4yVU OFPg== X-Gm-Message-State: APjAAAXHX/M7qKyBqd6YFDu8lJC/8UP60z9euT2W4zUkXXH/LrD1lvOi WsIUF++FXJRVSysRcdlSuhi3+CaNtkg= X-Google-Smtp-Source: APXvYqwBIl1rvWiJ7ypjwxkcTvcFoT3R6Nf0O09ljgf4Rr/GDMcsyOTXQXgB45OyTCynJQqdhjasmg== X-Received: by 2002:a05:600c:2503:: with SMTP id d3mr3012630wma.84.1582188250433; Thu, 20 Feb 2020 00:44:10 -0800 (PST) Received: from meru (lfbn-ann-1-292-23.w86-200.abo.wanadoo.fr. [86.200.245.23]) by smtp.gmail.com with ESMTPSA id u23sm3660033wmu.14.2020.02.20.00.44.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Feb 2020 00:44:09 -0800 (PST) References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: guix-patches@gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-reply-to: <87ftf57itl.fsf@ambrevar.xyz> Date: Thu, 20 Feb 2020 09:44:08 +0100 Message-ID: <87mu9dodgn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: Alex Griffin , 39599@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: -0.7 (/) Hello Pierre, > Great, I'll merge tomorrow then if no one objects! No strong objection, but I did a few remarks here[1]. Thanks, Mathieu [1]: https://lists.gnu.org/archive/html/guix-patches/2020-02/msg00500.html From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 04:47:19 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 09:47:19 +0000 Received: from localhost ([127.0.0.1]:43849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4iQQ-0005J2-ON for submit@debbugs.gnu.org; Thu, 20 Feb 2020 04:47:18 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21145) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4iQP-0005It-1r for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 04:47:17 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1582192035; cv=none; d=zohomail.com; s=zohoarc; b=UhnYVtHWFkwffG9eU7NGXgh31nEng6Tj3x0W+7iGnIhoRyZbrwmdBWaOR20t3AHbu8F+KnEgaSFCvxMejPtZrNnBbV6TfPDpUDxUb4F57nogXkoxYkyd6r3Pw3d/DjxE65UDOYkPgmT8lu1jW9/UxwKL+ZmWFyKzAUw/putDLcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1582192035; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=elqjHiN49P0iyqMNrvlqkCjsQhjhCxUOKETsXrjeb5U=; b=jGt8AqxEroQP6bW3AGgaw87dRyHtOTf6jMUAvL2P+b6h2SkmYkx1dJ2Ot2sbZhLYPKT8llJhj+265xVm+/ZQ8FFA/mJCEkyoZx8WobBO8nHOHP5I9MPXEngdS4V0qZYxx/di362ydEY1zXuKzySA+SjrD3x/JWksHV1CPfQBD4U= 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=1582192035; 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=elqjHiN49P0iyqMNrvlqkCjsQhjhCxUOKETsXrjeb5U=; b=Xi/57lrZml0bCFCZXJmEOU+gHSv7X34tdsYZrEab4aX56Tra3TcZdxy1WXZ5mg+4 ORKDBOIpA+kCJVhxFfmrwuZZl703vbQKFh702kYTpeBiMLB2LZbjfOluwr/CNQCcndf g7s3CLcHNDBkul+afYgFQeSkDvE8UdfBu/kfr198= Received: from localhost (p54AD4E38.dip0.t-ipconnect.de [84.173.78.56]) by mx.zohomail.com with SMTPS id 1582192033488474.59128706604906; Thu, 20 Feb 2020 01:47:13 -0800 (PST) References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> User-agent: mu4e 1.2.0; emacs 26.3 From: Ricardo Wurmus To: Pierre Neidhardt Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-reply-to: <20200217111228.23716-1-mail@ambrevar.xyz> 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 Date: Thu, 20 Feb 2020 10:47:10 +0100 Message-ID: <87ftf5lhep.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pierre Neidhardt writes: > + (define* (make-file-predicate matches matches-regexp #:optional (default-value #t)) > + (if (or matches matches-regexp) > + (lambda (file) > + (any (lambda (pred) (pred file)) > + (append > + (map [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [136.143.188.51 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] X-Debbugs-Envelope-To: 39599 Cc: 39599@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: 1.0 (+) Pierre Neidhardt writes: > + (define* (make-file-predicate matches matches-regexp #:optional (defau= lt-value #t)) > + (if (or matches matches-regexp) > + (lambda (file) > + (any (lambda (pred) (pred file)) > + (append > + (map (lambda (str) > + (lambda (f) (string-suffix? str f))) > + (or matches '())) > + (map (lambda (regexp) > + (lambda (f) (regexp-exec (make-regexp regexp) f))) > + (or matches-regexp '()))))) > + (const default-value))) This looks too complicated. I think this is clearer: --8<---------------cut here---------------start------------->8--- (define* (make-file-predicate suffixes matches-regexp #:optional (default-v= alue #t)) (if (or suffixes matches-regexp) (let* ((suffixes (or suffixes '())) (regexps (map make-regexp (or matches-regexp '()))) (predicates (append (map (lambda (str) (cut string-suffix? str <>)) suffixes) (map (lambda (regexp) (cut regexp-exec regexp <>)) regexps)))) (lambda (file) (any (cut <> file) predicates))) (const default-value))) --8<---------------cut here---------------end--------------->8--- Also, as Mathieu wrote, please don=E2=80=99t use SET!. --=20 Ricardo From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 05:00:42 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 10:00:42 +0000 Received: from localhost ([127.0.0.1]:43861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4idO-0006CI-Il for submit@debbugs.gnu.org; Thu, 20 Feb 2020 05:00:42 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:48575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4idM-00065T-L9 for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 05:00:41 -0500 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 69C73200004; Thu, 20 Feb 2020 10:00:33 +0000 (UTC) From: Pierre Neidhardt To: Ricardo Wurmus Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87ftf5lhep.fsf@elephly.net> References: <20200214125144.4185-1-mail@ambrevar.xyz> <20200217111228.23716-1-mail@ambrevar.xyz> <87ftf5lhep.fsf@elephly.net> Date: Thu, 20 Feb 2020 11:00:32 +0100 Message-ID: <877e0h7f3z.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ricardo Wurmus writes: > --88--- > (define* (make-file-predicate suffixes matches-regexp #:optional (default-value #t)) > (if (or suffixes matches-regexp) > (let* (( [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: elephly.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 Cc: 39599@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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Ricardo Wurmus writes: > --88--- > (define* (make-file-predicate suffixes matches-regexp #:optional (default-value #t)) > (if (or suffixes matches-regexp) > (let* (( [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ricardo Wurmus writes: > --8<---------------cut here---------------start------------->8--- > (define* (make-file-predicate suffixes matches-regexp #:optional (default= -value #t)) > (if (or suffixes matches-regexp) > (let* ((suffixes (or suffixes '())) > (regexps (map make-regexp (or matches-regexp '()))) > (predicates (append > (map (lambda (str) > (cut string-suffix? str <>)) > suffixes) > (map (lambda (regexp) > (cut regexp-exec regexp <>)) > regexps)))) > (lambda (file) > (any (cut <> file) predicates))) > (const default-value))) > --8<---------------cut here---------------end--------------->8--- Good suggestion, thanks! The logic of this function is a bit convoluted in my opinion, but I can't think of something simpler and just as short. But since it's a local function, I guess it's not a big deal. > Also, as Mathieu wrote, please don=E2=80=99t use SET!. No problem, but I don't recall seeing this message. Where did Mathieu write this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5OWMAACgkQm9z0l6S7 zH/6CwgAqHWwzvZQjyWiZyP2sDS6RmV/9PobVPxzQjsITMlfyqaymO0/1IJdiuE9 t8IqAWPg/l5fKqs46OlsNGMO1pn1E0by8ygAUcLDWI2euRrwp2Bzej27+3IKE6el 1MKrM06zCssL0qMTtHmXpoYBdNMfXhxFcXtefddpzPrU4EtrX1kX9yRRY/BcAbBZ erLFcTttoqwe6nHwfq7oFxqTE9mweYOxap2r7ZpUWVwPCn9+3nALM5hZoBx3qVvl JgMvq612ixdPy9IlzGNE+Ntdgt/1Zb8a5nX9BUp9ePfqm/EIefMps2XMEj+Ee+X+ yW8C+KiwTwpKHpEtEANtjC4AAPPZrQ== =2fpl -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 10:41:16 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 15:41:16 +0000 Received: from localhost ([127.0.0.1]:45635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4nwx-0007ex-PO for submit@debbugs.gnu.org; Thu, 20 Feb 2020 10:41:15 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:43505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4nwv-0007ea-Fm for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 10:41:14 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id DF3DFE0002; Thu, 20 Feb 2020 15:41:06 +0000 (UTC) From: Pierre Neidhardt To: Alex Griffin , 39599@debbugs.gnu.org, guix-devel@gnu.org Subject: Re: [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87ftf57itl.fsf@ambrevar.xyz> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> Date: Thu, 20 Feb 2020 16:41:06 +0100 Message-ID: <87pne95krx.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Should we add a mention in guix pull's "news"? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Should we add a mention in guix pull's "news"? -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Should we add a mention in guix pull's "news"? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5OqJIACgkQm9z0l6S7 zH+bbgf9FIaGlgi+vGtBpCbVKJXZ5+zDKT7w1Z2C0+7xtK2ktweH0j0pka8zixHm jzkuqvyhwqBeP6/fyRLf9YHaWeHCipT1L84D+LEgCpWzHBZYda/CmQIEWw0ZX1wp 3MZznalP0dJ54BOm3ZodbCDPIvOh/jqf2aOiblvqfw9YnwajY+ZNlHCRlfpG9yhH vYd4FjfX0iKioCFWlT2NF6eylaPQNmAeY0/D43qu2tk7ZWKY2Ek25820hUa1gtgR EA18X/li3WKTLHfpZLLMqWdQwva4F/Gd4xJV9iXrYo8Hx1NQErw3OF8I5AptuVOC s57Eah7CGHZ/3rYNWgvVLnK+MDuzVQ== =3KJQ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 12:10:38 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 17:10:38 +0000 Received: from localhost ([127.0.0.1]:45782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4pLS-0007VU-0D for submit@debbugs.gnu.org; Thu, 20 Feb 2020 12:10:38 -0500 Received: from lepiller.eu ([89.234.186.109]:48602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4pLQ-0007VL-Jp for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 12:10:37 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 12b7f8e0; Thu, 20 Feb 2020 17:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=lepiller.eu; h=date :in-reply-to:references:mime-version:content-type :content-transfer-encoding:subject:to:from:message-id; s=dkim; bh=DYqnF0+gjGk/Iz5s1rjwvvuIG+k=; b=VTi9V6i5KxHNenymaE0mum8z8zKq y3kXYoTA7UcNSjBCry7qIJQ4ciHaCebgrSmUtjooiU/WLW4ft9cl+9dYFRfG+TN6 PJajHmb+hijbjIq1zHxWj2l45nsMk6JWgLqA5v8khS5jdAigSaqmOTndKTKCJTUi n3YXt3kCFSSwBNw72CEBCIWUomXDpfqpk9zhWBj+Ybzb+XhwDZ78ME5kZ9luFtpT vgOC4qGyTZGwsIh8P8qP4l3kb7zswNc5eKhXjNlzbOMAt7ZsEs7xYOYF63c2050O 9c/bQ9+s767C0VARcOu7CLHRRx/q+xPxZftLaRqsqifkMti1US13q6xLrA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id cb186c04 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 20 Feb 2020 17:10:34 +0000 (UTC) Date: Thu, 20 Feb 2020 12:09:57 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <87pne95krx.fsf@ambrevar.xyz> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. To: Pierre Neidhardt , Alex Griffin , 39599@debbugs.gnu.org From: Julien Lepiller Message-ID: <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Le 20 février 2020 10:41:06 GMT-05:00, Pierre Neidhardt a écrit : >Should we add a mention in guix pull's "news"? It feels like this is an internal change that doesn't really affect end-user experience. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: lepiller.eu] 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] X-Debbugs-Envelope-To: 39599 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: 1.0 (+) Le 20 f=C3=A9vrier 2020 10:41:06 GMT-05:00, Pierre Neidhardt a =C3=A9crit : >Should we add a mention in guix pull's "news"? It feels like this is an internal change that doesn't really affect end-us= er experience=2E From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 13:00:18 2020 Received: (at 39599) by debbugs.gnu.org; 20 Feb 2020 18:00:18 +0000 Received: from localhost ([127.0.0.1]:45836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4q7W-0000JC-9j for submit@debbugs.gnu.org; Thu, 20 Feb 2020 13:00:18 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:39869) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4q7U-0000Iw-3E for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 13:00:17 -0500 Received: from mimimi (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 87533240008; Thu, 20 Feb 2020 18:00:07 +0000 (UTC) From: Pierre Neidhardt To: Julien Lepiller , Alex Griffin , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> Date: Thu, 20 Feb 2020 19:00:07 +0100 Message-ID: <87sgj5t9zs.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fair enough. -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Fair enough. -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Fair enough. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5OyScACgkQm9z0l6S7 zH8jSwf/eL2cbKz2FENnm2BAh4jjOPe0KkeHjz6/j8SEerMkYU6THfFkrVovC337 17is+kfvdaA72jleXcJ+ngykjESvD4/+IFxxagSafXFaCvVFje6NFEdftVidMmBY UdpPPMWjGDwUFv3UbEvwV2DD2yp6jnikdK2mdAKN8b206wnPJRyJkXPZb8p+UrjV c2EArxaOwOYLmAgMgS4PgjB7FIq3GkG98b8KPmCy4m+mqKfU/uya7n1KzhJR8aSg YcTEIQ53KitL7AS8mXJXeIj+W4VvcMIjTQ5ffNzQhIjibT+916/fTBt2Yskx98+s OatJYxoFOTUbSqaO06YHXXC7c+E3Rg== =C9NE -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 22:37:55 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 03:37:55 +0000 Received: from localhost ([127.0.0.1]:46225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z8V-0003yB-Gh for submit@debbugs.gnu.org; Thu, 20 Feb 2020 22:37:55 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:50648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z8S-0003xx-Sq for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 22:37:53 -0500 Received: from [2001:470:8:9f5:c5e7:7603:9213:8f50] (helo=alperton.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1j4z8L-0001wq-Cl; Thu, 20 Feb 2020 22:37:45 -0500 From: Jack Hill To: 39599@debbugs.gnu.org Subject: Date: Thu, 20 Feb 2020 22:37:32 -0500 Message-Id: <20200221033733.11242-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.25.1 In-Reply-To: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Alex, On Thu, 20 Feb 2020, Alex Griffin wrote: > I packaged PaperWM using copy-build-system as an additional test case. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 BLANK_SUBJECT Subject is present but empty X-Debbugs-Envelope-To: 39599 Cc: Jack Hill , Alex Griffin 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: 1.0 (+) Alex, On Thu, 20 Feb 2020, Alex Griffin wrote: > I packaged PaperWM using copy-build-system as an additional test case. This is great! I learned about PaperWM from your patch, and I've been having lots of fun with it. > + '(#:install-plan > + '(("." "share/gnome-shell/extensions/paperwm@hedning:matrix.org" > + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" > + "\\.xml$" "\\.compiled$"))))) Seeing "compiled" here caught my attention. Since all we are doing so far is copying files around, I expect everything to be in source form. In this case the compiled file is a compiled glib schema. I've prepared a second version of the patch that removes this file in a source snippet and compiles it from the source in a new build phase. This is another testament to the usefulness of the copy-build-system. It would have been much more work to make the same modification to a package that uses the trivial-build-system. Thanks Pierre! Best, Jack From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 20 22:38:03 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 03:38:04 +0000 Received: from localhost ([127.0.0.1]:46228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z8Z-0003yS-RI for submit@debbugs.gnu.org; Thu, 20 Feb 2020 22:38:03 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:50660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j4z8X-0003y3-Qu for 39599@debbugs.gnu.org; Thu, 20 Feb 2020 22:37:58 -0500 Received: from [2001:470:8:9f5:c5e7:7603:9213:8f50] (helo=alperton.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1j4z8R-0001wq-Ll; Thu, 20 Feb 2020 22:37:51 -0500 From: Jack Hill To: 39599@debbugs.gnu.org Subject: [PATCH v2] gnu: Add gnome-shell-extension-paperwm. Date: Thu, 20 Feb 2020 22:37:33 -0500 Message-Id: <20200221033733.11242-2-jackhill@jackhill.us> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221033733.11242-1-jackhill@jackhill.us> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <20200221033733.11242-1-jackhill@jackhill.us> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39599 Cc: Jack Hill , Alex Griffin 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: -1.0 (-) * gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm): New variable. Co-authored-by: Alex Griffin --- gnu/packages/gnome-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm index 7f375fefc5..59913e0602 100644 --- a/gnu/packages/gnome-xyz.scm +++ b/gnu/packages/gnome-xyz.scm @@ -2,6 +2,8 @@ ;;; Copyright © 2019 Leo Prikler ;;; Copyright © 2019 Alexandros Theodotou ;;; Copyright © 2019 Giacomo Leidi +;;; Copyright © 2020 Alex Griffin +;;; Copyright © 2020 Jack Hill ;;; ;;; This file is part of GNU Guix. ;;; @@ -21,6 +23,7 @@ (define-module (gnu packages gnome-xyz) #:use-module (guix build-system trivial) #:use-module (guix build-system gnu) + #:use-module (guix build-system copy) #:use-module (guix git-download) #:use-module (guix packages) #:use-module ((guix licenses) #:prefix license:) @@ -304,6 +307,42 @@ It uses ES6 syntax and claims to be more actively maintained than others.") (home-page "https://extensions.gnome.org/extension/2182/noannoyance/") (license license:gpl2))) +(define-public gnome-shell-extension-paperwm + (package + (name "gnome-shell-extension-paperwm") + (version "34.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/paperwm/PaperWM.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qry75f696pgmd9yzqvwhq5h6cipin2fvk7h881g29cjcpxim37a")) + (snippet + '(begin (delete-file "schemas/gschemas.compiled"))))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("." "share/gnome-shell/extensions/paperwm@hedning:matrix.org" + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" + "\\.xml$" "\\.compiled$"))) + #:phases + (modify-phases %standard-phases + (add-before 'install 'compile-schemas + (lambda _ + (with-directory-excursion "schemas" + (invoke "make"))))))) + (native-inputs + `(("glib:bin" ,glib "bin"))) ; for glib-compile-schemas + (home-page "https://github.com/paperwm/PaperWM") + (synopsis "Tiled scrollable window management for GNOME Shell") + (description "PaperWM is an experimental GNOME Shell extension providing +scrollable tiling of windows and per monitor workspaces. It's inspired by paper +notebooks and tiling window managers.") + (license license:gpl3))) + (define-public numix-theme (package (name "numix-theme") -- 2.25.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 04:53:45 2020 Received: (at control) by debbugs.gnu.org; 21 Feb 2020 09:53:45 +0000 Received: from localhost ([127.0.0.1]:46410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j550D-0005Ql-BR for submit@debbugs.gnu.org; Fri, 21 Feb 2020 04:53:45 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j550A-0005QW-8T for control@debbugs.gnu.org; Fri, 21 Feb 2020 04:53:42 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 62833E000E for ; Fri, 21 Feb 2020 09:53:35 +0000 (UTC) Date: Fri, 21 Feb 2020 10:53:34 +0100 Message-Id: <878skw5krl.fsf@ambrevar.xyz> To: control@debbugs.gnu.org From: Pierre Neidhardt Subject: control message for bug #39599 X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: close 39599 quit Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 1.4 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: control 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: -1.2 (-) close 39599 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 04:54:09 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 09:54:09 +0000 Received: from localhost ([127.0.0.1]:46416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j550b-0005S1-K8 for submit@debbugs.gnu.org; Fri, 21 Feb 2020 04:54:09 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:49561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j550Z-0005RF-KX for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 04:54:08 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A9C324000C; Fri, 21 Feb 2020 09:53:59 +0000 (UTC) From: Pierre Neidhardt To: Julien Lepiller , Alex Griffin , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87sgj5t9zs.fsf@ambrevar.xyz> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> Date: Fri, 21 Feb 2020 10:53:59 +0100 Message-ID: <875zg05kqw.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed! Alex, I've included your patch. Thanks to you all! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.194 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pushed! Alex, I've included your patch. Thanks to you all! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.194 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pushed! Alex, I've included your patch. Thanks to you all! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5PqLcACgkQm9z0l6S7 zH8kAwf/ZzGhDtGogmiqbkknMQQJ+DbNKNsW+VwYa++mckZPqV5qvPDsHMrlgKBe NX7cOVeLFv2mPA5Bi8w1961D/48PQdSRWH5zQCZgnwocNoBtLPsJ6xnPSots0Zo4 C/PTQZK8e+8u54KPTIFNXsYZgUwqhNrrMH8/vHAps008mRcPKgM7duHjsY3+ygHD Wt0Sd/GmukJfrdROxgtbojw9aptuIE/TZU0FXzsvm7A+K5g7ZnWoYg0z5nAMUMFK xMS0EjuTU1FBagoaVKaPrP19l68PBeBspVjdRqEbNG/GTstpGOGzskwKvx9QDdNJ 2OS9fVF9s5msGAxZ5BBp3sP/bcYBmQ== =YHUp -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 05:43:20 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 10:43:20 +0000 Received: from localhost ([127.0.0.1]:46432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j55mC-0000HJ-Kd for submit@debbugs.gnu.org; Fri, 21 Feb 2020 05:43:20 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j55mA-0000H2-Ht for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 05:43:19 -0500 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 346F4E0007; Fri, 21 Feb 2020 10:43:02 +0000 (UTC) From: Nicolas Goaziou To: Pierre Neidhardt Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> Date: Fri, 21 Feb 2020 11:43:02 +0100 In-Reply-To: <875zg05kqw.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 21 Feb 2020 10:53:59 +0100") Message-ID: <87pne8fcg9.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hello, Pierre Neidhardt writes: > Pushed! Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Debbugs-Envelope-To: 39599 Cc: Julien Lepiller , Alex Griffin , 39599@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: 0.3 (/) Hello, Pierre Neidhardt writes: > Pushed! Thank you for this useful addition! I added a few fixes to the Texinfo part of your patch. Moreover, the indentation is very odd there, compared to the rest of "guix.texi". You may want to normalize it. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 06:08:07 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 11:08:07 +0000 Received: from localhost ([127.0.0.1]:46438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56AB-0000v9-Kj for submit@debbugs.gnu.org; Fri, 21 Feb 2020 06:08:07 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:45879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56A9-0000ub-Bj for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 06:08:06 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 58B16C0006; Fri, 21 Feb 2020 11:07:57 +0000 (UTC) From: Pierre Neidhardt To: Nicolas Goaziou Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87pne8fcg9.fsf@nicolasgoaziou.fr> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> <87pne8fcg9.fsf@nicolasgoaziou.fr> Date: Fri, 21 Feb 2020 12:07:57 +0100 Message-ID: <87tv3k42r6.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Nicolas! > I added a few fixes to the Texinfo part of your patch. Thanks for those painful changes :D > > Moreover, the indentation is very odd there, compared to the rest of > "guix.texi". You may want to normalize it. Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 Cc: Julien Lepiller , Alex Griffin , 39599@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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Nicolas! > I added a few fixes to the Texinfo part of your patch. Thanks for those painful changes :D > > Moreover, the indentation is very odd there, compared to the rest of > "guix.texi". You may want to normalize it. Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.198 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Nicolas! > I added a few fixes to the Texinfo part of your patch. Thanks for those painful changes :D > > Moreover, the indentation is very odd there, compared to the rest of > "guix.texi". You may want to normalize it. Oh, yes, I see that. I thought it would help with readability. How are we supposed to visualize nested @itemize at the moment? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Pug0ACgkQm9z0l6S7 zH/QuwgAq036VkWaV+LFkwuZduwSsDe5rWAe/1y5jf2zr/TqyFNUxFRraaxI/LqS Tyu4EDm4g6KapVdBAo4t3yHnvzDokDdHFeMHPWfayVRzwj7/lP+G6cXglYfb1Bba 7L1408u7/vZxwaqTKRnbejYaW+MKv48/1/4+k4eJUM8JVPiNdvJ8PO0sGfJYx0yh U3sciRatwo+T99qbG26+6CUNmRmPU3R3ZlKAG3GtAEKqTN8y8J0zkfxlu7HeKn2L e6qxir/59ChcmWOvLtMozSnyCisThHTpRbTT4s/lvVigxxBOcy5lspDLbAk1T5ct U1lSdMKOX3HKiEqGlHX26vt1NJVpdg== =ooDN -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 06:43:34 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 11:43:34 +0000 Received: from localhost ([127.0.0.1]:46466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56iU-0001yV-1m for submit@debbugs.gnu.org; Fri, 21 Feb 2020 06:43:34 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:50299) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56iR-0001yF-Kl for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 06:43:32 -0500 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id E2BF3200006; Fri, 21 Feb 2020 11:43:22 +0000 (UTC) From: Nicolas Goaziou To: Pierre Neidhardt Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> <87pne8fcg9.fsf@nicolasgoaziou.fr> <87tv3k42r6.fsf@ambrevar.xyz> Date: Fri, 21 Feb 2020 12:43:21 +0100 In-Reply-To: <87tv3k42r6.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Fri, 21 Feb 2020 12:07:57 +0100") Message-ID: <87lfowf9nq.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Pierre Neidhardt writes: > Oh, yes, I see that. I thought it would help with readability. How are > we supposed to visualize nested @itemize at the moment? I don't think there's a clear answer, but, IMO, for readability sake, we should not (ab)use nested lists in a manual. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.232 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] X-Debbugs-Envelope-To: 39599 Cc: Julien Lepiller , Alex Griffin , 39599@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: 0.3 (/) Pierre Neidhardt writes: > Oh, yes, I see that. I thought it would help with readability. How are > we supposed to visualize nested @itemize at the moment? I don't think there's a clear answer, but, IMO, for readability sake, we should not (ab)use nested lists in a manual. There are three levels of such lists here. I think this is not necessary. For example --8<---------------cut here---------------start------------->8--- @item When @var{source} matches a file or directory without trailing slash, install it to @var{target}. @itemize @item If @var{target} has a trailing slash, install @var{source} basename beneath @var{target}. @item Otherwise install @var{source} as @var{target}. @end itemize --8<---------------cut here---------------end--------------->8--- could be written as, e.g., --8<---------------cut here---------------start------------->8--- @item When @var{source} matches a file or directory without a trailing slash, install it to @var{target}. More accurately, if @var{target} ends with a slash, install @var{source} basename beneath @var{target} directory. Otherwise install @var{source} as @var{target}. --8<---------------cut here---------------end--------------->8--- Similarly, instead of discussing about #:include and al. in a nested list, this could happen in a subsequent paragraph, once "source" and "target" are clarified, i.e., after "In all cases, the paths (BTW, shouldn't it be "file names"?) relative to @var{source} are preserved within @var{target}." As a side note, are you sure about: "With @code{#:include}, install all the files which (I would use "whose" here, but I'm not a native speaker) path suffix (isn't it "basename" or, possibly better, "base name" instead?) exactly matches one of the elements in the given list"? Do you really mean that a file name matching two regexps is _not_ going to be included? Note that I know writing documentation is tedious; I don't want to sound negative or boring. Regards, From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 06:50:18 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 11:50:18 +0000 Received: from localhost ([127.0.0.1]:46474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56p0-00029I-2d for submit@debbugs.gnu.org; Fri, 21 Feb 2020 06:50:18 -0500 Received: from tobias.gr ([80.241.217.52]:56824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j56ox-000297-83 for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 06:50:16 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 9ee89c5a; Fri, 21 Feb 2020 11:50:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=JOvHzf0w6Zkr+ZvCcwptTa OTQroNSJTLEXxSRevoSxM=; b=odjuh4AGXRwDadtBp7iWgAGTQTr2PkSMO+kuQ4 4G4qpG29UFIuP3Id/9n2U0Im8u/ZlbTJxBEAwG1hxd+vpdU0RZy2ArmLF5rPbIAY PbOPLysL3FetsZlCh6LVC1xbhxO19EakW09Ek6Pf2B4fx86MeezBNKEkwEC6yOLo DrcaFrEOERzTsI+Voq3DQ3ttpo5EehCvWkADKEgl1mCu97OL1HBuAigVADWkbLIU /xuyUFXHkentA/wcn1IxKJMG1Ba53tMVsTNadoskPgAw3qAjqSficEnAYCbmu/+M Qmv9R0zrywbOR4gic8UGNRpWWAeupw+OwjkS78oy22JrftxA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id a69281ae (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 21 Feb 2020 11:50:13 +0000 (UTC) From: Tobias Geerinckx-Rice To: Pierre Neidhardt , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> <87pne8fcg9.fsf@nicolasgoaziou.fr> In-reply-to: <87pne8fcg9.fsf@nicolasgoaziou.fr> Date: Fri, 21 Feb 2020 12:50:36 +0100 Message-ID: <87ftf4xipf.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39599 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 (---) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Pierre, Nicolas Goaziou =E5=86=99=E9=81=93=EF=BC=9A > Moreover, the indentation is very odd there, compared to the=20 > rest of > "guix.texi". You may want to normalize it. More than just odd, unfortunately. It broke =E2=80=98guix pull=E2=80=99 on= =20 master: --=-=-= Content-Type: text/plain; format=flowed Content-Disposition: inline ./guix.de.texi:6631: warning: @end should only appear at the beginning of a line ./guix.de.texi:6635: warning: @itemize should only appear at the beginning of a line ./guix.de.texi:6635: warning: @item should not appear in @itemize ./guix.de.texi:6635: @item outside of table or list ./guix.de.texi:6639: warning: @itemize should only appear at the beginning of a line ./guix.de.texi:6639: warning: @item should not appear in @itemize ./guix.de.texi:6639: @item outside of table or list ./guix.de.texi:6647: warning: @end should only appear at the beginning of a line ./guix.de.texi:6648: superfluous argument to @end itemize: In all cases, the paths relative to @var{source} are> Backtrace: 3 (primitive-load "/gnu/store/qsd0khinmy748z6aq23ck8lcaxr?") In ice-9/eval.scm: 619:8 2 (_ #f) In ice-9/boot-9.scm: 260:13 1 (for-each # ?) In guix/build/utils.scm: 652:6 0 (invoke _ . _) guix/build/utils.scm:652:6: In procedure invoke: ERROR: 1. &invoke-error: program: "/gnu/store/irj21yhgls637jhhkb5yr79s76c96maq-texinfo-6.6/bin/makeinfo" arguments: ("./guix.de.texi" "-I" "/gnu/store/ygairf8pckyzl1aplf0jxmbzr9gnhjik-doc" "-I" "." "-o" "/gnu/st> exit-status: 1 term-signal: #f stop-signal: #f --=-=-= Content-Type: text/plain; format=flowed I removed *all* leading whitespace in af51d01a8aa8d7cf529173bdb64392f14eb21962 and this fixes the problem. In future, avoid it altogether. It clashes with the rest of the file even when it doesn't break anything. If you're using some kind of fancy-texinfo-mode please disable it, although I wonder who writes a mode that breaks things so badly :-p Kind regards, T G-R --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfo+u0AlEeO9y5k0W2Imw8BjFSTwFAl5PxAwACgkQ2Imw8BjF STwbCg/+L7J6nXpDlP8iCsf3e2KPZaJODMhI1BVb2dvv0WqceBkpT0G3iHzq783o cN+QNRxw17MnGmhb44An1dH7lg4X2XcVyIDfUnVSiiuY0AcH8YO3647H/Q8cYeeR t/fNDoRiZdqQAoEoBp+WYZ9WNYCgkrdYImWk5vIPJESNPiBAGygpgc1g4le+5SQu YipsOGfwRPYPdbE3OJUmvSrcQZ0RIjxMim3ZhLS1WlX4oub3NK7CHjzS+rYqW3g6 W+uyqIY5yitrr/rNT9DbRJ723nqS7cLUE7eqMEXL3uRETWyfCwW3t7XL8Zc7ZJX1 IJV+WPLHp+RykIWtG0SvU1HO5QMf7NY9FFLqWTGYvSEuqikbvYQ5ySNISsxNrAJu CnXPbtHOEdOMAZoSQL5+ttEGyzxb3dkvyvFqcXPayXmNth878aHCK4MmGyNvaFcF X96ZppHP1JeP5VNlRKOVVh3dwxtkNMgvogek5OwjWZEO7/kypQr9FgXXhBC0J7F9 hiVAEY07Vuq5HLaJdpA2d5ZKki1kf6kGq/aGW/0S7DNUWmuD0kZM0l43rCWCm2mK qVocoKCp4vevbnLKPIkq8GpGKaP0tfQNvPIMtiLkI4TlDOWLyqRLhEeZsnz7m3T2 yCx7nUc2Ye2xO1A8nQPHwqyvtG7VtLbs3Z7umPvP8l7pD5WR5L8= =h1Xz -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 07:04:26 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 12:04:26 +0000 Received: from localhost ([127.0.0.1]:46491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j572f-0002W7-Om for submit@debbugs.gnu.org; Fri, 21 Feb 2020 07:04:26 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:53035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j572d-0002Vr-OQ for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 07:04:24 -0500 X-Originating-IP: 92.169.129.147 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 516C120015; Fri, 21 Feb 2020 12:04:15 +0000 (UTC) From: Pierre Neidhardt To: Nicolas Goaziou Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87lfowf9nq.fsf@nicolasgoaziou.fr> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> <87pne8fcg9.fsf@nicolasgoaziou.fr> <87tv3k42r6.fsf@ambrevar.xyz> <87lfowf9nq.fsf@nicolasgoaziou.fr> Date: Fri, 21 Feb 2020 13:04:15 +0100 Message-ID: <87o8ts405c.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Nicolas Goaziou writes: > Pierre Neidhardt writes: > >> Oh, yes, I see that. I thought it would help with readability. How are >> we supposed to visualize nested @itemize at the moment? > > I don't think [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: wikipedia.org] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.200 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 Cc: Julien Lepiller , Alex Griffin , 39599@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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Nicolas Goaziou writes: > Pierre Neidhardt writes: > >> Oh, yes, I see that. I thought it would help with readability. How are >> we supposed to visualize nested @itemize at the moment? > > I don't think [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.200 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nicolas Goaziou writes: > Pierre Neidhardt writes: > >> Oh, yes, I see that. I thought it would help with readability. How are >> we supposed to visualize nested @itemize at the moment? > > I don't think there's a clear answer, but, IMO, for readability sake, we > should not (ab)use nested lists in a manual.=20 > > There are three levels of such lists here. I think this is not > necessary. For example > > --8<---------------cut here---------------start------------->8--- > @item When @var{source} matches a file or directory without trailing slas= h, install it to @var{target}. > @itemize > @item If @var{target} has a trailing slash, install @var{source} basena= me beneath @var{target}. > @item Otherwise install @var{source} as @var{target}. > @end itemize > --8<---------------cut here---------------end--------------->8--- > > could be written as, e.g., > > --8<---------------cut here---------------start------------->8--- > @item > When @var{source} matches a file or directory without a trailing slash, > install it to @var{target}. More accurately, if @var{target} ends with > a slash, install @var{source} basename beneath @var{target} directory. > Otherwise install @var{source} as @var{target}. > --8<---------------cut here---------------end--------------->8--- Fair enough. The idea behind the items was to structure it like a spec that would easily translate to code then. (I wrote these specs before writing the code.) > Similarly, instead of discussing about #:include and al. in a nested > list, this could happen in a subsequent paragraph, once "source" and > "target" are clarified, i.e., after "In all cases, the paths (BTW, > shouldn't it be "file names"?) I don't know. In my opinion, "file names" is often interpreted as "base names". Here I mean that the full subpath of the file is preserved. May I should use "subpath" then. > As a side note, are you sure about: "With @code{#:include}, install all > the files which (I would use "whose" here, but I'm not a native > speaker) https://en.wikipedia.org/wiki/Inanimate_whose Actually, should be "which the" or "the files the path of which". But all this is very pedantic :) > path suffix (isn't it "basename" or, possibly better, "base name" > instead?) No, it really is "path suffix" here because it matches against the parent directories, e.g. "foo/bar" is a valid suffix. > exactly matches one of the elements in the given list"? Do you > really mean that a file name matching two regexps is _not_ going to be > included? Indeed, that's a mistake! Thanks!. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Pxz8ACgkQm9z0l6S7 zH/0bgf+K8N7yGqE9u0i2HFqt0euxZegLyYywuisLGPsBcYpVwDvviH7NYwGEqFY ieKixuV1AIe3L+JgI3hoOh6OEJUwIJRAPKoezS/Nn8SNpndeZbVVfwH5v+OSyuj4 bHsEtJOp9q7lOCGKWT9x+eNpe0Q/neqSvZf6dIzhA6OoksbGwxb6BEqB2K48J9Yv YQNErfkJuP6WPb/dy2pNP3OPd0At/2G0diwzVRfvZUkFuCZe3lNh1/VtnB+wAlIq DoiLBHf+a9SB3xAM7ydMiXo54cgpr7cBBli/B7+Dd1zMMggs6PeCy9yJa1udTaHK Rd+xvbhXxoHGrSO6cED9plW9eY+j+Q== =nLYz -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 07:06:22 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 12:06:22 +0000 Received: from localhost ([127.0.0.1]:46495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j574Y-0002ZS-8O for submit@debbugs.gnu.org; Fri, 21 Feb 2020 07:06:22 -0500 Received: from relay10.mail.gandi.net ([217.70.178.230]:57147) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j574X-0002ZB-12 for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 07:06:21 -0500 Received: from bababa (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 48E5F240004; Fri, 21 Feb 2020 12:06:13 +0000 (UTC) From: Pierre Neidhardt To: Tobias Geerinckx-Rice , 39599@debbugs.gnu.org Subject: Re: [bug#39599] [PATCH 1/4] build-system: Add copy-build-system. In-Reply-To: <87ftf4xipf.fsf@nckx> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <87ftf57itl.fsf@ambrevar.xyz> <87pne95krx.fsf@ambrevar.xyz> <2AB2B5D1-42B9-4DDF-A712-385BACF8BA60@lepiller.eu> <87sgj5t9zs.fsf@ambrevar.xyz> <875zg05kqw.fsf@ambrevar.xyz> <87pne8fcg9.fsf@nicolasgoaziou.fr> <87ftf4xipf.fsf@nckx> Date: Fri, 21 Feb 2020 13:06:13 +0100 Message-ID: <87lfow4022.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tobias Geerinckx-Rice writes: > I removed *all* leading whitespace in > af51d01a8aa8d7cf529173bdb64392f14eb21962 and this fixes the > problem. In future, avoid it altogether. It clashes with the > rest of the file even when it doe [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39599 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: 1.8 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tobias Geerinckx-Rice writes: > I removed *all* leading whitespace in > af51d01a8aa8d7cf529173bdb64392f14eb21962 and this fixes the > problem. In future, avoid it altogether. It clashes with the > rest of the file even when it doe [...] Content analysis details: (1.8 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.230 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice writes: > I removed *all* leading whitespace in=20 > af51d01a8aa8d7cf529173bdb64392f14eb21962 and this fixes the=20 > problem. In future, avoid it altogether. It clashes with the=20 > rest of the file even when it doesn't break anything. Thanks for the fix. > If you're using some kind of fancy-texinfo-mode please disable it,=20 > although I wonder who writes a mode that breaks things so badly=20 > :-p I don't, I just indented manually. It was impossible to read otherwise. Well, Texinfo is a bit tedious, I guess we have to leave with it. Crazy that "guix pull" broke and not "make". I wonder why "guix pull" is so sensitive. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5Px7UACgkQm9z0l6S7 zH9oWQf+Ock/F1v80U3qZss+p5ElIPxIBRzm9NhTAjbiRGTkcRE5qBu0+BAsdNaI l67eQiyv/v10iHGNjmthvnn5xqyGL89VwaoojaMsjxdJyIgDhRRO7Yq0j0jBb23n 3nZIBPISKym0bsLmKwodwux7RiPl9Wa4AT7pVheE6bYg5U5A/O3nXjU5+0RbKf75 SfYYg7+7t/YuDVFnp+FK4IEsAXyG240ZdOFchCS5NqjoZkPn7HvZJuTIKZhTkURq gujEXKL2mhfnP72BuAbyMl/h3cWXKFNmKj39qWHBwh06CAEFZkh10kcJXr9Ujm0I VQP9R8Z2wwMEozcJOBuYowlOdwqQag== =CiY4 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 09:34:37 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 14:34:37 +0000 Received: from localhost ([127.0.0.1]:46591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j59O1-0001sA-Kd for submit@debbugs.gnu.org; Fri, 21 Feb 2020 09:34:37 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:35809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j59O0-0001rx-Aw for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 09:34:36 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id C7C0721C1E; Fri, 21 Feb 2020 09:34:30 -0500 (EST) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 21 Feb 2020 09:34:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=reNrZbzjDKRC9mWXue/CfFih9MGTmwe HAgpq0Miua74=; b=j+No0iJF2BFqlO2HorwWGvzAqHgZDwBAwLtz6UX8Uz9eG2a N7dOznyRsgQ4SgNOpocNaKqVOF46q30Z6DfW4YVtDGXcn2hhWsBqQoDbZhaP5zZq 0QOLYT9vCGx55Q+SgApCsVLt6QjbkXbQoNEoyRtj81gGi6pvQjDcZQiW1jj3JeIO qgCmr8t0SQ1QXF73XZbS6NGLJfTfzE9CB6LRbw4PqtnrYhBgzVsososifGeTYXjq VLCRYKEMNviUEUfY6LrTTb8L5VaWa5v7C2x7DBLKUYvG0aRrxUvd7atUPUwVC2fW bONZ7aH8Blhi4PlG4VkqAjhOIfcSu2Qax6xBzsA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=reNrZb zjDKRC9mWXue/CfFih9MGTmweHAgpq0Miua74=; b=cMO0CeB3PWclUgExq2Zl9I 7cBT2f3IElOyrI45t8WQRGS0HXHLEeDwhJr6dM9wdgBc31AdEdVB1pck6TTFZgIB WFfMQws35PzxRq2I7ibrVUKmpJEz5UETKBl8fghZjlZZAJTBkJeutK/ztAka3hAn fHUcyaXNUBlO4/dhRoYqDEQdqyPb2XiDW+e2aMMpK0osavY8UZIdOrX85Co5t/9u HAQxWyOV7mQM7YfRHtaPHiCiC/tfjscDaIvrfDahz+jVHkZn7x65Zep2Io6x2eeT 0lRsAb1I5oH2VhB6WZH4d6fYWdFvWEPVOmuoPWMZ/Ikyah3JyNkuCL+zI1Hjka0g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeeggdeihecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedftehlvgig ucfirhhifhhfihhnfdcuoegrsegrjhhgrhhfrdgtohhmqeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrsegrjhhgrhhfrdgtohhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id E93601402CB; Fri, 21 Feb 2020 09:34:29 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: <1628381b-06af-4e2e-acd0-1f23238b361c@www.fastmail.com> In-Reply-To: <20200221033733.11242-2-jackhill@jackhill.us> References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <20200221033733.11242-1-jackhill@jackhill.us> <20200221033733.11242-2-jackhill@jackhill.us> Date: Fri, 21 Feb 2020 14:34:08 +0000 From: "Alex Griffin" To: "Jack Hill" , 39599@debbugs.gnu.org Subject: Re: [PATCH v2] gnu: Add gnome-shell-extension-paperwm. Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39599 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: -1.7 (-) Jack, Thank you, I just committed your improvements with some slight modifications! I had noticed the issue and intended to fix it myself, but after stepping away from my computer for a while, I must have forgotten about it and sent my patch too early. -- Alex Griffin From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 11:22:43 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 16:22:43 +0000 Received: from localhost ([127.0.0.1]:47875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5B4c-0006vD-Vf for submit@debbugs.gnu.org; Fri, 21 Feb 2020 11:22:43 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:56870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5B4b-0006v1-G4 for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 11:22:41 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j5B4W-0004dX-0l; Fri, 21 Feb 2020 11:22:36 -0500 Date: Fri, 21 Feb 2020 11:22:35 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: Alex Griffin Subject: Re: [PATCH v2] gnu: Add gnome-shell-extension-paperwm. In-Reply-To: <1628381b-06af-4e2e-acd0-1f23238b361c@www.fastmail.com> Message-ID: References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <20200221033733.11242-1-jackhill@jackhill.us> <20200221033733.11242-2-jackhill@jackhill.us> <1628381b-06af-4e2e-acd0-1f23238b361c@www.fastmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39599 Cc: 39599@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: -1.0 (-) Alex, On Fri, 21 Feb 2020, Alex Griffin wrote: > Thank you, I just committed your improvements with some slight > modifications! Thanks for the improvements. However, I don't think this change was warranted: - #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" - "\\.xml$" "\\.compiled$"))))) + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" "\\.xml$"))) I think we still want to install the gschemas.compiled file that build in the new compile-schemas phase. > I had noticed the issue and intended to fix it myself, but after > stepping away from my computer for a while, I must have forgotten about > it and sent my patch too early. No worries, I'm happy to serve as a second set of eyes. Best, Jack From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 13:49:16 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 18:49:16 +0000 Received: from localhost ([127.0.0.1]:48118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DMS-0008KH-0f for submit@debbugs.gnu.org; Fri, 21 Feb 2020 13:49:16 -0500 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:55253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DMQ-0008K2-0C for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 13:49:14 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id E5F21616; Fri, 21 Feb 2020 13:49:07 -0500 (EST) Received: from imap6 ([10.202.2.56]) by compute6.internal (MEProxy); Fri, 21 Feb 2020 13:49:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajgrf.com; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=RHMuzcQBtbIXZf+GExFfRoLCwzGsEo3 WgyLSlIYKlqw=; b=HESul7Wpg4He2RRDJp76kiDKrjqI/VCQk6iBQkSsgT72CDY mDeEs8shqqjHf5k4HptdtGGtUCsJUH82Gl9dCcgbQeJk6HwEN48qEBxS7X2OTRyo a9vjOTJ2pL+NT3Sh2RXVfVeCbSOH3z3S/uxjkAso83R+F5JMYfwqAE7hQQWFuOf3 1xun6AMzer86VnDzFsiThZWF7RGfbImU7kg8eLIP3kNme6v8ImPYGlKUmClb5YsU CgbMb8icsAaMtt5BE6EuLfHBizJlJpLv5Wkz/d2jFVkBLLCfIKN5qOO5W8uvxXwv E0P/aF9tD4TWLvKUhOQqJuw7fR4R1DOLn9cktHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=RHMuzc QBtbIXZf+GExFfRoLCwzGsEo3WgyLSlIYKlqw=; b=y1066P9mGOMFMYKSXquMsm vWVXgAuvnfl9IE8ZdsHN5Wqefr0OLfLEfmFgo48O1TdM7ZKXxn9yN/JeOvqhiOYI iGN7ioUq89mLXxVBAVOF9/4raLTyDip1mOseQxjjrwsibYOYas31PZTgkXE/2Bzs PaprYIEYlT45x+P28bP+E3Gu5jtJ32bJt5MPrcYLlzrOq7+JFseIUZZ7YlUuvZr1 SkO8GGodFwZ3RC6ey3P156qLeJfRYYaklQFVqiWCV9AhM+esBONaauXZb+4Aq5fu yJQaWyHM6OP/zcQ3bfWvep98eA3Yv/1OEmNvHH1LRQAVSeCLlWL51EDS2PS7nz0A == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrkeeggdduudejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdetlhgv gicuifhrihhffhhinhdfuceorgesrghjghhrfhdrtghomheqnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprgesrghjghhrfhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 11AB81402EA; Fri, 21 Feb 2020 13:49:07 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: <7d81cd34-b527-44da-872c-700362894d9b@www.fastmail.com> In-Reply-To: References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <20200221033733.11242-1-jackhill@jackhill.us> <20200221033733.11242-2-jackhill@jackhill.us> <1628381b-06af-4e2e-acd0-1f23238b361c@www.fastmail.com> Date: Fri, 21 Feb 2020 18:48:46 +0000 From: "Alex Griffin" To: "Jack Hill" Subject: Re: [PATCH v2] gnu: Add gnome-shell-extension-paperwm. Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39599 Cc: 39599@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: -1.7 (-) On Fri, Feb 21, 2020, at 4:22 PM, Jack Hill wrote: > Thanks for the improvements. However, I don't think this change was > warranted: > > - #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" > - "\\.xml$" "\\.compiled$"))))) > + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" > "\\.xml$"))) > > I think we still want to install the gschemas.compiled file that build in > the new compile-schemas phase. You're right of course. I just committed the fix. -- Alex Griffin From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 21 13:52:02 2020 Received: (at 39599) by debbugs.gnu.org; 21 Feb 2020 18:52:02 +0000 Received: from localhost ([127.0.0.1]:48122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DP8-0008Oa-Dn for submit@debbugs.gnu.org; Fri, 21 Feb 2020 13:52:02 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:58144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j5DP5-0008O5-Vx for 39599@debbugs.gnu.org; Fri, 21 Feb 2020 13:52:00 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j5DP0-0001ef-Cy; Fri, 21 Feb 2020 13:51:54 -0500 Date: Fri, 21 Feb 2020 13:51:54 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net To: Alex Griffin Subject: Re: [PATCH v2] gnu: Add gnome-shell-extension-paperwm. In-Reply-To: <7d81cd34-b527-44da-872c-700362894d9b@www.fastmail.com> Message-ID: References: <9a61841f-e79b-469f-af02-4a739cb0c5f2@www.fastmail.com> <20200221033733.11242-1-jackhill@jackhill.us> <20200221033733.11242-2-jackhill@jackhill.us> <1628381b-06af-4e2e-acd0-1f23238b361c@www.fastmail.com> <7d81cd34-b527-44da-872c-700362894d9b@www.fastmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39599 Cc: 39599@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: -1.0 (-) On Fri, 21 Feb 2020, Alex Griffin wrote: > On Fri, Feb 21, 2020, at 4:22 PM, Jack Hill wrote: >> Thanks for the improvements. However, I don't think this change was >> warranted: >> >> - #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" >> - "\\.xml$" "\\.compiled$"))))) >> + #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" >> "\\.xml$"))) >> >> I think we still want to install the gschemas.compiled file that build in >> the new compile-schemas phase. > > You're right of course. I just committed the fix. Awesome, thanks! From unknown Thu Aug 14 12:22:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 21 Mar 2020 11:24:06 +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