Package: gtk+2.0 / 2.24.33-2+deb12u1

Metadata

Package Version Patches format
gtk+2.0 2.24.33-2+deb12u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
004_gtk+ ximian gtk2 filesel navbutton 5.patch | (download)

gtk/gtkfilesel.c | 291 264 + 27 - 0 !
gtk/stock-icons/ximian-icons.h | 825 825 + 0 - 0 !
2 files changed, 1089 insertions(+), 27 deletions(-)

 ximian patch to improve the gtkfilesel ui

Requested by Ross Burton in 2003.

TODO: What does this patch do and why do we have it?

[Jonathan Brandmeyer: Use ~/Desktop instead of ~/.gnome2-desktop]

005_support_disabling_x11_extensions.patch | (download)

configure.ac | 23 19 + 4 - 0 !
1 file changed, 19 insertions(+), 4 deletions(-)

 support disabling x11 extensions

We want this in Debian as we build GTK with extensions enabled for the
normal build, but disable them for the special build that will be used
in the graphical installer, because it needs to be as small as possible.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=612918
015_default fallback icon theme.patch | (download)

gtk/gtksettings.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 set the default gtk-fallback-icon-theme

[jbicha: Use Adwaita instead of gnome to match gtk3]

Similar to GTK 3 commit 2488b954f24c01f99995ff22898628c57b4aedc1 in
3.13.2.

Bug-Debian: https://bugs.debian.org/421353

042_treeview_single focus.patch | (download)

gtk/gtktreeview.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 don't select the focused item for gtk_selection_single type
 treeviews

This allows the fix in 040_filechooser_single-click.patch to work.

044_tracker_fts.patch | (download)

gtk/gtksearchenginetracker.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 enable tracker full text search

Tracker in Debian is compiled with FTS support, so we make use of that in
GTK3's file selector dialog.
This way files can be found by their content and not only their file name.

060_ignore random icons.patch | (download)

gtk/updateiconcache.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't list images from unknown directories in icon cache

After GTK 2.12.0, gtk-update-icon-cache fails if there is a PNG file
placed directly in /usr/share/icons/hicolor (not in a correct
subdirectory like 48x48/apps).

061_use_pdf_as_default_printing_standard.patch | (download)

modules/printbackends/lpr/gtkprintbackendlpr.c | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 use pdf as default printing standard

Original author unknown. https://wiki.ubuntu.com/PDFasStandardPrintJobFormat

098_multiarch_module_path.patch | (download)

gtk/gtkmodules.c | 13 8 + 5 - 0 !
1 file changed, 8 insertions(+), 5 deletions(-)

 fall back to the hard-coded pre-multiarch module directory

Include /usr/lib/gtk-2.0 in the path as a fallback when building for
multiarch, to maintain compatibility with packages installing modules to
the old directories.

As of April 2018 this is still required by:
- gtk2-engines-cleanice
- gtk2-engines-magicchicken
- gtk2-engines-moblin
- gtk2-engines-nodoka
- gtk2-engines-wonderland
- sugar-artwork-0.88 (no longer in unstable)
- tamil-gtk2im

The equivalent patch in GTK 3 was removed in 3.18.0-1.

Reinstate marshallers that accidentally became part of th.patch | (download)

gtk/gtkmisc.c | 32 32 + 0 - 0 !
1 file changed, 32 insertions(+)

 reinstate marshallers that accidentally became part of the abi

gtkmarshal.c in GTK 2.24.32 was generated by a version of
glib-genmarshal that produced unintended symbols. It was regenerated
for 2.24.33, but it looks as though a few packages might already be
referring to those symbols. Patch them back in for ABI compatibility.

d i/textlayout Clamp width to the value we asked for as a hac.patch | (download)

gtk/gtktextlayout.c | 11 11 + 0 - 0 !
1 file changed, 11 insertions(+)

 textlayout: clamp width to the value we asked for, as a hack for d-i

When we ask Pango to lay out text with a particular width in mind, if
the width is really narrow then reducing it can result in Pango asking
for *more* space. This can result in a relayout loop in the Debian
installer. Avoid this by restricting the width to be no more than what
we asked for, which might result in text being clipped or overlapping
with an adjacent widget but is better than an infinite loop.

Signed-off-by: Simon McVittie <smcv@debian.org>
Bug-Debian: https://bugs.debian.org/988786

CVE 2024 6655.patch | (download)

gtk/gtkmodules.c | 9 2 + 7 - 0 !
1 file changed, 2 insertions(+), 7 deletions(-)

 stop looking for modules in cwd

This is just not a good idea. It is surprising, and can be misused.

(cherry picked from commit 3bbf0b6176d42836d23c36a6ac410e807ec0a7a7)

Bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/6786
Bug-CVE: CVE-2024-6655