From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UEZAH0NHRGfl7QAAe85BDQ:P1 (envelope-from ) for ; Mon, 25 Nov 2024 09:45:39 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UEZAH0NHRGfl7QAAe85BDQ (envelope-from ) for ; Mon, 25 Nov 2024 10:45:39 +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=pw2Mp1S5; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=3udPo11s; 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=1732527939; a=rsa-sha256; cv=none; b=EUtbRbaYGW8kfAUesCkOy7ZysXHHcprBF5uFY35CbRa9i4v/xOneOpgl7qeUTLVreUooNB 161NZhTtntlbnXksAwhC6hU0+Z4073iPzl9nWGocKQLGQjjG+yJSBA01ACbsr7JrAOktSp xZc8+bU5hrqQAt15u0N2ux+7XpJmORZb7WZYTK0kjIZRfTnI3oE9BiWkh1ykBrHVv5Yb95 j6pLiqluA+GfI+qC+JPQEmyy3gQTrvGlTV6c8W+45MMP+K0RdJmwX+SsrB7bdfygrxNn6t +cHBBUDPWHQSONQuWunAlfVGompfNsxHydNaTKptJurTt+NPRXUn68miEcblJw== 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=pw2Mp1S5; dkim=fail ("headers rsa verify failed") header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=3udPo11s; 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=1732527939; 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=blSHAv3l5lkjp7w3YTDmKEfpMaDftfMO8IdCBEscwY7a2o4HF9Djf1/uq4n3Mw55hPN6xt VM2xK2+k1LE5k3hF8WiI/+s3Qgt5swKhsQGu12vMuw/akg4Y3uA3RicJOu+u1UZBgdtI3e +qMVNQe0aeWFzhwf2yc+4NEHPt+tob/1tD4UBpWVXg7j7DXgI3Xg4HrmWMZXeI6ldMz01+ NLW/2ddrEm73I9C85Qe2LdRgweo5RmsQTjGhdHIqjzww0dMl1cX7aat7E9iKJIKbLxIO/G sYYP6TaZk3xB+xNG6zzRTwtLCV8MG0RzZwKJM77KXhYJmbsa7r5qyCo5N+7DYQ== 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 ACB0E877ED for ; Mon, 25 Nov 2024 10:45:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFVeV-0006mI-J3; Mon, 25 Nov 2024 04:45:07 -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 1tFVeR-0006iw-QN for guix-patches@gnu.org; Mon, 25 Nov 2024 04:45:05 -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 1tFVeR-00053V-HN for guix-patches@gnu.org; Mon, 25 Nov 2024 04:45: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=pw2Mp1S5G4zu9yt1cqyg9KcR3AbSO0RP1XAmVb3bLcr9zLMkS+imUGZ2QOxZddMpZ1nA+FEBuY3HJoTag/5qRXQY73cGDvZo1DskrrnZF6KilQchovDoCMFYWCK3vu/yEy8LPg6dzHbhTl7HQyZzIAqUPLgzFmGX9FijQSZyE59nncPZSZ5cb8+H7TkU/XHBFwwWJtLPrki9Hj0S/fr0kGxAl5KRHmz3pzmaYMlH01JdmV6TUdPeuuzvbbBm/U4P1e6GMprPtRJDayKl/fQSeChyN2Kc3It/e5RO/aRRrBMhNmgP3svyoHpkxftrVVKGg4mn2osGtRvpYriC3g701w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFVeR-0005zn-97 for guix-patches@gnu.org; Mon, 25 Nov 2024 04:45:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74517] [PATCH v2 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:45: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 Received: via spool by 74517-submit@debbugs.gnu.org id=B74517.173252786522876 (code B ref 74517); Mon, 25 Nov 2024 09:45:03 +0000 Received: (at 74517) by debbugs.gnu.org; 25 Nov 2024 09:44:25 +0000 Received: from localhost ([127.0.0.1]:37908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFVdo-0005wt-DT for submit@debbugs.gnu.org; Mon, 25 Nov 2024 04:44:24 -0500 Received: from 18.mo550.mail-out.ovh.net ([46.105.35.72]:52019) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFVdf-0005w5-Am for 74517@debbugs.gnu.org; Mon, 25 Nov 2024 04:44:17 -0500 Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.2.201]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XxglK2YsXz1T1s for <74517@debbugs.gnu.org>; Mon, 25 Nov 2024 09:44:13 +0000 (UTC) Received: from ghost-submission-5b5ff79f4f-wgk65 (unknown [10.110.168.167]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C97E91FEBC; Mon, 25 Nov 2024 09:44:12 +0000 (UTC) Received: from ngraves.fr ([37.59.142.105]) by ghost-submission-5b5ff79f4f-wgk65 with ESMTPSA id +P7/KOxGRGenVgAAPtgMaw (envelope-from ); Mon, 25 Nov 2024 09:44:12 +0000 X-OVh-ClientIp: 89.85.241.131 Date: Mon, 25 Nov 2024 10:43:52 +0100 Message-ID: <20241125094407.6865-3-ngraves@ngraves.fr> X-Mailer: git-send-email 2.46.0 In-Reply-To: <20241125094407.6865-1-ngraves@ngraves.fr> References: <20241125094407.6865-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 5110741153800250082 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrgeehgddtiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdelleegfeefteelkeeugedvhfetvdeuffeihfektdeljeekudevlefgudefudelnecukfhppeduvdejrddtrddtrddupdekledrkeehrddvgedurddufedupdefjedrheelrddugedvrddutdehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejgeehudejseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtmgdpmhhouggvpehsmhhtphhouhht DKIM-Signature: a=rsa-sha256; bh=ZPW7MNkO/MKXPKNqu9HfQ0DKd9mY6P5eMELrk2TZllY=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1732527853; v=1; b=3udPo11sslZ5JOwFvERVg1do7CsaZvNWtlbQobkw9/I936BcHyITEqFIFv2wuMIDv80WYsyZ ArsLJEh8FA0HjbyaA2LmLqtVwnxx6R/dvdrlGiAVKLVeZ9OKPYd8UjJBmeJDP/iUcDNttEakUlU 8L7eMcNaQcu2bz8/FJfmEc3S87VVVa6EKPVwB/HKWbtPDLhK1bh805qrNPpUMNW9R6nO/FFjLJG JmpnzL5kWPAJWL897O+yofTkXRNte3vLeMV5xwUBxiDa7xRL6m6HZ8r5IbAeynDk3RIwvQAR3C+ dbxDO7TjeereJNDmgZpM1CyEKqtsvjoh5jnmfiFofiFtA== 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -6.58 X-Spam-Score: -6.58 X-Migadu-Queue-Id: ACB0E877ED X-Migadu-Scanner: mx10.migadu.com X-TUID: 8oS3mbwx0n/U * 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