diff --git a/modules/rosenthal/home/services/desktop.scm b/modules/rosenthal/home/services/desktop.scm index a487790..4811fa6 100644 --- a/modules/rosenthal/home/services/desktop.scm +++ b/modules/rosenthal/home/services/desktop.scm @@ -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 diff --git a/modules/rosenthal/packages/wm.scm b/modules/rosenthal/packages/wm.scm index 29dd8f6..fab80d5 100644 --- a/modules/rosenthal/packages/wm.scm +++ b/modules/rosenthal/packages/wm.scm @@ -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") diff --git a/modules/rosenthal/services/desktop.scm b/modules/rosenthal/services/desktop.scm index 5b73294..b98c998 100644 --- a/modules/rosenthal/services/desktop.scm +++ b/modules/rosenthal/services/desktop.scm @@ -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))