diff --git a/_service b/_service index 579b557..fbdc6be 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://gitlab.gnome.org/GNOME/gtk.git git - 9c84fa127a33e33e8dc5e93adb5e40d3a46b2dbc + 4.0.1 @PARENT_TAG@+@TAG_OFFSET@ (.*)\+0 \1 diff --git a/baselibs.conf b/baselibs.conf index 548c82b..e99940c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,5 +1,5 @@ gtk4-devel requires -gtk4- - requires "libgtk-4-0- = " -libgtk-4-0 - provides "gtk4- = " \ No newline at end of file + requires "libgtk-4-1- = " +libgtk-4-1 + provides "gtk4- = " diff --git a/gtk-4.0.0+107.obscpio b/gtk-4.0.0+107.obscpio deleted file mode 100644 index 9f2c5eb..0000000 --- a/gtk-4.0.0+107.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3726d164788b20b68885ba9edd6bff0c5441c884ba3cede46c59c6e9f70f2fe4 -size 107395598 diff --git a/gtk-4.0.1.obscpio b/gtk-4.0.1.obscpio new file mode 100644 index 0000000..55ee904 --- /dev/null +++ b/gtk-4.0.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cacbb008e9005584d51d926c46c1394f8627a9699e1ef3f6b8192615072addc +size 107441166 diff --git a/gtk.obsinfo b/gtk.obsinfo index 74816eb..566b8db 100644 --- a/gtk.obsinfo +++ b/gtk.obsinfo @@ -1,5 +1,5 @@ name: gtk -version: 4.0.0+107 -mtime: 1608919511 -commit: 9c84fa127a33e33e8dc5e93adb5e40d3a46b2dbc +version: 4.0.1 +mtime: 1610173813 +commit: 60835227a1ff24512c98b2da608979b426329d87 diff --git a/gtk4.changes b/gtk4.changes index 57aa644..34583ac 100644 --- a/gtk4.changes +++ b/gtk4.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Mon Jan 11 14:11:26 UTC 2021 - Dominique Leuenberger + +- 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 + +- 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 diff --git a/gtk4.spec b/gtk4.spec index 0e98125..b2781a4 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -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