Commit Graph

55102 Commits

Author SHA1 Message Date
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
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
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
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
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
4852127723 New upstream version 3.24.40 2024-01-19 09:00:20 -05:00
05a12b1c5f testsuite: Fix casts in reftests 2024-01-19 12:58:44 +00:00
76bc2a5713 tests: Add GdkEvent casts in testinput 2024-01-19 11:28:02 +00:00
230ced2670 Post-release version bump 2024-01-17 21:53:43 -05:00
f926323d04 3.24.40 2024-01-17 21:38:13 -05:00
ebb51652cd Release to unstable 2024-01-17 18:06:05 +00:00
798b6b9890 Update changelog 2024-01-17 17:53:14 +00:00
2dca55a0b8 d/control: Make Build-Depends more cross-friendly 2024-01-17 17:53:14 +00:00
958ddae6c1 d/rules: If cross-compiling, use cross g-ir-scanner (see #1060838) 2024-01-17 17:53:14 +00:00
0d95f95dbe d/control: Explicitly depend on necessary GIR XML modules
Use the systematic names gir1.2-cairo-1.0-dev, gir1.2-xlib-2.0-dev and
gir1.2-gio-2.0-dev if possible. The alternative dependency on
libgirepository1.0-dev illustrates how backports can be made to work.

gir1.2-atk-1.0-dev doesn't actually exist yet, so hide that one behind
a build-profile as a reminder to build-depend on it later.
2024-01-17 17:53:07 +00:00
a487deb189 Merge branch 'fix/monitor-name' into 'gtk-3-24'
Use xorg 'monitor' the right way.

See merge request GNOME/gtk!6680
2024-01-16 16:36:05 +00:00
adce74bc28 Free monitor name on finalize 2024-01-15 08:25:58 +01:00
813787c541 Update Hebrew translation 2024-01-14 06:57:42 +00:00
099ace2a1e Update Georgian translation 2024-01-07 06:30:39 +00:00
53d6a34e54 Merge branch 'fix-display-selection-init' into 'gtk-3-24'
gdkdisplay-wayland: Init selection before roundtrips

See merge request GNOME/gtk!6714
2024-01-07 01:17:04 +00:00
a58ae95c87 gdkdisplay-wayland: Init selection before roundtrips
Some of the listeners connected during the initial roundtrip assume a
non-NULL selection, when they finally invoke functions such as
gdk_wayland_selection_ensure_offer(),
gdk_wayland_selection_ensure_primary_offer() or
gdk_wayland_selection_set_offer(). The GdkWaylandSelection should
therefore be initialized before the second series of roundtrips, as the
compositor may have already sent a selection by then.
2024-01-06 23:30:34 +01:00
782615ec68 Update Hebrew translation 2024-01-02 21:55:09 +00:00
a64d3df749 Update Swedish translation 2023-12-29 23:29:54 +00:00
bf84ee045a Update Hebrew translation 2023-12-28 12:17:42 +00:00
345bfb494a Use consistent coordinates in get_toplevel_from_ns_event.
[NSView frame] returns a rectangle in the superview's coordinates, and the
superview of an NSWindow's content view (which is the only NSView that
GdkQuartz instantiates) is an undocumented NSThemeFrame. While it happens
to have the same origin as the content view and the same size as the
window's frame this isn't documented and so could change without notice.
Convert the window frame coordinates to the view's coordinate system to
ensure consistency.

Use the view's bounds instead of its frame: The bounds rectangle is in the
view's coordinate system. Use the parent NSWindow's frame instead of the
private NSThemeFrame's. This ensures that all coordinate comparisons have
the same reference.

Finally, the macOS coordinate systems origin is at the bottom left, so the
title bar is between the content view's height and the window's height,
not in negative y in the view's coordinates. Adjust the y comparisons
accordingly.

Fixes #6297
2023-12-25 11:10:12 -08:00
26336c401a Update Hebrew translation 2023-12-23 21:10:05 +00:00
d6bec14774 Merge branch 'gtk-3-24-emoji-15.1' into 'gtk-3-24'
[GTK3] emoji: Update data to CLDR v44

See merge request GNOME/gtk!6687
2023-12-22 15:59:56 +00:00
4ef9fb7357 emoji: Update data to CLDR v44
Based on emojibase v15.3.0

Contains the changes in Unicode 15.1

https://unicode.org/versions/Unicode15.1.0/
https://cldr.unicode.org/index/downloads/cldr-44
https://github.com/milesj/emojibase/blob/emojibase-data%4015.3.0/packages/data/CHANGELOG.md
(cherry picked from commit 76a1f1714da0d7a1829826810851cdd67e80c8c4)
(cherry picked from commit e42befb76bb0dd6096e7ed9bf50bb2496958a8c9)
2023-12-22 10:40:22 -05:00
5a8a0814f7 emoji: Update data to CLDR v43
Based on emojibase v15.2.0

Contains the changes in Unicode 15.0

https://unicode.org/versions/Unicode15.0.0/
https://cldr.unicode.org/index/downloads/cldr-43
https://github.com/milesj/emojibase/blob/emojibase-data%4015.2.0/packages/data/CHANGELOG.md
(cherry picked from commit bf358363501c5c2dff390f8bf73ac274f8e63b0a)
(cherry picked from commit f947f2368735a603000670eafc4cbef7c8fcbebb)
2023-12-22 10:40:22 -05:00
4e2e544924 add hi-ja-et-fi-nb-th for gtkemojichooser
(cherry picked from commit 49fbbfb6ccdbeb2ac85235622a618472000e28a9)
(cherry picked from commit 322d9e5c3f1583c7ef5a2090330db8ab6800baca)
2023-12-22 10:40:22 -05:00
9a3a67765a add bengali language bn.data for gtkemojichooser
(cherry picked from commit 16806294e351698c3ff6e346e5e74dfecf76527b)
(cherry picked from commit 4b2145475ebf0c6967a52d14c4243185536e1290)
2023-12-22 10:40:22 -05:00