all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 74517@debbugs.gnu.org
Cc: Nicolas Graves <ngraves@ngraves.fr>, maxim.cournoyer@gmail.com
Subject: [bug#74517] [PATCH v3 03/10] gnu: zbar: Disable static and qt build.
Date: Mon, 25 Nov 2024 10:52:36 +0100	[thread overview]
Message-ID: <20241125095249.19053-3-ngraves@ngraves.fr> (raw)
In-Reply-To: <20241125095249.19053-1-ngraves@ngraves.fr>

* 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 <me@tobias.gr>
 ;;; Copyright © 2019 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; 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





  parent reply	other threads:[~2024-11-25  9:53 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-24 22:09 [bug#74517] [PATCH 0/8] Remove gtk@4 input dependency on qtbase@5 Nicolas Graves via Guix-patches via
2024-11-24 22:29 ` [bug#74517] [PATCH 1/8] gnu: Add v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-24 22:29   ` [bug#74517] [PATCH 2/8] gnu: zbar: Split outputs Nicolas Graves via Guix-patches via
2024-11-25  3:04     ` Maxim Cournoyer
2024-11-25  7:42       ` Nicolas Graves via Guix-patches via
2024-11-24 22:29   ` [bug#74517] [PATCH 3/8] gnu: Add zbar-minimal Nicolas Graves via Guix-patches via
2024-11-25  3:08     ` Maxim Cournoyer
2024-11-24 22:29   ` [bug#74517] [PATCH 4/8] gnu: libde265: Remove unused qtbase-5 input Nicolas Graves via Guix-patches via
2024-11-25  3:08     ` Maxim Cournoyer
2024-11-24 22:29   ` [bug#74517] [PATCH 5/8] gnu: libde265: Update to 1.0.14 Nicolas Graves via Guix-patches via
2024-11-25  3:09     ` Maxim Cournoyer
2024-11-24 22:29   ` [bug#74517] [PATCH 6/8] gnu: libdc1394: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-24 22:29   ` [bug#74517] [PATCH 7/8] gnu: gst-plugins-bad: Replace inputs with -minimal variants Nicolas Graves via Guix-patches via
2024-11-24 22:29   ` [bug#74517] [PATCH 8/8] gnu: gst-plugins-good: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  2:54   ` [bug#74517] [PATCH 1/8] gnu: Add v4l-utils-minimal Maxim Cournoyer
2024-11-25  2:56   ` Maxim Cournoyer
2024-11-25  2:38 ` [bug#74517] [PATCH 0/8] Remove gtk@4 input dependency on qtbase@5 Maxim Cournoyer
2024-11-25  3:11 ` Maxim Cournoyer
2024-11-25  7:47   ` Nicolas Graves via Guix-patches via
2024-11-25  9:43 ` [bug#74517] [PATCH v2 01/10] gnu: Add v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 02/10] gnu: zbar: Improve style Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 03/10] gnu: zbar: Disable static and qt build Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 04/10] gnu: zbar: Update to 0.23.92 Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 05/10] gnu: Add zbar-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 06/10] gnu: libde265: Remove unused qtbase-5 input Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 07/10] gnu: libde265: Update to 1.0.14 Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 08/10] gnu: libdc1394: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 09/10] gnu: gst-plugins-bad: Replace inputs with -minimal variants Nicolas Graves via Guix-patches via
2024-11-25  9:43   ` [bug#74517] [PATCH v2 10/10] gnu: gst-plugins-good: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:52 ` [bug#74517] [PATCH v3 01/10] gnu: Add v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 02/10] gnu: zbar: Improve style Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` Nicolas Graves via Guix-patches via [this message]
2024-11-25  9:52   ` [bug#74517] [PATCH v3 04/10] gnu: zbar: Update to 0.23.92 Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 05/10] gnu: Add zbar-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 06/10] gnu: libde265: Remove unused qtbase-5 input Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 07/10] gnu: libde265: Update to 1.0.14 Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 08/10] gnu: libdc1394: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 09/10] gnu: gst-plugins-bad: Replace inputs with -minimal variants Nicolas Graves via Guix-patches via
2024-11-25  9:52   ` [bug#74517] [PATCH v3 10/10] gnu: gst-plugins-good: Replace v4l-utils by v4l-utils-minimal Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241125095249.19053-3-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=74517@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.