unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway
@ 2023-02-06 23:17 Gabriel Wicki
  2023-02-06 23:21 ` [bug#61331] [PATCH core-updates] Update wayland, ..., sway Gabriel Wicki
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:17 UTC (permalink / raw)
  To: 61331

Hello!

This is my first patch-set of this size, I hope I'm doing this right.
I wanted to update sway since it's somewhat outdated currently and have
been patching quite a bunch of stuff.

I started building the dependents of package `wayland`, but I'm not sure
whether my machine will finish any time soon.  So far 1182 of 1266
packages have successfully built (and I'm not 100% sure whether the
builds fail due to my patches).

The patch-set is based on commit 729eabc6ae8aae32584408f6bbd4526ad21e3476.

TIA for review and merging
gabber




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

* [bug#61331] [PATCH core-updates] Update wayland, ..., sway
  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 ` Gabriel Wicki
  2023-02-06 23:22 ` [bug#61331] (no subject) Gabriel Wicki
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:21 UTC (permalink / raw)
  To: 61331

From 1e06a38d5deca1982d275c00ad61531d67869423 Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 00:22:52 +0100
Subject: [PATCH 1/6] gnu: Update wayland to 1.21.0.

* gnu/packages/freedesktop.scm (wayland): Update to version 1.21.0.
---
 gnu/packages/freedesktop.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 130a7adec4..989912f38f 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1174,19 +1174,20 @@ (define-public python-pyxdg
 (define-public wayland
   (package
     (name "wayland")
-    (version "1.20.0")
+    (version "1.21.0")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://wayland.freedesktop.org/releases/"
+              (uri (string-append "https://gitlab.freedesktop.org/wayland/"
+                                  name "/-/releases/" version "/downloads/"
                                   name "-" version ".tar.xz"))
               (sha256
                (base32
-                "09c7rpbwavjg4y16mrfa57gk5ix6rnzpvlnv1wp7fnbh9hak985q"))))
+                "1b0ixya9bfw5c9jx8mzlr7yqnlyvd3jv5z8wln9scdv8q5zlvikd"))))
     (build-system meson-build-system)
     (outputs '("out" "doc"))
     (arguments
      `(#:parallel-tests? #f
-        #:phases
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-docbook-xml
            (lambda* (#:key native-inputs inputs #:allow-other-keys)
-- 
2.38.1





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

* [bug#61331] (no subject)
  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 ` Gabriel Wicki
  2023-02-06 23:26 ` [bug#61331] [PATCH 3/6] gnu: Update wlroots to 0.16.1 Gabriel Wicki
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:22 UTC (permalink / raw)
  To: 61331

From 3ce2a3f8fba900294fa186749951d457857db33e Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 00:24:09 +0100
Subject: [PATCH 2/6] gnu: Update libdrm to 2.4.114.

* gnu/packages/xdisorg.scm (libdrm): Update to version 2.4.114.
---
 gnu/packages/xdisorg.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index f6f015732d..107ac4c654 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -705,7 +705,7 @@ (define-public pixman
 (define-public libdrm
   (package
     (name "libdrm")
-    (version "2.4.107")
+    (version "2.4.114")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -713,7 +713,7 @@ (define-public libdrm
                     version ".tar.xz"))
               (sha256
                (base32
-                "127qf1rzhaf13vdd75a58v5q34617hvangjlfnlkcdh37gqcwm65"))))
+                "09nhk3jx3qzggl5vyii3yh4zm0npjqsbxhzvxrg2xla77a2cyj9h"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags
-- 
2.38.1





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

* [bug#61331] [PATCH 3/6] gnu: Update wlroots to 0.16.1.
  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 ` Gabriel Wicki
  2023-02-06 23:26 ` [bug#61331] [PATCH 4/6] gnu: Update wayland-protocols-next to 1.31 Gabriel Wicki
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:26 UTC (permalink / raw)
  To: 61331

From 736f047384082f4eaa1ed1414ec3e0595ec19816 Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 00:27:20 +0100
Subject: [PATCH 3/6] gnu: Update wlroots to 0.16.1.

* gnu/packages/wm.scm (wlroots): Update to version 0.16.1.
---
 gnu/packages/wm.scm | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index a860ed1f93..8f812bc14b 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -101,6 +101,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages build-tools)
   #:use-module (gnu packages calendar)
   #:use-module (gnu packages check)
+  #:use-module (gnu packages cmake)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
@@ -130,6 +131,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mpd)
   #:use-module (gnu packages pcre)
+  #:use-module (gnu packages pciutils)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages pretty-print)
@@ -146,6 +148,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages textutils)
   #:use-module (gnu packages time)
   #:use-module (gnu packages video)
+  #:use-module (gnu packages vulkan)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
@@ -1538,16 +1541,16 @@ (define-public polybar
 (define-public wlroots
   (package
     (name "wlroots")
-    (version "0.14.1")
+    (version "0.16.1")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/swaywm/wlroots")
+             (url "https://gitlab.freedesktop.org/wlroots/wlroots.git")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1sshp3lvlkl1i670kxhwsb4xzxl8raz6769kqvgmxzcb63ns9ay1"))))
+        (base32 "11kcica9waj1a1xgbi12gif9z5z0b4xzycbcgawbgdmj77pws8sk"))))
     (build-system meson-build-system)
     (arguments
      `(#:phases
@@ -1558,7 +1561,16 @@ (define-public wlroots
                (("Xwayland") (string-append (assoc-ref inputs
                                                        "xorg-server-xwayland")
                                             "/bin/Xwayland")))
+             #t))
+         (add-before 'configure 'fix-meson-file
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "backend/drm/meson.build"
+               (("/usr/share/hwdata/pnp.ids")
+                (string-append (assoc-ref inputs "hwdata")
+                               "/share/hwdata/pnp.ids")))
              #t)))))
+    (inputs (list cmake
+                  `(,hwdata "pnp")))
     (propagated-inputs
      (list ;; As required by wlroots.pc.
            eudev
@@ -1567,8 +1579,9 @@ (define-public wlroots
            mesa
            pixman
            libseat
+           vulkan-headers
            wayland
-           wayland-protocols
+           wayland-protocols-next
            xcb-util-errors
            xcb-util-wm
            xorg-server-xwayland))
-- 
2.38.1





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

* [bug#61331] [PATCH 4/6] gnu: Update wayland-protocols-next to 1.31.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (2 preceding siblings ...)
  2023-02-06 23:26 ` [bug#61331] [PATCH 3/6] gnu: Update wlroots to 0.16.1 Gabriel Wicki
@ 2023-02-06 23:26 ` Gabriel Wicki
  2023-02-06 23:27 ` [bug#61331] [PATCH 5/6] gnu: Update libinput to 1.22.1 Gabriel Wicki
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:26 UTC (permalink / raw)
  To: 61331

From fdb4d5d1e463da5c26688f448dd3da56090b9593 Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 00:56:38 +0100
Subject: [PATCH 4/6] gnu: Update wayland-protocols-next to 1.31.

* gnu/packages/freedesktop.scm (wayland-protocols-next): Update to version 1.31.
---
 gnu/packages/freedesktop.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 989912f38f..5c8f079872 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1272,15 +1272,15 @@ (define-public wayland-protocols-next
   (package
     (inherit wayland-protocols)
     (name "wayland-protocols")
-    (version "1.26")
+    (version "1.31")
     (source (origin
               (method url-fetch)
-              (uri (string-append
-                    "https://wayland.freedesktop.org/releases/"
-                    "wayland-protocols-" version ".tar.xz"))
+              (uri (string-append "https://gitlab.freedesktop.org/wayland/"
+                                  name "/-/releases/" version
+                                  "/downloads/" name "-" version ".tar.xz"))
               (sha256
                (base32
-                "04vgllmpmrv14x3x64ns01vgwx4hriljayjkz9idgbv83i63hly5"))))))
+                "0f72359fzvh6jzri4fd79m34rwm2r55p2ryq4306wrw7xliafzx0"))))))
 
 (define-public wayland-utils
   (package
-- 
2.38.1





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

* [bug#61331] [PATCH 5/6] gnu: Update libinput to 1.22.1.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (3 preceding siblings ...)
  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 ` Gabriel Wicki
  2023-02-06 23:29 ` [bug#61331] [PATCH 6/6] gnu: Update sway to 1.8 Gabriel Wicki
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:27 UTC (permalink / raw)
  To: 61331

From 4daaffccca2ba1e89592b7302a6e9c9c92428fcc Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 01:06:50 +0100
Subject: [PATCH 5/6] gnu: Update libinput to 1.22.1.

* gnu/packages/freedesktop.scm (libinput): Update to version 1.22.1. [inputs]
Add python.
---
 gnu/packages/freedesktop.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 5c8f079872..a718074c19 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -589,14 +589,16 @@ (define-public libinput
   ;; Updating this will rebuild over 700 packages through libinput-minimal.
   (package
     (name "libinput")
-    (version "1.19.4")
+    (version "1.22.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://freedesktop.org/software/libinput/"
-                                  "libinput-" version ".tar.xz"))
+              (method git-fetch)
+
+              (uri (git-reference
+                    (url "https://gitlab.freedesktop.org/libinput/libinput.git")
+                    (commit version)))
               (sha256
                (base32
-                "0h5lz54rrl48bhi3vki6s08m6rn2h62rlf08dhgchdm9nmqaaczz"))))
+                "17a5qlym2d6lg2j8fdpxda9k7x5zr35flb4wlj1bz7h0mnkh8326"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Ddocumentation=false")
@@ -613,7 +615,8 @@ (define-public libinput
            gtk+
            libevdev
            libwacom
-           mtdev))
+           mtdev
+           python))
     (propagated-inputs
      `(;; libinput.h requires <libudev.h>, so propagate it.
        ("udev" ,eudev)))
-- 
2.38.1





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

* [bug#61331] [PATCH 6/6] gnu: Update sway to 1.8.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (4 preceding siblings ...)
  2023-02-06 23:27 ` [bug#61331] [PATCH 5/6] gnu: Update libinput to 1.22.1 Gabriel Wicki
@ 2023-02-06 23:29 ` Gabriel Wicki
  2023-02-07  5:16 ` [bug#61331] need update cagebreak too Feng Shu
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Gabriel Wicki @ 2023-02-06 23:29 UTC (permalink / raw)
  To: 61331

From 8433a386ff0895c9b43e947fe8d35562b3a65b5f Mon Sep 17 00:00:00 2001
From: Gabriel Wicki <gabriel@erlikon.ch>
Date: Sun, 5 Feb 2023 01:40:52 +0100
Subject: [PATCH 6/6] gnu: Update sway to 1.8.

* gnu/packages/wm.scm (sway): Update to version 1.8.
---
 gnu/packages/wm.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 8f812bc14b..0bc7b2c880 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1597,7 +1597,7 @@ (define-public wlroots
 (define-public sway
   (package
     (name "sway")
-    (version "1.6.1")
+    (version "1.8")
     (source
      (origin
        (method git-fetch)
@@ -1606,7 +1606,7 @@ (define-public sway
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0j4sdbsrlvky1agacc0pcz9bwmaxjmrapjnzscbd2i0cria2fc5j"))))
+        (base32 "17dqr2lkmcv2ssp7vky27zw599i77whpb1aqh1s6kl8a8vkrz6mg"))))
     (build-system meson-build-system)
     (arguments
      `(;; elogind is propagated by wlroots -> libseat
@@ -1629,17 +1629,20 @@ (define-public sway
              #t)))))
     (inputs (list basu
                   cairo
+                  cmake
                   gdk-pixbuf
                   json-c
                   libevdev
                   libinput-minimal
                   libxkbcommon
                   pango
+                  pcre2
+                  python-wrapper
                   swaybg
                   wayland
                   wlroots))
     (native-inputs
-     (list linux-pam mesa pkg-config scdoc wayland-protocols))
+     (list linux-pam mesa pkg-config scdoc wayland-protocols-next))
     (home-page "https://github.com/swaywm/sway")
     (synopsis "Wayland compositor compatible with i3")
     (description "Sway is a i3-compatible Wayland compositor.")
-- 
2.38.1





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

* [bug#61331] need update cagebreak too.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (5 preceding siblings ...)
  2023-02-06 23:29 ` [bug#61331] [PATCH 6/6] gnu: Update sway to 1.8 Gabriel Wicki
@ 2023-02-07  5:16 ` Feng Shu
  2023-02-09  2:20 ` [bug#61331] Update " Feng Shu
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Feng Shu @ 2023-02-07  5:16 UTC (permalink / raw)
  To: 61331

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


cagebreak build fail when update wlroot. so it should update too



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

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

* gnu/packages/wm.scm (cagebreak): Update to 2.0.1.
---
 gnu/packages/wm.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3cfe7b9707..32aa5f39e5 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2680,7 +2680,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,9 +2689,17 @@ 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-source-paths
+            (lambda _
+              (substitute* '("cagebreak.c" "meson.build")
+                (("/etc/xdg") (string-append #$output "/etc/xdg"))))))))
     (native-inputs
      (list pandoc pkg-config))
     (inputs
@@ -2724,7 +2732,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: 6 bytes --]



-- 

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

* [bug#61331] Update cagebreak too.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (6 preceding siblings ...)
  2023-02-07  5:16 ` [bug#61331] need update cagebreak too Feng Shu
@ 2023-02-09  2:20 ` Feng Shu
  2023-04-06  8:58 ` [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Jonathan Brielmaier
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 16+ messages in thread
From: Feng Shu @ 2023-02-09  2:20 UTC (permalink / raw)
  To: 61331

[-- 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 --]




-- 

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

* [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (7 preceding siblings ...)
  2023-02-09  2:20 ` [bug#61331] Update " Feng Shu
@ 2023-04-06  8:58 ` Jonathan Brielmaier
  2023-04-06  9:02 ` [bug#61331] [PATCH 1/4] gnu: Update libinput to 1.22.1 Jonathan Brielmaier
  2023-04-07 12:25 ` bug#61331: [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Jonathan Brielmaier
  10 siblings, 0 replies; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-06  8:58 UTC (permalink / raw)
  To: 61331

Hello Gabriel & Feng,

thanks for your patches.

[PATCH 1/6] gnu: Update wayland to 1.21.0. -> was already updated on
core-updates
[PATCH 2/6] gnu: Update libdrm to 2.4.114. -> dito
[PATCH 3/6] gnu: Update wlroots to 0.16.1. -> I manually rebased it on
core-updates.
[PATCH 4/6] gnu: Update wayland-protocols-next to 1.31. -> it got remove
in
https://git.savannah.gnu.org/cgit/guix.git/commit/?h=core-updates&id=2619fa3d77961326cfbf7ddc87d519df30b49559
[PATCH 5/6] gnu: Update libinput to 1.22.1. -> I removed python again, I
think its only necessary for building documentation, which we don't do
in order to keep the closure of this package small.
[PATCH 6/6] gnu: Update sway to 1.8. -> manually rebased to core-updates

[PATCH 1/3] gnu: cagebreak: Update to 2.0.1. -> manually rebased to
core-updates, but left-over this foot thing. That should maybe go later
to master.

I will sent the four remaining patches to this issue.

~Jonathan




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

* [bug#61331] [PATCH 1/4] gnu: Update libinput to 1.22.1.
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (8 preceding siblings ...)
  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 ` Jonathan Brielmaier
  2023-04-06  9:02   ` [bug#61331] [PATCH 2/4] gnu: wlroots: Update to 0.16.1 Jonathan Brielmaier
                     ` (2 more replies)
  2023-04-07 12:25 ` bug#61331: [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Jonathan Brielmaier
  10 siblings, 3 replies; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-06  9:02 UTC (permalink / raw)
  To: 61331; +Cc: Gabriel Wicki, Jonathan Brielmaier

From: Gabriel Wicki <gabriel@erlikon.ch>

* gnu/packages/freedesktop.scm (libinput): Update to version 1.22.1.
[source]: Fetch source via git.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
 gnu/packages/freedesktop.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index fe5e243729..5ef5e9099d 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -592,14 +592,15 @@ (define-public libinput
   ;; Updating this will rebuild over 700 packages through libinput-minimal.
   (package
     (name "libinput")
-    (version "1.19.4")
+    (version "1.22.1")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://freedesktop.org/software/libinput/"
-                                  "libinput-" version ".tar.xz"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://gitlab.freedesktop.org/libinput/libinput.git")
+                    (commit version)))
               (sha256
                (base32
-                "0h5lz54rrl48bhi3vki6s08m6rn2h62rlf08dhgchdm9nmqaaczz"))))
+                "17a5qlym2d6lg2j8fdpxda9k7x5zr35flb4wlj1bz7h0mnkh8326"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Ddocumentation=false")
--
2.39.2





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

* [bug#61331] [PATCH 2/4] gnu: wlroots: Update to 0.16.1.
  2023-04-06  9:02 ` [bug#61331] [PATCH 1/4] gnu: Update libinput to 1.22.1 Jonathan Brielmaier
@ 2023-04-06  9:02   ` 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
  2 siblings, 0 replies; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-06  9:02 UTC (permalink / raw)
  To: 61331; +Cc: Gabriel Wicki, Jonathan Brielmaier

From: Gabriel Wicki <gabriel@erlikon.ch>

* gnu/packages/wm.scm (wlroots): Update to 0.16.1.
[arguments]: Add 'fix-meson-file phase to fix pnp.ids path.
[native-inputs]: Add hwdata:pnp.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
 gnu/packages/wm.scm | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 985c1ac56b..2a5459e35a 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -60,6 +60,8 @@
 ;;; Copyright © 2022 Fredrik Salomonsson <plattfot@posteo.net>
 ;;; Copyright © 2022 ( <paren@disroot.org>
 ;;; Copyright © 2022 zamfofex <zamfofex@twdb.moe>
+;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
+;;; Copyright © 2023 Jonathan Brielamier <jonathan.brielmaier@web.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -131,6 +133,7 @@ (define-module (gnu packages wm)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mpd)
+  #:use-module (gnu packages pciutils)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
@@ -1539,7 +1542,7 @@ (define-public polybar
 (define-public wlroots
   (package
     (name "wlroots")
-    (version "0.15.1")
+    (version "0.16.1")
     (source
      (origin
        (method git-fetch)
@@ -1548,7 +1551,7 @@ (define-public wlroots
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "00s73nhi3sc48l426jdlqwpclg41kx1hv0yk4yxhbzw19gqpfm1h"))))
+        (base32 "11kcica9waj1a1xgbi12gif9z5z0b4xzycbcgawbgdmj77pws8sk"))))
     (build-system meson-build-system)
     (arguments
      `(#:phases
@@ -1559,7 +1562,13 @@ (define-public wlroots
                (("Xwayland") (string-append (assoc-ref inputs
                                                        "xorg-server-xwayland")
                                             "/bin/Xwayland")))
-             #t)))))
+             #t))
+         (add-before 'configure 'fix-meson-file
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "backend/drm/meson.build"
+               (("/usr/share/hwdata/pnp.ids")
+                (string-append (assoc-ref inputs "hwdata")
+                               "/share/hwdata/pnp.ids"))))))))
     (propagated-inputs
      (list ;; As required by wlroots.pc.
            eudev
@@ -1574,7 +1583,9 @@ (define-public wlroots
            xcb-util-wm
            xorg-server-xwayland))
     (native-inputs
-     (list pkg-config))
+     (list
+       `(,hwdata "pnp")
+       pkg-config))
     (home-page "https://github.com/swaywm/wlroots")
     (synopsis "Pluggable, composable, unopinionated modules for building a
 Wayland compositor")
--
2.39.2





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

* [bug#61331] [PATCH 3/4] gnu: sway: Update to 1.8.
  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   ` Jonathan Brielmaier
  2023-04-06  9:02   ` [bug#61331] [PATCH 4/4] gnu: cagebreak: Update to 2.0.1 Jonathan Brielmaier
  2 siblings, 0 replies; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-06  9:02 UTC (permalink / raw)
  To: 61331; +Cc: Gabriel Wicki, Jonathan Brielmaier

From: Gabriel Wicki <gabriel@erlikon.ch>

* gnu/packages/wm.scm (sway): Update to 1.8.
[inputs]: Add pcre2.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
 gnu/packages/wm.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 2a5459e35a..d07cb349ff 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1596,7 +1596,7 @@ (define-public wlroots
 (define-public sway
   (package
     (name "sway")
-    (version "1.7")
+    (version "1.8")
     (source
      (origin
        (method git-fetch)
@@ -1605,7 +1605,7 @@ (define-public sway
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0ss3l258blyf2d0lwd7pi7ga1fxfj8pxhag058k7cmjhs3y30y5l"))))
+        (base32 "17dqr2lkmcv2ssp7vky27zw599i77whpb1aqh1s6kl8a8vkrz6mg"))))
     (build-system meson-build-system)
     (arguments
      `(;; elogind is propagated by wlroots -> libseat
@@ -1634,6 +1634,7 @@ (define-public sway
                   libinput-minimal
                   libxkbcommon
                   pango
+                  pcre2
                   swaybg
                   wayland
                   wlroots))
--
2.39.2





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

* [bug#61331] [PATCH 4/4] gnu: cagebreak: Update to 2.0.1.
  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   ` Jonathan Brielmaier
  2023-04-06 11:19     ` tumashu
  2 siblings, 1 reply; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-06  9:02 UTC (permalink / raw)
  To: 61331; +Cc: Feng Shu, Jonathan Brielmaier

From: Feng Shu <tumashu@163.com>

* gnu/packages/wm.scm (cagebreak): Update to 2.0.1.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
 gnu/packages/wm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index d07cb349ff..c480f68aa6 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2718,7 +2718,7 @@ (define-public xnotify
 (define-public cagebreak
   (package
     (name "cagebreak")
-    (version "1.8.3")
+    (version "2.0.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2727,7 +2727,7 @@ (define-public cagebreak
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0vm97ak0589v39m3fljf1qhy92dqgiqcrrfp757gg7q58qwa6dkf"))))
+                "0fxfmxl7p63l07lqb83q5lx16hm0rixcidghx00gp08x2yrgr4x9"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Dxwayland=true")
--
2.39.2





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

* [bug#61331] [PATCH 4/4] gnu: cagebreak: Update to 2.0.1.
  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
  0 siblings, 0 replies; 16+ messages in thread
From: tumashu @ 2023-04-06 11:19 UTC (permalink / raw)
  To: Jonathan Brielmaier; +Cc: 61331

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

I think we should package cagebreak 2.1.0




https://github.com/project-repo/cagebreak/commit/4f7be9d5cdd8df43609d983e58ab319b499cacb7




--
发自我的网易邮箱手机智能版
<br/><br/><br/>


----- Original Message -----
From: "Jonathan Brielmaier" <jonathan.brielmaier@web.de>
To: 61331@debbugs.gnu.org
Cc: "Feng Shu" <tumashu@163.com>, "Jonathan Brielmaier" <jonathan.brielmaier@web.de>
Sent: Thu,  6 Apr 2023 11:02:25 +0200
Subject: [PATCH 4/4] gnu: cagebreak: Update to 2.0.1.

From: Feng Shu <tumashu@163.com>

* gnu/packages/wm.scm (cagebreak): Update to 2.0.1.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
---
 gnu/packages/wm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index d07cb349ff..c480f68aa6 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2718,7 +2718,7 @@ (define-public xnotify
 (define-public cagebreak
   (package
     (name "cagebreak")
-    (version "1.8.3")
+    (version "2.0.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2727,7 +2727,7 @@ (define-public cagebreak
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0vm97ak0589v39m3fljf1qhy92dqgiqcrrfp757gg7q58qwa6dkf"))))
+                "0fxfmxl7p63l07lqb83q5lx16hm0rixcidghx00gp08x2yrgr4x9"))))
     (build-system meson-build-system)
     (arguments
      `(#:configure-flags '("-Dxwayland=true")
--
2.39.2

[-- Attachment #2: Type: text/html, Size: 2936 bytes --]

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

* bug#61331: [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway
  2023-02-06 23:17 [bug#61331] [PATCH core-updates] Update wayland, libdrm, wlroots, wayland-protocols-next, libinput, sway Gabriel Wicki
                   ` (9 preceding siblings ...)
  2023-04-06  9:02 ` [bug#61331] [PATCH 1/4] gnu: Update libinput to 1.22.1 Jonathan Brielmaier
@ 2023-04-07 12:25 ` Jonathan Brielmaier
  10 siblings, 0 replies; 16+ messages in thread
From: Jonathan Brielmaier @ 2023-04-07 12:25 UTC (permalink / raw)
  To: 61331-done

I've commited the four commits to core-updates.

@tumashu: cagebreak 2.1.0 fails in the build or check phase. So I left
it out for now...




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

end of thread, other threads:[~2023-04-07 12:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [bug#61331] Update " Feng Shu
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

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