unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59039] [PATCH] gnu: Add fuzzel.
@ 2022-11-05  3:44 kiasoc5 via Guix-patches via
  2022-11-13  0:38 ` kiasoc5 via Guix-patches via
  2022-11-15 10:55 ` bug#59039: " Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: kiasoc5 via Guix-patches via @ 2022-11-05  3:44 UTC (permalink / raw)
  To: 59039; +Cc: kiasoc5

This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.

* gnu/packages/xdisorg.scm (fuzzel): New variable.
---
 gnu/packages/xdisorg.scm | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 8e70050850..8c33b70fcb 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2919,6 +2919,46 @@ (define-public j4-dmenu-desktop
     (home-page "https://github.com/enkore/j4-dmenu-desktop")
     (license license:gpl3+)))
 
+(define-public fuzzel
+  (package
+    (name "fuzzel")
+    (version "1.8.2")
+    (home-page "https://codeberg.org/dnkl/fuzzel")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference (url home-page) (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1d6xy4q5s8p5ckvd9wy3zzj9gh7nh9v1qhn3938b1wfhfzjdzrg6"))))
+    (build-system meson-build-system)
+    (arguments
+     (list
+      #:build-type "release"
+      #:configure-flags
+      #~(list "-Denable-cairo=enabled"
+              "-Dpng-backend=libpng"
+              "-Dsvg-backend=librsvg")))
+    (native-inputs
+     (list pkg-config scdoc tllist))
+    (inputs
+     (list cairo
+           fcft
+           fontconfig
+           libpng
+           libxkbcommon
+           librsvg ;; if librsvg is not used, bundled nanosvg is used
+           pixman
+           wayland
+           wayland-protocols))
+    (synopsis "Wayland-native application launcher")
+    (description
+     "@command{foot} is a Wayland-native application launcher, similar to
+rofi's drun mode.  It has Emacs key bindings and remembers frequently launched
+applications.  The font and colors can be configured.")
+    (license (list license:expat    ;; fuzzel
+                   license:zlib)))) ;; bundled nanosvg
+
 (define-public wofi
   (package
     (name "wofi")

base-commit: a65cd830084b20f95d39f565ea5cd0da8e8b09ad
-- 
2.38.0





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

end of thread, other threads:[~2022-11-15 10:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-05  3:44 [bug#59039] [PATCH] gnu: Add fuzzel kiasoc5 via Guix-patches via
2022-11-13  0:38 ` kiasoc5 via Guix-patches via
2022-11-15 10:53   ` Ludovic Courtès
2022-11-15 10:55 ` bug#59039: " Ludovic Courtès

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).