Accepting request 931264 from GNOME:Factory

New release++

OBS-URL: https://build.opensuse.org/request/show/931264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2021-11-14 23:06:45 +00:00 committed by Git OBS Bridge
commit 61bccc9d22
6 changed files with 120 additions and 19 deletions

View File

@ -1,5 +0,0 @@
gtk4-devel
requires -gtk4-<targettype>
requires "libgtk-4-1-<targettype> = <version>"
libgtk-4-1
provides "gtk4-<targettype> = <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0a1508f441686c3a20dfec48af533b19a4b2e017c18eaee31dccdb7d292505b
size 30008844

3
gtk-4.4.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0faada983dc6b0bc409cb34c1713c1f3267e67c093f86b1e3b17db6100a3ddf4
size 30031924

View File

@ -0,0 +1,34 @@
From 49032b4b6349ee196289a237d9baa74f90ac589d Mon Sep 17 00:00:00 2001
From: Emmanuele Bassi <ebassi@gnome.org>
Date: Mon, 1 Nov 2021 12:54:07 +0000
Subject: [PATCH] docs: Fix link to g_signal_emit()
---
gdk/gdkclipboard.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index b2fd191538..3daf2dcb04 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -1253,14 +1253,14 @@ gdk_clipboard_set_content (GdkClipboard *clipboard,
* @...: value contents conforming to @type
*
* Sets the clipboard to contain the value collected from the given varargs.
- *
+ *
* Values should be passed the same way they are passed to other value
* collecting APIs, such as [`method@GObject.Object.set`] or
- * [`id@g_signal_emit`].
+ * [`func@GObject.signal_emit`].
*
* ```c
* gdk_clipboard_set (clipboard, GTK_TYPE_STRING, "Hello World");
- *
+ *
* gdk_clipboard_set (clipboard, GDK_TYPE_TEXTURE, some_texture);
* ```
*/
--
GitLab

View File

@ -1,3 +1,58 @@
-------------------------------------------------------------------
Sat Nov 13 14:52:03 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Drop baselibs.conf, there should not be any consumers of 32bit
for this rather new package, so lets not build for the past.
-------------------------------------------------------------------
Thu Nov 11 02:42:53 UTC 2021 - Yifan Jiang <yfjiang@suse.com>
- Add gtk4-fix-link-to-g_signal_emit.patch: fix build failure
caused by inproper link to g_signal_emit.
-------------------------------------------------------------------
Thu Nov 4 20:37:05 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- 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 <bjorn.lie@gmail.com>
- 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 <ftake@geeko.jp>

View File

@ -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
@ -32,8 +32,10 @@ URL: https://www.gtk.org/
Source: https://download.gnome.org/sources/gtk/4.4/%{_name}-%{version}.tar.xz
Source2: settings.ini
Source3: macros.gtk4
Source98: gtk4-rpmlintrc
Source99: baselibs.conf
Source99: gtk4-rpmlintrc
# PATCH-FIX-UPSTREAM gtk4-fix-link-to-g_signal_emit.patch glgo#GNOME/gtk!4108 yfjiang@suse.com -- Fix link to g_signal_emit() in doc
Patch0: gtk4-fix-link-to-g_signal_emit.patch
BuildRequires: cups-devel >= 2.0
# We do not support building against cups 2.3 betas
@ -49,7 +51,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 +64,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 +73,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 +188,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 +229,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 +321,15 @@ 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-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