Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: qtile-0.21.0
@ 2022-08-01 17:35 kaistian
  2022-08-01 20:24 ` Chocimier
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: kaistian @ 2022-08-01 17:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/38414

New package: qtile-0.21.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #14373

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



#### Local build testing
  - I built this PR locally for my native architecture, x86_64-glibc
<!--
  - I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

I tried to build it for armv7l but failes with
```
      armv7l-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -I/usr/armv7l-linux-gnueabihf/usr/include -fdebug-prefix-map=/builddir/qtile-0.21.0=. -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.o
      cc1: error: unrecognized -mtune target: generic
      cc1: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
      error: command '/builddir/.xbps-qtile/wrappers/armv7l-linux-gnueabihf-gcc' failed with exit code 1
```
It tries to compile with `-mtune=generic` something `armv7l-linux-gnueabihf-gcc` doesn't support.
I have tried to find a solution, but no luck so far, any suggestions?

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

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

From a755f0712d6ffcb0a792259ad6d92c25433666dd Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:41:42 +0200
Subject: [PATCH 1/3] New package: python3-xcffib-0.11.1

---
 srcpkgs/python3-xcffib/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-xcffib/template

diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
new file mode 100644
index 000000000000..f04c80337075
--- /dev/null
+++ b/srcpkgs/python3-xcffib/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-xcffib'
+pkgname=python3-xcffib
+version=0.11.1
+revision=1
+wrksrc=xcffib-${version}
+build_style=python3-pep517
+hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
+makedepends="python3-devel libffi-devel libxcb-devel python3-six"
+depends="python3-six python3-cffi libxcb"
+short_desc="Drop-in replacement for xpyb based on cffi"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/tych0/xcffib"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3
+
+pre_build() {
+	cabal v2-update
+	PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib
+}

From 3a40869396cbfb9d188848c692d8f50ad13261f4 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:45:39 +0200
Subject: [PATCH 2/3] python3-cairocffi: update to 1.3.0 and python3-xcffib as
 dependency

---
 srcpkgs/python3-cairocffi/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index f27d35907eb0..69ecd12d570a 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-cairocffi'
 pkgname=python3-cairocffi
-version=1.2.0
-revision=2
+version=1.3.0
+revision=1
 wrksrc="cairocffi-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-xcffib"
 depends="python3-cffi cairo"
 checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
 short_desc="CFFI-based cairo bindings for Python3"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/Kozea/cairocffi"
 changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
 distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
+checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
 
 post_patch() {
 	vsed -e '/pytest-runner/d' -i setup.cfg

From 7d3ae03753916783e0ff51bf35b98a5c8ab6d88d Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:46:28 +0200
Subject: [PATCH 3/3] New package: qtile-0.21.0

---
 srcpkgs/qtile/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/qtile/template

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
new file mode 100644
index 000000000000..124a6399cdcd
--- /dev/null
+++ b/srcpkgs/qtile/template
@@ -0,0 +1,22 @@
+# Template file for 'qtile'
+pkgname=qtile
+version=0.21.0
+revision=1
+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"
+short_desc="Full-featured tiling window manager written and configured in Python"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="MIT"
+homepage="http://www.qtile.org/"
+changelog="https://raw.githubusercontent.com/qtile/qtile/v${version}/CHANGELOG"
+distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
+checksum=93e1f8216c669b5570333607d5d06de7d7f16033b0e73cf34c896459f2df5254
+
+# Pulseaudio is only needed for an optional widget
+skiprdeps="/usr/lib/python3.10/site-packages/libqtile/widget/_pulse_audio.abi3.so"
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
@ 2022-08-01 20:24 ` Chocimier
  2022-08-01 22:01 ` paper42
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Chocimier @ 2022-08-01 20:24 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1201675556

Comment:
Haskell code doesn't cross-compile. Mark python3-xcffib as nocross. 

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
  2022-08-01 20:24 ` Chocimier
@ 2022-08-01 22:01 ` paper42
  2022-08-01 22:14 ` [PR PATCH] [Updated] " kaistian
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-08-01 22:01 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1201767670

Comment:
Please add the commit email to your github profile.

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

* Re: [PR PATCH] [Updated] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
  2022-08-01 20:24 ` Chocimier
  2022-08-01 22:01 ` paper42
@ 2022-08-01 22:14 ` kaistian
  2022-08-01 22:29 ` kaistian
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-01 22:14 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by kaistian against master on the void-packages repository

https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/38414

New package: qtile-0.21.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #14373

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



