services: noctalia: Use the Guix package.

* modules/rosenthal/home/services/desktop.scm (home-noctalia-configuration)
  [noctalia]: Defaults to the Guix package.
* modules/rosenthal/packages/wm.scm (wayland-protocols-1.48, noctalia)
  (noctalia-shell): Delete variables.
This commit is contained in:
Hilton Chain committed 2026-10-18 15:59:31 +08:00
1 parent fc235e2eb0
commit 27baf1ba57
3 files changed
+2 -98

No files matched your search

-88
View File
@@ -36,94 +36,6 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml))
(define wayland-protocols-1.48
(package
(inherit wayland-protocols)
(name "wayland-protocols")
(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 name version))
(sha256
(base32
"0zqnn7bwqzifchjhclrrcqnp39cpd3nnf6nbd9bav2hwhcx92mwy"))))))
;; TODO: Unbundle dependencies under the third_party directory.
(define-public noctalia
(package
(name "noctalia")
(version "5.2.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/noctalia-dev/noctalia-shell")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1z95axfpl190y27vjb3pj7hi57rr16a9fbf9x9m2lh8nkr9zji5s"))))
(build-system meson-build-system)
(arguments
(list #:build-type "release"
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-for-build
(lambda _
;; /bin/sh doesn't exist in the build environment.
(substitute* "tests/process_test.cpp"
(("/bin/(sh)" _ cmd)
(which cmd)))
;; Adjust import paths for STB headers packaged in Guix.
(substitute* (find-files "." "\\.cpp$|^meson\\.build$")
(("\\bstb/stb_") "stb_")))))))
(native-inputs
(list pkg-config))
(inputs
(list cairo
curl
fontconfig
freetype
glib
gmp
harfbuzz
jemalloc
mpfr
(librsvg-for-system)
libjxl
libical
libqalculate
libsecret
libsndfile
libsodium
libwebp
libxkbcommon
libxml2
linux-pam
md4c
mesa
nlohmann-json
pango
pipewire
polkit
sdbus-c++
stb-image-resize2
stb-image-write
tomlplusplus
wayland
wayland-protocols-1.48
wireplumber))
(home-page "https://noctalia.dev/")
(synopsis "Wayland shell and bar")
(description
"Noctalia is a lightweight Wayland shell and bar built directly on
Wayland and OpenGL ES, with no Qt or GTK dependency.")
(license license:expat)))
(define-deprecated-package noctalia-shell noctalia)
(define-public noctalia-greeter
(package
(name "noctalia-greeter")