From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 16 16:35:56 2024 Received: (at submit) by debbugs.gnu.org; 16 Oct 2024 20:35:56 +0000 Received: from localhost ([127.0.0.1]:60642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1AkO-0003yW-E5 for submit@debbugs.gnu.org; Wed, 16 Oct 2024 16:35:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:36366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1AkL-0003yL-UL for submit@debbugs.gnu.org; Wed, 16 Oct 2024 16:35:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1Ak1-0002dP-Je for guix-patches@gnu.org; Wed, 16 Oct 2024 16:35:33 -0400 Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t1Ajz-00045l-Ge for guix-patches@gnu.org; Wed, 16 Oct 2024 16:35:33 -0400 Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-539e4824917so16913e87.3 for ; Wed, 16 Oct 2024 13:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729110929; x=1729715729; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=x9/56REt4z9xMtnMKf9z/b6Fo7eKdPYtqhyqvd5vNFE=; b=BMNZHk9a/f2U+59EYxsWgkjxMXl+/EMd8Zt+SE1Sh3tjnKmdgX3R/mdMx2Ip/U78n7 Wyk+CmCYLRSJLoxsHFMj/CpDSM5W7Il6/VUK9KKKxVD7UH5FD2JRdzw9+ktpV6281hFk Qf6xDPkxskw5w7e0jvzJPEWgrt93yhryq1nqEYxlBcg8Z8VazPC09dO4BNio4j5rzfSY lsQx1hsONuEWRZAPhTrDTCyhfUze6Fy0MWjEeuzuBbZxUvZ0qX0Cty2OnlabwsTJvwPR 7R437uvRNeV8pmSsQ6L/o78S8+fMADutgF+85Ph+6+KXrOD83sPw5t0OCsNhalFBjxak bHww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729110929; x=1729715729; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=x9/56REt4z9xMtnMKf9z/b6Fo7eKdPYtqhyqvd5vNFE=; b=XSnfAB5A97J2TMe+MBi74e7LnoXvQRJPZ0t0p/NLRGIE2rdRi44x/6khYUuZXtFj5A UL6WE4d6u+5e2vDdnsGP1BFaYNRLsuvf4DdQdXbEjxKuC8Es6/YtWy/h2rtFKLlxKov6 YnrnkURHbPNCvxklYHv/3YnuA1qDNgoCSoXe+bclxRQe9WT0K9KAQb6iCLG5G3fRudPV fjFeAyWBXWtDvOj/DZTiRN0jxR/hcaNN2fULw2wTXLb2ODDYdc4vu0K+wu2s5ODYWOgH 7RW7ZYNcWJrvUB8b3xt6WcqUR9qVdD5h1JHwy9FiRyYG14iXB5BqmUmzqjORRWoAhJpI DJhQ== X-Gm-Message-State: AOJu0Yw5xGvVSI/pmxjUcgms+YRZEtLQDLIlOxqaaBGOzgYy/IztXAVt tMms5kPVQgts4f47OTE12dlgglyG9B37KidRFdALUCKvMbYuQrHnDQIcpH0P X-Google-Smtp-Source: AGHT+IE43XsAfoG7tBN7+vrxHiLKQ+I7WjnVs+edhsFwFo/5dmhTIz3znLoAMN1eApCgAz+rHFNYmQ== X-Received: by 2002:a2e:a582:0:b0:2fb:57d4:3da1 with SMTP id 38308e7fff4ca-2fb651fd415mr6230441fa.11.1729110928502; Wed, 16 Oct 2024 13:35:28 -0700 (PDT) Received: from elephant.. ([95.79.12.162]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-539fffb1e91sm550194e87.98.2024.10.16.13.35.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2024 13:35:27 -0700 (PDT) From: "Artyom V. Poptsov" To: guix-patches@gnu.org Subject: [PATCH] gnu: book-sparc: Update to 2.2.0. Date: Wed, 16 Oct 2024 23:35:23 +0300 Message-ID: <328a2d40fa5843b6e5d2dda1a2bfa78576e603e2.1729110923.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12f; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Artyom V. Poptsov" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/books.scm (book-sparc): Update to 2.2.0. [inputs]: Add git, gnu-make, texlive-fancyvrb, and texlive-upquote. [native-inputs]: Add autoconf and automake. Change-Id: Icd19f295b8572428aea39f46c27e22f87d5dc7e1 --- gnu/packages/books.scm | 62 +++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 25 deletions(-) diff --git a/gnu/packages/books.scm b/gnu/packages/books.scm index 5a6157d557..9f680b51e2 100644 --- a/gnu/packages/books.scm +++ b/gnu/packages/books.scm @@ -42,7 +42,7 @@ (define-module (gnu packages books) (define-public book-sparc (package (name "book-sparc") - (version "2.1.0") + (version "2.2.0") (source (origin (method git-fetch) (uri (git-reference @@ -50,24 +50,14 @@ (define-public book-sparc (commit (string-append "v" version)))) (sha256 (base32 - "1ns2vs5yb9z1hj9gq5y55qz7c9azzhr866b665s8fq50q5m4yhbc")) + "08aswb6cb02c0yqpkyj4vmfjvdjsffxqcqabivgv2gcgn8mhi4wm")) (file-name (git-file-name name version)) - (modules '((guix build utils))) - (snippet - #~(begin - (substitute* "version.tex.in" - (("@COMMIT@") "")) - (substitute* "Makefile" - (("all: sparc.pdf") "all: install") - (("^sparc.pdf:") "install:") - (("(cp out/sparc.pdf) sparc.pdf" all cp) - (string-append - "mkdir -p $(DESTDIR)$(PREFIX)/share/doc/book-sparc" - " && " cp - " $(DESTDIR)$(PREFIX)/share/doc/book-sparc/sparc.pdf"))))))) + (modules '((guix build utils))))) (build-system gnu-build-system) (native-inputs - (list bash-minimal + (list autoconf + automake + bash-minimal fontconfig inkscape lilypond @@ -76,6 +66,8 @@ (define-public book-sparc which)) (inputs (list font-liberation + git + gnu-make texlive-acronym texlive-adjustbox texlive-biblatex @@ -85,6 +77,7 @@ (define-public book-sparc texlive-chngcntr texlive-circuitikz texlive-collection-langcyrillic + texlive-fancyvrb texlive-fontspec texlive-glossaries texlive-glossaries-english @@ -101,16 +94,35 @@ (define-public book-sparc texlive-textpos texlive-transparent texlive-trimspaces + texlive-upquote texlive-xetex)) - (arguments - (list #:phases - #~(modify-phases %standard-phases - (delete 'check) - (delete 'configure) - (add-before 'build 'set-envs - (lambda _ - (setenv "REPRODUCIBILITY" "yes") - (setenv "PREFIX" #$output)))))) + (arguments + (list #:tests? #f ; no tests + #:phases #~(modify-phases %standard-phases + (add-before 'build 'configure-environment + (lambda* (#:key inputs make-flags parallel-build? + #:allow-other-keys) + (use-modules (ice-9 regex) + (srfi srfi-1)) + (let* ((src (assoc-ref inputs "source")) + (rx (make-regexp "/gnu/store/(.*)-book-sparc-.*")) + (src-hash (match:substring (regexp-exec rx src) 1)) + (random-seed + (fold (lambda (ch prev) + (+ (char->integer ch) + prev)) + 0 + (string->list src-hash)))) + (setenv "RANDOMSEED" (number->string random-seed)) + (setenv "REPRODUCIBILITY" "yes")))) + (replace 'install + (lambda _ + (let ((doc-dir (string-append #$output + "/share/doc/sparc/"))) + (mkdir-p doc-dir) + (copy-file "sparc.pdf" + (string-append doc-dir + "sparc.pdf")))))))) (home-page "https://github.com/artyom-poptsov/SPARC") (synopsis "Book on combining art and technology") (description base-commit: d95588242c605fbb72e25fe36a0903a1538e9018 -- 2.46.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 18 08:26:22 2024 Received: (at 73841) by debbugs.gnu.org; 18 Oct 2024 12:26:22 +0000 Received: from localhost ([127.0.0.1]:37369 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1m3h-0004rR-JE for submit@debbugs.gnu.org; Fri, 18 Oct 2024 08:26:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t1m3e-0004r7-Ha for 73841@debbugs.gnu.org; Fri, 18 Oct 2024 08:26:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t1m3C-0005dL-Nx; Fri, 18 Oct 2024 08:25:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=KtMxpWIgcKQDF6/fi0JxqZNHJw9XwsymKMpYiPopxOc=; b=NHmSP1WoMmR2CUgL6kuW 91h+Tvl0kjD1JHf0VCnNb6+Lkt3fG9gpDByW6dPxq88kImFoyj6LiCiD9hFnN02guULnqhTu+8Hy5 e1SESOhqB7u3X2pB//SqNHi+fBdFxiVb0Cm1ALZGB7fqRtsxCujXFGM3ow1jIJck5mJ+oJ2CQNZzC 6V/5MaDrCjZTDjrPpah4KZolIGaveptVz+AqZx5e5RRjCAWVrNADFmKqD/Cc1dwherqMjc2Yx6QiC DDl6ENpO3M6ac9Yyr496mU0OOMeaXY2t+XR90EGvhbmG/UMu43l8QctP9mvBnmfAx4eFI3zp7M6LK kXMpw3xUjCUTTQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Artyom V. Poptsov" Subject: Re: [bug#73841] [PATCH] gnu: book-sparc: Update to 2.2.0. In-Reply-To: <328a2d40fa5843b6e5d2dda1a2bfa78576e603e2.1729110923.git.poptsov.artyom@gmail.com> (Artyom V. Poptsov's message of "Wed, 16 Oct 2024 23:35:23 +0300") References: <328a2d40fa5843b6e5d2dda1a2bfa78576e603e2.1729110923.git.poptsov.artyom@gmail.com> Date: Fri, 18 Oct 2024 14:25:46 +0200 Message-ID: <87ttd9pph1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73841 Cc: 73841@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, "Artyom V. Poptsov" skribis: > * gnu/packages/books.scm (book-sparc): Update to 2.2.0. > [inputs]: Add git, gnu-make, texlive-fancyvrb, and texlive-upquote. > [native-inputs]: Add autoconf and automake. > > Change-Id: Icd19f295b8572428aea39f46c27e22f87d5dc7e1 [...] > (inputs > (list font-liberation > + git > + gnu-make I believe =E2=80=98gnu-make=E2=80=99 is unnecessary: it=E2=80=99s included = by =E2=80=98gnu-build-system=E2=80=99. > + #:phases #~(modify-phases %standard-phases > + (add-before 'build 'configure-environment > + (lambda* (#:key inputs make-flags parallel-buil= d? > + #:allow-other-keys) > + (use-modules (ice-9 regex) > + (srfi srfi-1)) Please avoid =E2=80=98use-modules=E2=80=99 in a non-top-level context: it= =E2=80=99s not guaranteed to work. Instead, use #:modules. > + (replace 'install > + (lambda _ > + (let ((doc-dir (string-append #$output > + "/share/doc/spa= rc/"))) > + (mkdir-p doc-dir) > + (copy-file "sparc.pdf" > + (string-append doc-dir > + "sparc.pdf"))))))= )) Shorter: (install-file "sparc.pdf" doc-dir). Otherwise LGTM! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 19 11:28:14 2024 Received: (at 73841-done) by debbugs.gnu.org; 19 Oct 2024 15:28:14 +0000 Received: from localhost ([127.0.0.1]:44441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2BNG-0005lQ-3q for submit@debbugs.gnu.org; Sat, 19 Oct 2024 11:28:14 -0400 Received: from mail-lj1-f172.google.com ([209.85.208.172]:40381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2BND-0005lA-Cj for 73841-done@debbugs.gnu.org; Sat, 19 Oct 2024 11:28:12 -0400 Received: by mail-lj1-f172.google.com with SMTP id 38308e7fff4ca-2fb5f64766eso688691fa.1 for <73841-done@debbugs.gnu.org>; Sat, 19 Oct 2024 08:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729351601; x=1729956401; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=PWM/VDlyaPxQNi54I0NQlmmLp67WF6obvMXc+mqdvjk=; b=g3rga5Ey2BFJJZQVVOEGebpr4q8Ll5IGK77l9cXo3VoD+dSLKEfJNdpb8Nvu7LyLev 4OvkBe7Yh5wtj6u4hqljPG1NXoiq8epNs5BcdUyl9k9xzuo1bn+gW48Lqux2VMc3MNAp nICU5RDtDb4j1LCy3/7Ie8L9HJDgs0e4mD+E7LRhfRY8Qy0eXQt8lsLm0KVEtrh0huob +3YwoU8+lGBJN7bQmVgS9WfxJWisgs8cHUL/mkZdlSIM3Z8koosdeJ/qimGaY+2H3aVy Yz6ex4wKK8rdQnn5oAHUJCjQTYAlq9ZlsYmW+/o1KrGBG74Cnf0pX6x3VoC+RlqQMdYU Mlaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729351601; x=1729956401; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PWM/VDlyaPxQNi54I0NQlmmLp67WF6obvMXc+mqdvjk=; b=pr0aoWNg9/Qk/gdx1kq38NZ3WaY0zF5o8DJRVri+1/Sc6vuu4i9YfvyeGuLpKnLwGE XNvOUsXWTZJsdXFv/lHXCQTbu0BWTvZafSzAbOq8YbxQf4NafTnmCQaCf3zRKGPysyCQ PM4gvVAd8ibK2FwUqCA2ySPSY0T5CBechYPaz0jgM1GaRDFLrL87FF4KTzPWrwlaOpl7 v2OTMFBYKQ9OYdNqoUzoQpFtePq6Z1AX8IIGo7+7fYOwyo9+mG8LsaDpu1ihw48crGWp s7IxqyJuUL7HQKWVKMw0BMMXRSIX+2YZfPSPx47OhhA2bi9QZmARwOWUFyYzGQ87CLsU b0xQ== X-Gm-Message-State: AOJu0YxRLYCmWfwQU4dJqBoquOu7FyQ11r44ZNGq/hl2XI8/ZeVyhG1i Hz4X37RmnBiPZObC/8vIZhzzQop7O/rD+WyRANHb0m9UorRfrIXlO5pJW0DB X-Google-Smtp-Source: AGHT+IE1j9Xfqf9mZB0F/9rKTLH8xL12Hyk+rr8RamZeW+dQ+/6JPhIW3y/I+WHfrmw9j1C5i3UkxA== X-Received: by 2002:a05:651c:88b:b0:2fa:bf5f:f97e with SMTP id 38308e7fff4ca-2fb832432bcmr9146431fa.8.1729351600777; Sat, 19 Oct 2024 08:26:40 -0700 (PDT) Received: from elephant ([95.79.12.162]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fb809a6cadsm5466021fa.13.2024.10.19.08.26.38 for <73841-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Oct 2024 08:26:39 -0700 (PDT) From: "Artyom V. Poptsov" To: 73841-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: book-sparc: Update to 2.2.0. Date: Sat, 19 Oct 2024 18:26:30 +0300 Message-ID: <87a5f0t8pl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73841-done 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 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Pushed to "master" branch as 48097f511929053468ce6f09e0a24644c90fe670. =2D avp =2D-=20 Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJNBAEBCgA3FiEEAf2F9Bp7f4IFgwalk16+BzbchX4FAmcTz6oZHHBvcHRzb3Yu YXJ0eW9tQGdtYWlsLmNvbQAKCRCTXr4HNtyFflzOD/4sNGRbEhHN88XWlHnOohS3 nwAdvX/djT/WYaoPn6Z4EPm5GQuN4Emg84+lRQr5lPXylUSL+9Hz3MeiRycvDdaY UC0Xnh46scvw8am7dwfFBsS3UziruqFT0fJn8RXFJL1YecFhv87X3r5dZ2FtTcUe /H5XJwjU93G6D4yKBzCTUoOFIPnZzXhgUXohzv9ripSSzwCqXyL6iODENihcipCG fTVrafAixQqGMlVnYaOrZmvq59Xqgxe7RX78mOpT69x4VGMIJKQxsXVavZmDlEC1 Os72S0m5gQJHkYfJabhgDJDnw/4CdwNgq0nJex8Le6MTGKuxM8FGarbYYeEWMD/s NLZmJhW+ub9ZDA3QrHGSpMSstqb8c2qcwRt0W9wDahLQjn7pMXfFNvVPbRSIixRL fUiufJLTI8r5eOcriwWmWv1szDjfk+/43oaDNp17AI9jdP772QheikrIw6ezinpW aJjMVGe9s2qF5H16dwWskahMYKAh6YgDw8KTIrxqsbrXiWNZZTaIOui0hwSJCRx0 WUY+sOsQ0vXa6qaoit5JeV/camoEklKABfR9JVPWWa8ldzwu1w06oXi6iHcs3G33 gmENfmHlx7PNdGn5wP+dvOcfhfMewfxTGYS8qmrhLDBQWlAFQJcBslYAtYiNkq2+ /wEb1rFrzPefYL2/G1y5Lg== =Wrij -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:14:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 17 Nov 2024 12:24:09 +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