Commit Graph

55228 Commits

Author SHA1 Message Date
948aec536d d/tests/manual: Fix a typo in a comment 2024-03-06 13:55:54 +00:00
70215fa10e d/control, d/rules: Make it clearer that we are using the correct pkgconf
We intentionally compile convert-emoji with the build architecture
pkgconf, because we need to run it during build, but we do not need to
install it.
2024-03-06 13:46:47 +00:00
c6ea21dbf8 d/control, d/tests: Use pkgconf in preference to pkg-config 2024-03-06 13:45:40 +00:00
9fdc70a849 d/tests/manual: Add .gitignore
local-*.sources are not intended to be committed.

Gbp-Dch: ignore
2024-03-06 13:42:49 +00:00
e56ab279bc Release to unstable 2024-03-06 11:24:39 +00:00
2b8a8fa010 d/libgtk-3-0t64.postrm: Avoid recurrence of #1065494 in the future
If at some point in the future we have another transition as extensive
as time64, then libgtk-3-0t64 could conceivably be replaced by some
other package, which I have modelled here as libgtk-3-0xyz. If that
happens, we need to avoid deletion of immodules.cache, otherwise we
will have another bug similar to #1065494.

This implementation is based on the assumption that third-party input
method modules for GTK 3 will depend on GTK 3, therefore we should not
need to clean up the IM modules cache unless/until we reach the point
of having no IM modules installed.
2024-03-06 11:22:32 +00:00
d2572c8878 d/tests/1065494-futureproofing: Add a test for recurrence of #1065494
If at some point in the future we have another transition as extensive
as time64, then libgtk-3-0t64 could conceivably be replaced by some
other package, which I have modelled here as libgtk-3-0xyz. If that
happens, we need to avoid deletion of immmodules.cache, otherwise
we will have another bug similar to #1065494.

