summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormovo987 <me@movo987.0x0f.dev>2026-11-28 03:05:05 +0000
committermovo987 <me@movo987.0x0f.dev>2026-11-28 03:05:05 +0000
commit05716f7b62187d9da65a808e58192acad83602ae (patch)
treec3d92786f7b336db8f3ad289cf649d23e38595bd
parentCorrect why wayland-protocols 1.49 does not build (diff)
Use the wayland-protocols and libdrm that Guix now ships
* movo987/packages/freedesktop.scm: Delete file. * movo987/packages/window-management.scm: Depend on the packaged releases. * movo987/packages/xorg.scm: Delete file. Signed-off-by: movo987 <me@movo987.0x0f.dev>
-rw-r--r--movo987/packages/freedesktop.scm27
-rw-r--r--movo987/packages/window-management.scm14
-rw-r--r--movo987/packages/xorg.scm24
3 files changed, 5 insertions, 60 deletions
diff --git a/movo987/packages/freedesktop.scm b/movo987/packages/freedesktop.scm
deleted file mode 100644
index a14bae0..0000000
--- a/movo987/packages/freedesktop.scm
+++ /dev/null
@@ -1,27 +0,0 @@
-;;; Copyright © 2026 movo987 <me@movo987.0x0f.dev>
-;;; SPDX-License-Identifier: GPL-3.0-or-later
-
-(define-module (movo987 packages freedesktop)
- #:use-module (guix packages)
- #:use-module (guix git-download)
- #:use-module (gnu packages freedesktop))
-
-;; Guix ships 1.45 and wlroots needs at least 1.48. 1.50 wants a newer
-;; wayland-scanner than Guix provides, and 1.49 fails DTD validation; 1.48 is
-;; the first release that builds here. Drop this once Guix's own
-;; wayland-protocols reaches 1.48.
-(define-public wayland-protocols-next
- (package
- (inherit wayland-protocols)
- (name "wayland-protocols-next")
- (version "1.48")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.freedesktop.org/wayland/wayland-protocols")
- (commit version)))
- (file-name (git-file-name "wayland-protocols" version))
- (sha256
- (base32
- "0zqnn7bwqzifchjhclrrcqnp39cpd3nnf6nbd9bav2hwhcx92mwy"))))))
diff --git a/movo987/packages/window-management.scm b/movo987/packages/window-management.scm
index 89d8a5e..413260c 100644
--- a/movo987/packages/window-management.scm
+++ b/movo987/packages/window-management.scm
@@ -22,14 +22,10 @@
#:use-module (gnu packages readline)
#:use-module (gnu packages vulkan)
#:use-module (gnu packages web)
- #:use-module (gnu packages wm)
+ #:use-module (gnu packages window-management)
#:use-module (gnu packages xdisorg)
- #:use-module (gnu packages xorg)
- #:use-module (movo987 packages freedesktop)
- #:use-module (movo987 packages xorg))
+ #:use-module (gnu packages xorg))
-;; The source bundles a modified wlroots 0.21, statically linked. No packaged
-;; wlroots matches that version, so the bundled copy stays.
(define-public sway-scroll
(package
(name "sway-scroll")
@@ -84,7 +80,7 @@ org.freedesktop.impl.portal.Inhibit=none
json-c
lcms
libdisplay-info
- libdrm-next
+ libdrm
libevdev
libinput
libliftoff
@@ -98,14 +94,14 @@ org.freedesktop.impl.portal.Inhibit=none
readline
vulkan-loader
wayland
- wayland-protocols-next))
+ wayland-protocols))
(native-inputs
(list glslang
hwdata
pkg-config
scdoc
vulkan-headers
- wayland-protocols-next))
+ wayland-protocols))
(home-page "https://github.com/dawsers/scroll")
(synopsis "Wayland compositor with a scrolling layout")
(description
diff --git a/movo987/packages/xorg.scm b/movo987/packages/xorg.scm
deleted file mode 100644
index 9f1fae3..0000000
--- a/movo987/packages/xorg.scm
+++ /dev/null
@@ -1,24 +0,0 @@
-;;; Copyright © 2026 movo987 <me@movo987.0x0f.dev>
-;;; SPDX-License-Identifier: GPL-3.0-or-later
-
-(define-module (movo987 packages xorg)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (gnu packages xdisorg))
-
-;; Guix ships 2.4.124 and wlroots needs at least 2.4.134. Drop this package
-;; once Guix's own libdrm reaches that version.
-(define-public libdrm-next
- (package
- (inherit libdrm)
- (name "libdrm-next")
- (version "2.4.134")
- (properties '((upstream-name . "libdrm")))
- (source
- (origin
- (method url-fetch)
- (uri (string-append "https://dri.freedesktop.org/libdrm/libdrm-"
- version ".tar.xz"))
- (sha256
- (base32
- "159anl407wm8fjnvswiavpq4wxs9mprnnsjcwjzbh3l3az8p8pmc"))))))