GTK+ is a collection of GUI widgets. GTK+ essentially provides the
building blocks from which GUIs can be built. It is highly themable,
and its functionality is highly extensible.
===> The following configuration options are available for gtk4-4.20.4:
ACCESSKIT=off: Enable AccessKit backend for accessibility (experimental)
BASH=off: Install programmable completions for Bash
BROADWAY=off: Enable GDK Broadway backend for showing GTK in the webbrowser using HTML5 and web sockets.
COLORD=on: Color profile support
CUPS=on: CUPS printing system support
DEBUG=off: Build with debugging support
GSTREAMER=on: GStreamer multimedia backend
VULKAN=on: GDK Vulkan renderer backend
WAYLAND=on: GDK Wayland backend
X11=on: GDK X11 backend
===> Use 'make config' to modify these settings
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/047c8e64d4156897776ec2bc3d0613a81cfe7ad1
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.
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-fallout
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>
x11-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)
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.txt
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.
(Only the first 15 lines of the commit message are shown above )
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.
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)
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.
(Only the first 15 lines of the commit message are shown above )
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/D35097
INSTALLS_ICONS: retire the macro and rework the related dependencies
While here, make sure gtk-update-icon-cache is only on run dependency
where added as a dependency
Enforce gtk3 to depend on gtk-update-icon-cache (previously it was
inheriting the dependency)
x11-toolkits/gtk40: remove CLOUDPRINT option; fix cups configure (+)
* Cloudprint support was removed since gtk40 4.3.2
* The correct spelling for the cups option (for meson configuration) is
'print-cups'.
PR: 257986
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
x11-toolkits/gtk40: unbreak consumers after a5d572b40b8b
In file included from /usr/local/include/gtk-4.0/gtk/gtk.h:31:
In file included from /usr/local/include/gtk-4.0/gdk/gdk.h:76:
/usr/local/include/gtk-4.0/gdk/gdkvulkancontext.h:32:10: fatal error:
'vulkan/vulkan.h' file not found
#include <vulkan/vulkan.h>
^~~~~~~~~~~~~~~~~
PR: 256344
Reported by: John Hein <jcfyecrayz@liamekaens.com>
x11-toolkits/gtk40: Pet port
* Fix GStreamer1 uses
* Add missing VULKAN handling
* Properly use USE_LDCONFIG abd INSTALLS_ICONS
Bump PORTREVISION to force rebuild with right dependencies
With hat: desktop
x11-toolkits/gtk40: Import GTK+ 4.0 to the Ports tree
This will help GNOME 40 components get imported to the Ports tree.
Differential Revision: https://reviews.freebsd.org/D29784