Accepting request 862667 from GNOME:Factory

Update to 4.0.1

OBS-URL: https://build.opensuse.org/request/show/862667
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtk4?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2021-01-14 14:15:50 +00:00 committed by Git OBS Bridge
commit 2858fc6db4
7 changed files with 76 additions and 20 deletions

View File

@ -3,7 +3,7 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.gnome.org/GNOME/gtk.git</param>
<param name="scm">git</param>
<param name="revision">9c84fa127a33e33e8dc5e93adb5e40d3a46b2dbc</param>
<param name="revision">4.0.1</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,5 +1,5 @@
gtk4-devel
requires -gtk4-<targettype>
requires "libgtk-4-0-<targettype> = <version>"
libgtk-4-0
provides "gtk4-<targettype> = <version>"
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:3726d164788b20b68885ba9edd6bff0c5441c884ba3cede46c59c6e9f70f2fe4
size 107395598

3
gtk-4.0.1.obscpio Normal file
View File

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

View File

@ -1,5 +1,5 @@
name: gtk
version: 4.0.0+107
mtime: 1608919511
commit: 9c84fa127a33e33e8dc5e93adb5e40d3a46b2dbc
version: 4.0.1
mtime: 1610173813
commit: 60835227a1ff24512c98b2da608979b426329d87

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Mon Jan 11 14:11:26 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Rename libgtk-4-0 to libgtk-4-1: the library changed soname with
version 4.0.0.
- Obsolete libgtk-4-0 > 4 by libgtk-4.1: this is a bit a special
hack, but we know that versions < 4 were indeed libgtk-4-.so.0,
and starting from version 4, it should have been renamed.
-------------------------------------------------------------------
Sat Jan 9 11:44:20 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.0.1:
+ GtkPopover:
- Center titles
- Fix menu item alignment with submenus
+ GtkVideo:
- Fix up autoplay semantics
- Respect pixel aspect ratio
- Get GL textures from gstreamer
+ GtkCenterLayout: Fix handling of expanding center child
+ GtkSettings:
- Change gtk-cursor-aspect-ratio to double
- Fix the default value of gtk-print-backends
+ GtkGestureStylus: Convert motion history to surface coordinates
+ GL renderer:
- Various optimizations
- Avoid leaking shader objects
+ Adwaita:
- Fine-tune flat buttons
- Improve contrast of dim-label
- Improve contrast of controls in headers
+ Docs:
- Add various missing types
- Add DND examples
- Correct css docs for several widgets
- Improve GtkVideo docs
- Update migration docs for GtkClipboard
- Improve migration docs for event controllers
- Add migration docs for GtkBuilder
+ gtk4-builder-tool:
- Remove GtkCheckButton::draw-indicator
- Fix a buffer overrun
- Remove GtkToolbar::toolbar-style
+ Demos:
- Don't put the search bar in the scroll area
- Make the OpenGL demos work with OpenGL ES
+ X11: Fix a possible crash
+ Build:
- Fix vulkan reference in pc file
- Fix build with certain Vulkan versions
+ Updated translations.
-------------------------------------------------------------------
Sat Dec 26 19:18:54 UTC 2020 - bjorn.lie@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package gtk4
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2010 Dominique Leuenebrger, Amsterdam, Netherlands
#
# All modifications and additions to the file contributed by third parties
@ -22,7 +22,7 @@
%define _name gtk
Name: gtk4
Version: 4.0.0+107
Version: 4.0.1
Release: 0
Summary: The GTK+ toolkit library (version 4)
License: LGPL-2.1-or-later
@ -92,7 +92,7 @@ GTK+ is a multi-platform toolkit for creating graphical user interfaces.
Offering a complete set of widgets, GTK+ is suitable for projects
ranging from small one-off projects to complete application suites.
%package -n libgtk-4-0
%package -n libgtk-4-1
Summary: The GTK+ toolkit library (version 4)
# gtk4-data is currently not being built, might be an upstream oversight though
Group: System/Libraries
@ -117,10 +117,13 @@ Obsoletes: %{name}-immodule-thai
Obsoletes: %{name}-immodule-tigrigna
Obsoletes: %{name}-immodule-vietnamese
Obsoletes: %{name}-immodule-xim
# with version 4.0.0, the soname was actually changed to libgtk-4.so.1
# but the package was nor correctly renamed
Obsoletes: libgtk-4-0 >= 4
# Provide main package to make the lang subpackage installable
Provides: %{name} = %{version}
%description -n libgtk-4-0
%description -n libgtk-4-1
GTK+ is a multi-platform toolkit for creating graphical user interfaces.
Offering a complete set of widgets, GTK+ is suitable for projects
ranging from small one-off projects to complete application suites.
@ -159,8 +162,8 @@ ranging from small one-off projects to complete application suites.
%package branding-upstream
Summary: Upstream theme configuration for the GTK+ toolkit library v4
Group: System/Libraries
Requires: libgtk-4-0 = %{version}
Supplements: (libgtk-4-0 and branding-upstream)
Requires: libgtk-4-1 = %{version}
Supplements: (libgtk-4-1 and branding-upstream)
Conflicts: %{name}-branding
Provides: %{name}-branding = %{version}
BuildArch: noarch
@ -181,7 +184,7 @@ icon themes.
Summary: Development files for the GTK+ toolkit library v4
Group: Development/Libraries/X11
Requires: gettext-its-%{name} >= %{version}
Requires: libgtk-4-0 = %{version}
Requires: libgtk-4-1 = %{version}
Requires: typelib-1_0-Gtk-4_0 = %{version}
Requires: vulkan-devel
@ -249,10 +252,10 @@ cp %{SOURCE3} %{buildroot}%{_sysconfdir}/rpm
%fdupes %{buildroot}%{_datadir}
%fdupes %{buildroot}%{_libdir}
%post -n libgtk-4-0 -p /sbin/ldconfig
%postun -n libgtk-4-0 -p /sbin/ldconfig
%post -n libgtk-4-1 -p /sbin/ldconfig
%postun -n libgtk-4-1 -p /sbin/ldconfig
%files -n libgtk-4-0
%files -n libgtk-4-1
%license COPYING
%doc AUTHORS NEWS
%dir %{_libdir}/gtk-4.0