mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
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:
3 files changed
+2
-98
No files matched your search
@@ -16,7 +16,7 @@
|
||||
#:use-module (gnu home services)
|
||||
#:use-module (gnu home services shepherd)
|
||||
;; Guix packages
|
||||
#:autoload (rosenthal packages wm) (noctalia)
|
||||
#:autoload (gnu packages window-management) (noctalia-shell)
|
||||
#:export (home-graphical-session-service-type
|
||||
home-graphical-session-configuration
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
|
||||
(define-configuration/no-serialization home-noctalia-configuration
|
||||
(noctalia
|
||||
(file-like noctalia)
|
||||
(file-like noctalia-shell)
|
||||
"File-like object to provide @command{/bin/noctalia}."))
|
||||
|
||||
(define home-noctalia-shepherd-service
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -699,14 +699,6 @@ compositor.")))
|
||||
,(local-file "../examples/dot-config/noctalia/settings.json"))
|
||||
(".config/wezterm/wezterm.lua"
|
||||
,(local-file "../examples/dot-config/wezterm/wezterm.lua"))
|
||||
;; Prevent Noctalia shell initial screen.
|
||||
(".cache/noctalia/shell-state.json"
|
||||
,(json-file "noctalia-shell-state.json"
|
||||
#~'(("changelogState"
|
||||
("lastSeenVersion"
|
||||
. #$(string-append "v" (package-version noctalia-shell))))
|
||||
("telemetry"
|
||||
("instanceId" . "")))))
|
||||
,@%rosenthal-skeletons))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user