x11-toolkits/gtk40: update to 4.20.4 PR: 29420412c4bab00f
Port details
x11-toolkits/gtk404.20.4
Gimp Toolkit for X11 GUI (current stable version)
- Maintainer
- desktop@FreeBSD.org
- Packages
- gtk4 4.20.4
- Upstream
- Higher version available: 4.24.1
- CPE
gnome:gtkfrom the port- WWW
- https://www.gtk.org/
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (71)
x11-toolkits/gtk40: un-conditionalise bswap64()/bswap_64() All currently supported base system versions/branches include the glibc-compatible <byteswap.h> containing bswap_64(), which maps directly to <sys/_endian.h> __bswap64(). Consolidation in GTK's roaring component resulted in an extra preprocessor guard for us. This fixes possible build errors when <sys/endian.h> is not included by other means. Upstream commit: https://gitlab.gnome.org/GNOME/gtk/-/commit/047c8e64d4156897776ec2bc3d0613a81cfe7ad14fc89baab1
x11-toolkits/gtk40: update to 4.20.3
Update to 4.20.3
Overview of Changes in 4.20.3, 20-11-2025
=========================================
* Bugs fixed:
- #7795 Change in scrolling behavior (lbaudin, Carlos Garnacho)
- #7801 Unaligned access in gdk/gdkmemoryformat.c causes testsuite crashes on
SPARC (Benjamin Otte)
- #7813 Shaper: Cannot parse SVG (Matthias Clasen)
- #7823 svg not scaled with display scale since switch to librsvg (Matthias
Clasen)
- #7848 GTK 4.18: Default GdkDisplay gets unreferenced when offscreen
rendering via secondary display, causing crash (Benjamin Otte)
- #7857 Feature: Add Win32 impl for gtk_file_launcher_open_containing_folder()
(Sergey Bugaev)
- #7866 Vulkan: Validation: vkQueuePresentKHR(): PRESENT_AFTER_WRITE hazard
detected. (Benjamin Otte)
- #7867 ModelButton: Increasingly long hang when switching AdwMultiLayoutView
(Emmanuele Bassi)
* Changes:
- !9021 ci: Update Rust to 1.89.0 (René de Hesselle)
- !9036 [4.20] vulkan: Disable YCbCr to RGB conversions for fallback formats
(Robert Mader)
- !9042 backport non-smooth scrolling fixes to 4.20 (lbaudin, Carlos Garnacho)
- !9076 [4.20] vulkan: Fix YUYV values when uploading images (Benjamin Otte,
Matthias Clasen)
- !9150 [4.20] Fix touch dropdown selection (!8041) properly (Alice)
- !9154 [4.20] emoji: Update data to CLDR 48 (Jeremy Bícha)
* Translation updates:
- Basque (Asier Saratsua Garmendia)
- English (United Kingdom) (Bruce Cowan)
- German (Christian Kirbach)
- Serbian (Милош Поповић)
- Thai (Aefgh Threenine)
- Uighur (Abduqadir Abliz)
Overview of Changes in 4.20.2, 29-09-2025
=========================================
* Bugs fixed:
- #7755 Only the first text-shadow value gets applied when there are multiple
(regression) (Matthias Clasen)
- #7757 Make sense of AtkHyperlink (Matthias Clasen)
- #7783 Opening Clipboard Demo triggers abort (Matthias Clasen)
* Changes:
- !8928 surface: Mark region as nullable in set_input_region (João Pereira)
- !8930 settings: Call g_value_unset() after _gtk_settings_parse_convert()
(Takao Fujiwara)
- !8931 wayland: Invert flipped transforms (Robert Mader)
- !8933 Fix upright text carets (Matthias Clasen)
- !8935 gsk: Drop an unused private flag (Matthias Clasen)
- !8936 Some small gsk fixes (Matthias Clasen)
- !8937 text: Apply all text shadows (Matthias Clasen)
- !8965 Backports for 4.20 (evan-razzaque, Matthias Clasen)
- !8978 Add GtkAccessibleHypertext (Matthias Clasen)
* Translation updates:
- Bulgarian (twlvnn kraftwerk)
- Czech (Daniel Rusek)
- Danish (Ask Hjorth Larsen)
- Galician (Francisco Diéguez Souto)
- Portuguese (Hugo Carvalho)
- Spanish (Daniel Mustieles)
- Turkish (Sabri Ünal)
Overview of Changes in 4.20.1, 08-09-2025
=========================================
* Bugs fixed:
- #6666 Second Drag-and-Drop operation causes Gtk-CRITICAL messages at every
event (Matthias Clasen)
- #7345 columnview focus problem with menus
- #7717 GtkTextView with css padding shows offscreen widgets in upper left
corner (Matthias Clasen)
- #7724 Occasional crashes in gsk_gl_device_setup_samplers() (Benjamin Otte)
- #7729 Gtk.Entry: Cursor disappears when reaching right border (Matthias
Clasen)
- #7731 GTK_THEME environment variable not working properly with GTK4-4.20
(Matthias Clasen)
- #7734 MacOS: dyld: file does not start with MH_MAGIC[_64]: 0x00000000
0x00000000 (sid)
* Changes:
- !8888 4.20.0 (Matthias Clasen)
- !8889 Plug some memory leaks (Matthias Clasen)
- !8890 node-editor: Plug GskTransform leak (Maximiliano Sandoval)
- !8891 macos: do not explicitly disable window controls (Arjan Molenaar)
- !8893 text: Only clip the text drawing (Matthias Clasen)
- !8894 Improve DND interoperability with kwin (Matthias Clasen)
- !8896 Make GTK_THEME work as before (Matthias Clasen)
- !8897 columnview: Fix arrow navigation in a nested widget inside a cell
(Lukáš Tyrychtr)
- !8898 docs: Fix invalid picture elements (Chris Mayo)
- !8899 docs: Fix Image.set_pixel_size reference to set_icon_size (Chris Mayo)
- !8900 offload: Do not try to raise subsurface above itself (Robert Mader)
- !8902 Try harder to fix caret visibility in entries (Matthias Clasen)
- !8904 various small fixes (Benjamin Otte)
- !8905 Modernize the app chooser (Matthias Clasen)
- !8907 colorchooser: Fix up editor focus (Matthias Clasen)
- !8908 filechooser: Improve error handling (Matthias Clasen)
- !8909 build: update to accesskit-c v0.17.0 (Christoph Reiter)
- !8910 a11y: Give spinner a progressbar role (Matthias Clasen)
- !8911 fontchooser: Make lists more keynav-friendly (Matthias Clasen)
- !8912 textview: Connect to detailed can-undo/can-redo notify signals (Julian
Sparber)
- !8913 gtk-demo: Support svg without width/height (Matthias Clasen)
- !8916 docs: Add illustrations for component transfer (Matthias Clasen)
- !8917 gtk-demo: Add a demo for sections (Matthias Clasen)
- !8918 gsk: Tweak the formula for component transfer (Matthias Clasen)
- !8919 Fix MacOS build failure (sid)
- !8920 demos: Improve the image filtering demo (Matthias Clasen)
- !8921 demos: Memory leak fixes (Matthias Clasen)
- !8922 Adapt to deprecations (Matthias Clasen)
- !8924 docs: Fix broken links (Chris Mayo)
- !8926 scrolledwindow: Improve behavior if nested in other scrollables
(Carlos Garnacho)
* Translation updates:
- Basque (Asier Saratsua Garmendia)
- Catalan (Jordi Mas i Hernandez, Jordi Mas)
- Chinese (China) (luming zh)
- Finnish (Jiri Grönroos)
- Georgian (Ekaterine Papava)
- Hebrew (Yosef Or Boczko)
- Hungarian (Balázs Úr)
- Japanese (Makoto Sakaguchi)
- Korean (Changwoo Ryu)
- Lithuanian (Aurimas Aurimas Černius)
- Persian (Danial Behzadi)
- Portuguese (Brazil) (Rafael Fontenelle)
- Russian (Artur S0)
- Swedish (Anders Jonsson)
- Ukrainian (Yuri Chornoivan)
Overview of Changes in 4.20.0, 29-08-2025
=========================================
* Bugs fixed:
- #7695 gdk-win32: unmaximize doesn't restore the original size
- #7702 Should GTK_ACCESSIBLE_ROLE_STATUS really be NAME_PROHIBITED?
* Changes:
- !8851 gstreamer: Stop GstPlay before dropping the ref (Robert Mader)
- !8871 gtk/filterlistmodel: Emit items-changed for item watches (Georges
Basile Stavracas Neto)
- !8872 Gtk 4.19.4
- !8873 docs: Some more details about dialogs (Matthias Clasen)
- !8874 gsk: Add docs / gi annotations to new component transfer API
(Sebastian Dröge)
- !8876 Revert "meson: Rework introspection handling" (Florian "sp1rit")
- !8879 iconhelper: Fix handling of non-square icons (Matthias Clasen)
- !8880 gsk: Add missing Since marker to GskComponentTransferNode (Sebastian
Dröge)
- !8881 symbolic: Fix stroke defaults (Matthias Clasen)
- !8883 Ignore gtk namespace attributes (Matthias Clasen)
- !8884 gtk-demo: Fix markup in dark (Matthias Clasen)
- !8885 entry: Clean up coding style (Sergio Costas Rodriguez)
- !8886 gtk-demo: Avoid some criticals (Matthias Clasen)
- !8887 gtkatcontext: Fix name generation flags for the banner role (Lukáš
Tyrychtr, Matthias Clasen)
* Translation updates:
- Catalan (Jordi Mas)
- Czech (Daniel Rusek)
- Lithuanian (Aurimas Aurimas Černius)
- Thai (Aefgh Threenine)
- Turkish (Emin Tufan Çetin)
Unset BROADWAY option, by default this feature is not enabled
Add BASH and ACCESSKIT options, latter is hidden because it is still experimental (new port accessibility/accesskit-c bug #292048)
Adjust dependencies
Remove dmabuf patch, (it needs to be improved, we don't have linux/udmabuf.h header [1])
librsvg2 is also needed at build time (truckman)
Pet portclippy (truckman)
PR: 292076610c3c4373x11-toolkits/gtk40: update to 4.18.6 PR: 288212aceae25a58
x11-toolkits/gtk40: update to 4.18.4 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.4/NEWS Reported by: GitLab (notify releases)5046c0ee66
x11-toolkits/gtk40: update to 4.18.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.3/NEWS Reported by: GitLab (notify releases)9bca485ccb
x11-toolkits/gtk40: update to 4.18.2 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.2/NEWS Reported by: GitLab (notify releases)0e8c72189d
gnome.mk: rename gdkpixbuf2 to gdkpixbuf to prepare for port move The GTK 1-based gdk-pixbuf has not existed for some time. No functional or package changes.e87d8134a3
x11-toolkits/gtk40: update to 4.18.1 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.18.1/NEWS Reported by: GitLab (notify releases)9f8a33ee43
x11-toolkits/gtk40: update to 4.16.12 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.12/NEWS Reported by: Repologyd09851c3ac
x11-toolkits/gtk40: update to 4.16.7 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.7/NEWS Reported by: Repology25e357b41d
x11-toolkits/gtk40: update to 4.16.5 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.5/NEWS Reported by: Repology99c9e4f77a
x11-toolkits/gtk40: update to 4.16.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.3/NEWS Reported by: Repology4f7969e503
x11-toolkits/gtk40: update to 4.16.2 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.2/NEWS Reported by: Repologyf43c636ab5
x11-toolkits/gtk40: update to 4.16.1 after 8c1efc578d6f Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.16.1/NEWS Reported by: Repology7efdd3656f
x11-toolkits/gtk40: update to 4.14.5 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.5/NEWS Reported by: Repology1087726709
x11-toolkits/gtk40: enable DMABUF support after 5d5b000e62a6 PR: 28110716e7d54a12
x11-toolkits/gtk40: update to 4.14.4 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.4/NEWS Reported by: Repologyac734c0767
graphics/tiff: Update to 4.6.0 PR: 278577 Exp-run by: antoine98bf25875a
x11-toolkits/gtk40: update to 4.14.2 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.2/NEWS Reported by: Repologyb7573d3199
x11-toolkits/gtk40: update to 4.14.1 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.1/NEWS Reported by: Repology2674de702a
x11-toolkits/gtk40: update to 4.14.0 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.0/NEWS5d5b000e62
x11-toolkits/gtk40: update to 4.12.5 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.5/NEWSf1f2963f80
x11-toolkits/gtk40: update to 4.12.4 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.4/NEWS5e44bd566f
x11-toolkits/gtk40: update to 4.12.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.3/NEWS Reported by: GitLab (notify releases)a366daa3ae
x11-toolkits/gtk40: update to 4.12.2 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.2/NEWS Reported by: GitLab (notify releases)be4b9697d9
x11-toolkits/gtk40: update to 4.12.1 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.1/NEWS Reported by: GitLab (notify releases)e08f3f6761
*: Rename GTK+ to GTK GTK+ has been renamed to GTK since 2019. Reference: https://mail.gnome.org/archives/gtk-devel-list/2019-February/msg00000.html Approved by: portmgr (blanket)7a4777dc53
x11-toolkits/gtk40: unbreak with clang 16 on i386 after c7b4ee785e1d
../gdk/gdkvulkancontext.c:1158:3: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'VkPipelineCache' (aka 'unsigned long long') [-Wint-conversion]
g_return_val_if_fail (GDK_IS_VULKAN_CONTEXT (self), NULL);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/glib-2.0/glib/gmessages.h:660:16: note: expanded from macro 'g_return_val_if_fail'
return (val); \
^~~~~
../gdk/gdkvulkancontext.c:1653:30: error: incompatible pointer to integer conversion passing 'gpointer' (aka 'void *') to parameter of type 'VkShaderModule' (aka 'unsigned long long') [-Wint-conversion]
value,
^~~~~
/usr/local/include/vulkan/vulkan_core.h:4410:49: note: passing argument to parameter 'shaderModule' here
VkShaderModule shaderModule,
^
../gdk/gdkvulkancontext.c:1693:10: error: incompatible pointer to integer conversion assigning to 'VkShaderModule' (aka 'unsigned long long') from 'gpointer' (aka 'void *') [-Wint-conversion]
shader = g_hash_table_lookup (self->vk_shader_modules, resource_name);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../gdk/gdkvulkancontext.c:1714:79: error: incompatible integer to pointer conversion passing 'VkShaderModule' (aka 'unsigned long long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion]
g_hash_table_insert (self->vk_shader_modules, g_strdup (resource_name), shader);
^~~~~~
/usr/local/include/glib-2.0/glib/ghash.h:74:61: note: passing argument to parameter 'value' here
gpointer value);
^
Reported by: pkg-falloute831eb7782x11-toolkits/gtk40: update to 4.12.0 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.12.0/NEWS Reported by: GitLab (notify releases)c7b4ee785e
*/*: Bump jpeg-turbo users treewide New major version 3.0.0664a2fa1e5
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cx11-toolkits/gtk40: Remove broken FFmpeg option This option is considered experimental by upstream and there's little to no interest of maintaining it so remove it Reference: https://gitlab.gnome.org/GNOME/gtk/-/issues/5581 PR: 271145 Approved by: desktop (maintainer timeout, 6+ weeks)231505b7a0
x11-toolkits/gtk40: update to 4.10.4 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.4/NEWSc27a95d853
x11-toolkits/gtk40: update to 4.10.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.3/NEWSbd43222195
x11-toolkits/gtk40: drop redundant MESON_ARGS after 3507fb3e4ec9 PR: 270361 Exp-run by: antoine401e10359b
x11-toolkits/gtk40: explicitly enable introspection Upstream prefers misleading "auto" instead of "disabled" by default even if not consistent with other "auto" uses in Gtk's meson_options.txt7847fd7188
x11-toolkits/gtk40: update to 4.10.1 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.1/NEWS22e5da7562
x11-toolkits/gtk40: unbreak CUPS=off after a4aab0806301 Error: Missing: lib/gtk-4.0/%%GTK4_VERSION%%/printbackends/libprintbackend-lpr.so https://gitlab.gnome.org/GNOME/gtk/-/commit/dd22e2aea979 Reported by: olgeni21c0578e2c
x11-toolkits/gtk40: update to 4.10.0 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.0/NEWSa4aab08063
accessibility/at-spi2-core: update to 2.46.0 What's new in at-spi2-core 2.46.0: * Fix GetInterfaces documentation on org.a11y.atspi.Accessible interface. What's new in at-spi2-core 2.45.91: * Send device event controller events using the same signature as other events. * Document the Accessible, Action, and Cache dbus interfaces. * Fix license of atspi-gmain.c (#87). What's new in at-spi2-core 2.45.90: * xml: Add some documentation. * xml: Fix event arguments. * xml: Add some missing DeviceEventController methods. * Bind the AT-SPI bus to the graphical session. * Mark bus service as belonging to the session slice. * Add ATSPI_ROLE_PUSH_BUTTON_MENU. * Add an "announcement" event/signal to allow objects to send notifications (!63). * Various code clean-ups and test improvements. What's new in at-spi2-core 2.45.1: * Atk and at-spi2-atk are now merged into this project. * Now requires meson 0.56.2 and glib 2.67.4. * at-spi2-atk: Expose the accessible hierarchy via dbus introspection. * Properly escape the AT-SPI bus address; fixes warnings about the address not containing a colon (!55). * Add a text value to AtspiValue, so that a value can expose a textual description, as in the new Atk value API. * Add atspi_event_listener_register_with_app, to allow an event listener to be registered only for a given application (!52). - accessibility/atk and accessibility/at-spi2-atk have been merged into accessibility/at-spi2-core - accessibility/at-spi2-core: bump consumers of removed ports atk and at-spi2-atk PR: 269704 Exp-run by: antoine ---fa81a4f5f8
x11-toolkits/gtk40: update to 4.8.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.8.3/NEWS7f3b6b6ff1
x11-toolkits/gtk40: enable GSTREAMER by default Required for Gtk.MediaFile by video-trimmer and fractal >= 5 e.g., $ video-trimmer foo.mp4 (video-trimmer:12345): VideoTrimmer-WARNING **: src/video_preview.rs:142: Error in MediaFile: GTK could not find a media module. Check your installation.8452483c93
x11-toolkits/gtk40: update to 4.8.2 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.8.2/NEWS04000ebb40
x11-toolkits/gtk40: update to 4.8.0 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.8.0/NEWS51a360b7fe
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
multimedia/gstreamer: add missing USES=gstreamer Add missing USES=gstreamer to options not caught in gstreamer.mk conversion in [1] Reported by: fluffy [1] ca3f925d6eb53ff27e2a49775f6d33f52a587ae40d4421a961
framework: convert bsd.gstreamer.mk to Uses/gstreamer.mk - convert bsd.gstreamer.mk to Uses/gstreamer.mk - convert ports tree to make use of USES=gstreamer - remove duplicate dependency lines from the tree Differential Revision: https://reviews.freebsd.org/D35097ca3f925d6e
x11-toolkits/gtk40: update to 4.6.3 Changes: https://gitlab.gnome.org/GNOME/gtk/-/blob/4.6.3/NEWS8796711734