Skip to content

Commit

Permalink
bump(x11/gtk4): 4.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Biswa96 committed Sep 23, 2024
1 parent ede5aef commit 9a83975
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 7 deletions.
6 changes: 3 additions & 3 deletions x11-packages/gtk4/avoid-using-opengl-renderer.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -702,7 +702,9 @@
@@ -735,7 +735,9 @@
} renderer_possibilities[] = {
{ get_renderer_for_display },
{ get_renderer_for_env_var },
+#ifndef __ANDROID__
{ get_renderer_for_backend },
+#endif
{ get_renderer_for_gl },
{ get_renderer_for_gles2 },
#ifdef GDK_RENDERING_VULKAN
{ get_renderer_for_vulkan },
#endif
4 changes: 2 additions & 2 deletions x11-packages/gtk4/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.gtk.org/
TERMUX_PKG_DESCRIPTION="GObject-based multi-platform GUI toolkit"
TERMUX_PKG_LICENSE="LGPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.14.5"
TERMUX_PKG_VERSION="4.16.1"
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/gtk/${TERMUX_PKG_VERSION%.*}/gtk-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=5547f2b9f006b133993e070b87c17804e051efda3913feaca1108fa2be41e24d
TERMUX_PKG_SHA256=926a1eabd481f9bfa25538f95016fdfcfaf963b2f90b40ae69e90def5499215c
TERMUX_PKG_DEPENDS="adwaita-icon-theme, fontconfig, fribidi, gdk-pixbuf, glib, glib-bin, graphene, gtk-update-icon-cache, harfbuzz, libcairo, libepoxy, libjpeg-turbo, libpng, libtiff, libwayland, libx11, libxcursor, libxdamage, libxext, libxfixes, libxi, libxinerama, libxkbcommon, libxrandr, pango, shared-mime-info"
TERMUX_PKG_BUILD_DEPENDS="g-ir-scanner, glib-cross, libwayland-protocols, xorgproto"
TERMUX_PKG_RECOMMENDS="desktop-file-utils, librsvg, ttf-dejavu"
Expand Down
25 changes: 24 additions & 1 deletion x11-packages/gtk4/gir/Gdk-4.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
</class>
<class name="GdkCairoContext" get-type="gdk_cairo_context_get_type" parents="GdkDrawContext,GObject" abstract="1">
</class>
<class name="GdkCicpParams" get-type="gdk_cicp_params_get_type" parents="GObject">
<property name="color-primaries" type="guint" flags="1073742051" default-value="2"/>
<property name="transfer-function" type="guint" flags="1073742051" default-value="2"/>
<property name="matrix-coefficients" type="guint" flags="1073742051" default-value="2"/>
<property name="range" type="GdkCicpRange" flags="1073742051" default-value="GDK_CICP_RANGE_NARROW"/>
</class>
<class name="GdkClipboard" get-type="gdk_clipboard_get_type" parents="GObject">
<property name="display" type="GdkDisplay" flags="1073742059"/>
<property name="formats" type="GdkContentFormats" flags="1073742049"/>
Expand All @@ -13,6 +19,7 @@
<signal name="changed" return="void" when="last">
</signal>
</class>
<boxed name="GdkColorState" get-type="gdk_color_state_get_type"/>
<class name="GdkContentDeserializer" get-type="gdk_content_deserializer_get_type" parents="GObject">
<implements name="GAsyncResult"/>
</class>
Expand Down Expand Up @@ -222,6 +229,7 @@
<implements name="GLoadableIcon"/>
<property name="width" type="gint" flags="1073742059" default-value="1"/>
<property name="height" type="gint" flags="1073742059" default-value="1"/>
<property name="color-state" type="GdkColorState" flags="1073742059"/>
</class>
<class name="GdkDmabufTexture" get-type="gdk_dmabuf_texture_get_type" parents="GdkTexture,GObject">
<implements name="GdkPaintable"/>
Expand All @@ -236,6 +244,7 @@
<property name="modifier" type="guint64" flags="1073742051" default-value="0"/>
<property name="premultiplied" type="gboolean" flags="1073742051" default-value="TRUE"/>
<property name="n-planes" type="guint" flags="1073742051" default-value="1"/>
<property name="color-state" type="GdkColorState" flags="1073742051"/>
<property name="update-region" type="CairoRegion" flags="1073742051"/>
<property name="update-texture" type="GdkTexture" flags="1073742051"/>
</class>
Expand All @@ -257,7 +266,10 @@
<property name="formats" type="GdkContentFormats" flags="1073742059"/>
<property name="surface" type="GdkSurface" flags="1073742059"/>
</class>
<enum name="GdkInputSource" get-type="gdk_input_source_get_type">
<enum name="GdkCicpRange" get-type="gdk_cicp_range_get_type">
<member name="GDK_CICP_RANGE_NARROW" nick="narrow" value="0"/>
<member name="GDK_CICP_RANGE_FULL" nick="full" value="1"/>
</enum> <enum name="GdkInputSource" get-type="gdk_input_source_get_type">
<member name="GDK_SOURCE_MOUSE" nick="mouse" value="0"/>
<member name="GDK_SOURCE_PEN" nick="pen" value="1"/>
<member name="GDK_SOURCE_KEYBOARD" nick="keyboard" value="2"/>
Expand Down Expand Up @@ -558,6 +570,7 @@
<property name="height" type="gint" flags="1073742051" default-value="0"/>
<property name="id" type="guint" flags="1073742051" default-value="0"/>
<property name="sync" type="gpointer" flags="1073742051"/>
<property name="color-state" type="GdkColorState" flags="1073742051"/>
<property name="update-region" type="CairoRegion" flags="1073742051"/>
<property name="update-texture" type="GdkTexture" flags="1073742051"/>
<property name="width" type="gint" flags="1073742051" default-value="0"/>
Expand All @@ -567,6 +580,16 @@
<implements name="GIcon"/>
<implements name="GLoadableIcon"/>
</class>
<class name="GdkMemoryTextureBuilder" get-type="gdk_memory_texture_builder_get_type" parents="GObject">
<property name="bytes" type="GBytes" flags="1073742051"/>
<property name="color-state" type="GdkColorState" flags="1073742051"/>
<property name="format" type="GdkMemoryFormat" flags="1073742051" default-value="GDK_MEMORY_R8G8B8A8_PREMULTIPLIED"/>
<property name="height" type="gint" flags="1073742051" default-value="0"/>
<property name="stride" type="guint64" flags="1073742051" default-value="0"/>
<property name="update-region" type="CairoRegion" flags="1073742051"/>
<property name="update-texture" type="GdkTexture" flags="1073742051"/>
<property name="width" type="gint" flags="1073742051" default-value="0"/>
</class>
<interface name="GdkPaintable" get-type="gdk_paintable_get_type">
<signal name="invalidate-contents" return="void" when="last">
</signal>
Expand Down
15 changes: 14 additions & 1 deletion x11-packages/gtk4/gir/Gtk-4.0.xml
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@
<member name="GTK_DEBUG_A11Y" nick="a11y" value="131072"/>
<member name="GTK_DEBUG_ICONFALLBACK" nick="iconfallback" value="262144"/>
<member name="GTK_DEBUG_INVERT_TEXT_DIR" nick="invert-text-dir" value="524288"/>
<member name="GTK_DEBUG_CSS" nick="css" value="1048576"/>
</flags>
<enum name="GtkDialogError" get-type="gtk_dialog_error_get_type">
<member name="GTK_DIALOG_ERROR_FAILED" nick="failed" value="0"/>
Expand Down Expand Up @@ -1186,6 +1187,7 @@
<member name="GTK_ACCESSIBLE_PROPERTY_VALUE_MIN" nick="value-min" value="16"/>
<member name="GTK_ACCESSIBLE_PROPERTY_VALUE_NOW" nick="value-now" value="17"/>
<member name="GTK_ACCESSIBLE_PROPERTY_VALUE_TEXT" nick="value-text" value="18"/>
<member name="GTK_ACCESSIBLE_PROPERTY_HELP_TEXT" nick="help-text" value="19"/>
</enum> <enum name="GtkAccessibleRelation" get-type="gtk_accessible_relation_get_type">
<member name="GTK_ACCESSIBLE_RELATION_ACTIVE_DESCENDANT" nick="active-descendant" value="0"/>
<member name="GTK_ACCESSIBLE_RELATION_COL_COUNT" nick="col-count" value="1"/>
Expand Down Expand Up @@ -1232,6 +1234,15 @@
<member name="GTK_POPOVER_MENU_SLIDING" nick="sliding" value="0"/>
<member name="GTK_POPOVER_MENU_NESTED" nick="nested" value="1"/>
</flags>
<enum name="GtkFontRendering" get-type="gtk_font_rendering_get_type">
<member name="GTK_FONT_RENDERING_AUTOMATIC" nick="automatic" value="0"/>
<member name="GTK_FONT_RENDERING_MANUAL" nick="manual" value="1"/>
</enum> <flags name="GtkTextBufferNotifyFlags" get-type="gtk_text_buffer_notify_flags_get_type">
<member name="GTK_TEXT_BUFFER_NOTIFY_BEFORE_INSERT" nick="before-insert" value="1"/>
<member name="GTK_TEXT_BUFFER_NOTIFY_AFTER_INSERT" nick="after-insert" value="2"/>
<member name="GTK_TEXT_BUFFER_NOTIFY_BEFORE_DELETE" nick="before-delete" value="4"/>
<member name="GTK_TEXT_BUFFER_NOTIFY_AFTER_DELETE" nick="after-delete" value="8"/>
</flags>
<flags name="GtkEventControllerScrollFlags" get-type="gtk_event_controller_scroll_flags_get_type">
<member name="GTK_EVENT_CONTROLLER_SCROLL_NONE" nick="none" value="0"/>
<member name="GTK_EVENT_CONTROLLER_SCROLL_VERTICAL" nick="vertical" value="1"/>
Expand Down Expand Up @@ -2226,6 +2237,7 @@
<implements name="GtkConstraintTarget"/>
<property name="child" type="GtkWidget" flags="1073742051"/>
<property name="enabled" type="GtkGraphicsOffloadEnabled" flags="1073742051" default-value="GTK_GRAPHICS_OFFLOAD_ENABLED"/>
<property name="black-background" type="gboolean" flags="1073742051" default-value="FALSE"/>
</class>
<class name="GtkGrid" get-type="gtk_grid_get_type" parents="GtkWidget,GInitiallyUnowned,GObject">
<implements name="GtkAccessible"/>
Expand Down Expand Up @@ -3592,7 +3604,7 @@
<property name="gtk-xft-hintstyle" type="gchararray" flags="227" default-value="NULL"/>
<property name="gtk-xft-rgba" type="gchararray" flags="227" default-value="NULL"/>
<property name="gtk-xft-dpi" type="gint" flags="227" default-value="-1"/>
<property name="gtk-hint-font-metrics" type="gboolean" flags="227" default-value="FALSE"/>
<property name="gtk-hint-font-metrics" type="gboolean" flags="227" default-value="TRUE"/>
<property name="gtk-cursor-theme-name" type="gchararray" flags="227" default-value="NULL"/>
<property name="gtk-cursor-theme-size" type="gint" flags="227" default-value="0"/>
<property name="gtk-alternative-button-order" type="gboolean" flags="227" default-value="FALSE"/>
Expand Down Expand Up @@ -3627,6 +3639,7 @@
<property name="gtk-long-press-time" type="guint" flags="227" default-value="500"/>
<property name="gtk-keynav-use-caret" type="gboolean" flags="227" default-value="FALSE"/>
<property name="gtk-overlay-scrolling" type="gboolean" flags="227" default-value="TRUE"/>
<property name="gtk-font-rendering" type="GtkFontRendering" flags="227" default-value="GTK_FONT_RENDERING_AUTOMATIC"/>
</class>
<class name="GtkShortcutController" get-type="gtk_shortcut_controller_get_type" parents="GtkEventController,GObject">
<implements name="GListModel"/>
Expand Down

0 comments on commit 9a83975

Please sign in to comment.