#### Local build testing
  - I built this PR locally for my native architecture, x86_64-glibc
<!--
  - I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

I tried to build it for armv7l but failes with
```
      armv7l-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -I/usr/armv7l-linux-gnueabihf/usr/include -fdebug-prefix-map=/builddir/qtile-0.21.0=. -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.o
      cc1: error: unrecognized -mtune target: generic
      cc1: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
      error: command '/builddir/.xbps-qtile/wrappers/armv7l-linux-gnueabihf-gcc' failed with exit code 1
```
It tries to compile with `-mtune=generic` something `armv7l-linux-gnueabihf-gcc` doesn't support.
I have tried to find a solution, but no luck so far, any suggestions?

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

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

From ce916950aac31f8c035a581f9df8ad98c885b605 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:41:42 +0200
Subject: [PATCH 1/3] New package: python3-xcffib-0.11.1

---
 srcpkgs/python3-xcffib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-xcffib/template

diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
new file mode 100644
index 000000000000..d14453875ad2
--- /dev/null
+++ b/srcpkgs/python3-xcffib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-xcffib'
+pkgname=python3-xcffib
+version=0.11.1
+revision=1
+wrksrc=xcffib-${version}
+build_style=python3-pep517
+hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
+makedepends="python3-devel libffi-devel libxcb-devel python3-six"
+depends="python3-six python3-cffi libxcb"
+short_desc="Drop-in replacement for xpyb based on cffi"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/tych0/xcffib"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+nocross="Cannot yet cross compile with Haskell"
+checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3
+
+pre_build() {
+	cabal v2-update
+	PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib
+}

From 42f9cc49f13d27926a5f9132ecd1a1a89b6cce77 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:45:39 +0200
Subject: [PATCH 2/3] python3-cairocffi: update to 1.3.0 and python3-xcffib as
 dependency

---
 srcpkgs/python3-cairocffi/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index f27d35907eb0..69ecd12d570a 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-cairocffi'
 pkgname=python3-cairocffi
-version=1.2.0
-revision=2
+version=1.3.0
+revision=1
 wrksrc="cairocffi-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-xcffib"
 depends="python3-cffi cairo"
 checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
 short_desc="CFFI-based cairo bindings for Python3"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/Kozea/cairocffi"
 changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
 distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
+checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
 
 post_patch() {
 	vsed -e '/pytest-runner/d' -i setup.cfg

From 4f68d1e6369178e5062bc5f57ffd753c47347e31 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:46:28 +0200
Subject: [PATCH 3/3] New package: qtile-0.21.0

---
 srcpkgs/qtile/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/qtile/template

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
new file mode 100644
index 000000000000..124a6399cdcd
--- /dev/null
+++ b/srcpkgs/qtile/template
@@ -0,0 +1,22 @@
+# Template file for 'qtile'
+pkgname=qtile
+version=0.21.0
+revision=1
+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"
+short_desc="Full-featured tiling window manager written and configured in Python"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="MIT"
+homepage="http://www.qtile.org/"
+changelog="https://raw.githubusercontent.com/qtile/qtile/v${version}/CHANGELOG"
+distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
+checksum=93e1f8216c669b5570333607d5d06de7d7f16033b0e73cf34c896459f2df5254
+
+# Pulseaudio is only needed for an optional widget
+skiprdeps="/usr/lib/python3.10/site-packages/libqtile/widget/_pulse_audio.abi3.so"
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: [PR PATCH] [Updated] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (2 preceding siblings ...)
  2022-08-01 22:14 ` [PR PATCH] [Updated] " kaistian
@ 2022-08-01 22:29 ` kaistian
  2022-08-01 22:31 ` kaistian
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-01 22:29 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by kaistian against master on the void-packages repository

https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/38414

New package: qtile-0.21.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #14373

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



#### Local build testing
  - I built this PR locally for my native architecture, x86_64-glibc
<!--
  - I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

I tried to build it for armv7l but failes with
```
      armv7l-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -I/usr/armv7l-linux-gnueabihf/usr/include -fdebug-prefix-map=/builddir/qtile-0.21.0=. -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.o
      cc1: error: unrecognized -mtune target: generic
      cc1: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
      error: command '/builddir/.xbps-qtile/wrappers/armv7l-linux-gnueabihf-gcc' failed with exit code 1
```
It tries to compile with `-mtune=generic` something `armv7l-linux-gnueabihf-gcc` doesn't support.
I have tried to find a solution, but no luck so far, any suggestions?

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

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

From 5f63bbfbca23c006c5ba3d14404f2a9bd50518fd Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:41:42 +0200
Subject: [PATCH 1/3] New package: python3-xcffib-0.11.1

---
 srcpkgs/python3-xcffib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-xcffib/template

diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
new file mode 100644
index 000000000000..91e7006f2338
--- /dev/null
+++ b/srcpkgs/python3-xcffib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-xcffib'
+pkgname=python3-xcffib
+version=0.11.1
+revision=1
+wrksrc=xcffib-${version}
+build_style=python3-pep517
+hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
+makedepends="python3-devel libffi-devel libxcb-devel python3-six"
+depends="python3-six python3-cffi libxcb"
+short_desc="Drop-in replacement for xpyb based on cffi"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="Apache-2.0"
+homepage="https://github.com/tych0/xcffib"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3
+nocross="Cannot yet cross compile with Haskell"
+
+pre_build() {
+	cabal v2-update
+	PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib
+}

From 585b580e8a76d101f8004c063a1b9df476f62c83 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:45:39 +0200
Subject: [PATCH 2/3] python3-cairocffi: update to 1.3.0 and python3-xcffib as
 dependency

---
 srcpkgs/python3-cairocffi/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index f27d35907eb0..69ecd12d570a 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-cairocffi'
 pkgname=python3-cairocffi
-version=1.2.0
-revision=2
+version=1.3.0
+revision=1
 wrksrc="cairocffi-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel python3-xcffib"
 depends="python3-cffi cairo"
 checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
 short_desc="CFFI-based cairo bindings for Python3"
@@ -13,7 +13,7 @@ license="BSD-3-Clause"
 homepage="https://github.com/Kozea/cairocffi"
 changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
 distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
+checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
 
 post_patch() {
 	vsed -e '/pytest-runner/d' -i setup.cfg

From 3c54992ff4d9c3ba0642ac48c2a46e608b294b28 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:46:28 +0200
Subject: [PATCH 3/3] New package: qtile-0.21.0

---
 srcpkgs/qtile/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/qtile/template

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
new file mode 100644
index 000000000000..124a6399cdcd
--- /dev/null
+++ b/srcpkgs/qtile/template
@@ -0,0 +1,22 @@
+# Template file for 'qtile'
+pkgname=qtile
+version=0.21.0
+revision=1
+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"
+short_desc="Full-featured tiling window manager written and configured in Python"
+maintainer="Kai Stian Olstad <kai.stian.olstad@gmail.com>"
+license="MIT"
+homepage="http://www.qtile.org/"
+changelog="https://raw.githubusercontent.com/qtile/qtile/v${version}/CHANGELOG"
+distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
+checksum=93e1f8216c669b5570333607d5d06de7d7f16033b0e73cf34c896459f2df5254
+
+# Pulseaudio is only needed for an optional widget
+skiprdeps="/usr/lib/python3.10/site-packages/libqtile/widget/_pulse_audio.abi3.so"
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (3 preceding siblings ...)
  2022-08-01 22:29 ` kaistian
@ 2022-08-01 22:31 ` kaistian
  2022-08-07 11:51 ` [PR REVIEW] " sgn
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-01 22:31 UTC (permalink / raw)
  To: ml

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

New comment by kaistian on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1201797709

Comment:
> Haskell code doesn't cross-compile. Mark python3-xcffib as nocross.

Thanks, I have added the nocross.



> Please add the commit email to your github profile.

Done.

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (4 preceding siblings ...)
  2022-08-01 22:31 ` kaistian
@ 2022-08-07 11:51 ` sgn
  2022-08-07 14:13 ` kaistian
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-07 11:51 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939654816

Comment:
Is `python3-xcffib` a mandantory dependencies, could this package be built without it?

Haskell isn't available in ppc

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (5 preceding siblings ...)
  2022-08-07 11:51 ` [PR REVIEW] " sgn
@ 2022-08-07 14:13 ` kaistian
  2022-08-07 14:24 ` sgn
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-07 14:13 UTC (permalink / raw)
  To: ml

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

New review comment by kaistian on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939674685

Comment:
Yes I belive it's mandatory from https://docs.qtile.org/en/stable/manual/install/index.html#core-dependencies
`Qtile uses cairocffi for drawing on status bars and popup windows. Under X11, cairocffi requires XCB support via xcffib, which you should be sure to have installed before installing cairocffi, otherwise the needed cairo-xcb bindings will not be built.`

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (6 preceding siblings ...)
  2022-08-07 14:13 ` kaistian
@ 2022-08-07 14:24 ` sgn
  2022-08-07 14:25 ` sgn
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-07 14:24 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939676206

Comment:

```sh
hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
build_options="xcb"
case "$XBPS_MACHINE" in
x86_64*|i686|ppc64le*|ppc64)
    build_options_default="xcb"
