* [PR PATCH] picom: update to 12.3.
@ 2024-10-14 16:19 0x5c
2024-10-15 7:53 ` pondichys
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: 0x5c @ 2024-10-14 16:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1233 bytes --]
There is a new pull request by 0x5c against master on the void-packages repository
https://github.com/0x5c/void-packages update/picom
https://github.com/void-linux/void-packages/pull/52638
picom: update to 12.3.
<!-- 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**|**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/52638.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/picom-52638.patch --]
[-- Type: text/x-diff, Size: 1511 bytes --]
From c976341cfe68821ec3431331729b0b043811281f Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 14 Oct 2024 12:14:48 -0400
Subject: [PATCH] picom: update to 12.3.
---
srcpkgs/picom/template | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/picom/template b/srcpkgs/picom/template
index 58e70dce623422..b090d2bf1836f7 100644
--- a/srcpkgs/picom/template
+++ b/srcpkgs/picom/template
@@ -1,20 +1,18 @@
# Template file for 'picom'
pkgname=picom
-version=11.2
+version=12.3
revision=1
build_style=meson
configure_args="-Dwith_docs=true"
-hostmakedepends="pkg-config asciidoc"
-makedepends="MesaLib-devel dbus-devel libconfig-devel libepoxy-devel libev-devel
- pcre2-devel pixman-devel xcb-util-image-devel xcb-util-renderutil-devel
- libxdg-basedir-devel uthash"
-depends="desktop-file-utils"
+hostmakedepends="pkg-config ruby-asciidoctor"
+makedepends="dbus-devel libconfig-devel libepoxy-devel libev-devel pcre2-devel
+ pixman-devel uthash xcb-util-image-devel xcb-util-renderutil-devel"
short_desc="Lightweight compositor for X11 (previously a compton fork)"
maintainer="0x5c <dev@0x5c.io>"
-license="MIT, MPL-2.0"
+license="MPL-2.0 AND MIT"
homepage="https://github.com/yshui/picom/"
distfiles="https://github.com/yshui/picom/archive/v${version}.tar.gz"
-checksum=1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4
+checksum=926142c667c9e5b5205a11b2755fb9ca39c3e696365792d705a45d84e34d7a68
post_install() {
vlicense LICENSES/MIT
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: picom: update to 12.3.
2024-10-14 16:19 [PR PATCH] picom: update to 12.3 0x5c
@ 2024-10-15 7:53 ` pondichys
2024-10-16 18:53 ` [PR PATCH] [Updated] " 0x5c
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pondichys @ 2024-10-15 7:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 462 bytes --]
New comment by pondichys on void-packages repository
https://github.com/void-linux/void-packages/pull/52638#issuecomment-2413152691
Comment:
Hello,
you could include this patch file if you want to release this version 12.3 and fix the arm compilation error
[https://github.com/yshui/picom/commit/950eb6f7413db56ebf97ed95a299f84af6a47b97.diff](https://github.com/yshui/picom/commit/950eb6f7413db56ebf97ed95a299f84af6a47b97.diff)
Or wait until 12.4 🙂
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] picom: update to 12.3.
2024-10-14 16:19 [PR PATCH] picom: update to 12.3 0x5c
2024-10-15 7:53 ` pondichys
@ 2024-10-16 18:53 ` 0x5c
2024-10-18 0:17 ` 0x5c
2024-10-30 2:48 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: 0x5c @ 2024-10-16 18:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1365 bytes --]
There is an updated pull request by 0x5c against master on the void-packages repository
https://github.com/0x5c/void-packages update/picom
https://github.com/void-linux/void-packages/pull/52638
picom: update to 12.3.
This *should* be the full changeset for that update, but I'm doing some extended testing since that update has been a bit chaotic (3rd patch release in two weeks), also it's not a pressing package to update.
#### 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**|**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/52638.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/picom-52638.patch --]
[-- Type: text/x-diff, Size: 4249 bytes --]
From 74399832ba0a69e79974b05094a88939d8855712 Mon Sep 17 00:00:00 2001
From: 0x5c <dev@0x5c.io>
Date: Mon, 14 Oct 2024 12:14:48 -0400
Subject: [PATCH] picom: update to 12.3.
---
.../picom/patches/arm32-build-failures.patch | 67 +++++++++++++++++++
srcpkgs/picom/template | 14 ++--
2 files changed, 73 insertions(+), 8 deletions(-)
create mode 100644 srcpkgs/picom/patches/arm32-build-failures.patch
diff --git a/srcpkgs/picom/patches/arm32-build-failures.patch b/srcpkgs/picom/patches/arm32-build-failures.patch
new file mode 100644
index 00000000000000..d511e4bc4463e2
--- /dev/null
+++ b/srcpkgs/picom/patches/arm32-build-failures.patch
@@ -0,0 +1,67 @@
+From 950eb6f7413db56ebf97ed95a299f84af6a47b97 Mon Sep 17 00:00:00 2001
+From: Yuxuan Shui <yshuiv7@gmail.com>
+Date: Tue, 15 Oct 2024 02:40:20 +0100
+Subject: [PATCH] misc: fix build on arm32
+
+Instead of using memcmp to compare windows_options, and thus relying on
+the struct being laid out without padding, just compare the fields
+one-by-one.
+
+Fixes #1355
+
+Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
+---
+ CHANGELOG.md | 6 ++++++
+ src/config.h | 14 ++++++++------
+ 2 files changed, 14 insertions(+), 6 deletions(-)
+
+diff --git a/CHANGELOG.md b/CHANGELOG.md
+index 1483104232..bf65e9bbc7 100644
+--- a/CHANGELOG.md
++++ b/CHANGELOG.md
+@@ -1,3 +1,9 @@
++# 12.x (unreleased)
++
++## Build fixes
++
++* Fix build on arm32 (#1355)
++
+ # 12.3 (2024-Oct-14)
+
+ ## Improvements
+diff --git a/src/config.h b/src/config.h
+index 369579acb8..b1d0f251e1 100644
+--- a/src/config.h
++++ b/src/config.h
+@@ -199,9 +199,6 @@ struct window_maybe_options {
+ struct win_script animations[ANIMATION_TRIGGER_COUNT];
+ };
+
+-// Make sure `window_options` has no implicit padding.
+-#pragma GCC diagnostic push
+-#pragma GCC diagnostic error "-Wpadded"
+ /// Like `window_maybe_options`, but all fields are guaranteed to be set.
+ struct window_options {
+ double opacity;
+@@ -220,13 +217,18 @@ struct window_options {
+
+ struct win_script animations[ANIMATION_TRIGGER_COUNT];
+ };
+-#pragma GCC diagnostic pop
+
+ static inline bool
+ win_options_no_damage(const struct window_options *a, const struct window_options *b) {
+ // Animation changing does not immediately change how window is rendered, so
+- // they don't cause damage.
+- return memcmp(a, b, offsetof(struct window_options, animations)) == 0;
++ // they don't cause damage; all other options do.
++ return a->opacity == b->opacity && a->dim == b->dim &&
++ a->corner_radius == b->corner_radius && a->unredir == b->unredir &&
++ a->transparent_clipping == b->transparent_clipping &&
++ a->shadow == b->shadow && a->invert_color == b->invert_color &&
++ a->blur_background == b->blur_background && a->fade == b->fade &&
++ a->clip_shadow_above == b->clip_shadow_above && a->paint == b->paint &&
++ a->full_shadow == b->full_shadow && a->shader == b->shader;
+ }
+
+ /// Structure representing all options.
diff --git a/srcpkgs/picom/template b/srcpkgs/picom/template
index 58e70dce623422..b090d2bf1836f7 100644
--- a/srcpkgs/picom/template
+++ b/srcpkgs/picom/template
@@ -1,20 +1,18 @@
# Template file for 'picom'
pkgname=picom
-version=11.2
+version=12.3
revision=1
build_style=meson
configure_args="-Dwith_docs=true"
-hostmakedepends="pkg-config asciidoc"
-makedepends="MesaLib-devel dbus-devel libconfig-devel libepoxy-devel libev-devel
- pcre2-devel pixman-devel xcb-util-image-devel xcb-util-renderutil-devel
- libxdg-basedir-devel uthash"
-depends="desktop-file-utils"
+hostmakedepends="pkg-config ruby-asciidoctor"
+makedepends="dbus-devel libconfig-devel libepoxy-devel libev-devel pcre2-devel
+ pixman-devel uthash xcb-util-image-devel xcb-util-renderutil-devel"
short_desc="Lightweight compositor for X11 (previously a compton fork)"
maintainer="0x5c <dev@0x5c.io>"
-license="MIT, MPL-2.0"
+license="MPL-2.0 AND MIT"
homepage="https://github.com/yshui/picom/"
distfiles="https://github.com/yshui/picom/archive/v${version}.tar.gz"
-checksum=1c1063936faf09ed9bba726e7737a562564b7a5f8cdef79d48fcdaf3669a4df4
+checksum=926142c667c9e5b5205a11b2755fb9ca39c3e696365792d705a45d84e34d7a68
post_install() {
vlicense LICENSES/MIT
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: picom: update to 12.3.
2024-10-14 16:19 [PR PATCH] picom: update to 12.3 0x5c
2024-10-15 7:53 ` pondichys
2024-10-16 18:53 ` [PR PATCH] [Updated] " 0x5c
@ 2024-10-18 0:17 ` 0x5c
2024-10-30 2:48 ` [PR PATCH] [Merged]: " classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: 0x5c @ 2024-10-18 0:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/pull/52638#issuecomment-2420912754
Comment:
The update as-is should be usable, and the arm32 patch from upstream does indeed fix compilation. However, I've talked with upstream and they're planning to release another patch release in about a week, so I'll be waiting for that.
In the mean time, if anyone uses picom on arm32 (`armv6l`/`armv7l`, musl or not), testing is welcome.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: picom: update to 12.3.
2024-10-14 16:19 [PR PATCH] picom: update to 12.3 0x5c
` (2 preceding siblings ...)
2024-10-18 0:17 ` 0x5c
@ 2024-10-30 2:48 ` classabbyamp
3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2024-10-30 2:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1210 bytes --]
There's a merged pull request on the void-packages repository
picom: update to 12.3.
https://github.com/void-linux/void-packages/pull/52638
Description:
This *should* be the full changeset for that update, but I'm doing some extended testing since that update has been a bit chaotic (3rd patch release in two weeks), also it's not a pressing package to update.
#### 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**|**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
-->
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-10-30 2:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-14 16:19 [PR PATCH] picom: update to 12.3 0x5c
2024-10-15 7:53 ` pondichys
2024-10-16 18:53 ` [PR PATCH] [Updated] " 0x5c
2024-10-18 0:17 ` 0x5c
2024-10-30 2:48 ` [PR PATCH] [Merged]: " classabbyamp
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).