From patchwork Sat May 18 09:02:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reza Alizadeh Majd X-Patchwork-Id: 13994 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DEDE217023; Sat, 18 May 2019 10:04:06 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 9465516FC0 for ; Sat, 18 May 2019 10:04:06 +0100 (BST) Received: from localhost ([127.0.0.1]:59619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRvG9-0002tD-Ss for patchwork@mira.cbaines.net; Sat, 18 May 2019 05:04:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRvG8-0002sA-5r for guix-patches@gnu.org; Sat, 18 May 2019 05:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRvG7-0008D0-74 for guix-patches@gnu.org; Sat, 18 May 2019 05:04:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hRvG6-0008Cj-LP for guix-patches@gnu.org; Sat, 18 May 2019 05:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hRvG6-0003gv-Gj for guix-patches@gnu.org; Sat, 18 May 2019 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35789] [PATCH] gnu: lxqt-session: fix lxqt-rc.xml permission issue Resent-From: Reza Alizadeh Majd Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 May 2019 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35789 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35789@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155817023214171 (code B ref -1); Sat, 18 May 2019 09:04:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 May 2019 09:03:52 +0000 Received: from localhost ([127.0.0.1]:59645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRvFw-0003gV-Ji for submit@debbugs.gnu.org; Sat, 18 May 2019 05:03:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hRvFu-0003gH-Ky for submit@debbugs.gnu.org; Sat, 18 May 2019 05:03:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:55954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hRvFp-000845-ID for submit@debbugs.gnu.org; Sat, 18 May 2019 05:03:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRvFo-0002ru-LR for guix-patches@gnu.org; Sat, 18 May 2019 05:03:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hRvFn-000835-OB for guix-patches@gnu.org; Sat, 18 May 2019 05:03:44 -0400 Received: from [5.230.148.152] (port=54784 helo=Rezas-MacBook-Pro-2.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hRvFn-000822-C5 for guix-patches@gnu.org; Sat, 18 May 2019 05:03:43 -0400 Received: by Rezas-MacBook-Pro-2.local (Postfix, from userid 501) id B1957101B0B3E3; Sat, 18 May 2019 13:33:10 +0430 (+0430) From: Reza Alizadeh Majd Date: Sat, 18 May 2019 13:32:29 +0430 Message-Id: <20190518090229.22339-1-r.majd@pantherx.org> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Mac OS X [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Reza Alizadeh Majd Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lxqt.scm (lxqt-session): change lxqt-rc.xml permission to 755 after initial copy to user directory. --- gnu/packages/lxqt.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index d91efe715d..94d47bc862 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -827,6 +827,14 @@ allows for launching applications or shutting down the system.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t)) + (add-after 'unpack 'patch-openbox-permission + (lambda _ + (substitute* "startlxqt.in" + (("cp \"\\$LXQT_DEFAULT_OPENBOX_CONFIG\" \"\\$XDG_CONFIG_HOME/openbox\"") + (string-append "cp \"$LXQT_DEFAULT_OPENBOX_CONFIG\" \"$XDG_CONFIG_HOME/openbox\"\n" + " # fix openbox permission issue\n" + " chmod -R 755 \"$XDG_CONFIG_HOME/openbox\""))) + #t)) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* '("lxqt-config-session/CMakeLists.txt"