Subject: Re: [bug#74517] [PATCH v3 05/10] gnu: Add zbar-minimal.

From: Maxim Cournoyer <[email-masked]>
Date: Sat, 28 Dec 2024 11:03:36 +0900

Hi,

Nicolas Graves <[email-masked]> writes:

> * gnu/packages/aidc.scm (zbar-minimal): New variable.
> ---
>  gnu/packages/aidc.scm | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/gnu/packages/aidc.scm b/gnu/packages/aidc.scm
> index cf18801aec..7add0f0a2f 100644
> --- a/gnu/packages/aidc.scm
> +++ b/gnu/packages/aidc.scm
> @@ -231,6 +231,20 @@ (define-public zbar
>      (home-page "https://github.com/mchehab/zbar")
>      (license license:lgpl2.1+)))
>  
> +(define-public zbar-minimal
> +  (package/inherit zbar
> +    (name "zbar-minimal")
> +    (build-system gnu-build-system)
> +    (arguments
> +     (substitute-keyword-arguments (package-arguments zbar)
> +       ((#:configure-flags flags)
> +        #~(cons* "--with-gtk=no" (delete "--with-gtk=auto" #$flags)))
> +       ((#:disallowed-references _)
> +        #~("qtbase" "gtk+"))))

Same comment here; it should be a list of packages; not a list of
strings, unless I've missed something.

-- 
Thanks,
Maxim