GNU bug report logs - #59039
[PATCH] gnu: Add fuzzel.

Previous Next

Package: guix-patches;

Reported by: kiasoc5 <kiasoc5 <at> disroot.org>

Date: Sat, 5 Nov 2022 03:47:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 59039 in the body.
You can then email your comments to 59039 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#59039; Package guix-patches. (Sat, 05 Nov 2022 03:47:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to kiasoc5 <kiasoc5 <at> disroot.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 05 Nov 2022 03:47:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kiasoc5 <kiasoc5 <at> disroot.org>
To: guix-patches <at> gnu.org
Cc: kiasoc5 <kiasoc5 <at> disroot.org>
Subject: [PATCH] gnu: Add fuzzel.
Date: Fri,  4 Nov 2022 23:44:39 -0400
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





Information forwarded to guix-patches <at> gnu.org:
bug#59039; Package guix-patches. (Sun, 13 Nov 2022 00:39:02 GMT) Full text and rfc822 format available.

Message #8 received at 59039 <at> debbugs.gnu.org (full text, mbox):

From: kiasoc5 <kiasoc5 <at> disroot.org>
To: 59039 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add fuzzel.
Date: Sat, 12 Nov 2022 19:38:24 -0500
On 11/4/22 23:44, kiasoc5 wrote:
> This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.
It turns out some other projects by dnkl in Guix (such as fnott) do not 
unbundle nanosvg.

In that case it may be better to use the bundled nanosvg for fuzzel too.

WDYT?




Information forwarded to guix-patches <at> gnu.org:
bug#59039; Package guix-patches. (Tue, 15 Nov 2022 10:54:01 GMT) Full text and rfc822 format available.

Message #11 received at 59039 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: kiasoc5 <kiasoc5 <at> disroot.org>
Cc: 59039 <at> debbugs.gnu.org
Subject: Re: bug#59039: [PATCH] gnu: Add fuzzel.
Date: Tue, 15 Nov 2022 11:53:17 +0100
Hi,

kiasoc5 <kiasoc5 <at> disroot.org> skribis:

> On 11/4/22 23:44, kiasoc5 wrote:
>> This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.
> It turns out some other projects by dnkl in Guix (such as fnott) do
> not unbundle nanosvg.
>
> In that case it may be better to use the bundled nanosvg for fuzzel too.

Unless it causes technical problems, for instance because the bundled
version is patched and somewhat specific, the policy in Guix is to
always unbundle.

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Tue, 15 Nov 2022 10:56:01 GMT) Full text and rfc822 format available.

Notification sent to kiasoc5 <kiasoc5 <at> disroot.org>:
bug acknowledged by developer. (Tue, 15 Nov 2022 10:56:01 GMT) Full text and rfc822 format available.

Message #16 received at 59039-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: kiasoc5 <kiasoc5 <at> disroot.org>
Cc: 59039-done <at> debbugs.gnu.org
Subject: Re: bug#59039: [PATCH] gnu: Add fuzzel.
Date: Tue, 15 Nov 2022 11:55:32 +0100
Hi,

kiasoc5 <kiasoc5 <at> disroot.org> skribis:

> This patch avoids building fuzzel with bundled nanosvg and uses librsvg instead.
>
> * gnu/packages/xdisorg.scm (fuzzel): New variable.

Passed through ‘guix style’ and applied.

At some point we should prolly move Wayland things to their own file;
I don’t see how we ended up putting it all in xdisorg.scm.  :-)

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 13 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.