esac
```

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (7 preceding siblings ...)
  2022-08-07 14:24 ` sgn
@ 2022-08-07 14:25 ` sgn
  2022-08-07 15:01 ` kaistian
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-07 14:25 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939676452

Comment:
Not sure why you don't want to depends on pulseaudio, but please don't.
Either split it into subpackage or make `qtile` depends on libpulseaudio, it's not that big.

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (8 preceding siblings ...)
  2022-08-07 14:25 ` sgn
@ 2022-08-07 15:01 ` kaistian
  2022-08-07 15:06 ` sgn
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-07 15:01 UTC (permalink / raw)
  To: ml

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

New review comment by kaistian on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939681366

Comment:
Only reason was that the widget is optional, for me personally I use it and have libpulseaudio installed.
I can just remove the line and xbps-src automatically add libpulseaudio as runtime dependency on the package.

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (9 preceding siblings ...)
  2022-08-07 15:01 ` kaistian
@ 2022-08-07 15:06 ` sgn
  2022-08-07 15:06 ` sgn
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-07 15:06 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939681982

Comment:
Remove it then, whoever want to complain, you can point them to me.

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

* Re: [PR REVIEW] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (10 preceding siblings ...)
  2022-08-07 15:06 ` sgn
@ 2022-08-07 15:06 ` sgn
  2022-08-07 15:55 ` [PR PATCH] [Updated] " kaistian
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-07 15:06 UTC (permalink / raw)
  To: ml

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

New review comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#discussion_r939681982

Comment:
Remove the line then, whoever want to complain, you can point them to me. `skiprdeps` in this case is bad.

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

* Re: [PR PATCH] [Updated] New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (11 preceding siblings ...)
  2022-08-07 15:06 ` sgn
@ 2022-08-07 15:55 ` kaistian
  2022-08-10  9:46 ` DirtyVoid
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: kaistian @ 2022-08-07 15:55 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by kaistian against master on the void-packages repository

https://github.com/kaistian/void-packages qtile
https://github.com/void-linux/void-packages/pull/38414

New package: qtile-0.21.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #14373

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



#### Local build testing
  - I built this PR locally for my native architecture, x86_64-glibc
<!--
  - I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

I tried to build it for armv7l but failes with
```
      armv7l-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -I/usr/armv7l-linux-gnueabihf/usr/include -fdebug-prefix-map=/builddir/qtile-0.21.0=. -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.o
      cc1: error: unrecognized -mtune target: generic
      cc1: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
      error: command '/builddir/.xbps-qtile/wrappers/armv7l-linux-gnueabihf-gcc' failed with exit code 1
```
It tries to compile with `-mtune=generic` something `armv7l-linux-gnueabihf-gcc` doesn't support.
I have tried to find a solution, but no luck so far, any suggestions?

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

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

From 250e67414576f440dd8353b5b6dde3c38e460130 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:41:42 +0200
Subject: [PATCH 1/3] New package: python3-xcffib-0.11.1

---
 srcpkgs/python3-xcffib/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-xcffib/template

diff --git a/srcpkgs/python3-xcffib/template b/srcpkgs/python3-xcffib/template
new file mode 100644
index 000000000000..afbd9e24981b
--- /dev/null
+++ b/srcpkgs/python3-xcffib/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-xcffib'
+pkgname=python3-xcffib
+version=0.11.1
+revision=1
+wrksrc=xcffib-${version}
+build_style=python3-pep517
+hostmakedepends="python3-setuptools pkg-config cabal-install parallel xcb-proto python3-cffi python3-wheel"
+makedepends="python3-devel libffi-devel libxcb-devel python3-six"
+depends="python3-six python3-cffi libxcb"
+short_desc="Drop-in replacement for xpyb based on cffi"
+maintainer="Kai Stian Olstad <void@olstad.com>"
+license="Apache-2.0"
+homepage="https://github.com/tych0/xcffib"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=bd89c1e65cf4773fe10d70209ba069e0e1fe82c37c121501fc404aa9867d0ff3
+nocross="Cannot yet cross compile with Haskell"
+
+pre_build() {
+	cabal v2-update
+	PKG_CONFIG_PATH=/usr/lib/pkgconfig make ${makejobs} xcffib
+}

