From patchwork Mon Dec 27 15:19:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: John Kehayias X-Patchwork-Id: 35682 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 1987727BBEA; Mon, 27 Dec 2021 15:20:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 995A227BBE9 for ; Mon, 27 Dec 2021 15:20:29 +0000 (GMT) Received: from localhost ([::1]:49800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1rnY-0007dr-NO for patchwork@mira.cbaines.net; Mon, 27 Dec 2021 10:20:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1rn9-0007ag-63 for guix-patches@gnu.org; Mon, 27 Dec 2021 10:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60522) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1rn8-00042s-RA for guix-patches@gnu.org; Mon, 27 Dec 2021 10:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1rn8-000485-JG for guix-patches@gnu.org; Mon, 27 Dec 2021 10:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52806] [PATCH v3] gnu: Add xinitrc-xsession. Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "52806@debbugs.gnu.org" <52806@debbugs.gnu.org> Received: via spool by 52806-submit@debbugs.gnu.org id=B52806.164061835815804 (code B ref 52806); Mon, 27 Dec 2021 15:20:02 +0000 Received: (at 52806) by debbugs.gnu.org; 27 Dec 2021 15:19:18 +0000 Received: from localhost ([127.0.0.1]:43835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1rmQ-00046p-9l for submit@debbugs.gnu.org; Mon, 27 Dec 2021 10:19:18 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:43656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1rmM-00046W-Bg for 52806@debbugs.gnu.org; Mon, 27 Dec 2021 10:19:17 -0500 Date: Mon, 27 Dec 2021 15:19:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1640618347; bh=yRt17XxSYouVJSNa4ffjJ1o3DWLPpo6KscaFlfHuiD4=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=qf6akMrbWGMvnGqG0rXgQSfAZrdldAn+yNwlLboC3qXQqEY23qH68AkeaD+t+6JFH IXZPzgif5e/nd4pIorWfFfASQm+WG8cort4J3Z6n8CB68+aU19u7U4DLk/h48ToVe1 zBWPv7YqTodvsWGVC2TSm/G1hFfcrCr/8MvWXqeOr/9Ek91eynrrr+PIm237zKeFH1 FegCWGKb1Yf0ch/+WXcugx3Kzv2sRZMmFojTeQyn3Uj+BJuwqnWxEqRzwLr3DyMrSf 7nWL1kE4ZBWUwW46gRDVoiQNeF0+Y1IO4BL9LKd6wJckGvzSRTQwRaEA2Hm5OzKwK7 IaZgJL7usE2DA== Message-ID: In-Reply-To: References: MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches X-Patchwork-Original-From: John Kehayias via Guix-patches via From: John Kehayias X-getmail-retrieved-from-mailbox: Patches Adjusted indentation and description per suggestions on another package (#52803). Did not see guix lint pick up that the description did not start with the package name, will have to investigate. Thanks! John From 45d2c27781bc2165b07147df1266a717f6143306 Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sun, 26 Dec 2021 11:43:26 -0500 Subject: [PATCH] gnu: Add xinitrc-xsession. * gnu/packages/wm.scm (xinitrc-xsession): New variable. --- gnu/packages/wm.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index c6881154fe..820b4bc6a5 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 jgart ;;; Copyright © 2021 Disseminate Dissent +;;; Copyright © 2021 John Kehayias ;;; ;;; This file is part of GNU Guix. ;;; @@ -71,6 +72,7 @@ (define-module (gnu packages wm) #:use-module (guix git-download) #:use-module (guix build-system asdf) #:use-module (guix build-system cmake) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system haskell) #:use-module (guix build-system meson) @@ -2317,6 +2319,42 @@ (define-public xclickroot button is pressed on the root window.") (license license:public-domain))) +(define-public xinitrc-xsession + (let ((commit "cbfc77a1ccaf07b7d8a35f4d8007c7102f365374")) + (package + (name "xinitrc-xsession") + (version "1-3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://aur.archlinux.org/xinit-xsession.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12nv3qyjhy2l9mcb547f414d8bj79mhdhsra0g8x7x71b1xxl15b")))) + (build-system copy-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'install 'patch-xsession-file + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (xinitrc-helper (string-append out "/bin/xinitrcsession-helper"))) + (substitute* (string-append out "/share/xsessions/xinitrc.desktop") + (("Exec=xinitrcsession-helper") + (string-append "Exec=" xinitrc-helper))))))) + #:install-plan + '(("xinitrcsession-helper" "bin/") + ("xinitrc.desktop" "share/xsessions/")))) + (home-page "https://aur.archlinux.org/packages/xinit-xsession/") + (synopsis "Use ~/.xinitrc as an xsession from your display manager") + (description + "Xinitrc-xsession allows @code{~/.xinitrc} to be run as a session from your +display manager. Make @code{~/.xinitrc} executable and use this package in +your system configuration to use this xsession.") + (license license:gpl3)))) + (define-public xmenu (package (name "xmenu") -- 2.34.1