diff --git a/gtk-4.0.2.tar.xz b/gtk-4.0.2.tar.xz deleted file mode 100644 index c8e9244..0000000 --- a/gtk-4.0.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:626707ac6751426ed76fed49c5b2d052dfee45757ce3827088ba87ca7f1dbc84 -size 19437256 diff --git a/gtk-4.1.2.tar.xz b/gtk-4.1.2.tar.xz new file mode 100644 index 0000000..61c6faa --- /dev/null +++ b/gtk-4.1.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:33407da437c5e5ac09e7a463ba3bd025da3d80ba1953b8bbe2bce97dd2609677 +size 19530720 diff --git a/gtk4.changes b/gtk4.changes index af4ad44..59e580c 100644 --- a/gtk4.changes +++ b/gtk4.changes @@ -1,3 +1,101 @@ +------------------------------------------------------------------- +Thu Mar 18 09:26:38 UTC 2021 - Dominique Leuenberger + +- Update to version 4.1.2: + + Input: + - Ensure preedit-start and preedit-end are emitted properly + - Support the Wayland text protocol better + - Delete the selection when preedit starts + + Label: Fix a small issue with markup parsing and mnemonics + + Spinbutton: Interpret localized digits. + + Textview: Fix blinking block cursors. + + Tooltips: Don't pop up erroneous on popovers. + + Window: Add a way to disable F10 handling. + + Theme: Use a regular focus ring for sidebar rows. + + GSK: + - ngl: Performance improvements. + - vulkan: Add visible fallback rendering. + - vukan: Handle simple transforms when clipping. + + Wayland: + - Don't force a full redraw for every frame. + - Don't leak buffers when rendering with cairo. + + Demos: iconbrowser: Make search more useful. + + Documentation: Switch to building docs from gir files with + gi-docgen. + + build: Allow GTK to be used as meson subproject. + + Updated translations. +- Drop gtk-doc BuildRequires: doc building was moved to gi-docgen, + but we are not just yet ready to consume this, and also have not + been bulding docs before. + +------------------------------------------------------------------- +Fri Feb 26 13:22:36 UTC 2021 - Dominique Leuenberger + +- Update to version 4.1.1: + + Popover: Support shadows on popover > contents. + + Input: + - Show preedit for compose sequences. + - Support long compose sequences. + - Support compose sequences producing multiple characters. + + Themes: + - Allow suggested and destructive actions in lists. + - Disable shadows on maximized, fullscreen and tiled windows. + - Fine-tune scrollbar transitions and size. + + CSS: + - Support drop-shadow filters. + - Correct blur filter spread interpretation. + + Documentation: Improvements and updates for dialogs and native + dialog. + + Printing: Support Avahi-discovered printers better. + + GSK: Add another OpenGL render. It is not the default yet. + + Build: + - Lots of static analysis fixes found by pvs. + - Add a -Dprofile=devel option for devel styling and use it for + nightly flatpaks. + + X11: Fix DND of X11-specific types. + + Wayland: Fix lookup of font settings in flatpaks. + + Updated translations. + +------------------------------------------------------------------- +Wed Feb 3 11:51:04 UTC 2021 - Dominique Leuenberger + +- Update to version 4.1.0: + + GtkCheckButton: Add back an activate signal. + + GtkSearchBar, GtkSearchEntry: Capture events in the bubble + phase. + + GtkEmojiChooser: Adapt to small screen sizes. + + GtkVideo: Fix issues with GL support. + + Themes: + - Set sort arrows in CSS. + - Set menu button arrows in CSS. + - Make scrollbars larger. + - Supprt circular menubuttons. + + CSS: + - Implement transform-origin. + - Support overlines on text. + - Support colors in cross-fade(). + - More complete text-decoration-line support. + + Text layout: Use subpixel positioning with new enough cairo. + + Inspector: + - Fix slowness in navigation. + - Redo the controllers and shortcuts pages. + + Accessibility: Create AT context objects lazily. + + Wayland: Fix decoration negotiation under kwin. + + GSK: + - Optimize gradient shaders. + - Implement repeating gradients in shaders. + + Updated translations. +- Add Mesa-libGLESv3-devel BuildRequires: new dependency. + +------------------------------------------------------------------- +Sun Jan 31 05:18:31 UTC 2021 - Marguerite Su + +- Fix macros.gtk4: + + gtk4 has no gtk4-query-immodules + "GTK+ 4.0 will not support IM modules, and has moved to GIO + extension points" + + https://blog.gtk.org/2018/03/06/input-methods-in-gtk-4/ + ------------------------------------------------------------------- Tue Jan 19 08:08:49 UTC 2021 - Dominique Leuenberger diff --git a/gtk4.spec b/gtk4.spec index 2655e53..eddd365 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -22,14 +22,14 @@ %define _name gtk Name: gtk4 -Version: 4.0.2 +Version: 4.1.2 Release: 0 Summary: The GTK+ toolkit library (version 4) License: LGPL-2.1-or-later Group: Development/Libraries/X11 URL: https://www.gtk.org/ -Source: https://download.gnome.org/sources/gtk/4.0/%{_name}-%{version}.tar.xz +Source: https://download.gnome.org/sources/gtk/4.1/%{_name}-%{version}.tar.xz Source2: settings.ini Source3: macros.gtk4 Source98: gtk4-rpmlintrc @@ -38,11 +38,11 @@ Source99: baselibs.conf BuildRequires: cups-devel >= 2.0 # We do not support building against cups 2.3 betas BuildConflicts: (cups-devel > 2.3 with cups-devel < 2.3.0) +BuildRequires: Mesa-libGLESv3-devel BuildRequires: docbook-xsl-stylesheets BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext-tools >= 0.19.7 -BuildRequires: gtk-doc BuildRequires: hicolor-icon-theme BuildRequires: meson >= 0.50.1 BuildRequires: pkgconfig diff --git a/macros.gtk4 b/macros.gtk4 index c647a59..8c226ba 100644 --- a/macros.gtk4 +++ b/macros.gtk4 @@ -12,16 +12,24 @@ ### %gtk4_immodule_requires \ -Requires(post): gtk4-tools \ -Requires(postun): gtk4-tools +Requires(post): glib2-tools \ +Requires(postun): glib2-tools # On install, update the cache %gtk4_immodule_post \ - %{_bindir}/gtk4-query-immodules --update-cache \ +if [[ -x %{_bindir}/gio-querymodules-64 ]]; then \ + %{_bindir}/gio-querymodules-64 %{_libdir}/gtk-4.0/4.0.0/immodules \ +else \ + %{_bindir}/gio-querymodules %{_libdir}/gtk-4.0/4.0.0/immodules \ +fi # On uninstall, update the cache. Note: we ignore upgrades (already # handled in %post of the new package). -%gtk3_immodule_postun \ +%gtk4_immodule_postun \ if [ $1 -eq 0 ]; then \ - %{_bindir}/gtk4-query-immodules --update-cache \ + if [[ -x %{_bindir}/gio-querymodules-64 ]]; then \ + %{_bindir}/gio-querymodules-64 %{_libdir}/gtk-4.0/4.0.0/immodules \ + else \ + %{_bindir}/gio-querymodules %{_libdir}/gtk-4.0/4.0.0/immodules \ + fi \ fi