From ac826f7e19b426f9f93dcf8d883b241985383435 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:45:39 +0200
Subject: [PATCH 2/3] python3-cairocffi: update to 1.3.0 and python3-xcffib as
 dependency

---
 srcpkgs/python3-cairocffi/template | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-cairocffi/template b/srcpkgs/python3-cairocffi/template
index f27d35907eb0..3443cbe3ad87 100644
--- a/srcpkgs/python3-cairocffi/template
+++ b/srcpkgs/python3-cairocffi/template
@@ -1,10 +1,10 @@
 # Template file for 'python3-cairocffi'
 pkgname=python3-cairocffi
-version=1.2.0
-revision=2
+version=1.3.0
+revision=1
 wrksrc="cairocffi-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools python3-cffi python3-wheel"
+hostmakedepends="python3-setuptools python3-cffi python3-wheel $(vopt_if xcb python3-xcffib)"
 depends="python3-cffi cairo"
 checkdepends="python3-pytest python3-numpy gdk-pixbuf $depends"
 short_desc="CFFI-based cairo bindings for Python3"
@@ -13,7 +13,13 @@ license="BSD-3-Clause"
 homepage="https://github.com/Kozea/cairocffi"
 changelog="https://raw.githubusercontent.com/Kozea/cairocffi/master/NEWS.rst"
 distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
