From patchwork Fri May 30 18:01:01 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sughosha X-Patchwork-Id: 42954 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 B8B6427BC4A; Fri, 30 May 2025 19:02:25 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, 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 09E5927BC49 for ; Fri, 30 May 2025 19:02:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uL43Q-0000N4-G1; Fri, 30 May 2025 14:02:04 -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 1uL43P-0000MO-Bo for guix-patches@gnu.org; Fri, 30 May 2025 14:02:03 -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 1uL43P-0006bM-35 for guix-patches@gnu.org; Fri, 30 May 2025 14:02:03 -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:References:In-Reply-To:Date:From:To:Subject; bh=6zcA9DABYwwqzwHi4acXLxIglLTcof4M2/R0hXJki5c=; b=vHoB7vAam97YSSDFxbFY+GsuLJ+icoxdXF665KDFUwFlE6RecGPFCJMWmGODf3xd2zRX+XJU4lxNX8q9tQ41Vrwftgx5n3gA7rj9h4B31l/px8PPmyx2AD2qVf4ZuuaTAW+FBlUgkvD3ioWBzgfHNpCn+J4KaLiyvUkEcZZtG2VPVzMbYsVS1Ap4ulaJcquNyH93tmZDMU7K10wJOxvrqnZc0hyiXX3EWAoZozYyPOI0UH+/GYneW2jBOAeLSQOUyZ3YblfoM0lULu82COW8i23IZxSRdYCy4PIUk5q2ioWNytLtQVUzfrsgoavIcHD9FfGfhcLkdKlUiRXMS4elTA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uL43O-000090-Um for guix-patches@gnu.org; Fri, 30 May 2025 14:02:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78643] [PATCH 2/3] gnu: zxing-cpp: Update to 2.3.0. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 30 May 2025 18:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78643 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78643@debbugs.gnu.org Cc: Sughosha Received: via spool by 78643-submit@debbugs.gnu.org id=B78643.1748628111506 (code B ref 78643); Fri, 30 May 2025 18:02:02 +0000 Received: (at 78643) by debbugs.gnu.org; 30 May 2025 18:01:51 +0000 Received: from localhost ([127.0.0.1]:50474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uL43C-000083-9Z for submit@debbugs.gnu.org; Fri, 30 May 2025 14:01:50 -0400 Received: from layka.disroot.org ([178.21.23.139]:55132) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uL435-00007O-QP for 78643@debbugs.gnu.org; Fri, 30 May 2025 14:01:44 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id E986B260BE; Fri, 30 May 2025 20:01:42 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Wxgu8p7rlcKU; Fri, 30 May 2025 20:01:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1748628102; bh=q7RyePypv//8h0fJOl6KTMcRmpLbUDYXJL1nGHCxdko=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AOOS/o2N2/bbe7eaFKuF5RiwAo0d6R7YWl+uW9IRhhCMXv389ELyoQZyKuaSHmuE8 tgPglYDpMfP3v2FXy5LcK+XHGnugGzf1o3IeMqJrICha7L5YOPQVr0M9JfdbmRDyhK e2+xlVrJFE4nFcNmk3Ptar9lFKFG0/gVBXXwJnwHVbXNyiY9kAGcJVmfbB61N9eRFY xOekDBApu8cm8L5RM/sTuBb0VkQHhgKod2VlXynueX6hACyEY9hNWOeue7kFaVoFgF ywFdjJF8XcQXFCB9ecxSWkDlyGL45fE+0GKp7FSEu9S6lSCK6eV5eoJ8A08DL4l1la 8Hu5DvohQWR8g== Date: Fri, 30 May 2025 23:31:01 +0530 Message-ID: <489237b4fe7555869b45157b3583748d99f04ae8.1748627468.git.sughosha@disroot.org> In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Sughosha X-ACL-Warn: , Sughosha via Guix-patches X-Patchwork-Original-From: Sughosha via Guix-patches via From: Sughosha 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/aidc.scm (zxing-cpp): Update to 2.3.0. [arguments]<#:configure-flags>: Add "-DZXING_USE_BUNDLED_ZINT=OFF", "-DZXING_EXAMPLES=OFF" and "-DZXING_UNIT_TESTS=ON". [native-inputs]: Add pkg-config. [inputs]: Add zint. Change-Id: Ib16a05a0e629609420948120870b6a031aea5bcd --- gnu/packages/aidc.scm | 47 ++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index 9400bb2823..b4fbd2804a 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -83,29 +83,30 @@ (define-public zint (license (list license:bsd-2 license:gpl3+)))) (define-public zxing-cpp - ;; Use the master branch as it includes unreleased build system improvements - ;; allowing to use system libraries (instead of attempting to fetch them - ;; from the Internet). - (let ((revision "0") - (commit "00783db7aa3bcf8620a301854ac71c0ceaaca0c1")) - (package - (name "zxing-cpp") - (version (git-version "1.2.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/nu-book/zxing-cpp") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1yl2cpaqiv1g4nq9v0xfj1vd5faz55k4541vz6hsffvcxgn9nmc5")))) - (build-system cmake-build-system) - (native-inputs (list fmt-8 googletest)) - (synopsis "C++ port of ZXing") - (description "ZXing-CPP is a barcode scanning library.") - (home-page "https://github.com/nu-book/zxing-cpp") - (license license:asl2.0)))) + (package + (name "zxing-cpp") + (version "2.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/nu-book/zxing-cpp") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hdr73fllnsp3zpmrhw6cjla39lihwg1khgvddsf4v57a0lmiy3f")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DZXING_USE_BUNDLED_ZINT=OFF" + "-DZXING_EXAMPLES=OFF" ;requires stb + "-DZXING_UNIT_TESTS=ON"))) + (native-inputs (list fmt-8 googletest pkg-config)) + (inputs (list zint)) + (synopsis "C++ port of ZXing") + (description "ZXing-CPP is a barcode scanning library.") + (home-page "https://github.com/nu-book/zxing-cpp") + (license license:asl2.0))) ;;; This older variant is kept for gst-plugins-bad (see: ;;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1684).