Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qtile-wayland: add wayland session entry
@ 2024-02-05 13:55 Luciogi
  2024-02-05 16:53 ` classabbyamp
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Luciogi @ 2024-02-05 13:55 UTC (permalink / raw)
  To: ml

[-- 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|'
 	}
 }

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
@ 2024-02-05 16:53 ` classabbyamp
  2024-02-06  5:05 ` Luciogi
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2024-02-05 16:53 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/48542#issuecomment-1927466171

Comment:
why not just install the one available from upstream? https://github.com/qtile/qtile/blob/master/resources/qtile-wayland.desktop

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
  2024-02-05 16:53 ` classabbyamp
@ 2024-02-06  5:05 ` Luciogi
  2024-02-06  5:23 ` [PR PATCH] [Updated] " Luciogi
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Luciogi @ 2024-02-06  5:05 UTC (permalink / raw)
  To: ml

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

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/48542#issuecomment-1928792250

Comment:
> why not just install the one available from upstream? https://github.com/qtile/qtile/blob/master/resources/qtile-wayland.desktop

I forgot to check upstream 

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
  2024-02-05 16:53 ` classabbyamp
  2024-02-06  5:05 ` Luciogi
@ 2024-02-06  5:23 ` Luciogi
  2024-02-06  5:23 ` Luciogi
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Luciogi @ 2024-02-06  5:23 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 988 bytes --]

From c0f3877fcf333f4b53e31145bfd8ba6dfe9af8df 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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 85c146c159d03..33fd16aeed880 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,7 @@ qtile-wayland_package() {
 	 python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
 	pkg_install() {
 		vmove ${py3_sitelib}/libqtile/backend/wayland
+		# Wayland Session Entry
+		vinstall ${wrksrc}/resources/qtile-wayland.desktop 644 usr/share/wayland-sessions
 	}
 }

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
                   ` (2 preceding siblings ...)
  2024-02-06  5:23 ` [PR PATCH] [Updated] " Luciogi
@ 2024-02-06  5:23 ` Luciogi
  2024-02-06 13:25 ` [PR PATCH] [Updated] " Luciogi
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Luciogi @ 2024-02-06  5:23 UTC (permalink / raw)
  To: ml

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

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/48542#issuecomment-1928807730

Comment:
Now it installs upstream file

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Updated] qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
                   ` (3 preceding siblings ...)
  2024-02-06  5:23 ` Luciogi
@ 2024-02-06 13:25 ` Luciogi
  2024-02-06 13:26 ` Luciogi
  2024-02-06 16:52 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: Luciogi @ 2024-02-06 13:25 UTC (permalink / raw)
  To: ml

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

There is an updated 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: 1181 bytes --]

From f034d078d14e8a3f5c828815e7879f869404551b 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 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 85c146c159d03..ae3654e27b591 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
@@ -18,6 +18,7 @@ checksum=c6d04d017c65f08c55f160c632f560efdfe092fee312fa78da1feceda044ee41
 
 post_install() {
 	vinstall resources/qtile.desktop 644 usr/share/xsessions
+	vinstall resources/qtile-wayland.desktop 644 usr/share/wayland-sessions
 	vlicense LICENSE
 }
 
@@ -26,5 +27,6 @@ qtile-wayland_package() {
 	 python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
 	pkg_install() {
 		vmove ${py3_sitelib}/libqtile/backend/wayland
+		vmove usr/share/wayland-sessions
 	}
 }

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
                   ` (4 preceding siblings ...)
  2024-02-06 13:25 ` [PR PATCH] [Updated] " Luciogi
@ 2024-02-06 13:26 ` Luciogi
  2024-02-06 16:52 ` [PR PATCH] [Merged]: " classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: Luciogi @ 2024-02-06 13:26 UTC (permalink / raw)
  To: ml

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

New comment by Luciogi on void-packages repository

https://github.com/void-linux/void-packages/pull/48542#issuecomment-1929597043

Comment:
> vinstall in post_install then vmove in the subpackage function

done

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PR PATCH] [Merged]: qtile-wayland: add wayland session entry
  2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
                   ` (5 preceding siblings ...)
  2024-02-06 13:26 ` Luciogi
@ 2024-02-06 16:52 ` classabbyamp
  6 siblings, 0 replies; 8+ messages in thread
From: classabbyamp @ 2024-02-06 16:52 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

qtile-wayland: add wayland session entry
https://github.com/void-linux/void-packages/pull/48542

Description:
#### 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)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-02-06 16:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-05 13:55 [PR PATCH] qtile-wayland: add wayland session entry Luciogi
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

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).