From: brunothedev <brunothedev@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Packaging dependencies for wayland in qtile
Date: Wed, 30 Nov 2022 15:18:57 +0100 [thread overview]
Message-ID: <20221130141857.UsDggSW73dV3ihiQ9s1wY2QAP6sJA_PpZJIdFWoQFMk@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: 28425 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 01/27] 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 02/27] 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 03/27] 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 04/27] 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 05/27] 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 06/27] 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"
From b07f483c5ec4b5b851cf5adb9f8de3a8be9ad80b Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:15:23 -0300
Subject: [PATCH 07/27] qtile: Moved the wayland message from INSTALL.msg to
README.voidlinux
---
srcpkgs/qtile/INSTALL.msg | 2 --
srcpkgs/qtile/files/README.voidlinux | 3 +++
srcpkgs/qtile/template | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
create mode 100644 srcpkgs/qtile/files/README.voidlinux
diff --git a/srcpkgs/qtile/INSTALL.msg b/srcpkgs/qtile/INSTALL.msg
index 6b1fba73ba1d..95c75c2e6561 100644
--- a/srcpkgs/qtile/INSTALL.msg
+++ b/srcpkgs/qtile/INSTALL.msg
@@ -7,5 +7,3 @@
- "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
diff --git a/srcpkgs/qtile/files/README.voidlinux b/srcpkgs/qtile/files/README.voidlinux
new file mode 100644
index 000000000000..12fdacdd8cdd
--- /dev/null
+++ b/srcpkgs/qtile/files/README.voidlinux
@@ -0,0 +1,3 @@
+-- Wayland backend --
+
+To use the wayland backend on qtile, install "pywlroots"
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 335eec7b1409..c45fb7b535bf 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -17,4 +17,5 @@ checksum=ecec16cf41b6bbbc1847d0cd3f7dba68eb16fa175fbe856a229817297f605f6e
post_install() {
vinstall resources/qtile.desktop 644 usr/share/xsessions
vlicense LICENSE
+ vdoc "${FILESDIR}/README.voidlinux"
}
From 2b8e75971a69343bd2f0eb3dc804135c579f3b5b Mon Sep 17 00:00:00 2001
From: Bruno Henrique <65919961+brunothedev@users.noreply.github.com>
Date: Tue, 29 Nov 2022 16:28:30 -0300
Subject: [PATCH 08/27] Changing package name: From python-xkbcommon to
python3-xkbcommon
Co-authored-by: classabbyamp <5366828+classabbyamp@users.noreply.github.com>
---
srcpkgs/python-xkbcommon/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python-xkbcommon/template b/srcpkgs/python-xkbcommon/template
index f5c2e6ed9b72..184a11420346 100644
--- a/srcpkgs/python-xkbcommon/template
+++ b/srcpkgs/python-xkbcommon/template
@@ -1,5 +1,5 @@
# Template file for 'python-xkbcommon'
-pkgname=python-xkbcommon
+pkgname=python3-xkbcommon
version=0.4
revision=1
makedepends="python3-devel python3-cffi libxkbcommon-devel python3-setuptools"
From fbfcc0a9c81197f5046745735c2b18c9544ab560 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:37:46 -0300
Subject: [PATCH 09/27] python3-xkbcommon: Fully transitioning the package name
---
srcpkgs/{python-xkbcommon => python3-xkbcommon}/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename srcpkgs/{python-xkbcommon => python3-xkbcommon}/template (91%)
diff --git a/srcpkgs/python-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
similarity index 91%
rename from srcpkgs/python-xkbcommon/template
rename to srcpkgs/python3-xkbcommon/template
index 184a11420346..70d062c6ea2f 100644
--- a/srcpkgs/python-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -1,7 +1,7 @@
-# Template file for 'python-xkbcommon'
+# Template file for 'python3-xkbcommon'
pkgname=python3-xkbcommon
version=0.4
-revision=1
+revision=2
makedepends="python3-devel python3-cffi libxkbcommon-devel python3-setuptools"
depends="python3 python3-cffi libxkbcommon"
build_style=python3-module
From 755cd33d63f417b3e7759ecaf3d236154c27e367 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:41:03 -0300
Subject: [PATCH 10/27] python3-xkbcommon: Handling the license better
---
srcpkgs/python3-xkbcommon/template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
index 70d062c6ea2f..65d3a93acb41 100644
--- a/srcpkgs/python3-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -11,3 +11,7 @@ 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"
+
+post_install() {
+ vlicense LICENSE
+}
From f70031970c1991907caee6a0b0f8238e4a01e0d0 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:44:34 -0300
Subject: [PATCH 11/27] python3-xkbcommon: Removing useless dependencies
---
srcpkgs/python3-xkbcommon/template | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
index 65d3a93acb41..3e02f19caab0 100644
--- a/srcpkgs/python3-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -1,9 +1,10 @@
# Template file for 'python3-xkbcommon'
pkgname=python3-xkbcommon
version=0.4
-revision=2
-makedepends="python3-devel python3-cffi libxkbcommon-devel python3-setuptools"
-depends="python3 python3-cffi libxkbcommon"
+revision=4
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel python3-cffi libxkbcommon-devel"
+depends="python3-cffi"
build_style=python3-module
short_desc="Python bindings for libxkbcommon using cffi"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
From 6b7c4f5016a4b5787bb5ad11456add8a04212987 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:49:16 -0300
Subject: [PATCH 12/27] python3-pywlroots: Changing names and fixing
dependencies
---
srcpkgs/{pywlroots => python3-pywlroots}/template | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
rename srcpkgs/{pywlroots => python3-pywlroots}/template (62%)
diff --git a/srcpkgs/pywlroots/template b/srcpkgs/python3-pywlroots/template
similarity index 62%
rename from srcpkgs/pywlroots/template
rename to srcpkgs/python3-pywlroots/template
index c465ef7506ce..82f511a730cb 100644
--- a/srcpkgs/pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -1,9 +1,10 @@
-# Template file for 'pywlroots'
-pkgname=pywlroots
+# Template file for 'python3-pywlroots'
+pkgname=python3-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"
+revision=2
+hostmakedepends="python3-setuptools"
+makedepends="wlroots-devel python3-devel python3-cffi python3-pywayland python3-xkbcommon"
+depends="wlroots python3-cffi python3-pywayland python3-xkbcommon"
build_style=python3-module
short_desc="Python binding to the wlroots library using cffi"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
From 5a15a49c1ece270afc27ba2714cda50491a57341 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:52:56 -0300
Subject: [PATCH 13/27] python3-pywayland: Changing name and removing useless
dependencies
---
.../{python-pywayland => python3-pywayland}/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
rename srcpkgs/{python-pywayland => python3-pywayland}/template (71%)
diff --git a/srcpkgs/python-pywayland/template b/srcpkgs/python3-pywayland/template
similarity index 71%
rename from srcpkgs/python-pywayland/template
rename to srcpkgs/python3-pywayland/template
index 4be85ca1bb9a..0849b1adda94 100644
--- a/srcpkgs/python-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -1,10 +1,10 @@
-# Template file for 'python-pywayland'
-pkgname=python-pywayland
+# Template file for 'python3-pywayland'
+pkgname=python3-pywayland
version=0.4.14
-revision=1
-hostmakedepends="pkg-config"
-makedepends="python3-devel python3-cffi wayland-devel python3-setuptools"
-depends="python3 python3-cffi wayland"
+revision=2
+hostmakedepends="pkg-config python3-setuptools"
+makedepends="python3-devel python3-cffi wayland-devel"
+depends="python3-cffi wayland"
build_style=python3-module
short_desc="Python bindings for the libwayland library"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
From c72a10c35760a5b4aa44081355f4e4d51cce1829 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:55:14 -0300
Subject: [PATCH 14/27] python3-pywayland: Better license handling
---
srcpkgs/python3-pywayland/template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index 0849b1adda94..1c376c8d4a6d 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -22,3 +22,7 @@ install() {
mkdir -p ${PKGDESTDIR}/usr/lib
python3 setup.py install
}
+
+post_install () {
+ vlicense LICENSE
+}
From a33f5c505bc1e25afb4190f8d75ed32c17ee559c Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 16:57:22 -0300
Subject: [PATCH 15/27] python3-pywlroots: Better error handling
---
srcpkgs/python3-pywlroots/template | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/srcpkgs/python3-pywlroots/template b/srcpkgs/python3-pywlroots/template
index 82f511a730cb..8c323739465d 100644
--- a/srcpkgs/python3-pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -16,3 +16,7 @@ checksum="306a3f8e1e686ddf1da439934968e40f4161ec7dd9f8f7887fa851b19b652a23"
configure() {
python3 wlroots/ffi_build.py
}
+
+post_install() {
+ vlicense LICENSE
+}
From c5e2ea17f67ec89ad78472181107c3b141d8b70d Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 17:00:50 -0300
Subject: [PATCH 16/27] python3-pywayland: Updating the revision number
---
srcpkgs/python3-pywayland/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index 1c376c8d4a6d..c53dd10c31c8 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -1,7 +1,7 @@
# Template file for 'python3-pywayland'
pkgname=python3-pywayland
version=0.4.14
-revision=2
+revision=3
hostmakedepends="pkg-config python3-setuptools"
makedepends="python3-devel python3-cffi wayland-devel"
depends="python3-cffi wayland"
From 25f8b38e87b718c621463d1f32c5a998c1bf6768 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 17:01:20 -0300
Subject: [PATCH 17/27] python3-pywlroots: Updating the revision number
---
srcpkgs/python3-pywlroots/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pywlroots/template b/srcpkgs/python3-pywlroots/template
index 8c323739465d..5fe24fdb2c66 100644
--- a/srcpkgs/python3-pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -1,7 +1,7 @@
# Template file for 'python3-pywlroots'
pkgname=python3-pywlroots
version=0.15.24
-revision=2
+revision=3
hostmakedepends="python3-setuptools"
makedepends="wlroots-devel python3-devel python3-cffi python3-pywayland python3-xkbcommon"
depends="wlroots python3-cffi python3-pywayland python3-xkbcommon"
From d856f85c3a85b7ed06f279dec785aa45a01b03a0 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 21:58:51 -0300
Subject: [PATCH 18/27] python3-pywayland: Fixed lint, fixed revisions and
removed unused functions
---
srcpkgs/python3-pywayland/template | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index c53dd10c31c8..b92eaac92a59 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -1,11 +1,11 @@
# Template file for 'python3-pywayland'
pkgname=python3-pywayland
version=0.4.14
-revision=3
+revision=1
+build_style=python3-module
hostmakedepends="pkg-config python3-setuptools"
makedepends="python3-devel python3-cffi wayland-devel"
depends="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"
@@ -13,16 +13,6 @@ 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
-}
-
post_install () {
vlicense LICENSE
}
From a1b6bda1e29d9a45d86770d068abac6877aaf69f Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 22:01:11 -0300
Subject: [PATCH 19/27] python3-xkbcommon: Fixed lint and fixed revisions
---
srcpkgs/python3-xkbcommon/template | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
index 3e02f19caab0..ecaa642fd38b 100644
--- a/srcpkgs/python3-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -1,11 +1,11 @@
# Template file for 'python3-xkbcommon'
pkgname=python3-xkbcommon
version=0.4
-revision=4
+revision=1
+build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel python3-cffi libxkbcommon-devel"
depends="python3-cffi"
-build_style=python3-module
short_desc="Python bindings for libxkbcommon using cffi"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
license="MIT"
From 56bcd5788cc431c69fcf5de26ef94a44ed15478e Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 22:03:06 -0300
Subject: [PATCH 20/27] python3-pywlroots: Fixed lint, fixed revisions and
removed unused functions
---
srcpkgs/python3-pywlroots/template | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-pywlroots/template b/srcpkgs/python3-pywlroots/template
index 5fe24fdb2c66..fec5b6afeab7 100644
--- a/srcpkgs/python3-pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -1,11 +1,11 @@
# Template file for 'python3-pywlroots'
pkgname=python3-pywlroots
version=0.15.24
-revision=3
+revision=1
+build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="wlroots-devel python3-devel python3-cffi python3-pywayland python3-xkbcommon"
depends="wlroots python3-cffi python3-pywayland python3-xkbcommon"
-build_style=python3-module
short_desc="Python binding to the wlroots library using cffi"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
license="NCSA"
@@ -13,10 +13,6 @@ 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
-}
-
post_install() {
vlicense LICENSE
}
From b630da0771cc9a9d21b4fa4cc7b2e63851fc3c62 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Tue, 29 Nov 2022 22:11:57 -0300
Subject: [PATCH 21/27] python3-pywayland: Making it not install the license,
as is not needed
---
srcpkgs/python3-pywayland/template | 4 ----
1 file changed, 4 deletions(-)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index b92eaac92a59..e646c6a34a85 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -12,7 +12,3 @@ 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"
-
-post_install () {
- vlicense LICENSE
-}
From df9d7ff7a240286ba906bdfb32f3ec0f9b394852 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 08:55:24 -0300
Subject: [PATCH 22/27] python3-pywayland: Adding python3-pip as a dependency
---
srcpkgs/python3-pywayland/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index e646c6a34a85..7f5a707b6fca 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -3,7 +3,7 @@ pkgname=python3-pywayland
version=0.4.14
revision=1
build_style=python3-module
-hostmakedepends="pkg-config python3-setuptools"
+hostmakedepends="pkg-config python3-setuptools python3-pip"
makedepends="python3-devel python3-cffi wayland-devel"
depends="python3-cffi wayland"
short_desc="Python bindings for the libwayland library"
From 400ca2fab319a7d9e3f488ff5b33ddaea2c4eb23 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 08:57:13 -0300
Subject: [PATCH 23/27] python3-xkbcommon: Adding python3-pip as a dependency
---
srcpkgs/python3-xkbcommon/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
index ecaa642fd38b..fa1a3d3644a4 100644
--- a/srcpkgs/python3-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -3,7 +3,7 @@ pkgname=python3-xkbcommon
version=0.4
revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools python3-pip"
makedepends="python3-devel python3-cffi libxkbcommon-devel"
depends="python3-cffi"
short_desc="Python bindings for libxkbcommon using cffi"
From 97849c5926f48a215f64572ea4fd2a55a7e269f6 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 08:58:45 -0300
Subject: [PATCH 24/27] python3-pywlroots: Adding python3-pip as a dependency
---
srcpkgs/python3-pywlroots/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pywlroots/template b/srcpkgs/python3-pywlroots/template
index fec5b6afeab7..23d417d074db 100644
--- a/srcpkgs/python3-pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -3,7 +3,7 @@ pkgname=python3-pywlroots
version=0.15.24
revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools python3-pip"
makedepends="wlroots-devel python3-devel python3-cffi python3-pywayland python3-xkbcommon"
depends="wlroots python3-cffi python3-pywayland python3-xkbcommon"
short_desc="Python binding to the wlroots library using cffi"
From 5dad6ba01d2fe3f051e6ce7ba1632d302e581671 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 11:14:12 -0300
Subject: [PATCH 25/27] python3-pywayland: Adding python3-wheel as a
dependency, and removing pip as one
---
srcpkgs/python3-pywayland/template | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
index 7f5a707b6fca..14d22260f890 100644
--- a/srcpkgs/python3-pywayland/template
+++ b/srcpkgs/python3-pywayland/template
@@ -3,9 +3,9 @@ pkgname=python3-pywayland
version=0.4.14
revision=1
build_style=python3-module
-hostmakedepends="pkg-config python3-setuptools python3-pip"
-makedepends="python3-devel python3-cffi wayland-devel"
-depends="python3-cffi wayland"
+hostmakedepends="pkg-config python3-setuptools"
+makedepends="python3-devel python3-cffi wayland-devel python3-wheel"
+depends="python3-cffi wayland python3-wheel"
short_desc="Python bindings for the libwayland library"
maintainer="Bruno Henrique <brunohenrique122@protonmail.com>"
license="Apache-2.0"
From a0ded12c96eb51dac8f26440222419c2c78ab43a Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 11:16:07 -0300
Subject: [PATCH 26/27] python3-xkbcommon: Removing python3-pip as a dependency
---
srcpkgs/python3-xkbcommon/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
index fa1a3d3644a4..ecaa642fd38b 100644
--- a/srcpkgs/python3-xkbcommon/template
+++ b/srcpkgs/python3-xkbcommon/template
@@ -3,7 +3,7 @@ pkgname=python3-xkbcommon
version=0.4
revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools python3-pip"
+hostmakedepends="python3-setuptools"
makedepends="python3-devel python3-cffi libxkbcommon-devel"
depends="python3-cffi"
short_desc="Python bindings for libxkbcommon using cffi"
From c68794c66d525df5686d59effdf1b38cac9c19b4 Mon Sep 17 00:00:00 2001
From: Bruno Henrique <brunohenrique122@protonmail.com>
Date: Wed, 30 Nov 2022 11:17:04 -0300
Subject: [PATCH 27/27] python3-pywlroots: Removing python3-pip as a dependency
---
srcpkgs/python3-pywlroots/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pywlroots/template b/srcpkgs/python3-pywlroots/template
index 23d417d074db..fec5b6afeab7 100644
--- a/srcpkgs/python3-pywlroots/template
+++ b/srcpkgs/python3-pywlroots/template
@@ -3,7 +3,7 @@ pkgname=python3-pywlroots
version=0.15.24
revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools python3-pip"
+hostmakedepends="python3-setuptools"
makedepends="wlroots-devel python3-devel python3-cffi python3-pywayland python3-xkbcommon"
depends="wlroots python3-cffi python3-pywayland python3-xkbcommon"
short_desc="Python binding to the wlroots library using cffi"
next prev parent reply other threads:[~2022-11-30 14:18 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 ` [PR PATCH] [Updated] " brunothedev
2022-11-29 19:28 ` 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 ` brunothedev [this message]
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=20221130141857.UsDggSW73dV3ihiQ9s1wY2QAP6sJA_PpZJIdFWoQFMk@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).