Subject: Re: bug#65654: [PATCH] gnu: dbus-cxx: Update to 2.4.0.

From: Maxim Cournoyer <[email-masked]>
Date: Fri, 01 Sep 2023 10:52:43 -0400

Hi,

[email-masked] writes:

> From: 宋文武 <[email-masked]>
>
> * gnu/packages/cpp.scm (libcppgenerate): New variable.
> ---
>  gnu/packages/cpp.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
> index 2f8cc2ce25..794a7ef98a 100644
> --- a/gnu/packages/cpp.scm
> +++ b/gnu/packages/cpp.scm
> @@ -1731,6 +1731,30 @@ (define-public libconfini
>  almost every type of file containing key/value pairs.")
>      (license license:gpl3+)))
>  
> +(define-public libcppgenerate
> +  ;; dbus-cxx requires an unreleased fix.
> +  (let ((commit "930c5503f76c877b72b9ff8546353d6f422bd010")
> +        (revision "0"))
> +    (package
> +      (name "libcppgenerate")
> +      (version (git-version "0.2" revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/rm5248/libcppgenerate")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "0csdg9b406i85aqgivjmvqjdnqbyiyjh3s0xsfsxppv7wlh7j85r"))))
> +      (build-system cmake-build-system)
> +      (arguments (list #:configure-flags #~'("-DENABLE_TESTS=ON")))

nitpick: #~(list ...) is more readable

> +      (home-page "https://github.com/rm5248/libcppgenerate")
> +      (synopsis "Generating C++ code")

I'd use "C++ code generator library for C++".

I'll install this change along the dbus-cxx update.

-- 
Thanks,
Maxim