This test-case depends on several implementation details of dpkg-repack
and libgtk-3-0t64, so it might need to be adjusted in the future. As
a result, I have marked it as flaky, so that failures in the official
autopkgtest environment will not be considered a release-critical bug
that stalls migration and requires immediate intervention by maintainers.
2024-03-06 11:19:12 +00:00
c97afdd6d2 d/libgtk-3-0t64.postrm.in: Only clean up immodules.cache during purge
This avoids input methods becoming briefly unavailable during upgrades.
2024-03-06 11:08:38 +00:00
1c4fb7e79a d/libgtk-3-0t64.preinst: Remove libgtk-3-0 postrm to avoid file loss
During the migration from libgtk-3-0 to libgtk-3-0t64, the package
that is responsible for "owning" /usr/lib/*/gtk-3.0/3.0.0/immodules.cache
changed from libgtk-3-0 to libgtk-3-0t64. Because dpkg does not have an
equivalent of RPM's %ghost files, the ownership of this file is managed
by social convention rather than by the package management system.

Unfortunately, libgtk-3-0's postrm as shipped in Debian releases from
2010 to the present is not aware of the possibility that another binary
package might need to take over responsibility for this file, and so
will remove it during purge (and in fact also during upgrades) in
accordance with the requirement that the package must not leave unowned
files behind. This causes input methods to be non-functional in GTK apps
until the next time the gtk-query-immodules-3.0 trigger happens to be run.

To disarm the problematic maintainer script, delete it during the new
package's preinst, similar to what was done for GLib in response
to #1065022.

A subsequent commit will improve the postrm so that if we find that we
need to migrate from libgtk-3-0t64 to libgtk-3-0xyz at some point in
the future, similar efforts will not be needed.

Closes: #1065494
2024-03-06 11:03:10 +00:00
f338b27188 d/tests/manual/1065494: Add a manual reproducer for #1065494
Based on the reproducer I added to src:glib2.0 for the similar bug #1065022.
This one is simpler, because only architecture-specific multiarch files
are affected.
2024-03-06 10:56:40 +00:00
6bac387a4e Update fa.po 2024-03-01 18:46:51 +00:00
fa1fd6b5c7 Merge branch 'quartz-selection' into 'gtk-3-24'
Finish fixing pasteboard constants macOS 10.14 and later.

See merge request GNOME/gtk!6954
2024-03-01 16:32:50 +00:00
3df81bab55 Import Debian changes 3.24.41-1.1
gtk+3.0 (3.24.41-1.1) unstable; urgency=medium
.
  * Non-maintainer upload.
  * Rename libraries for 64-bit time_t transition.  Closes: #1064083
2024-02-29 13:51:11 -05:00
bb99970746 Merge branch 'fix-possible-segfault' into 'gtk-3-24'
dnd: Prevent a possible segfault

See merge request GNOME/gtk!6957
2024-02-28 18:52:53 +00:00
889057a386 dnd: Prevent a possible segfault
It is at least theoretically possible that gtk_entry_get_pixel_ranges
will return no ranges, and we should handle that without an
out-of-bounds access or segfault.
2024-02-28 13:20:59 -05:00
7e9676d658 Fix Cocoa pasteboard constants for gtk.
Corresponds to gdkselection-quartz changes in f30ed5ddc.
Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/6480
2024-02-27 12:31:16 -08:00
687ec22393 Merge branch 'gtk3-edge-tiling-resize-fix' into 'gtk-3-24'
[gtk3/wayland] Infer resizable edges for tiled windows if possible.

See merge request GNOME/gtk!6742
2024-02-27 17:39:15 +00:00
9020a6f71e [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.
2024-02-27 15:18:41 +01:00
57858a8a2c Import Debian changes 3.24.41-1.1~exp1
gtk+3.0 (3.24.41-1.1~exp1) experimental; urgency=medium
.
  * Non-maintainer upload.
  * Rename libraries for 64-bit time_t transition.
2024-02-22 07:29:22 -05:00
8440752196 Merge branch 'fix_6449' into 'gtk-3-24'
a11y: Don't emit redundant checked notifications

See merge request GNOME/gtk!6923
2024-02-20 17:21:32 +00:00
35608223b6 Apply review suggestions. 2024-02-20 16:38:08 +00:00
bfad80e08e a11y: Don't emit redundant checked notifications
The ModelButton update logic was unconditionally emitting them even if nothing
changed.

Fixes #6449.
2024-02-20 14:32:53 +01:00
47c1ffaddf Merge branch 'ebassi/doc-since-fix' into 'gtk-3-24'
docs: Fix the Since tag for gtk_render_background()

See merge request GNOME/gtk!6906
2024-02-14 20:22:14 +00:00
69c74dfded docs: Fix the Since tag for gtk_render_background()
The version should not end with a trailing dot.
2024-02-14 15:36:53 +00:00
23185eca89 Merge branch 'gtk3_crash_tablet_pad_remove' into 'gtk-3-24'
gdk/wayland: Clear current_tablet on pad leave

See merge request GNOME/gtk!6884
2024-02-12 01:25:09 +00:00
47601f5413 gdk/wayland: Clear current_tablet on pad leave
Fixes crash when handling tablet pad removal event after the
current_tablet has already been freed.
2024-02-11 15:03:04 +00:00
15aa75a159 Merge branch 'replace-outdated-cursor-types' into 'gtk-3-24'
Replace some instances of outdated cursor types

See merge request GNOME/gtk!6835
2024-02-01 01:52:49 +00:00
4ee9fd953b Merge branch 'gtk3-monitor-scale' into 'gtk-3-24'
[gtk3/wayland] Fix GdkMonitor sizes on Mutter without fractional scaling.

See merge request GNOME/gtk!6723
2024-02-01 01:51:59 +00:00
Mat
75df35298c Replace some instances of outdated cursor types
Use the CSS cursor names instead.
2024-02-01 01:23:15 +02:00
51b04c5007 wayland: Small fixup to monitor size handling
The first time this function is called, has_xdg_output() returns
true, but haven't yet received all the xdg-output events, so wait
for that to be done. Otherwise, the logical size is 0, and nothing
useful comes from that.
2024-01-31 14:12:40 +01:00
09373bf7ee [gtk3/wayland] Fix GdkMonitor sizes on Mutter without fractional scaling.
This is the gtk3 version of !6722.

This fixes a problem that is apparent in
https://bugzilla.mozilla.org/show_bug.cgi?id=1869724, but that also
reproduces on any GTK application as described in
https://bugzilla.mozilla.org/show_bug.cgi?id=1869724#c16.

xdg_output sizes might be physical if the compositor doesn't scale them,
it seems. So to report the correct logical geometry in GDK pixels, we
need to detect this case. We do this by checking whether the wl_output
size matches the xdg_output size.
2024-01-31 14:12:40 +01:00
411ddfa766 Release to unstable 2024-01-30 10:19:59 +00:00
3c641ca2d3 Drop patches that were included in the upstream release 2024-01-30 10:14:01 +00:00
9f7099797a New upstream release 2024-01-30 10:13:38 +00:00
b7492e6f33 Update upstream source from tag 'upstream/3.24.41'
Update to upstream version '3.24.41'
with Debian dir 9a59e299b0
2024-01-30 10:13:38 +00:00
8348c45476 New upstream version 3.24.41 2024-01-30 10:12:57 +00:00
40fe09855b Post-release version bump 2024-01-23 20:38:23 -05:00
77ebdd8509 3.24.41 2024-01-23 20:14:34 -05:00
2b054f3edc Merge branch 'lcrippa-gtk-3-24-patch-37647' into 'gtk-3-24'
fix gtk-shell protocol handling

See merge request GNOME/gtk!6803
2024-01-24 01:08:43 +00:00
5de743572e fix gtk-shell protocol handling 2024-01-24 01:08:43 +00:00
2ffae4aa64 releasing package gtk+3.0 version 3.24.40-2 2024-01-22 13:53:59 -05:00
d267fe9d04 Cherry-pick 2 commits to fix crash when screen is turned off
Closes: #1061282
2024-01-22 13:52:54 -05:00
5cffea2ddf Merge branch 'wip/davidk/gtk3-casts' into 'gtk-3-24'
Fix some casts

See merge request GNOME/gtk!6782
2024-01-20 16:35:28 +00:00
f9a844ab85 Merge branch 'fix/6345' into 'gtk-3-24'
Fix for #6345 and #6345

See merge request GNOME/gtk!6786
2024-01-20 14:24:29 +00:00
ba58b3a23d Fix for #6342 2024-01-19 23:01:22 +01:00
524a3af47f releasing package gtk+3.0 version 3.24.40-1 2024-01-19 15:22:33 -05:00
6880ac90a0 don't free monitor->name twice (fixes #6345) 2024-01-19 19:15:52 +01:00
6cc74823a9 missing-sources: Update emojibase 2024-01-19 09:01:16 -05:00
42ac53b557 New upstream release 2024-01-19 09:01:00 -05:00
f7d9dbaa47 Update upstream source from tag 'upstream/3.24.40'
Update to upstream version '3.24.40'
with Debian dir 95d4db208a
2024-01-19 09:01:00 -05:00