Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] gtk+3: update to 3.24.42.
@ 2024-05-26 19:41 biopsin
  2024-06-13 23:28 ` [PR PATCH] [Closed]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: biopsin @ 2024-05-26 19:41 UTC (permalink / raw)
  To: ml

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

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

https://github.com/biopsin/void-packages patch-1
https://github.com/void-linux/void-packages/pull/50530

gtk+3: update to 3.24.42.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**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, (x86-64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  X aarch64-musl
  X armv7l
  - armv6l-musl

```
Error: no ID for constraint linkend: "gtk-path".
Error: no ID for constraint linkend: "gtk-im-module-file".
```
whose ID?

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

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

From 813a2893923dd2a073ab926e7f8aafbae3b949bd Mon Sep 17 00:00:00 2001
From: skmpz <dem.procopiou@gmail.com>
Date: Thu, 23 May 2024 10:15:16 +0300
Subject: [PATCH] gtk+3: update to 3.24.42.

---
 srcpkgs/gtk+3/patches/tiling-fix.patch | 87 --------------------------
 srcpkgs/gtk+3/template                 |  6 +-
 2 files changed, 3 insertions(+), 90 deletions(-)
 delete mode 100644 srcpkgs/gtk+3/patches/tiling-fix.patch

diff --git a/srcpkgs/gtk+3/patches/tiling-fix.patch b/srcpkgs/gtk+3/patches/tiling-fix.patch
deleted file mode 100644
index 9e0e815a37fd7a..00000000000000
--- a/srcpkgs/gtk+3/patches/tiling-fix.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From 9020a6f71e41f02e416f940ca84e4a15d703693d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= <emilio@crisal.io>
-Date: Fri, 12 Jan 2024 19:43:20 +0100
-Subject: [PATCH] [gtk3/wayland] Infer resizable edges for tiled windows if
- possible.
-
-This fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1871627
-
-All GTK3/4 apps on non-GNOME desktops aren't resizable if they are
-tiled.
-
-This patch makes the non-tiled edges resizable if we have per-edge
-tiling, but not per-edge resizing information.
-
-We might want to make all edges resizable, but that might not be fine
-for tiling compositors.
----
- gdk/wayland/gdkwindow-wayland.c | 46 +++++++++++++++++++++++++++++++++
- 1 file changed, 46 insertions(+)
-
-diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
-index 2bbff80bee5..f09f651ac7a 100644
---- a/gdk/wayland/gdkwindow-wayland.c
-+++ b/gdk/wayland/gdkwindow-wayland.c
-@@ -1664,6 +1664,49 @@ should_use_fixed_size (GdkWindowState state)
-                   GDK_WINDOW_STATE_TILED);
- }
- 
-+static gboolean
-+has_per_edge_tiling_info (GdkWindowState state)
-+{
-+  return state & (GDK_WINDOW_STATE_TOP_TILED |
-+                  GDK_WINDOW_STATE_RIGHT_TILED |
-+                  GDK_WINDOW_STATE_BOTTOM_TILED |
-+                  GDK_WINDOW_STATE_LEFT_TILED);
-+}
-+
-+static GdkWindowState
-+infer_edge_constraints (GdkWindowState state)
-+{
-+  if (state & (GDK_WINDOW_STATE_MAXIMIZED | GDK_WINDOW_STATE_FULLSCREEN))
-+    return state;
-+
-+  if (!(state & GDK_WINDOW_STATE_TILED) || !has_per_edge_tiling_info (state))
-+    return state |
-+           GDK_WINDOW_STATE_TOP_RESIZABLE |
-+           GDK_WINDOW_STATE_RIGHT_RESIZABLE |
-+           GDK_WINDOW_STATE_BOTTOM_RESIZABLE |
-+           GDK_WINDOW_STATE_LEFT_RESIZABLE;
-+
-+  if (!(state & GDK_WINDOW_STATE_TOP_TILED))
-+    state |= GDK_WINDOW_STATE_TOP_RESIZABLE;
-+  if (!(state & GDK_WINDOW_STATE_RIGHT_TILED))
-+    state |= GDK_WINDOW_STATE_RIGHT_RESIZABLE;
-+  if (!(state & GDK_WINDOW_STATE_BOTTOM_TILED))
-+    state |= GDK_WINDOW_STATE_BOTTOM_RESIZABLE;
-+  if (!(state & GDK_WINDOW_STATE_LEFT_TILED))
-+    state |= GDK_WINDOW_STATE_LEFT_RESIZABLE;
-+
-+  return state;
-+}
-+
-+static gboolean
-+supports_native_edge_constraints (GdkWindowImplWayland *impl)
-+{
-+  struct gtk_surface1 *gtk_surface = impl->display_server.gtk_surface;
-+  if (!gtk_surface)
-+    return FALSE;
-+  return gtk_surface1_get_version (gtk_surface) >= GTK_SURFACE1_CONFIGURE_EDGES_SINCE_VERSION;
-+}
-+
- static void
- gdk_wayland_window_handle_configure (GdkWindow *window,
-                                      uint32_t   serial)
-@@ -1712,6 +1755,9 @@ gdk_wayland_window_handle_configure (GdkWindow *window,
-   new_state = impl->pending.state;
-   impl->pending.state = 0;
- 
-+  if (!supports_native_edge_constraints (impl))
-+    new_state = infer_edge_constraints (new_state);
-+
-   fixed_size = should_use_fixed_size (new_state);
- 
-   saved_size = (width == 0 && height == 0);
--- 
-GitLab
-
diff --git a/srcpkgs/gtk+3/template b/srcpkgs/gtk+3/template
index 550a69c8cbfaf9..075e76ed0655e3 100644
--- a/srcpkgs/gtk+3/template
+++ b/srcpkgs/gtk+3/template
@@ -1,7 +1,7 @@
 # Template file for 'gtk+3'
 pkgname=gtk+3
-version=3.24.41
-revision=2
+version=3.24.42
+revision=1
 build_style=meson
 build_helper="gir"
 configure_args="
@@ -32,7 +32,7 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.gtk.org/"
 distfiles="${GNOME_SITE}/gtk+/${version%.*}/gtk+-${version}.tar.xz"
-checksum=47da61487af3087a94bc49296fd025ca0bc02f96ef06c556e7c8988bd651b6fa
+checksum=50f89f615092d4dd01bbd759719f8bd380e5f149f6fd78a94725e2de112377e2
 make_check_pre="xvfb-run dbus-run-session"
 # _broken_tests=""
 

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

* Re: [PR PATCH] [Closed]: gtk+3: update to 3.24.42.
  2024-05-26 19:41 [PR PATCH] gtk+3: update to 3.24.42 biopsin
@ 2024-06-13 23:28 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2024-06-13 23:28 UTC (permalink / raw)
  To: ml

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

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

gtk+3: update to 3.24.42.
https://github.com/void-linux/void-packages/pull/50530

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

#### Testing the changes
- I tested the changes in this PR: **YES**|**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, (x86-64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  X aarch64-musl
  X armv7l
  - armv6l-musl

```
Error: no ID for constraint linkend: "gtk-path".
Error: no ID for constraint linkend: "gtk-im-module-file".
```
whose ID?

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

end of thread, other threads:[~2024-06-13 23:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-26 19:41 [PR PATCH] gtk+3: update to 3.24.42 biopsin
2024-06-13 23:28 ` [PR PATCH] [Closed]: " abenson

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