From c735a28987fc86b7a81f04a6f989e0b4b6e6670097160f523f656ccc3dcbb976 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 5 Nov 2021 16:11:49 +0000 Subject: [PATCH] Accepting request 929693 from GNOME:Next Resub OBS-URL: https://build.opensuse.org/request/show/929693 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtk4?expand=0&rev=77 --- gtk-4.4.0.tar.xz | 3 --- gtk-4.4.1.tar.xz | 3 +++ gtk4.changes | 43 +++++++++++++++++++++++++++++++++++++++++++ gtk4.spec | 35 ++++++++++++++++++++++++++--------- 4 files changed, 72 insertions(+), 12 deletions(-) delete mode 100644 gtk-4.4.0.tar.xz create mode 100644 gtk-4.4.1.tar.xz diff --git a/gtk-4.4.0.tar.xz b/gtk-4.4.0.tar.xz deleted file mode 100644 index f3dfa36..0000000 --- a/gtk-4.4.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e0a1508f441686c3a20dfec48af533b19a4b2e017c18eaee31dccdb7d292505b -size 30008844 diff --git a/gtk-4.4.1.tar.xz b/gtk-4.4.1.tar.xz new file mode 100644 index 0000000..6f96b51 --- /dev/null +++ b/gtk-4.4.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0faada983dc6b0bc409cb34c1713c1f3267e67c093f86b1e3b17db6100a3ddf4 +size 30031924 diff --git a/gtk4.changes b/gtk4.changes index dc5d1b4..18c4b38 100644 --- a/gtk4.changes +++ b/gtk4.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Thu Nov 4 20:37:05 UTC 2021 - Bjørn Lie + +- Disable sassc BuildRequires, only needed when building from git. +- Add pkgconfig(gi-docgen) and pkgconfig(iso-codes) BuildRequires + and pass gtk_doc=true to meson instead of documentation=true + following upstream changes. Also split develdocumentation out + into it's own sub-package. +- Drop pkgconfig(json-glib-1.0) BuildRequires, not needed nor used. +- Replace option print-backends=all with print-cups=enabled + following upstream changes. +- Stop passing xinerama=enabled to meson, not needed nor used. +- Add pkgconfig(tracker-sparql-3.0) BuildRequires and pass + tracker=enabled to meson, build with tracker support. + +------------------------------------------------------------------- +Mon Nov 1 15:21:35 UTC 2021 - Bjørn Lie + +- Update to version 4.4.1: + + input: + - Fix compose data on bigendian systems + - Accept long replacement strings for compose sequences + + a11y: + - Fix accessible relations for menu buttons + - Fix accessible descriptions in some cases + - Simplify atspi context a bit + + GtkTextView: + - Fix applying css properties such as letterspacing, line + decoration, font features, etc + - Improve grouping for undo + - Invalidate Pango contexts when font settings change + - Fix a crash + + Theme: Improve styling for toggle buttons in toolbars + + gsk: Avoid coordinate overflow with big text selections + + GtkFileChooser: Fix handling of choices + + GtkStackSwitcher: Expand child buttons + + GtkCalendar: Fix day names for weeks that start on monday + + GtkWindow: Prefer menubars when handling F10 + + GtkFontButton: Make sure the dialog is on the same display + + X11: Fix handling of randr events + + build: Fix detection of pre-compiled css files + + Updated translations. + ------------------------------------------------------------------- Sun Oct 3 08:58:01 UTC 2021 - Fuminobu Takeyama diff --git a/gtk4.spec b/gtk4.spec index b146f70..1c2184d 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -22,7 +22,7 @@ %define _name gtk Name: gtk4 -Version: 4.4.0 +Version: 4.4.1 Release: 0 Summary: The GTK+ toolkit library (version 4) License: LGPL-2.1-or-later @@ -49,7 +49,8 @@ BuildRequires: gettext-tools >= 0.19.7 BuildRequires: hicolor-icon-theme BuildRequires: meson >= 0.50.1 BuildRequires: pkgconfig -BuildRequires: sassc +# sassc is ONLY needed when building gitcheckouts, and not when using tarball releases +#BuildRequires: sassc BuildRequires: vulkan-devel BuildRequires: xsltproc BuildRequires: pkgconfig(atk) >= 2.15.1 @@ -61,6 +62,7 @@ BuildRequires: pkgconfig(colord) BuildRequires: pkgconfig(epoxy) >= 1.4 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.30.0 +BuildRequires: pkgconfig(gi-docgen) BuildRequires: pkgconfig(glib-2.0) >= 2.65.0 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gobject-2.0) >= 2.53.7 @@ -69,12 +71,13 @@ BuildRequires: pkgconfig(graphene-1.0) >= 1.9.1 BuildRequires: pkgconfig(graphene-gobject-1.0) >= 1.9.1 BuildRequires: pkgconfig(gstreamer-gl-1.0) BuildRequires: pkgconfig(gstreamer-player-1.0) -BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(pango) >= 1.47.0 BuildRequires: pkgconfig(pangocairo) >= 1.14.0 BuildRequires: pkgconfig(pangoft2) BuildRequires: pkgconfig(rest-0.7) +BuildRequires: pkgconfig(tracker-sparql-3.0) BuildRequires: pkgconfig(wayland-client) >= 1.14.91 BuildRequires: pkgconfig(wayland-cursor) >= 1.9.91 BuildRequires: pkgconfig(wayland-egl) @@ -183,6 +186,14 @@ ranging from small one-off projects to complete application suites. This package provides the upstream theme configuration for widgets and icon themes. +%package docs +Summary: Developer documentation for GTK +BuildArch: noarch + +%description docs +This package contains developer documentation for version 4 of the GTK +widget toolkit. + %package devel Summary: Development files for the GTK+ toolkit library v4 Group: Development/Libraries/X11 @@ -216,17 +227,17 @@ This package enhances gettext with an International Tag Set for GTK+ 4 %build %meson \ -Dbuild-tests=false \ - -Ddocumentation=true \ + -Dgtk_doc=true \ -Dbroadway-backend=true \ -Dcloudproviders=enabled \ -Dcolord=enabled \ - -Dprint-backends=all \ + -Dprint-cups=enabled \ -Dvulkan=enabled \ -Dwayland-backend=true \ -Dx11-backend=true \ - -Dxinerama=enabled \ -Dintrospection=enabled \ -Dman-pages=true \ + -Dtracker=enabled \ %{nil} %meson_build @@ -308,11 +319,17 @@ cp %{SOURCE3} %{buildroot}%{_rpmmacrodir} %files branding-upstream %{_datadir}/gtk-4.0/settings.ini +%files docs +%{_datadir}/doc/gdk4/ +%{_datadir}/doc/gdk4-wayland/ +%{_datadir}/doc/gdk4-wayland/ +%{_datadir}/doc/gdk4-x11/ +%{_datadir}/doc/gdk4-x11/ +%{_datadir}/doc/gsk4/ +%{_datadir}/doc/gtk4/ + %files devel %doc CONTRIBUTING.md -#doc #{_datadir}/gtk-doc/html/gdk4/ -#doc #{_datadir}/gtk-doc/html/gsk4/ -#doc #{_datadir}/gtk-doc/html/gtk4/ %{_bindir}/gtk4-demo %{_bindir}/gtk4-demo-application %{_bindir}/gtk4-widget-factory