unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 914890ff3d817d183a176b377e43f852d85c73b1 828 bytes (raw)
name: gnu/packages/patches/xfce4-session-xinitrc.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
 
Ensure that xfce4 panel plugins in the user's Guix profile can
be found in the directories specified in X_XFCE4_LIB_DIRS.

Partially fixes Guix bug #44916:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44916.

Patch by Kei Kebreau <kkebreau@posteo.net>

--- xfce4-session-4.14.2/scripts/xinitrc.in.in.orig	2020-12-05 15:01:43.932285134 -0500
+++ xfce4-session-4.14.2/scripts/xinitrc.in.in	2020-12-05 15:22:06.171691694 -0500
@@ -83,6 +83,8 @@
   dbus-update-activation-environment --systemd XAUTHLOCALHOSTNAME=$XAUTHLOCALHOSTNAME
 fi
 
+# load local Guix xfce4-panel plugins
+test -r "$HOME/.guix-profile/lib/xfce4" && export X_XFCE4_LIB_DIRS="$X_XFCE4_LIB_DIRS:$HOME/.guix-profile/lib/xfce4"
 
 # check if we start xfce4-session with ck-launch-session. this is only
 # required for starting from a console, not a login manager

debug log:

solving 914890ff3d ...
found 914890ff3d in https://yhetil.org/guix-patches/20201206050224.5355-1-kkebreau@posteo.net/

applying [1/1] https://yhetil.org/guix-patches/20201206050224.5355-1-kkebreau@posteo.net/
diff --git a/gnu/packages/patches/xfce4-session-xinitrc.patch b/gnu/packages/patches/xfce4-session-xinitrc.patch
new file mode 100644
index 0000000000..914890ff3d

1:20: trailing whitespace.
 
1:23: trailing whitespace.
 
Checking patch gnu/packages/patches/xfce4-session-xinitrc.patch...
Applied patch gnu/packages/patches/xfce4-session-xinitrc.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 914890ff3d817d183a176b377e43f852d85c73b1	gnu/packages/patches/xfce4-session-xinitrc.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).