From patchwork Sun Aug 18 13:59:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Artyom V. Poptsov" X-Patchwork-Id: 67093 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9E94727BBE9; Sun, 18 Aug 2024 15:00:40 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 273E327BBE2 for ; Sun, 18 Aug 2024 15:00:40 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sfgSN-00010q-KE; Sun, 18 Aug 2024 10:00:32 -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 1sfgSE-00010G-LL for guix-patches@gnu.org; Sun, 18 Aug 2024 10:00:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfgSE-00035a-29 for guix-patches@gnu.org; Sun, 18 Aug 2024 10:00:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=kqDJWZa48GTiK7Vpu8tN6ud2E4wF6ihmxkkGqkZfuqw=; b=HrJHP6QmigFgiY3WHDokshWBOi3xhZgzoeoNV7gWaJQpaNBS3RHJfBKVgj0sFLd+Tidi1SB3sjZWyzyOt9rvJO258Xzgj97cNj2uA3mtVKD08Hq6zSdnIcZ/DWJtTdlCB7+IcRzxx3JigfqMvj1ugvrqbOruMmw5FY4s3Xj8rfhPRx5m9Ap0uTcsS0QuiUVnGgyy0MC+sATCbuEz7E6cu/MHi6vNSco+8R8+q35TqO8JVzS2t6P30QWMmL3mAoU4s10F/brGj4DEsg6gZNqgV+A9+Daetge6kBKrU6HzGBUb0ToHc2EV6lGowopwVboTXHarfWHcRAoWwCb0oVnhOQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sfgSs-0007Qg-50 for guix-patches@gnu.org; Sun, 18 Aug 2024 10:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72698] [PATCH] gnu: Add guile-qr-code. Resent-From: "Artyom V. Poptsov" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Aug 2024 14:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72698 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72698@debbugs.gnu.org Cc: "Artyom V. Poptsov" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172398961428480 (code B ref -1); Sun, 18 Aug 2024 14:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Aug 2024 14:00:14 +0000 Received: from localhost ([127.0.0.1]:56404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgS5-0007PI-Vr for submit@debbugs.gnu.org; Sun, 18 Aug 2024 10:00:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:35564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sfgS3-0007PA-JR for submit@debbugs.gnu.org; Sun, 18 Aug 2024 10:00:11 -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 1sfgRN-0000ua-T2 for guix-patches@gnu.org; Sun, 18 Aug 2024 09:59:31 -0400 Received: from mail-lf1-x12c.google.com ([2a00:1450:4864:20::12c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sfgRK-0002qS-Ui for guix-patches@gnu.org; Sun, 18 Aug 2024 09:59:28 -0400 Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-5332f488c6eso1892498e87.1 for ; Sun, 18 Aug 2024 06:59:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1723989565; x=1724594365; 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=kqDJWZa48GTiK7Vpu8tN6ud2E4wF6ihmxkkGqkZfuqw=; b=dttvO+Wo12VV89L+oUCz8IUCwIf4lJF0hZHWbw4+1t4ZDabUvzKcZjSm2BsAkZHVTc Tnk5rbZWxf0k807zY0uAuzbl6UcdUkML6mzL9/pMR9PkOhIMTdBiqFHsAyG3RacSRrKz gARl37DRiV0lXa4T8qSdycYD585HBbTGrr2EOIpTSXimQ1K/UPViA1XO0AchIu2RZXTR IrbOwJ5mXSpeyqr67LgF/M04Du7o7+noMocDw7kDQqPhy1qoZ+h3+EEcsEET3g0n96/F F3yhgoPcQ7nfBGPDbAJri27+DuVg5jnsEA3/6Thbe3cq5YJlms4d9HbrtUp2b+2aE7O9 wPcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723989565; x=1724594365; 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=kqDJWZa48GTiK7Vpu8tN6ud2E4wF6ihmxkkGqkZfuqw=; b=if/+ATBxirccbo0tkGKj9DKdZNm1HAwUS1hhrDb5BjrJKzI7PhJLW2tWK3XDkgrSXV u7T2yElUqib5/kOATAAkmzrNDZaIT2scNIiC76QJNg5vjCuNABJbK/2M6CDDLui9NlLH ryGvgGNqpdRjbagpwXHwtOkPwk3q/V7zOpLL/sP4xFi1m1Nig//iTh+Z04kJKuBXTohB 7hV6v5k6fdlZEmrs2KkuhPQ6yM0FJIVM8hr8XqBiLlwqG0C4x19Ig/p2iAgE1abOSHR5 JW6v5hghxK35xlJF2LD357DszVoyzygqrCqCbNU09YjJesyh0wrn1iJ4w/5l9pmcbTjv PAfg== X-Gm-Message-State: AOJu0YwK7Ck7kk0ZF+EawoOEMbXUV3YYlteGJxPxEOZq3Xs/e3rc77IL jfTDyo7mxfHC2z8+zy/Rbi2/siMQp4oAOftvQwb3bsWP86RAIdAed4RhcZjP X-Google-Smtp-Source: AGHT+IHKdod+CP3JQJYMg99oZx2T/a1DbPLvGLqykNb85PZrf0KQ0Xfy/VoXd9J1c4lGUBiWBhNfhA== X-Received: by 2002:a05:6512:ea0:b0:52c:dba2:4f1 with SMTP id 2adb3069b0e04-5331c6dbaccmr6484221e87.48.1723989564080; Sun, 18 Aug 2024 06:59:24 -0700 (PDT) Received: from elephant.. ([5.164.221.128]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5330d3b8f30sm1251197e87.76.2024.08.18.06.59.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2024 06:59:23 -0700 (PDT) From: "Artyom V. Poptsov" Date: Sun, 18 Aug 2024 16:59:17 +0300 Message-ID: <3e61aca04c050690eea07ff2e1603aa13cfae821.1723989557.git.poptsov.artyom@gmail.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::12c; envelope-from=poptsov.artyom@gmail.com; helo=mail-lf1-x12c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/guile-xyz.scm (guile-qr-code): New variable. Change-Id: I8891a1ee442040a4f04183fca7bc1eca6a4fc951 --- gnu/packages/guile-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) base-commit: 71f0676a295841e2cc662eec0d3e9b7e69726035 diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 0759c399c3..d3cd094f82 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -5793,6 +5793,41 @@ (define-public guile-cbor (home-page "https://inqlab.net/git/guile-cbor.git") (license license:gpl3+))) +(define-public guile-qr-code + (package + (name "guile-qr-code") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/artyom-poptsov/guile-qr-code") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pbsnkz8pw1x8n9mjq8rm37wmalzbcz98gk8mcfycyd896qdmf4w")))) + (build-system gnu-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (delete 'strip)))) + (native-inputs (list autoconf + automake + pkg-config + texinfo + ;; needed when cross-compiling. + guile-3.0 + guile-lib + guile-png)) + (inputs (list bash-minimal guile-3.0 guile-lib guile-png)) + (synopsis "Guile QR Code library") + (description + "GNU Guile QR code generator that can create QR codes from text and binary data. +The resulting QR codes can be rendered to ASCII art strings or to PNG images (using +@url{https://github.com/artyom-poptsov/guile-png, Guile-PNG} API.)") + (home-page "https://github.com/artyom-poptsov/guile-qr-code") + (license (list license:gpl3+ license:expat)))) + (define-public guile-quickcheck (package (name "guile-quickcheck")