unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#47403] gnu: Add hikari
@ 2021-03-26  6:28 qblade via Guix-patches via
  2021-03-26 13:47 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: qblade via Guix-patches via @ 2021-03-26  6:28 UTC (permalink / raw)
  To: 47403

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Empty Message

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-hikari.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-hikari.patch, Size: 2530 bytes --]

From 81b755f0e44cdf86a7e2af83f07939dc2d1376f2 Mon Sep 17 00:00:00 2001
From: qblade <qblade@protonmail.com>
Date: Fri, 26 Mar 2021 01:33:42 +0000
Subject: [PATCH] gnu: Add hikari.

* gnu/packages/wm.scm (hikari): New variable.
---
 gnu/packages/wm.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3d85392394..a637bce602 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2400,3 +2400,55 @@ for wayland conceptually based on the X11 window manager
      (description "libucl implements a configuration language that is easy to
 read and write, and compatible with JSON.")
     (license license:bsd-2)))
+
+(define-public hikari
+  (package
+    (name "hikari")
+    (version "2.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hikari.acmelabs.space/releases/hikari-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "1qsd1qb4bn24jh5658gxmfg6hk9p7g235gsbvnjrbfdjqsv8r6yz"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("bmake" ,bmake)
+       ("pkg-config" ,pkg-config)
+       ("wayland-protocols" ,wayland-protocols)))
+    (inputs
+     `(("wayland" ,wayland)
+       ("wlroots" ,wlroots)
+       ("libinput" ,libinput)
+       ("cairo" ,cairo)
+       ("pango" ,pango)
+       ("libxkbcommon" ,libxkbcommon)
+       ("libucl" ,libucl)
+       ("pam" ,linux-pam)))
+    (arguments
+     `(#:tests? #f ; no tests
+       #:make-flags
+       (list
+        (string-append "PREFIX=" (assoc-ref %outputs "out"))
+        (string-append "CC=" ,(cc-for-target))
+        "WITH_XWAYLAND=YES"
+        "WITH_SCREENCOPY=YES"
+        "WITH_LAYERSHELL=YES"
+        "WITH_VIRTUAL_INPUT=YES")
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda* (#:key inputs outputs make-flags #:allow-other-keys)
+             (apply invoke "bmake" make-flags)))
+         (replace 'install
+           (lambda* (#:key inputs outputs make-flags #:allow-other-keys)
+             (apply invoke "bmake" "install" make-flags))))))
+    (home-page "https://hikari.acmelabs.space/")
+    (synopsis "Stacking Wayland compositor with additional tiling capabilities")
+    (description "Stacking Wayland compositor with additional tiling
+capabilities, it is heavily inspired by the Calm Window manager(cwm)")
+    (license license:bsd-2)))
-- 
2.31.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#47403] gnu: Add hikari
  2021-03-26  6:28 [bug#47403] gnu: Add hikari qblade via Guix-patches via
@ 2021-03-26 13:47 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-03-26 13:47 UTC (permalink / raw)
  To: 47403; +Cc: qblade, 47403-done

Hello,

qblade via Guix-patches via <guix-patches@gnu.org> writes:

> Subject: [PATCH] gnu: Add hikari.
>
> * gnu/packages/wm.scm (hikari): New variable.

Thank you. I applied your patch with the changes below.

> +    (inputs
> +     `(("wayland" ,wayland)
> +       ("wlroots" ,wlroots)
> +       ("libinput" ,libinput)
> +       ("cairo" ,cairo)
> +       ("pango" ,pango)
> +       ("libxkbcommon" ,libxkbcommon)
> +       ("libucl" ,libucl)
> +       ("pam" ,linux-pam)))

I sorted inputs alphabetically.

> +    (synopsis "Stacking Wayland compositor with additional tiling capabilities")

I slightly shortened the synopsis.

> +    (description "Stacking Wayland compositor with additional tiling
> +capabilities, it is heavily inspired by the Calm Window
> manager(cwm)")

I turned the description into full setences.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-26 13:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26  6:28 [bug#47403] gnu: Add hikari qblade via Guix-patches via
2021-03-26 13:47 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).