From unknown Sun Jun 22 17:11:19 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#55644 <55644@debbugs.gnu.org> To: bug#55644 <55644@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add texlive-qrcode. Reply-To: bug#55644 <55644@debbugs.gnu.org> Date: Mon, 23 Jun 2025 00:11:19 +0000 retitle 55644 [PATCH] gnu: Add texlive-qrcode. reassign 55644 guix-patches submitter 55644 Jack Hill severity 55644 normal tag 55644 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 18:34:27 2022 Received: (at submit) by debbugs.gnu.org; 25 May 2022 22:34:27 +0000 Received: from localhost ([127.0.0.1]:56569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntzaB-0001xZ-3K for submit@debbugs.gnu.org; Wed, 25 May 2022 18:34:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:57598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntza6-0001xN-3q for submit@debbugs.gnu.org; Wed, 25 May 2022 18:34:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntza5-00085f-UA for guix-patches@gnu.org; Wed, 25 May 2022 18:34:17 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:49108) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntza4-0005m8-59 for guix-patches@gnu.org; Wed, 25 May 2022 18:34:17 -0400 Received: from [2001:470:8:9f5:e878:315c:5ed6:89d] (helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntza2-0000g9-KV for guix-patches@gnu.org; Wed, 25 May 2022 18:34:14 -0400 From: Jack Hill To: guix-patches@gnu.org Subject: [PATCH] gnu: Add texlive-qrcode. Date: Wed, 25 May 2022 18:34:05 -0400 Message-Id: <20220525223405.15414-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/tex.scm (texlive-qrcode): New variable. --- This is my first texlive package, so hopefully I got it at least somewhat right. It is based heavily on the texlive-makecmds package. I determined the native-inputs by what was required to build qrcode.pdf and the propagated inputs by what was required to build this test document: ``` \documentclass{article} \usepackage{qrcode} \begin{document} \qrcode{test text} \end{document} ``` gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 818316a4e5..58829627c6 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Thiago Jung Bauermann +;;; Copyright © 2022 Jack Hill ;;; ;;; This file is part of GNU Guix. ;;; @@ -10593,6 +10594,58 @@ (define-public texlive-adjustbox @code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.") (license license:lppl1.3)))) +(define-public texlive-qrcode + (package + (inherit (simple-texlive-package + "texlive-qrcode" + (list "doc/latex/qrcode/README" + "source/latex/qrcode/qrcode.dtx" + "source/latex/qrcode/qrcode.ins") + (base32 + "1xfv0imrrbxjqwjapcf2silg19rwz2jinawy1x65c1krg919vn02"))) + (outputs '("out" "doc")) + (arguments + (list + #:tex-directory "latex/qrcode" + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'chdir + (lambda _ + (setenv "ROOT_DIR" (getcwd)) + (chdir "source/latex/qrcode"))) + (add-after 'build 'build-doc + (lambda _ + (copy-file "qrcode.dtx" "build/qrcode.dtx") + (chdir "build") + (invoke "xelatex" "qrcode.dtx") + (invoke "xelatex" "qrcode.dtx"))) ;generate qrcode.pdf + (replace 'install + (lambda* (#:key tex-directory #:allow-other-keys) + (let ((doc (string-append #$output:doc "/share/doc/" + tex-directory)) + (out (string-append #$output "/share/texmf-dist/tex/" + tex-directory))) + (install-file "qrcode.pdf" doc) + (install-file (car (find-files (getenv "ROOT_DIR") "README")) + doc) + (install-file "qrcode.sty" out))))))) + (propagated-inputs + (list texlive-lm + texlive-latex-xkeyval + texlive-xcolor)) + (native-inputs + (list (texlive-updmap.cfg (list texlive-lm texlive-zapfding)) + texlive-hyperref + texlive-latex-xkeyval + texlive-stringenc + texlive-xcolor)) + (home-page "https://www.ctan.org/pkg/qrcode") + (synopsis "QR codes without external tools") + (description "This package reates @acronym{QR,Quick Response} codes for +LaTeX documents without depending on external graphic packages. It supports +generating codes of different sizes and with different error correction levels.") + (license license:lppl1.3c+))) + (define-public texlive-tcolorbox (let ((template (simple-texlive-package "texlive-tcolorbox" -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 18:40:53 2022 Received: (at 55644) by debbugs.gnu.org; 25 May 2022 22:40:53 +0000 Received: from localhost ([127.0.0.1]:56583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntzgP-00028h-HR for submit@debbugs.gnu.org; Wed, 25 May 2022 18:40:53 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:55592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ntzgM-00028Q-N2 for 55644@debbugs.gnu.org; Wed, 25 May 2022 18:40:48 -0400 Received: from [2001:470:8:9f5:e878:315c:5ed6:89d] (helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntzgH-00054b-6x for 55644@debbugs.gnu.org; Wed, 25 May 2022 18:40:41 -0400 From: Jack Hill To: 55644@debbugs.gnu.org Subject: [PATCH v2] gnu: Add texlive-qrcode. Date: Wed, 25 May 2022 18:40:28 -0400 Message-Id: <20220525224028.17060-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525223405.15414-1-jackhill@jackhill.us> References: <20220525223405.15414-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: 55644 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/tex.scm (texlive-qrcode): New variable. --- This version fixes a spelling mistake in the synopsis. gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 818316a4e5..c1e24c56ae 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Thiago Jung Bauermann +;;; Copyright © 2022 Jack Hill ;;; ;;; This file is part of GNU Guix. ;;; @@ -10593,6 +10594,58 @@ (define-public texlive-adjustbox @code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.") (license license:lppl1.3)))) +(define-public texlive-qrcode + (package + (inherit (simple-texlive-package + "texlive-qrcode" + (list "doc/latex/qrcode/README" + "source/latex/qrcode/qrcode.dtx" + "source/latex/qrcode/qrcode.ins") + (base32 + "1xfv0imrrbxjqwjapcf2silg19rwz2jinawy1x65c1krg919vn02"))) + (outputs '("out" "doc")) + (arguments + (list + #:tex-directory "latex/qrcode" + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'chdir + (lambda _ + (setenv "ROOT_DIR" (getcwd)) + (chdir "source/latex/qrcode"))) + (add-after 'build 'build-doc + (lambda _ + (copy-file "qrcode.dtx" "build/qrcode.dtx") + (chdir "build") + (invoke "xelatex" "qrcode.dtx") + (invoke "xelatex" "qrcode.dtx"))) ;generate qrcode.pdf + (replace 'install + (lambda* (#:key tex-directory #:allow-other-keys) + (let ((doc (string-append #$output:doc "/share/doc/" + tex-directory)) + (out (string-append #$output "/share/texmf-dist/tex/" + tex-directory))) + (install-file "qrcode.pdf" doc) + (install-file (car (find-files (getenv "ROOT_DIR") "README")) + doc) + (install-file "qrcode.sty" out))))))) + (propagated-inputs + (list texlive-lm + texlive-latex-xkeyval + texlive-xcolor)) + (native-inputs + (list (texlive-updmap.cfg (list texlive-lm texlive-zapfding)) + texlive-hyperref + texlive-latex-xkeyval + texlive-stringenc + texlive-xcolor)) + (home-page "https://www.ctan.org/pkg/qrcode") + (synopsis "QR codes without external tools") + (description "This package creates @acronym{QR,Quick Response} codes for +LaTeX documents without depending on external graphic packages. It supports +generating codes of different sizes and with different error correction levels.") + (license license:lppl1.3c+))) + (define-public texlive-tcolorbox (let ((template (simple-texlive-package "texlive-tcolorbox" -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 21:46:05 2022 Received: (at 55644) by debbugs.gnu.org; 26 May 2022 01:46:05 +0000 Received: from localhost ([127.0.0.1]:56740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu2Zd-0007X0-P6 for submit@debbugs.gnu.org; Wed, 25 May 2022 21:46:05 -0400 Received: from minsky.hcoop.net ([104.248.1.95]:56672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nu2Zb-0007Wc-84 for 55644@debbugs.gnu.org; Wed, 25 May 2022 21:46:00 -0400 Received: from [2001:470:8:9f5:e878:315c:5ed6:89d] (helo=leyden.home.eronel.org) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nu2ZV-0007fK-Kz for 55644@debbugs.gnu.org; Wed, 25 May 2022 21:45:53 -0400 From: Jack Hill To: 55644@debbugs.gnu.org Subject: [PATCH v3] gnu: Add texlive-qrcode. Date: Wed, 25 May 2022 21:45:42 -0400 Message-Id: <20220526014542.9769-1-jackhill@jackhill.us> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525224028.17060-1-jackhill@jackhill.us> References: <20220525224028.17060-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: 55644 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/tex.scm (texlive-qrcode): New variable. --- This version contains further tweaks to the description. gnu/packages/tex.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 818316a4e5..237889d666 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2021 Ivan Gankevich ;;; Copyright © 2021 Julien Lepiller ;;; Copyright © 2021 Thiago Jung Bauermann +;;; Copyright © 2022 Jack Hill ;;; ;;; This file is part of GNU Guix. ;;; @@ -10593,6 +10594,59 @@ (define-public texlive-adjustbox @code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.") (license license:lppl1.3)))) +(define-public texlive-qrcode + (package + (inherit (simple-texlive-package + "texlive-qrcode" + (list "doc/latex/qrcode/README" + "source/latex/qrcode/qrcode.dtx" + "source/latex/qrcode/qrcode.ins") + (base32 + "1xfv0imrrbxjqwjapcf2silg19rwz2jinawy1x65c1krg919vn02"))) + (outputs '("out" "doc")) + (arguments + (list + #:tex-directory "latex/qrcode" + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'chdir + (lambda _ + (setenv "ROOT_DIR" (getcwd)) + (chdir "source/latex/qrcode"))) + (add-after 'build 'build-doc + (lambda _ + (copy-file "qrcode.dtx" "build/qrcode.dtx") + (chdir "build") + (invoke "xelatex" "qrcode.dtx") + (invoke "xelatex" "qrcode.dtx"))) ;generate qrcode.pdf + (replace 'install + (lambda* (#:key tex-directory #:allow-other-keys) + (let ((doc (string-append #$output:doc "/share/doc/" + tex-directory)) + (out (string-append #$output "/share/texmf-dist/tex/" + tex-directory))) + (install-file "qrcode.pdf" doc) + (install-file (car (find-files (getenv "ROOT_DIR") "README")) + doc) + (install-file "qrcode.sty" out))))))) + (propagated-inputs + (list texlive-lm + texlive-latex-xkeyval + texlive-xcolor)) + (native-inputs + (list (texlive-updmap.cfg (list texlive-lm texlive-zapfding)) + texlive-hyperref + texlive-latex-xkeyval + texlive-stringenc + texlive-xcolor)) + (home-page "https://www.ctan.org/pkg/qrcode") + (synopsis "QR codes without external tools") + (description "This package creates @acronym{QR,Quick Response} codes for +LaTeX documents without depending on external graphics packages. It supports +generating codes of different sizes and with different error correction +levels. All functionality is provided by the single @code{\\qrcode} command.") + (license license:lppl1.3c+))) + (define-public texlive-tcolorbox (let ((template (simple-texlive-package "texlive-tcolorbox" -- 2.36.1 From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 03 17:29:54 2022 Received: (at 55644-done) by debbugs.gnu.org; 3 Jun 2022 21:29:54 +0000 Received: from localhost ([127.0.0.1]:57140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxEri-0006cp-5c for submit@debbugs.gnu.org; Fri, 03 Jun 2022 17:29:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nxErg-0006cY-Ov for 55644-done@debbugs.gnu.org; Fri, 03 Jun 2022 17:29:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34560) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxErb-0000gZ-Gl; Fri, 03 Jun 2022 17:29:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=ONOrA4fUvWfb7NSlmWbWPQgOUkERC5bOzN1xPY454xw=; b=oyv58NVxzBb7zjev/ggX 77APGJkCA92Qtfms78Md4Z1xSeHDRU06tA2KBeQMsoD2zyeQ33IhF5wduf1YUrD9UELKlGUWZIuNr uoNRDEJEEvFk2lGWFakocptwjFfoRKcbxEP+C5Z5QD7e9d+W0EmTVN/JLlGAUDIHFW0Rg8wqZ9AHX bZWpbL6EiPgvRmSzAsRXLvyYqzlRFLyRvSVCO78mC+Ng1RuISKRyyWOzCedA6fxfpa4eH/H5xPDXt K+IHBJK1sKJHnxrJO93LPyem9NWYBQv8fH9pmKRyZnH8m9FbZDnBSL53dKZnZChbidN4eR7wtV2OX JWY+NiM+cExlxA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:50758 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nxEra-0005Gp-RP; Fri, 03 Jun 2022 17:29:47 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jack Hill Subject: Re: bug#55644: [PATCH] gnu: Add texlive-qrcode. References: <20220525224028.17060-1-jackhill@jackhill.us> <20220526014542.9769-1-jackhill@jackhill.us> Date: Fri, 03 Jun 2022 23:29:45 +0200 In-Reply-To: <20220526014542.9769-1-jackhill@jackhill.us> (Jack Hill's message of "Wed, 25 May 2022 21:45:42 -0400") Message-ID: <87pmjph1va.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 55644-done Cc: 55644-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jack Hill skribis: > * gnu/packages/tex.scm (texlive-qrcode): New variable. Applied, thanks! Ludo=E2=80=99. From unknown Sun Jun 22 17:11:19 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, 02 Jul 2022 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator