Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Packaging dependencies for wayland in qtile
@ 2022-11-29 16:51 brunothedev
  2022-11-29 16:58 ` [PR REVIEW] " classabbyamp
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: brunothedev @ 2022-11-29 16:51 UTC (permalink / raw)
  To: ml

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

There is a new 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: 4843 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/4] 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/4] 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/4] 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/4] 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"

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

end of thread, other threads:[~2022-12-23 20:01 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-29 16:51 [PR PATCH] Packaging dependencies for wayland in qtile 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 ` [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

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