Github messages for voidlinux
 help / color / mirror / Atom feed
From: Luciogi <Luciogi@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] qtile-wayland: add wayland session entry
Date: Mon, 05 Feb 2024 14:55:09 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48542@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

There is a new pull request by Luciogi against master on the void-packages repository

https://github.com/Luciogi/void-packages qtile
https://github.com/void-linux/void-packages/pull/48542

qtile-wayland: add wayland session entry
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (X86_64-GLIBC)

### Changes
- add file /usr/share/wayland-session/qtilewayland.desktop
```
[Desktop Entry]
Name=Qtile (Wayland)
Comment=Qtile (Wayland) Session
Exec=qtile start -b wayland
Type=Application
Keywords=wm;tiling
```

A patch file from https://github.com/void-linux/void-packages/pull/48542.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-48542.patch --]
[-- Type: text/x-diff, Size: 1179 bytes --]

From cf526a56b8485cba045540f2ab5e2902a77e23d9 Mon Sep 17 00:00:00 2001
From: Luciogi <lucigithubcommit@skiff.com>
Date: Mon, 5 Feb 2024 18:52:35 +0500
Subject: [PATCH] qtile-wayland: add wayland session entry

---
 srcpkgs/qtile/template | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 85c146c159d03..50023ccc0185c 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,7 +1,7 @@
 # Template file for 'qtile'
 pkgname=qtile
 version=0.24.0
-revision=1
+revision=2
 build_style=python3-pep517
 _wlroots=0.16
 hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
@@ -26,5 +26,9 @@ qtile-wayland_package() {
 	 python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
 	pkg_install() {
 		vmove ${py3_sitelib}/libqtile/backend/wayland
+		# Wayland Session Entry
+		vmkdir usr/share/wayland-sessions
+		vcopy ${DESTDIR}/usr/share/xsessions/qtile.desktop usr/share/wayland-sessions/qtilewayland.desktop
+		vsed -i ${PKGDESTDIR}/usr/share/wayland-sessions/qtilewayland.desktop -e 's|Qtile|Qtile (Wayland)|g' -e 's|start|start -b wayland|'
 	}
 }

             reply	other threads:[~2024-02-05 13:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-05 13:55 Luciogi [this message]
2024-02-05 16:53 ` classabbyamp
2024-02-06  5:05 ` Luciogi
2024-02-06  5:23 ` [PR PATCH] [Updated] " Luciogi
2024-02-06  5:23 ` Luciogi
2024-02-06 13:25 ` [PR PATCH] [Updated] " Luciogi
2024-02-06 13:26 ` Luciogi
2024-02-06 16:52 ` [PR PATCH] [Merged]: " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48542@inbox.vuxu.org \
    --to=luciogi@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).