Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Qtile wayland
@ 2023-08-07  7:49 sgn
  2023-08-07  7:51 ` [PR REVIEW] " classabbyamp
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: sgn @ 2023-08-07  7:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/sgn/void-packages qtile-wayland
https://github.com/void-linux/void-packages/pull/45467

Qtile wayland
<!-- Uncomment relevant sections and delete options which are not applicable -->
Close #45429 
Close #45430 
Close #45431 

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- 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.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From 07164cd9ceb04d74ba5338431bbe8f927622430c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 3 Aug 2023 13:58:39 +0700
Subject: [PATCH 1/4] New package: python3-pywayland-0.4.16

Close: #45430
---
 srcpkgs/python3-pywayland/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-pywayland/template

diff --git a/srcpkgs/python3-pywayland/template b/srcpkgs/python3-pywayland/template
new file mode 100644
index 0000000000000..103360eaf37ff
--- /dev/null
+++ b/srcpkgs/python3-pywayland/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pywayland'
+pkgname=python3-pywayland
+version=0.4.16
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools wayland-protocols pkg-config
+ python3-wheel python3-cffi wayland-devel"
+makedepends="python3-devel wayland-devel"
+depends="python3-cffi"
+short_desc="Python bindings for the libwayland library"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/flacjacket/pywayland"
+distfiles="${PYPI_SITE}/p/pywayland/pywayland-${version}.tar.gz"
+checksum=aaa70c870b0ab365215f8e71505f73683c4ed15b1f3638433b1dc7344fe5b5dd
+make_check=no

From fa2f7fda01c4c5ffd42b7ed14d4f6027ece8ce0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 3 Aug 2023 14:09:35 +0700
Subject: [PATCH 2/4] New package: python3-xkbcommon-0.8

Close #45431
---
 srcpkgs/python3-xkbcommon/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-xkbcommon/template

diff --git a/srcpkgs/python3-xkbcommon/template b/srcpkgs/python3-xkbcommon/template
new file mode 100644
index 0000000000000..fa0f294c72fed
--- /dev/null
+++ b/srcpkgs/python3-xkbcommon/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-xkbcommon'
+pkgname=python3-xkbcommon
+version=0.8
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-cffi python3-setuptools python3-wheel"
+makedepends="libxkbcommon-devel python3-devel"
+depends="python3 python3-cffi"
+short_desc="Python bindings for libxkbcommon using cffi"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="MIT"
+homepage="https://github.com/sde1000/python-xkbcommon"
+distfiles="${PYPI_SITE}/x/xkbcommon/xkbcommon-${version}.tar.gz"
+checksum=5be5973bf5b7525687a4df6c84789b421590d7f7cf92ae56f2aab177b795d516
+
+post_install() {
+	vlicense LICENSE
+}

From aa15b2ec6bb01a46da19ea8f7370900a8184e832 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Thu, 3 Aug 2023 14:11:37 +0700
Subject: [PATCH 3/4] New package: python3-pywlroots-0.15-0.15.24

Close #45429
---
 srcpkgs/python3-pywlroots-0.15/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-pywlroots-0.15/template

diff --git a/srcpkgs/python3-pywlroots-0.15/template b/srcpkgs/python3-pywlroots-0.15/template
new file mode 100644
index 0000000000000..5cd6b160045f3
--- /dev/null
+++ b/srcpkgs/python3-pywlroots-0.15/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-pywlroots-0.15'
+pkgname=python3-pywlroots-0.15
+version=0.15.24
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools python3-cffi python3-pywayland python3-xkbcommon
+ python3-wheel"
+makedepends="python3-devel wlroots${pkgname##*-}-devel"
+depends="python3-pywayland python3-xkbcommon python3-cffi"
+short_desc="Python binding to the wlroots ${pkgname##*-} using cffi"
+maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
+license="MIT"
+homepage="https://github.com/flacjacket/pywlroots"
+distfiles="${PYPI_SITE}/p/pywlroots/pywlroots-${version}.tar.gz"
+checksum=4ef621c6201b2be9a970413dcbbf561fde9dcde0e7bc8d313da53149842ac871

From e417de51066ad2556298f906ff247b99ac5a6fa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
 <congdanhqx@gmail.com>
Date: Mon, 7 Aug 2023 14:33:53 +0700
Subject: [PATCH 4/4] qtile: add subpkg for wayland dependencies

---
 srcpkgs/qtile-wayland  |  1 +
 srcpkgs/qtile/template | 16 +++++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/qtile-wayland

diff --git a/srcpkgs/qtile-wayland b/srcpkgs/qtile-wayland
new file mode 120000
index 0000000000000..37d4345d5336d
--- /dev/null
+++ b/srcpkgs/qtile-wayland
@@ -0,0 +1 @@
+qtile
\ No newline at end of file
diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
index 3f16eada0cda7..7b466061079e4 100644
--- a/srcpkgs/qtile/template
+++ b/srcpkgs/qtile/template
@@ -1,10 +1,12 @@
 # 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"
+_wlroots=0.15
+hostmakedepends="python3-setuptools_scm python3-cairocffi python3-xcffib python3-wheel
+ pkg-config python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
+makedepends="python3-devel libffi-devel pulseaudio-devel wlroots${_wlroots}-devel"
 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>"
@@ -18,3 +20,11 @@ post_install() {
 	vinstall resources/qtile.desktop 644 usr/share/xsessions
 	vlicense LICENSE
 }
+
+qtile-wayland_package() {
+	depends="${sourcepkg}>=${version}_${revision}
+	 python3-pywlroots-${_wlroots} python3-pywayland python3-xkbcommon"
+	pkg_install() {
+		vmove ${py3_sitelib}/libqtile/backend/wayland
+	}
+}

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

end of thread, other threads:[~2023-08-09 23:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-07  7:49 [PR PATCH] Qtile wayland sgn
2023-08-07  7:51 ` [PR REVIEW] " classabbyamp
2023-08-07  8:01 ` [PR PATCH] [Updated] " sgn
2023-08-07  8:38 ` [PR REVIEW] " mhmdanas
2023-08-07  8:38 ` mhmdanas
2023-08-07  8:57 ` sgn
2023-08-07  9:00 ` sgn
2023-08-07  9:01 ` sgn
2023-08-07 15:05 ` [PR PATCH] [Updated] " sgn
2023-08-07 15:07 ` sgn
2023-08-09 13:14 ` sgn
2023-08-09 23:54 ` [PR PATCH] [Merged]: " sgn

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