From eb44fbca7f41b36093ae639f14aec09be41573da683cb43522d21a5fa716f1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 3 Jan 2022 10:55:36 +0000 Subject: [PATCH] Accepting request 943476 from GNOME:Next - Update to version 1.0.1: + Include pre-built stylesheet and docs into release tarballs. - Update to version 1.0.0: + Rework GtkInspector page to not require a module, remove -Dinspector + Accessibility fixes in action row, flap, leaflet, preferences group, preferences page, status page, view switcher, window + Animation: - Properly mark AdwAnimation as abstract - Make ADW_DURATION_INFINITE introspectable + Carousel: Fix reorder(), prepend() and insert() behavior + Clamp Layout: Fix measure() behavior + Demo: - Split every page into separate files - Remove .app-notification demo - Fix the animation skip button sensitivity - Fix capitalization - Various cleanups + Add a hello world example + Documentation: - Add a screenshot generator, update all screenshots - Add widget screenshots - Update build instructions - Update visual index - New pages: . Initialization . Adaptive Layouts . Boxed Lists . Styles and Appearance . Named Colors . Style Classes + Various small updates + Leaflet: Fix property notification ordering when starting a swipe + Stylesheet: - Improve emoji chooser styles - Add hover style to .activatable GtkGridView children - Fix menu checks - Fix @warning_fg_color to be legible against @warning_bg_color + Tab Bar: Fix various layout warnings + Tab View: - Implement adding pages from ui files - Propagate Alt-[0-9] if selected tab doesn't change + Toast Overlay: Implement adding toasts from ui files + Updated translations. - Stop passing inspector=false to meson, no longer needed, nor recognized, dropped upstream. - Add fdupes BuildRequires and macro, remove duplicate files. - Add explicit pkgconfig BuildRequires. - Adwaita docs are now generated (with new pkgconfig(gi-docgen) BuildRequires) and packaged in a seperate subpackage called "libadwaita-docs". - Update to version 1.0.0~beta.1: + Build - Depend on GTK 4.5.0. - Depend on GLib 2.66. - Fix building as a subproject. - Remove unused dependencies. + Introduce AdwToastOverlay for showing in-app notifications + Introduce AdwAnimation - a basic animation API: - AdwTimedAnimation provides simple time-based animations. - AdwSpringAnimation provides flexible animations based on spring physics. - Replace adw_ease_out_cubic() with adw_easing_ease(). - Make adw_lerp() public. + adw_init() now automatically calls gtk_init(). + Use G_DEFINE_FINAL_TYPE if available. + Action Row: Increase spacing between title and subtitle. + Carousel: - Use spring animations for scrolling, replace animation-duration with scroll-params. - Remove adw_carousel_scroll_to_full(), add 'animate' parameter to adw_carousel_scroll_to() instead. + Flap: Use spring animations for reveal, replace reveal-duration with reveal-params. + Leaflet: - Rename can-swipe-back/forward to can-navigate-back/forward, make them handle mouse back/forward buttons, back/forward keys, as well as Alt+arrow shortcuts. - Make child transitions use spring animations, replace child-transition-duration with child-transition-params. + Preferences Page: Remove adaptive margins - they never worked properly. + Preferences Window: - Rename can-swipe-back to can-navigate-back, following the equivalent AdwLeaflet change. - Add API to show toasts. + Swipe Tracker: - Move 'begin-swipe' signal to when the swipe actually starts instead of when it's detected; add 'prepare' to replace it. - Replace duration with velocity in the 'end-swipe' signal. + Status Page: Update title label style. + Style Manager: - Set GtkSettings:gtk-application-prefer-dark-theme=true for dark. - Properly reset enable-animations. + Stylesheet: - New style classes: * entry.success to match entry.warning and entry.error * Generic .success to match .warning and .error. * checkbutton.selection-mode - Tweak accent color in dark variant, use accent_color/accent_bg_color more consistently. - Consistently support regular/bg/fg variants for success, warning and error colors. - Make menu items taller. - Make checked buttons more visible. - Update entry style. - Update GtkTreeView and GtkColumnView header style. - Tweak check button style. - Update window and popover shadows. - Make boxed lists use shadows as well. - Use white accent color for .osd. - Use tabular figures for GtkCalendar. - Support .navigation-sidebar in combination with .background. - Remove the GtkButton .outline class. - Remove .content-view check buttons. - Fix check hover styles in menus. + Tab Bar: Fix needs-attention indicators. + Tab View: Remove shortcut-widget, use managed shortcuts instead. + View Stack: - Layout fixes - Remove crossfade transition. + View Switcher: - Update styles. - Fix measure() criticals. - Fix a crash when hiding the visible child. - Fix outlines in high contrast mode. + View Switcher Title: Always hide switcher in mobile. + Various fixes and cleanups. + Updated translations. OBS-URL: https://build.opensuse.org/request/show/943476 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libadwaita?expand=0&rev=8 --- _service | 6 +- libadwaita-1.0.0~alpha.4.obscpio | 3 - libadwaita-1.0.1.obscpio | 3 + libadwaita.changes | 148 +++++++++++++++++++++++++++++++ libadwaita.obsinfo | 6 +- libadwaita.spec | 24 +++-- 6 files changed, 177 insertions(+), 13 deletions(-) delete mode 100644 libadwaita-1.0.0~alpha.4.obscpio create mode 100644 libadwaita-1.0.1.obscpio diff --git a/_service b/_service index 35d9b2d..b746467 100644 --- a/_service +++ b/_service @@ -3,8 +3,10 @@ https://gitlab.gnome.org/GNOME/libadwaita.git git - 1.0.0.alpha.4 - 1.0.0~alpha.4 + refs/tags/1.0.1 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 diff --git a/libadwaita-1.0.0~alpha.4.obscpio b/libadwaita-1.0.0~alpha.4.obscpio deleted file mode 100644 index 15a86e8..0000000 --- a/libadwaita-1.0.0~alpha.4.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6f8590f7cc44cad310ddc011e06a4ea3a65b644a183f8bf67cd9c61a68a5f21 -size 2788364 diff --git a/libadwaita-1.0.1.obscpio b/libadwaita-1.0.1.obscpio new file mode 100644 index 0000000..02a1009 --- /dev/null +++ b/libadwaita-1.0.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b40ad9e301670be3f1294e3b758f5d90168fdf37999d10fd54684490cd66c747 +size 4070924 diff --git a/libadwaita.changes b/libadwaita.changes index 0880386..f6c0ee0 100644 --- a/libadwaita.changes +++ b/libadwaita.changes @@ -1,3 +1,151 @@ +------------------------------------------------------------------- +Sun Jan 2 13:25:11 UTC 2022 - Bjørn Lie + +- Update to version 1.0.1: + + Include pre-built stylesheet and docs into release tarballs. + +------------------------------------------------------------------- +Fri Dec 31 12:23:20 UTC 2021 - Bjørn Lie + +- Update to version 1.0.0: + + Rework GtkInspector page to not require a module, remove + -Dinspector + + Accessibility fixes in action row, flap, leaflet, preferences + group, preferences page, status page, view switcher, window + + Animation: + - Properly mark AdwAnimation as abstract + - Make ADW_DURATION_INFINITE introspectable + + Carousel: Fix reorder(), prepend() and insert() behavior + + Clamp Layout: Fix measure() behavior + + Demo: + - Split every page into separate files + - Remove .app-notification demo + - Fix the animation skip button sensitivity + - Fix capitalization + - Various cleanups + + Add a hello world example + + Documentation: + - Add a screenshot generator, update all screenshots + - Add widget screenshots + - Update build instructions + - Update visual index + - New pages: + . Initialization + . Adaptive Layouts + . Boxed Lists + . Styles and Appearance + . Named Colors + . Style Classes + + Various small updates + + Leaflet: Fix property notification ordering when starting a + swipe + + Stylesheet: + - Improve emoji chooser styles + - Add hover style to .activatable GtkGridView children + - Fix menu checks + - Fix @warning_fg_color to be legible against @warning_bg_color + + Tab Bar: Fix various layout warnings + + Tab View: + - Implement adding pages from ui files + - Propagate Alt-[0-9] if selected tab doesn't change + + Toast Overlay: Implement adding toasts from ui files + + Updated translations. +- Stop passing inspector=false to meson, no longer needed, nor + recognized, dropped upstream. +- Add fdupes BuildRequires and macro, remove duplicate files. +- Add explicit pkgconfig BuildRequires. + +------------------------------------------------------------------- +Sat Dec 18 21:26:18 UTC 2021 - Florian "spirit" + +- Adwaita docs are now generated (with new pkgconfig(gi-docgen) + BuildRequires) and packaged in a seperate subpackage called + "libadwaita-docs". + +------------------------------------------------------------------- +Sat Dec 18 21:05:11 UTC 2021 - Florian "spirit" + +- Update to version 1.0.0~beta.1: + + Build + - Depend on GTK 4.5.0. + - Depend on GLib 2.66. + - Fix building as a subproject. + - Remove unused dependencies. + + Introduce AdwToastOverlay for showing in-app notifications + + Introduce AdwAnimation - a basic animation API: + - AdwTimedAnimation provides simple time-based animations. + - AdwSpringAnimation provides flexible animations based on + spring physics. + - Replace adw_ease_out_cubic() with adw_easing_ease(). + - Make adw_lerp() public. + + adw_init() now automatically calls gtk_init(). + + Use G_DEFINE_FINAL_TYPE if available. + + Action Row: Increase spacing between title and subtitle. + + Carousel: + - Use spring animations for scrolling, replace + animation-duration with scroll-params. + - Remove adw_carousel_scroll_to_full(), add 'animate' parameter + to adw_carousel_scroll_to() instead. + + Flap: Use spring animations for reveal, replace reveal-duration + with reveal-params. + + Leaflet: + - Rename can-swipe-back/forward to can-navigate-back/forward, + make them handle mouse back/forward buttons, back/forward + keys, as well as Alt+arrow shortcuts. + - Make child transitions use spring animations, replace + child-transition-duration with child-transition-params. + + Preferences Page: Remove adaptive margins - they never worked + properly. + + Preferences Window: + - Rename can-swipe-back to can-navigate-back, following the + equivalent AdwLeaflet change. + - Add API to show toasts. + + Swipe Tracker: + - Move 'begin-swipe' signal to when the swipe actually starts + instead of when it's detected; add 'prepare' to replace it. + - Replace duration with velocity in the 'end-swipe' signal. + + Status Page: Update title label style. + + Style Manager: + - Set GtkSettings:gtk-application-prefer-dark-theme=true for + dark. + - Properly reset enable-animations. + + Stylesheet: + - New style classes: + * entry.success to match entry.warning and entry.error + * Generic .success to match .warning and .error. + * checkbutton.selection-mode + - Tweak accent color in dark variant, use + accent_color/accent_bg_color more consistently. + - Consistently support regular/bg/fg variants for success, + warning and error colors. + - Make menu items taller. + - Make checked buttons more visible. + - Update entry style. + - Update GtkTreeView and GtkColumnView header style. + - Tweak check button style. + - Update window and popover shadows. + - Make boxed lists use shadows as well. + - Use white accent color for .osd. + - Use tabular figures for GtkCalendar. + - Support .navigation-sidebar in combination with .background. + - Remove the GtkButton .outline class. + - Remove .content-view check buttons. + - Fix check hover styles in menus. + + Tab Bar: Fix needs-attention indicators. + + Tab View: Remove shortcut-widget, use managed shortcuts + instead. + + View Stack: + - Layout fixes + - Remove crossfade transition. + + View Switcher: + - Update styles. + - Fix measure() criticals. + - Fix a crash when hiding the visible child. + - Fix outlines in high contrast mode. + + View Switcher Title: Always hide switcher in mobile. + + Various fixes and cleanups. + + Updated translations. + ------------------------------------------------------------------- Tue Nov 2 21:57:20 UTC 2021 - Bjørn Lie diff --git a/libadwaita.obsinfo b/libadwaita.obsinfo index 2db7489..bfffea4 100644 --- a/libadwaita.obsinfo +++ b/libadwaita.obsinfo @@ -1,5 +1,5 @@ name: libadwaita -version: 1.0.0~alpha.4 -mtime: 1635880948 -commit: 6b447fde8f270001a0dc29ef59d3e9bf6d32dae9 +version: 1.0.1 +mtime: 1641039681 +commit: b274a0c32c51a92692e3b282f04e88f033ba73b1 diff --git a/libadwaita.spec b/libadwaita.spec index 2f25a14..c47f30b 100644 --- a/libadwaita.spec +++ b/libadwaita.spec @@ -1,7 +1,7 @@ # # spec file for package libadwaita # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,23 @@ Name: libadwaita -Version: 1.0.0~alpha.4 +Version: 1.0.1 Release: 0 Summary: Adwaita library for mobile device UIs using GTK/GNOME License: LGPL-2.1-or-later URL: https://gitlab.gnome.org/GNOME/libadwaita Source: %{name}-%{version}.tar.xz +BuildRequires: fdupes BuildRequires: meson >= 0.59.0 +BuildRequires: pkgconfig BuildRequires: sassc BuildRequires: vala BuildRequires: pkgconfig(fribidi) -BuildRequires: pkgconfig(glib-2.0) >= 2.44 +BuildRequires: pkgconfig(gi-docgen) +BuildRequires: pkgconfig(glib-2.0) >= 2.66 BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(gtk4) >= 4.4.0 +BuildRequires: pkgconfig(gtk4) >= 4.5.0 %lang_package %description @@ -44,6 +47,13 @@ Provides: %{name} = %{version} %description -n libadwaita-1-0 The aim of the Adwaita library is to help with developing UI for mobile devices using GTK/GNOME. +%package docs +Summary: Developer documentation for libadwaita +BuildArch: noarch + +%description docs +This package contains developer documentation for the Adwaita library. + %package devel Summary: Development files for the Adwaita library Requires: libadwaita-1-0 = %{version} @@ -68,13 +78,14 @@ This package provides the GObject Introspection bindings for Adwaita. %meson \ -Dexamples=false \ -Dintrospection=enabled \ - -Dinspector=false \ + -Dgtk_doc=true \ %{nil} %meson_build %install %meson_install %find_lang %{name} +%fdupes %{buildroot}%{_datadir} %{ldconfig_scriptlets -n libadwaita-1-0} @@ -88,6 +99,9 @@ This package provides the GObject Introspection bindings for Adwaita. %files -n typelib-1_0-Adw-1 %{_libdir}/girepository-1.0/Adw-1.typelib +%files docs +%{_datadir}/doc/%{name}-1/ + %files devel %{_includedir}/libadwaita-1/ %{_libdir}/libadwaita-1.so