all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Feng Shu <tumashu@163.com>
To: 61331@debbugs.gnu.org
Subject: [bug#61331] Update cagebreak too.
Date: Thu, 09 Feb 2023 10:20:08 +0800	[thread overview]
Message-ID: <87a61na8br.fsf@163.com> (raw)
In-Reply-To: <20230206231710.sh5pmgknkoulasvo@blackbox>

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


The below is a update version of cagebreak 2.0.1 patch


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-cagebreak-Update-to-2.0.1.patch --]
[-- Type: text/x-diff, Size: 2995 bytes --]

From 5bf4be15d210a87270b6750ba840e2bb21bfa378 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Tue, 7 Feb 2023 11:06:06 +0800
Subject: [PATCH 1/3] gnu: cagebreak: Update to 2.0.1.

* gnu/packages/wm.scm (cagebreak): Update to 2.0.1.
---
 gnu/packages/wm.scm | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3cfe7b9707..8ed6642498 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -145,6 +145,7 @@
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages suckless)
   #:use-module (gnu packages texinfo)
+  #:use-module (gnu packages terminals)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages time)
   #:use-module (gnu packages video)
@@ -2680,7 +2681,7 @@ shows a notification for the user on the screen.")
 (define-public cagebreak
   (package
     (name "cagebreak")
-    (version "1.8.0")
+    (version "2.0.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2689,13 +2690,28 @@ shows a notification for the user on the screen.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0296mnzk7qd0zvnhw716jvpp7madjsar373ixx4qcff0m0jwfrxm"))))
+                "0fxfmxl7p63l07lqb83q5lx16hm0rixcidghx00gp08x2yrgr4x9"))))
     (build-system meson-build-system)
-    (arguments '(#:configure-flags '("-Dxwayland=true")))
+    (arguments
+     (list
+      #:configure-flags #~'("-Dxwayland=true")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'patch-config-example
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "examples/config"
+                ;; Using a terminal support wayland seem to a good idea.
+                (("xterm") (search-input-file inputs "/bin/foot"))
+                ;; Guix include icecat instead of firefox.
+                (("firefox") "icecat"))))
+          (add-after 'unpack 'patch-source-paths
+            (lambda _
+              (substitute* '("cagebreak.c" "meson.build")
+                (("/etc/xdg") (string-append #$output "/etc/xdg"))))))))
     (native-inputs
      (list pandoc pkg-config))
     (inputs
-     (list libevdev pango wlroots))
+     (list foot libevdev pango wlroots))
     (home-page "https://github.com/project-repo/cagebreak")
     (synopsis "Tiling wayland compositor inspired by ratpoison")
     (description
@@ -2724,7 +2740,7 @@ for wayland conceptually based on the X11 window manager
      `(#:tests? #f)) ;; no tests
     (home-page "https://github.com/vstakhov/libucl")
     (synopsis "Universal configuration language (UCL) parser")
-     (description "libucl implements a configuration language that is easy to
+    (description "libucl implements a configuration language that is easy to
 read and write, and compatible with JSON.")
     (license license:bsd-2)))
 
-- 
2.30.2


[-- Attachment #3: Type: text/plain, Size: 7 bytes --]




-- 

  parent reply	other threads:[~2023-02-09  2:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
2023-02-06 23:21 ` [bug#61331] [PATCH core-updates] Update wayland, ..., sway Gabriel Wicki
2023-02-06 23:22 ` [bug#61331] (no subject) Gabriel Wicki
2023-02-06 23:26 ` [bug#61331] [PATCH 3/6] gnu: Update wlroots to 0.16.1 Gabriel Wicki
2023-02-06 23:26 ` [bug#61331] [PATCH 4/6] gnu: Update wayland-protocols-next to 1.31 Gabriel Wicki
2023-02-06 23:27 ` [bug#61331] [PATCH 5/6] gnu: Update libinput to 1.22.1 Gabriel Wicki
2023-02-06 23:29 ` [bug#61331] [PATCH 6/6] gnu: Update sway to 1.8 Gabriel Wicki
2023-02-07  5:16 ` [bug#61331] need update cagebreak too Feng Shu
2023-02-09  2:20 ` Feng Shu [this message]
2023-04-06  8:58 ` [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Jonathan Brielmaier
2023-04-06  9:02 ` [bug#61331] [PATCH 1/4] gnu: Update libinput to 1.22.1 Jonathan Brielmaier
2023-04-06  9:02   ` [bug#61331] [PATCH 2/4] gnu: wlroots: Update to 0.16.1 Jonathan Brielmaier
2023-04-06  9:02   ` [bug#61331] [PATCH 3/4] gnu: sway: Update to 1.8 Jonathan Brielmaier
2023-04-06  9:02   ` [bug#61331] [PATCH 4/4] gnu: cagebreak: Update to 2.0.1 Jonathan Brielmaier
2023-04-06 11:19     ` tumashu
2023-04-07 12:25 ` bug#61331: [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Jonathan Brielmaier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a61na8br.fsf@163.com \
    --to=tumashu@163.com \
    --cc=61331@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.