From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cC0eKwusfWeSDwAA62LTzQ:P1 (envelope-from ) for ; Tue, 07 Jan 2025 22:34:51 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cC0eKwusfWeSDwAA62LTzQ (envelope-from ) for ; Tue, 07 Jan 2025 23:34:51 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Osy5VRoE; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=3AY3uVQx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736289290; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=jFvh+xhW4z5+0Rat1Tgaq36K5H+ucJf0HNvvQudy+u0=; b=ac43kJDx8VNaiq2lpagVFRFXF8huP9YeEkdNy5EjQUAN5Cm0S5W/3yUb99JwHaz4AwvClz cypye0bsrdyugFAZJud/dOFPF99B+exemuqjjpTS9GzDrbCQctzbXrG6cTHo8z9sk67Ig1 RGX85STI9etPDeREK79XYU/SS7lRaw0saX55wXJ//cgfsK/DJUl/b58x6zaLAg0JsVzjG/ 04R2oZ5Jq/khnwCCDmpWA03sWumZvQFqi0JvlLc7MwEegcfAkDIDrB9aQp1P07O8HHimzC OZW0MqbNnbbyB1mW1Qil9uG24QpAmJxmNubK7Rng4FaeWK1YDlJ8J6mS89kLPg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Osy5VRoE; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=3AY3uVQx; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736289290; a=rsa-sha256; cv=none; b=EnqGI6Ed9gz8toEisi6KP5zCYvbX/zIKvxCPkwxFge29YUYPtJHMfz1PVKFaw0rZeiytP4 TUQLPCA9GmUJQe1LY6fWYcN9FB9sUymRON/bXFkWMooTFiiU1kbZ+omiSOrQBL3XdR/kFz w2XysKzP3nZjcHosj9CwppIr1b3dkGw1elQHdPOckYEkMCXDLYLbnv5xapXqjDPJ/niK0W BUWzQQMotdJ8QoNDC0jv9OUdiWajmInc+hKleeTDEwrlEpWw9RXqdyjOjNA58hfXhDQXwS 1dfzrioUMIJBbI1/pvYBBOEqB8sO7fp7ZQVjSH9SqZA8BLILEmVaK4Rj97dSrw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1166863B4A for ; Tue, 07 Jan 2025 23:34:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVI9L-0006iP-38; Tue, 07 Jan 2025 17:34:11 -0500 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 1tVI9H-0006gu-2V for guix-patches@gnu.org; Tue, 07 Jan 2025 17:34:09 -0500 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 1tVI9D-0003ic-EP for guix-patches@gnu.org; Tue, 07 Jan 2025 17:34:04 -0500 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=jFvh+xhW4z5+0Rat1Tgaq36K5H+ucJf0HNvvQudy+u0=; b=Osy5VRoEPV+6mm3/joVfnOqy9LvJG0HWUmbyU4nF8u1Yenf19lqRP4gxxd68UV8yM/FzCu8P8jDs3dvpQcrtyxVrHIlCxIFzHd7D0F6gzGKqG80PqX3Mzf01qXl2Y9WXdZPSAG8EH2rl0+WeERSqiBApYPWUZnyh9doeUT577TCaWUqMup3Dtc3WZoxX7rb9dMr6jF07fWwhmL+BOjP+fv631c0leVtwQ6MwBXlVCfEufkSGVGxpd95otnyypnsE5JfYShnIxjxHVlbr3yjLFIsJcUaAt5NJ2+NyjsOYYtU57EropBYU0AM298HI5RDrnoqEgI0VsGWeYlSyyGYFzg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tVI9D-0002sD-8u for guix-patches@gnu.org; Tue, 07 Jan 2025 17:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74517] [PATCH v4 03/10] gnu: zbar: Disable static and qt build. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 07 Jan 2025 22:34:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74517 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74517@debbugs.gnu.org Cc: ludo@gnu.org, Nicolas Graves , liliana.prikler@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 74517-submit@debbugs.gnu.org id=B74517.173628923310940 (code B ref 74517); Tue, 07 Jan 2025 22:34:03 +0000 Received: (at 74517) by debbugs.gnu.org; 7 Jan 2025 22:33:53 +0000 Received: from localhost ([127.0.0.1]:45026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tVI92-0002qH-Lg for submit@debbugs.gnu.org; Tue, 07 Jan 2025 17:33:53 -0500 Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:39705) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tVI8w-0002pI-PE for 74517@debbugs.gnu.org; Tue, 07 Jan 2025 17:33:48 -0500 Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.139.47]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4YSQnN3SQ3z1YKS for <74517@debbugs.gnu.org>; Tue, 7 Jan 2025 22:33:44 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-wjsng (unknown [10.111.174.42]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1E94E1FD35; Tue, 7 Jan 2025 22:33:42 +0000 (UTC) Received: from ngraves.fr ([37.59.142.111]) by ghost-submission-5b5ff79f4f-wjsng with ESMTPSA id uBPjGsarfWdGWQAAd6L89g (envelope-from ); Tue, 07 Jan 2025 22:33:42 +0000 X-OVh-ClientIp: 90.92.117.144 Date: Tue, 7 Jan 2025 23:33:09 +0100 Message-ID: <20250107223336.4083-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250107223336.4083-1-ngraves@ngraves.fr> References: <20250107223336.4083-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 12378143578251780834 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrudegvddgudeivdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdelleegfeefteelkeeugedvhfetvdeuffeihfektdeljeekudevlefgudefudelnecukfhppeduvdejrddtrddtrddupdeltddrledvrdduudejrddugeegpdefjedrheelrddugedvrdduuddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejgeehudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=jFvh+xhW4z5+0Rat1Tgaq36K5H+ucJf0HNvvQudy+u0=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1736289224; v=1; b=3AY3uVQxwqjMCEl+2MpfnKjMPmf8olI2zqpPCm7CgSEFS24Mk5oFt7hwgQVOMDUiKKeqJZsO WkvuVBrZ1P6w8M/N4OK2s2sn04S85ME2K5IOOmQRFnak+ESfmFZbvh4JpVvjMigB7pt9ph4RB6D GCJAm4BBJRVTjBG810GL4aoDnBY1TaoTv16CTt2+2NW4v5c5lDAgx0sWQXUkl5UT04Y9qUQ9XIt KuUjtLRsT4Q89y0jPcgZx+Xu/2oyscJS95/OfT5QEVVtZeI4Vyn1K82ZYh/0VP8ju5LLF8LuvPw dSiAISsY0OElMUftzzYMApoFsfkUuntXqU25GJ6uVwzgA== 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 1.02 X-Spam-Score: 1.02 X-Migadu-Queue-Id: 1166863B4A X-TUID: mPJl0T8x9TeD * gnu/packages/aidc.scm (zbar): Disable static and qt build. [build-system]: Switch to glib-or-gtk-build-system. [arguments]<#:configure-flags>: Add --disable-static. [inputs]: Replace v4l-utils by v4l-utils-minimal. --- gnu/packages/aidc.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm index 0c1f26495b..dbbab0e22b 100644 --- a/gnu/packages/aidc.scm +++ b/gnu/packages/aidc.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2018, 2019, 2022 Tobias Geerinckx-Rice ;;; Copyright © 2019 Guillaume Le Vaillant ;;; Copyright © 2020 Leo Famulari +;;; Copyright © 2024 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -28,8 +29,10 @@ (define-module (gnu packages aidc) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix git-download) + #:use-module (guix utils) #:use-module (gnu packages autotools) #:use-module (gnu packages check) + #:use-module (gnu packages elf) #:use-module (gnu packages imagemagick) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -43,7 +46,8 @@ (define-module (gnu packages aidc) #:use-module (gnu packages qt) #:use-module (gnu packages video) #:use-module (guix build-system cmake) - #:use-module (guix build-system gnu)) + #:use-module (guix build-system gnu) + #:use-module (guix build-system glib-or-gtk)) (define-public zxing-cpp ;; Use the master branch as it includes unreleased build system improvements @@ -171,6 +175,7 @@ (define-public libdmtx C/C++ programs to use its capabilities without restrictions or overhead.") (license license:bsd-3))) +;; XXX: qt variant utils are broken: zbarcam-qt fails with segmentation fault. (define-public zbar (package (name "zbar") @@ -184,11 +189,12 @@ (define-public zbar (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "0rf3i7lx0fqzxsngird6l4d4dnl612nr32rm8sib699qqx67px8n")))) - (build-system gnu-build-system) + (base32 "0rf3i7lx0fqzxsngird6l4d4dnl612nr32rm8sib699qqx67px8n")))) + (build-system glib-or-gtk-build-system) (arguments - '(#:configure-flags (list "--with-gtk=auto" + (list + #:configure-flags '(list "--disable-static" + "--with-gtk=auto" "--with-python=auto" (string-append "--with-dbusconfdir=" (assoc-ref %outputs "out") @@ -209,10 +215,10 @@ (define-public zbar libjpeg-turbo perl python - v4l-utils)) + v4l-utils-minimal)) (propagated-inputs ;; These are in 'requires' field of .pc files. - (list glib gtk+ qtbase-5)) + (list glib gtk+)) (synopsis "Bar code reader") (description "ZBar can read barcodes from various sources, such as video streams, -- 2.47.1