From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0Iw+LRlJRGdpWQAAqHPOHw:P1 (envelope-from ) for ; Mon, 25 Nov 2024 09:53:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 0Iw+LRlJRGdpWQAAqHPOHw (envelope-from ) for ; Mon, 25 Nov 2024 10:53:29 +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=t0fIjRr9; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=McwmW3wk; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732528409; a=rsa-sha256; cv=none; b=XCh3+aOfgYinWF7R317SuH8dTxu6zClHwQye9BgyvHvf20hCm0qpvERyS8XzxtrhSddydW Hle3zyZjZgWHQVI5agEt0piyveHRBDUTBVYD9wdHitKf81iC5qhHq+wnZ/96BBE5NUCASK xsQbXpQwc9CBuOwAfarFwhMrhpKPoIgC02J7rlNoEFQSU/ccq1nxavoxLK1oKdsU9YjYE9 chDxKqbpwjAGx56vYZyOqaNy8C9SZtHa5z3tkuhzdQtdC83Qa3yXy4yskExJts37Dzprqd YmQOABgv+wxZB5SjETJ6XrxiA9vG4qHCsbjOKK/pOnHSng/B1zOfwCli5/sw2w== 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=t0fIjRr9; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=McwmW3wk; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732528409; 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=ZPW7MNkO/MKXPKNqu9HfQ0DKd9mY6P5eMELrk2TZllY=; b=kUz1gKG7mChVtUo1+K7vws9MV7JAAKzUd0y4sLXe0t+3R2G7FEe3BAr3VxwQxLI5eS/pGu HlqB/f0/hbG0qPbc+nf6p6mRfTQ/+XWpFpI+9dWCW2Wi5BMK2anvAM+6+ysAgBPDq1xYm2 C4CQMLr7iQzilE83dZ9ER3PSALNJvBZ7Jlt9fDACmq1exnjPaNrlJaa83hxs8msfsbsnWS eZ0e6PzfvoiMypEWRNRnBnlG3LxBAS1+2F3Y2L+1wxOu/VJ0fRAB1YiVb/5e9h2gNEyCfO +QED7LMvW2PMR2zq0lpw3Ga/8eaAtqDYVIFYuFn0BK+X/Qb+3ik0LYfSnI3luA== 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 43C9483CCB for ; Mon, 25 Nov 2024 10:53:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFVmD-0000fN-Mp; Mon, 25 Nov 2024 04:53:05 -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 1tFVmB-0000ea-Sa for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:03 -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 1tFVmB-0006Gj-Jx for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:03 -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=ZPW7MNkO/MKXPKNqu9HfQ0DKd9mY6P5eMELrk2TZllY=; b=t0fIjRr988E3T1UGnRphMQt/17+6C2bd1MDK8Qft4JMOui2tYFkMty87JnLlfTqhLI7re3nyovUPlHjpM6d5oh73bY5ealzVZqWonCl65V6FLM3zn+yRf/YEbkbfPoBExcmz13L+qmYOfbTpE+hhX5Q7+Kb4ww9hC8zsmIHxCwf+cefXLGcOFpFgIfgtrs4e8jTiyiKRkSo3pLVtq3zNmPUhHvkEFlFdNfKPoT+8PlQe2M6seIEc8am7ud6FCYc+46FQgeZOkGaNlf3P2LK3d1nmApfF5/Q/jan/amJbg9xd0HZk1/RdN5a7nBHFV4v+Ki7/vsY1TgQjOFkNkbCT2Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFVmB-0006PW-Dh for guix-patches@gnu.org; Mon, 25 Nov 2024 04:53:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74517] [PATCH v3 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: Mon, 25 Nov 2024 09:53: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: Nicolas Graves , maxim.cournoyer@gmail.com Received: via spool by 74517-submit@debbugs.gnu.org id=B74517.173252838224621 (code B ref 74517); Mon, 25 Nov 2024 09:53:03 +0000 Received: (at 74517) by debbugs.gnu.org; 25 Nov 2024 09:53:02 +0000 Received: from localhost ([127.0.0.1]:37966 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFVm9-0006Oj-Cp for submit@debbugs.gnu.org; Mon, 25 Nov 2024 04:53:02 -0500 Received: from 8.mo583.mail-out.ovh.net ([178.32.116.78]:49829) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFVm5-0006O7-1r for 74517@debbugs.gnu.org; Mon, 25 Nov 2024 04:52:58 -0500 Received: from director6.ghost.mail-out.ovh.net (unknown [10.109.140.39]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XxgxM4xdCz1PWK for <74517@debbugs.gnu.org>; Mon, 25 Nov 2024 09:52:55 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-4wwns (unknown [10.110.164.236]) by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4168A1FEC1; Mon, 25 Nov 2024 09:52:55 +0000 (UTC) Received: from ngraves.fr ([37.59.142.98]) by ghost-submission-5b5ff79f4f-4wwns with ESMTPSA id FIpzA/dIRGdXBgAAzZLG7Q (envelope-from ); Mon, 25 Nov 2024 09:52:55 +0000 X-OVh-ClientIp: 89.85.241.131 Date: Mon, 25 Nov 2024 10:52:36 +0100 Message-ID: <20241125095249.19053-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241125095249.19053-1-ngraves@ngraves.fr> References: <20241125095249.19053-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 5257671092980409058 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrgeehgddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdelleegfeefteelkeeugedvhfetvdeuffeihfektdeljeekudevlefgudefudelnecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgedurddufedupdefjedrheelrddugedvrdelkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeeghedujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=ZPW7MNkO/MKXPKNqu9HfQ0DKd9mY6P5eMELrk2TZllY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1732528375; v=1; b=McwmW3wkaNEYdbT32V/NeiNnqTwjMtXtwJz42dwFFymy6zvwiSLhqBar/jKFuTLumeu576WI 07zZiGiY96hGqguxZVAkq7L4kDIuU9OV3jmZmdQN6AiYyqOrPCf/UkNE/5BJjAsvNuhBDhAIhSq xwGzPqwD/gMKPuOvBdOW/dBa/RCZmu5EcTWx+zcnTj77wA70htZONFqfkR12Sf77IAFrtQdw8lo aEq6YsEhE88slH2yAjNYvGzeWeQXl0sOWrFPTQu1W2QHtVbsU7auWqApey4bWf5W+guILXKaXwv TxFzPjcfEZd70Lv5pH0xw2uEgtCdcmjXxxNybZIEUUOgA== 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-Queue-Id: 43C9483CCB X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.58 X-Spam-Score: -3.58 X-TUID: L168vMHpzA/v * 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.46.0