git: cbf789d360b7 - main - x11-wm/cosmic-comp: uppercase XDG_CURRENT_DESKTOP value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Dec 2024 00:32:46 UTC
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cbf789d360b7f67a855355bb5f7f9b9eb4477ebc
commit cbf789d360b7f67a855355bb5f7f9b9eb4477ebc
Author: Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-12-09 00:31:49 +0000
Commit: Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-12-09 00:32:25 +0000
x11-wm/cosmic-comp: uppercase XDG_CURRENT_DESKTOP value
https://github.com/pop-os/xdg-desktop-portal-cosmic/commit/7f5cdac67b70
---
x11-wm/cosmic-comp/Makefile | 1 +
x11-wm/cosmic-comp/files/patch-no-systemd | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/x11-wm/cosmic-comp/Makefile b/x11-wm/cosmic-comp/Makefile
index fbcd1f68e437..67a600c425d9 100644
--- a/x11-wm/cosmic-comp/Makefile
+++ b/x11-wm/cosmic-comp/Makefile
@@ -1,6 +1,7 @@
PORTNAME= cosmic-comp
DISTVERSIONPREFIX= epoch-
DISTVERSION= 1.0.0-alpha.4
+PORTREVISION= 1
CATEGORIES= x11-wm wayland
MAINTAINER= jbeich@FreeBSD.org
diff --git a/x11-wm/cosmic-comp/files/patch-no-systemd b/x11-wm/cosmic-comp/files/patch-no-systemd
index ac2a59551579..ad3699dbe259 100644
--- a/x11-wm/cosmic-comp/files/patch-no-systemd
+++ b/x11-wm/cosmic-comp/files/patch-no-systemd
@@ -19,7 +19,7 @@ Avoid various systemd dependencies
info!("Cosmic starting up!");
+ // Advise xdg-desktop-portal which *-portals.conf to load
-+ std::env::set_var("XDG_CURRENT_DESKTOP", "cosmic");
++ 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");
+