diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2025-09-19 15:33:10 +0200 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2025-09-21 12:31:08 +0200 |
commit | dafec8bbd770069b330bb5b595e9ccc80f2a5adc (patch) | |
tree | 520a52bb0c6e6a2442900840109c762a7c834355 /x11-wm/cosmic-comp/files/patch-no-systemd | |
parent | sysutils/libdisplay-info: update Rust compat for 0.3.0 (diff) |
x11-wm/cosmic-comp: update to 1.0.0.b.1
Changes: https://github.com/pop-os/cosmic-comp/compare/epoch-1.0.0-alpha.7...epoch-1.0.0-beta.1
Reported by: Repology
Diffstat (limited to 'x11-wm/cosmic-comp/files/patch-no-systemd')
-rw-r--r-- | x11-wm/cosmic-comp/files/patch-no-systemd | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/x11-wm/cosmic-comp/files/patch-no-systemd b/x11-wm/cosmic-comp/files/patch-no-systemd index ad3699dbe259..d75d9c713728 100644 --- a/x11-wm/cosmic-comp/files/patch-no-systemd +++ b/x11-wm/cosmic-comp/files/patch-no-systemd @@ -12,17 +12,19 @@ Avoid various systemd dependencies DesktopNames=pop:COSMIC X-GDM-SessionRegisters=false \ No newline at end of file ---- src/main.rs.orig 2024-09-23 09:13:21 UTC +--- src/main.rs.orig 2025-09-19 13:33:10 UTC +++ src/main.rs -@@ -87,6 +87,11 @@ fn main() -> Result<()> { +@@ -134,6 +134,13 @@ fn main_inner() -> Result<(), Box<dyn Error>> { logger::init_logger()?; info!("Cosmic starting up!"); -+ // Advise xdg-desktop-portal which *-portals.conf to load -+ std::env::set_var("XDG_CURRENT_DESKTOP", "COSMIC"); -+ // Mimic wlroots, used by https://github.com/qt/qtbase/commit/4b4870a12cd9 -+ std::env::set_var("XDG_SESSION_TYPE", "wayland"); ++ unsafe { ++ // Advise xdg-desktop-portal which *-portals.conf to load ++ std::env::set_var("XDG_CURRENT_DESKTOP", "COSMIC"); ++ // Mimic wlroots, used by https://github.com/qt/qtbase/commit/4b4870a12cd9 ++ std::env::set_var("XDG_SESSION_TYPE", "wayland"); ++ } + - #[cfg(feature = "profile-with-tracy")] - profiling::tracy_client::Client::start(); profiling::register_thread!("Main Thread"); + #[cfg(feature = "profile-with-tracy")] + tracy_client::Client::start(); |