Subject: Re: [bug#74708] [PATCH v2] gnu: add wideriver.
From: Zheng Junjie <[email-masked]>
To: Hikari via Guix-patches via <[email-masked]>
Cc: Hikari <[email-masked]>, [email-masked]
Date: Mon, 27 Jan 2025 20:24:46 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

Hikari via Guix-patches via <[email-masked]> writes:

> Change-Id: Iab2a6bd8bd02098105848d240af0271df44b58bf
> ---
>  gnu/packages/wm.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 2ab6f88cd5..4e90a94792 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -3949,6 +3949,37 @@ (define-public yambar-wayland
>  battery efficient---polling is only done when absolutely necessary.")
>      (license license:expat)))
>  
> +(define-public wideriver
> +  (package
> +    (name "wideriver")
> +    (version "1.2.0")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/alex-courtis/wideriver")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "16i0mzgxn32nrh5ajn0kb4xdwmsjg03amhasxhwyvspar5y4flhg"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     (list
> +      #:tests? #f

use      #:test-target "test" to enable tests.

> +      #:make-flags #~(list (string-append "PREFIX="
> +                                          #$output)
> +                           (string-append "CC="
> +                                          #$(cc-for-target)))
> +      #:phases #~(modify-phases %standard-phases
> +                   (delete 'configure))))

add ; no configure script

> +    (native-inputs (list pkg-config))

add cmocka

> +    (inputs (list wayland wayland-protocols wlroots))
> +    (home-page "https://github.com/alex-courtis/wideriver")
> +    (synopsis "A set of riverWM layouts")
> +    (description
> +     "Tiling window manager for the river wayland compositor, inspired by dwm and xmonad.")

Wrap lines to avoid being too long

> +    (license license:gpl3)))
> +
>  (define-public wf-config
>    (package
>      (name "wf-config")
>
> base-commit: d75d1fe6ac7ded7e61322d18b07d347beb609aa0
and pushed, closing.