-checksum=9a979b500c64c8179fec286f337e8fe644eca2f2cd05860ce0b62d25f22ea140
+checksum=108a3a7cb09e203bdd8501d9baad91d786d204561bd71e9364e8b34897c47b91
+
+build_options=xcb
+case "$XBPS_MACHINE" in
+x86_64*|i686|ppc64le*|ppc64)
+	build_options_default="xcb"
+esac
 
 post_patch() {
 	vsed -e '/pytest-runner/d' -i setup.cfg

From 0a23ecff60d858e94384d3c6f72ecdfc19eddcf9 Mon Sep 17 00:00:00 2001
From: Kai Stian Olstad <void@olstad.com>
Date: Mon, 1 Aug 2022 16:46:28 +0200
Subject: [PATCH 3/3] New package: qtile-0.21.0

---
 srcpkgs/qtile/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/qtile/template

diff --git a/srcpkgs/qtile/template b/srcpkgs/qtile/template
new file mode 100644
index 000000000000..1882446385c9
--- /dev/null
+++ b/srcpkgs/qtile/template
@@ -0,0 +1,19 @@
+# Template file for 'qtile'
+pkgname=qtile
+version=0.21.0
+revision=1
+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"
+short_desc="Full-featured tiling window manager written and configured in Python"
+maintainer="Kai Stian Olstad <void@olstad.com>"
+license="MIT"
+homepage="http://www.qtile.org/"
+changelog="https://raw.githubusercontent.com/qtile/qtile/v${version}/CHANGELOG"
+distfiles="${PYPI_SITE}/q/qtile/qtile-${version}.tar.gz"
+checksum=93e1f8216c669b5570333607d5d06de7d7f16033b0e73cf34c896459f2df5254
+
+post_install() {
+	vlicense LICENSE
+}

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (12 preceding siblings ...)
  2022-08-07 15:55 ` [PR PATCH] [Updated] " kaistian
@ 2022-08-10  9:46 ` DirtyVoid
  2022-08-10 10:47 ` paper42
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: DirtyVoid @ 2022-08-10  9:46 UTC (permalink / raw)
  To: ml

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

New comment by DirtyVoid on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1210431145

Comment:
When will this get merged?

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (13 preceding siblings ...)
  2022-08-10  9:46 ` DirtyVoid
@ 2022-08-10 10:47 ` paper42
  2022-08-10 11:21 ` [PR PATCH] [Merged]: " sgn
  2022-08-10 12:12 ` DirtyVoid
  16 siblings, 0 replies; 18+ messages in thread
From: paper42 @ 2022-08-10 10:47 UTC (permalink / raw)
  To: ml

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

New comment by DirtyVoid on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1210431145

Comment:
When will this get merged?

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

* Re: [PR PATCH] [Merged]: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (14 preceding siblings ...)
  2022-08-10 10:47 ` paper42
@ 2022-08-10 11:21 ` sgn
  2022-08-10 12:12 ` DirtyVoid
  16 siblings, 0 replies; 18+ messages in thread
From: sgn @ 2022-08-10 11:21 UTC (permalink / raw)
  To: ml

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

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

New package: qtile-0.21.0
https://github.com/void-linux/void-packages/pull/38414

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

Closes #14373

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


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**



#### Local build testing
  - I built this PR locally for my native architecture, x86_64-glibc
<!--
  - I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

I tried to build it for armv7l but failes with
```
      armv7l-linux-gnueabihf-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -g -fdebug-prefix-map=/builddir/Python-3.10.5=. -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -I/usr/armv7l-linux-gnueabihf/usr/include -fdebug-prefix-map=/builddir/qtile-0.21.0=. -fPIC -I/usr/include/python3.10 -c build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.c -o build/temp.linux-x86_64-cpython-310/build/temp.linux-x86_64-cpython-310/libqtile.widget._pulse_audio.o
      cc1: error: unrecognized -mtune target: generic
      cc1: note: valid arguments are: arm8 arm810 strongarm strongarm110 fa526 fa626 arm7tdmi arm7tdmi-s arm710t arm720t arm740t arm9 arm9tdmi arm920t arm920 arm922t arm940t ep9312 arm10tdmi arm1020t arm9e arm946e-s arm966e-s arm968e-s arm10e arm1020e arm1022e xscale iwmmxt iwmmxt2 fa606te fa626te fmp626 fa726te arm926ej-s arm1026ej-s arm1136j-s arm1136jf-s arm1176jz-s arm1176jzf-s mpcorenovfp mpcore arm1156t2-s arm1156t2f-s cortex-m1 cortex-m0 cortex-m0plus cortex-m1.small-multiply cortex-m0.small-multiply cortex-m0plus.small-multiply generic-armv7-a cortex-a5 cortex-a7 cortex-a8 cortex-a9 cortex-a12 cortex-a15 cortex-a17 cortex-r4 cortex-r4f cortex-r5 cortex-r7 cortex-r8 cortex-m7 cortex-m4 cortex-m3 marvell-pj4 cortex-a15.cortex-a7 cortex-a17.cortex-a7 cortex-a32 cortex-a35 cortex-a53 cortex-a57 cortex-a72 cortex-a73 exynos-m1 xgene1 cortex-a57.cortex-a53 cortex-a72.cortex-a53 cortex-a73.cortex-a35 cortex-a73.cortex-a53 cortex-a55 cortex-a75 cortex-a76 cortex-a76ae cortex-a77 neoverse-n1 cortex-a75.cortex-a55 cortex-a76.cortex-a55 neoverse-v1 neoverse-n2 cortex-m23 cortex-m33 cortex-m35p cortex-m55 cortex-r52
      error: command '/builddir/.xbps-qtile/wrappers/armv7l-linux-gnueabihf-gcc' failed with exit code 1
```
It tries to compile with `-mtune=generic` something `armv7l-linux-gnueabihf-gcc` doesn't support.
I have tried to find a solution, but no luck so far, any suggestions?

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

* Re: New package: qtile-0.21.0
  2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
                   ` (15 preceding siblings ...)
  2022-08-10 11:21 ` [PR PATCH] [Merged]: " sgn
@ 2022-08-10 12:12 ` DirtyVoid
  16 siblings, 0 replies; 18+ messages in thread
From: DirtyVoid @ 2022-08-10 12:12 UTC (permalink / raw)
  To: ml

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

New comment by DirtyVoid on void-packages repository

https://github.com/void-linux/void-packages/pull/38414#issuecomment-1210431145

Comment:
When will this get merged?

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

end of thread, other threads:[~2022-08-10 12:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 17:35 [PR PATCH] New package: qtile-0.21.0 kaistian
2022-08-01 20:24 ` Chocimier
2022-08-01 22:01 ` paper42
2022-08-01 22:14 ` [PR PATCH] [Updated] " kaistian
2022-08-01 22:29 ` kaistian
2022-08-01 22:31 ` kaistian
2022-08-07 11:51 ` [PR REVIEW] " sgn
2022-08-07 14:13 ` kaistian
2022-08-07 14:24 ` sgn
2022-08-07 14:25 ` sgn
2022-08-07 15:01 ` kaistian
2022-08-07 15:06 ` sgn
2022-08-07 15:06 ` sgn
2022-08-07 15:55 ` [PR PATCH] [Updated] " kaistian
2022-08-10  9:46 ` DirtyVoid
2022-08-10 10:47 ` paper42
2022-08-10 11:21 ` [PR PATCH] [Merged]: " sgn
2022-08-10 12:12 ` DirtyVoid

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