guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 5eeda43d27f0729e89321f0d75ddc28f23a31c69
Author: Orahcio Felício de Sousa <[email protected]>
AuthorDate: Thu Jul 23 09:24:42 2026 -0300

    gnu: Add wayfire.
    
    * gnu/packages/window-management.scm (wayfire): New variable.
    
    Signed-off-by: Liliana Marie Prikler <[email protected]>
---
 gnu/packages/window-management.scm | 58 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)

diff --git a/gnu/packages/window-management.scm 
b/gnu/packages/window-management.scm
index 31ad547046..39056db735 100644
--- a/gnu/packages/window-management.scm
+++ b/gnu/packages/window-management.scm
@@ -120,6 +120,7 @@
   #:use-module (gnu packages bash)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages build-tools)
+  #:use-module (gnu packages c)
   #:use-module (gnu packages calendar)
   #:use-module (gnu packages check)
   #:use-module (gnu packages cmake)
@@ -3628,6 +3629,63 @@ runs block update commands concurrently, and displays 
the output of the update
 commands in the status line using swaybar-protocol.")
     (license license:gpl3+)))
 
+(define-public wayfire
+  (package
+    (name "wayfire")
+    (version "0.10.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/WayfireWM/wayfire/";)
+              (commit (string-append "v" version))
+              (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "025li38wgnlsgnlnai2287irg6xphn9l76bdjgpjxg7iqngasana"))
+       (snippet
+        #~(begin
+            (use-modules (guix build utils))
+            (delete-file-recursively "subprojects/wf-config")
+            (delete-file-recursively "subprojects/wlroots")))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'configure 'fix-shell-path
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "meson.build"
+                (("/bin/sh")
+                 (search-input-file inputs "bin/sh")))))
+          (add-after 'install 'install-config-file
+            (lambda _
+              (let ((config-dir (string-append #$output "/etc/wayfire"))
+                    (config (string-append #$source "/wayfire.ini")))
+                (install-file config config-dir)))))))
+    (native-inputs (list bash-minimal
+                         cmake-minimal
+                         pkg-config
+                         wayland))
+    (inputs (list cairo
+                  glm
+                  libevdev
+                  libjpeg-turbo
+                  libomp
+                  libpng
+                  libxml2
+                  pango
+                  wf-config
+                  wlroots-0.19
+                  yyjson))
+    (home-page "https://wayfire.org/";)
+    (synopsis "Modular and extensible wayland compositor")
+    (description
+     "Wayfire is a 3D Wayland compositor, inspired by Compiz and
+based on wlroots.  It aims to create a customizable, extendable
+and lightweight environment without sacrificing its appearance.")
+    (license license:expat)))
+
 (define-public wlr-randr
   (package
     (name "wlr-randr")

Reply via email to