diff --git a/srcpkgs/gtk4/patches/remove-failing-tests.patch b/srcpkgs/gtk4/patches/remove-failing-tests.patch new file mode 100644 index 00000000000..671aea15330 --- /dev/null +++ b/srcpkgs/gtk4/patches/remove-failing-tests.patch @@ -0,0 +1,48 @@ +remove two failing doc-check tests: doc-check-gdk and doc-check-gtk, +because some symbols and return values for them are not documented. + +diff --git a/docs/reference/gdk/meson.build b/docs/reference/gdk/meson.build +index 89c8371a..1b5e9a50 100644 +--- a/docs/reference/gdk/meson.build ++++ b/docs/reference/gdk/meson.build +@@ -29,18 +29,6 @@ if get_option('documentation') + install_dir: docs_dir, + ) + +- test('doc-check-gdk', +- gidocgen, +- args: [ +- 'check', +- '--config', gdk4_toml, +- '--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'), +- gdk_gir[0], +- ], +- depends: gdk_gir[0], +- suite: ['docs', 'failing'], +- ) +- + if x11_enabled + gdk4x11_toml = configure_file( + input: 'gdk4-x11.toml.in', +diff --git a/docs/reference/gtk/meson.build b/docs/reference/gtk/meson.build +index 70741afe..051dcca9 100644 +--- a/docs/reference/gtk/meson.build ++++ b/docs/reference/gtk/meson.build +@@ -65,17 +65,6 @@ if get_option('documentation') + install_tag: 'doc', + ) + +- test('doc-check-gtk', +- gidocgen, +- args: [ +- 'check', +- '--config', gtk4_toml, +- '--add-include-path=@0@'.format(meson.current_build_dir() / '../../../gtk'), +- gtk_gir[0], +- ], +- depends: gtk_gir[0], +- suite: ['docs', 'failing'], +- ) + endif + + rst2man = find_program('rst2man', 'rst2man.py', required: get_option('man-pages')) diff --git a/srcpkgs/gtk4/template b/srcpkgs/gtk4/template index 15d78a84846..0f10adc6470 100644 --- a/srcpkgs/gtk4/template +++ b/srcpkgs/gtk4/template @@ -1,7 +1,7 @@ # Template file for 'gtk4' pkgname=gtk4 -version=4.14.4 -revision=2 +version=4.16.2 +revision=1 build_style=meson build_helper="gir" configure_args="-Dman-pages=true -Ddocumentation=true -Dbuild-tests=false @@ -31,9 +31,9 @@ maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://www.gtk.org/" #changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/main/NEWS" -changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/gtk-4-14/NEWS" +changelog="https://gitlab.gnome.org/GNOME/gtk/-/raw/gtk-4-16/NEWS" distfiles="${GNOME_SITE}/gtk/${version%.*}/gtk-${version}.tar.xz" -checksum=443518b97e8348f9f6430ac435b1010f9a6c5207f4dc6a7cd5d24e3820cee633 +checksum=34b624848e5de22a138b675ad6f39c0c7b9d67907c10e1fc7e5b03060e8d5437 # Package build options build_options="broadway cloudproviders colord cups gir vulkan wayland x11 tracker"