From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id TL32FRJmzF/2ZAAA0tVLHw (envelope-from ) for ; Sun, 06 Dec 2020 05:03:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id uNCIERJmzF/gawAA1q6Kng (envelope-from ) for ; Sun, 06 Dec 2020 05:03:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 40FDF940501 for ; Sun, 6 Dec 2020 05:03:13 +0000 (UTC) Received: from localhost ([::1]:45082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klmCV-00047j-QJ for larch@yhetil.org; Sun, 06 Dec 2020 00:03:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmCN-00047c-2L for guix-patches@gnu.org; Sun, 06 Dec 2020 00:03:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37116) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1klmCM-0008DF-NF for guix-patches@gnu.org; Sun, 06 Dec 2020 00:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1klmCM-000191-G1 for guix-patches@gnu.org; Sun, 06 Dec 2020 00:03:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45062] [PATCH 1/2] gnu: xfce4-session: Fix xfce4-panel plugin detection. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Dec 2020 05:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45062@debbugs.gnu.org Cc: Kei Kebreau X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16072309714380 (code B ref -1); Sun, 06 Dec 2020 05:03:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2020 05:02:51 +0000 Received: from localhost ([127.0.0.1]:48662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klmC3-00018O-O4 for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:02:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:39232) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klmBz-00018E-AX for submit@debbugs.gnu.org; Sun, 06 Dec 2020 00:02:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmBy-00046E-Ob for guix-patches@gnu.org; Sun, 06 Dec 2020 00:02:38 -0500 Received: from mout02.posteo.de ([185.67.36.66]:50779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1klmBt-0008BS-BS for guix-patches@gnu.org; Sun, 06 Dec 2020 00:02:38 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 05B5C2400FB for ; Sun, 6 Dec 2020 06:02:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607230948; bh=dqExPJMQuPqNyIw+n0CNlsQb40KKkDywF5lZDVsZ0jA=; h=From:To:Cc:Subject:Date:From; b=eB4QrAlqN1pJoZ8Obshe/mdhUkBNxK/G7EETBJCpXbIntLRi7jVGPqhd6NCXGpgm5 1M/e/rIRvA5qlioFmEdzV5HJLrbDHW6QfX/R0I8oXEsqxKQLAq9VJUXzKzoXg3+epz fgglk/lmYKmqHfo7LRDMjbCBNaQU8aRd4rO80EDgeHOZzludYfxjNs94sOH9ttMiYP A/HE4unX8eSIgfLnxHDNgTnkTJN8cTxBm+HfJKOt93qxfKyXIxBn6kaGhdPpnE7zXr OxlvFOEHqH1hzYUy760hkmGVo00ZfiL0M4399dfI9V0h8pRU07Gi3LuQ6vv5lAmYnl 5x9zzXrWs8hXw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CpZ7Q6x0tz9rxG; Sun, 6 Dec 2020 06:02:26 +0100 (CET) From: Kei Kebreau Date: Sun, 6 Dec 2020 00:02:24 -0500 Message-Id: <20201206050224.5355-1-kkebreau@posteo.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=kkebreau@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.20 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=eB4QrAlq; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 40FDF940501 X-Spam-Score: -0.20 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: N00MN7R7S7rU * gnu/packages/xfce.scm (xfce4-session)[source]: Add patch to append the path to user-installed xfce4-panel plugins to the X_XFCE4_LIB_DIRS environment variable. * gnu/packages/patches/xfce4-session-xinitrc.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. --- gnu/local.mk | 3 ++- .../patches/xfce4-session-xinitrc.patch | 19 +++++++++++++++++++ gnu/packages/xfce.scm | 1 + 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/xfce4-session-xinitrc.patch diff --git a/gnu/local.mk b/gnu/local.mk index cbfefccbb9..ca6d90cced 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -4,7 +4,7 @@ # Copyright © 2016 Mathieu Lirzin # Copyright © 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Mark H Weaver # Copyright © 2016 Chris Marusich -# Copyright © 2016, 2017, 2018 Kei Kebreau +# Copyright © 2016, 2017, 2018, 2020 Kei Kebreau # Copyright © 2016, 2017 Rene Saavedra # Copyright © 2016 Adonay "adfeno" Felipe Nogueira # Copyright © 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus @@ -1721,6 +1721,7 @@ dist_patch_DATA = \ %D%/packages/patches/xf86-video-tga-remove-mibstore.patch \ %D%/packages/patches/xf86-video-voodoo-pcitag.patch \ %D%/packages/patches/xfce4-panel-plugins.patch \ + %D%/packages/patches/xfce4-session-xinitrc.patch \ %D%/packages/patches/xfce4-settings-defaults.patch \ %D%/packages/patches/xmonad-dynamic-linking.patch \ %D%/packages/patches/xplanet-1.3.1-cxx11-eof.patch \ 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 --- /dev/null +++ b/gnu/packages/patches/xfce4-session-xinitrc.patch @@ -0,0 +1,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 + +--- 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 diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm index 4090372805..685ddd3e18 100644 --- a/gnu/packages/xfce.scm +++ b/gnu/packages/xfce.scm @@ -684,6 +684,7 @@ your system in categories, so you can quickly find and launch them.") (sha256 (base32 "1bwpylcn7x9i301yz45wvkzah9bncv9b44nf4hh9ln4i1jka9qzv")) + (patches (search-patches "xfce4-session-xinitrc.patch")) (modules '((guix build utils))) (snippet '(begin -- 2.29.2