From: brunothedev <brunothedev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Packaging dependencies for wayland in qtile
Date: Tue, 29 Nov 2022 19:56:06 +0100 [thread overview]
Message-ID: <20221129185606.qxJ93cxMMdu_GQDSvlnnOLwUoTl2T867MhpeYmo23NM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40837@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1648 bytes --]
There is an updated pull request by brunothedev against master on the void-packages repository
https://github.com/brunothedev/void-packages qtile-wayland
https://github.com/void-linux/void-packages/pull/40837
Packaging dependencies for wayland in qtile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
# Introduction
Before getting into the pull request, i would like to tell that this is my first contribution to void-linux/void-packages, so i am sorry if i made any mistakes(I probably added too much dependencies), i would also like to point out that this pull request may be needed to be splitted, since it adds 3 packages and modify 1 package.
## Summary
This pull request add the following packages:
- python-pywayland
- python-xkbcommon
- pywlroots
This pull request modify:
- qtile
## Reason
The reason i made this pull request is to add all the dependencies to use qtile with the wayland backend
A patch file from https://github.com/void-linux/void-packages/pull/40837.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qtile-wayland-40837.patch --]
[-- Type: text/x-diff, Size: 6612 bytes --]
From 86b457e205ba64814e70271c698f4801f3f855f1 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 12:42:09 -0300
Subject: [PATCH 1/6] Added python-pywayland as a package
---
srcpkgs/python-pywayland/template | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
create mode 100644 srcpkgs/python-pywayland/template
diff --git a/srcpkgs/python-pywayland/template b/srcpkgs/python-pywayland/template
new file mode 100644
index 000000000000..4be85ca1bb9a
--- /dev/null
+++ b/srcpkgs/python-pywayland/template
@@ -0,0 +1,24 @@
+# Template file for 'python-pywayland'
+pkgname=python-pywayland
+version=0.4.14
+revision=1
+hostmakedepends="pkg-config"
+makedepends="python3-devel python3-cffi wayland-devel python3-setuptools"
+depends="python3 python3-cffi wayland"
+build_style=python3-module
+short_desc="Python bindings for the libwayland library"
+maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/flacjacket/pywayland"
+distfiles="https://github.com/flacjacket/pywayland/archive/refs/tags/v${version}.tar.gz"
+checksum="3d5ce72781e57ece36cdf6a012122bddc5153b4de7be41224d04279a2f28aa00"
+
+configure() {
+ python3 -m pywayland.scanner
+ python3 pywayland/ffi_build.py
+}
+
+install() {
+ mkdir -p ${PKGDESTDIR}/usr/lib
+ python3 setup.py install
+}
From b2c788bf745e864bb302ed1be320bf104fc0dba2 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 12:55:36 -0300
Subject: [PATCH 2/6] Added the package python-xkbcommon
---
srcpkgs/python-xkbcommon/template | 13 +++++++++++++
1 file changed, 13 insertions(+)
create mode 100644 srcpkgs/python-xkbcommon/template
diff --git a/srcpkgs/python-xkbcommon/template b/srcpkgs/python-xkbcommon/template
new file mode 100644
index 000000000000..f5c2e6ed9b72
--- /dev/null
+++ b/srcpkgs/python-xkbcommon/template
@@ -0,0 +1,13 @@
+# Template file for 'python-xkbcommon'
+pkgname=python-xkbcommon
+version=0.4
+revision=1
+makedepends="python3-devel python3-cffi libxkbcommon-devel python3-setuptools"
+depends="python3 python3-cffi libxkbcommon"
+build_style=python3-module
+short_desc="Python bindings for libxkbcommon using cffi"
+maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
+license="MIT"
+homepage="https://github.com/sde1000/python-xkbcommon"
+distfiles="https://github.com/sde1000/python-xkbcommon/archive/refs/tags/v${version}.tar.gz"
+checksum="a6df3745dbce77dde020e1125e4d6b66ce0db3eb8b704eeb8cf1d3a63003fddb"
From 2db8ba5627434b0b35af4330683c3db16f00cdc0 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 13:23:13 -0300
Subject: [PATCH 3/6] Added pywlroots package
---
srcpkgs/pywlroots/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/pywlroots/template
diff --git a/srcpkgs/pywlroots/template b/srcpkgs/pywlroots/template
new file mode 100644
index 000000000000..c465ef7506ce
--- /dev/null
+++ b/srcpkgs/pywlroots/template
@@ -0,0 +1,17 @@
+# Template file for 'pywlroots'
+pkgname=pywlroots
+version=0.15.24
+revision=1
+makedepends="wlroots-devel python3-devel python3-cffi python-pywayland python-xkbcommon python3-setuptools"
+depends="wlroots python3 python3-cffi python-pywayland python-xkbcommon"
+build_style=python3-module
+short_desc="Python binding to the wlroots library using cffi"
+maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
+license="NCSA"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="https://github.com/flacjacket/pywlroots/archive/refs/tags/v${version}.tar.gz"
+checksum="306a3f8e1e686ddf1da439934968e40f4161ec7dd9f8f7887fa851b19b652a23"
+
+configure() {
+ python3 wlroots/ffi_build.py
+}
From f5f9e091e09dd66c4de642b7f66f0827b3cf53fa Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 13:31:36 -0300
Subject: [PATCH 4/6] Added pywlroots as a dependency on qtile
---
srcpkgs/qtile/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 3f16eada0cda..2d8b35c58cd9 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,11 +1,11 @@
# Template file for 'qtile'
pkgname=qtile
version=0.22.0
-revision=2
+revision=3
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel pkg-config"
makedepends="python3-devel libffi-devel pulseaudio-devel"
-depends="python3-cairocffi python3-xcffib pango gdk-pixbuf"
+depends="python3-cairocffi python3-xcffib pango gdk-pixbuf pywlroots"
short_desc="Full-featured tiling window manager written and configured in Python"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="MIT"
From fb531ee8801b07447c2f37509f124a8434d7eb31 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 15:18:38 -0300
Subject: [PATCH 5/6] qtile: Informing of a optional dependency for wayland
---
srcpkgs/qtile/INSTALL.msg | 2 ++
1 file changed, 2 insertions(+)
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
index 95c75c2e6561..6b1fba73ba1d 100644
--- a/srcpkgs/qtile/INSTALL.msg
+++ b/srcpkgs/qtile/INSTALL.msg
@@ -7,3 +7,5 @@
- "KeyChord"'s signature has changed. "mode" is now a boolean to indicate
whether the mode should persist. The "name" parameter should be used
to name the chord (e.g. for the ``Chord`` widget).
+
+- Wayland backend: To enable wayland backend, please install the "pywlroots" package
From 55323518ff0718f62616d22c21bd0af71baa11fe Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 15:55:00 -0300
Subject: [PATCH 6/6] qtile: Removing 'pywlroots' as a dependency
---
srcpkgs/qtile/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 2d8b35c58cd9..335eec7b1409 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -5,7 +5,7 @@ revision=3
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel pkg-config"
makedepends="python3-devel libffi-devel pulseaudio-devel"
-depends="python3-cairocffi python3-xcffib pango gdk-pixbuf pywlroots"
+depends="python3-cairocffi python3-xcffib pango gdk-pixbuf"
short_desc="Full-featured tiling window manager written and configured in Python"
maintainer="Kai Stian Olstad <void@olstad.com>"
license="MIT"
next prev parent reply other threads:[~2022-11-29 18:56 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-29 16:51 [PR PATCH] " brunothedev
2022-11-29 16:58 ` [PR REVIEW] " classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 16:58 ` classabbyamp
2022-11-29 17:02 ` brunothedev
2022-11-29 18:10 ` ahesford
2022-11-29 18:19 ` [PR PATCH] [Updated] " brunothedev
2022-11-29 18:21 ` [PR REVIEW] " brunothedev
2022-11-29 18:35 ` ahesford
2022-11-29 18:56 ` brunothedev [this message]
2022-11-29 19:28 ` [PR PATCH] [Updated] " brunothedev
2022-11-29 20:02 ` brunothedev
2022-11-29 23:22 ` paper42
2022-11-29 23:26 ` [PR REVIEW] " paper42
2022-11-29 23:26 ` paper42
2022-11-29 23:26 ` paper42
2022-11-30 0:43 ` brunothedev
2022-11-30 0:43 ` [PR PATCH] [Closed]: " brunothedev
2022-11-30 0:43 ` brunothedev
2022-11-30 0:45 ` paper42
2022-11-30 0:54 ` brunothedev
2022-11-30 1:13 ` [PR PATCH] [Updated] " brunothedev
2022-11-30 9:47 ` [PR REVIEW] " sgn
2022-11-30 12:37 ` [PR PATCH] [Updated] " brunothedev
2022-11-30 13:29 ` ahesford
2022-11-30 14:18 ` [PR PATCH] [Updated] " brunothedev
2022-12-05 18:51 ` brunothedev
2022-12-05 18:53 ` classabbyamp
2022-12-06 12:51 ` brunothedev
2022-12-23 20:01 ` brunothedev
2022-12-23 20:01 ` [PR PATCH] [Closed]: " brunothedev
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=20221129185606.qxJ93cxMMdu_GQDSvlnnOLwUoTl2T867MhpeYmo23NM@z \
--to=brunothedev@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).