View | Details | Raw Unified | Return to bug 241341 | Differences between
and this patch

Collapse All | Expand All

(-)x11/plasma5-plasma-workspace/Makefile (+1 lines)
Lines 2-7 Link Here
2
2
3
PORTNAME=	plasma-workspace
3
PORTNAME=	plasma-workspace
4
DISTVERSION=	${KDE_PLASMA_VERSION}
4
DISTVERSION=	${KDE_PLASMA_VERSION}
5
PORTREVISION=	1
5
CATEGORIES=	x11 kde kde-plasma
6
CATEGORIES=	x11 kde kde-plasma
6
7
7
MAINTAINER=	kde@FreeBSD.org
8
MAINTAINER=	kde@FreeBSD.org
(-)x11/plasma5-plasma-workspace/files/patch-setup_xdg_environment (-1 / +23 lines)
Added Link Here
0
- 
1
--- startkde/startplasma.cpp.orig	2019-10-19 18:43:24.172713000 +0200
2
+++ startkde/startplasma.cpp	2019-10-19 18:45:50.953945000 +0200
3
@@ -192,6 +192,10 @@
4
     if (!qEnvironmentVariableIsSet("XDG_DATA_DIRS")) {
5
         qputenv("XDG_DATA_DIRS", KDE_INSTALL_FULL_DATAROOTDIR ":/usr/share:/usr/local/share");
6
     }
7
+   // Additionally also set default value for XDG_CONFIG_DIRS which is not set by default on FreeBSD.
8
+   if (!qEnvironmentVariableIsSet("XDG_CONFIG_DIRS")) {
9
+        qputenv("XDG_CONFIG_DIRS", KDE_INSTALL_FULL_CONFDIR ":/etc/xdg:/usr/local/etc/xdg");
10
+   }
11
 }
12
 
13
 
14
--- startkde/config-startplasma.h.cmake.orig	2019-10-19 18:56:51.844465000 +0200
15
+++ startkde/config-startplasma.h.cmake	2019-10-19 18:57:22.843807000 +0200
16
@@ -3,6 +3,7 @@
17
 
18
 #define CMAKE_INSTALL_FULL_BINDIR "@CMAKE_INSTALL_FULL_BINDIR@"
19
 #define KDE_INSTALL_FULL_DATAROOTDIR "@KDE_INSTALL_FULL_DATAROOTDIR@"
20
+#define KDE_INSTALL_FULL_CONFDIR "@KDE_INSTALL_FULL_CONFDIR@"
21
 #define CMAKE_INSTALL_FULL_LIBEXECDIR "@CMAKE_INSTALL_FULL_LIBEXECDIR@"
22
 #define CMAKE_INSTALL_FULL_LIBEXECDIR_KF5 "@CMAKE_INSTALL_FULL_LIBEXECDIR_KF5@"
23
 #define KWIN_WAYLAND_BIN_PATH "@KWIN_WAYLAND_BIN_PATH@"

Return to bug 241341