libadwaita/libadwaita.spec

117 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libadwaita
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: libadwaita
Version: 1.4.0
Release: 0
Summary: Building blocks for modern GNOME applications
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/libadwaita
Source: %{name}-%{version}.tar.zst
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
2022-01-03 11:55:36 +01:00
BuildRequires: fdupes
BuildRequires: meson >= 0.59.0
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
2022-01-03 11:55:36 +01:00
BuildRequires: pkgconfig
BuildRequires: sassc
BuildRequires: vala
BuildRequires: pkgconfig(appstream)
BuildRequires: pkgconfig(fribidi)
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
2022-01-03 11:55:36 +01:00
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(glib-2.0) >= 2.72
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.11.3
%lang_package
%description
Building blocks for modern GNOME applications.
%package -n libadwaita-1-0
Summary: Building blocks for modern GNOME applications
# Make the -lang package installable
Provides: %{name} = %{version}
%description -n libadwaita-1-0
Building blocks for modern GNOME applications.
This package provides the shared library for libadwaita.
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
2022-01-03 11:55:36 +01:00
%package docs
Summary: Developer documentation for libadwaita
BuildArch: noarch
%description docs
Building blocks for modern GNOME applications.
This package provides the documentation for libadwaita.
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
2022-01-03 11:55:36 +01:00
%package devel
Summary: Development files for the Adwaita library
Requires: libadwaita-1-0 = %{version}
Requires: typelib-1_0-Adw-1 = %{version}
%description devel
Building blocks for modern GNOME applications.
This package provides the development files for libadwaita.
%package -n typelib-1_0-Adw-1
Summary: Introspection bindings for Adwaita
Group: System/Libraries
%description -n typelib-1_0-Adw-1
Building blocks for modern GNOME applications.
This package provides the GObject Introspection bindings for libadwaita.
%prep
%autosetup -p1
%build
%meson \
-Dexamples=false \
-Dintrospection=enabled \
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
2022-01-03 11:55:36 +01:00
-Dgtk_doc=true \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}
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
2022-01-03 11:55:36 +01:00
%fdupes %{buildroot}%{_datadir}
%{ldconfig_scriptlets -n libadwaita-1-0}
%files lang -f %{name}.lang
%files -n libadwaita-1-0
%license COPYING
%doc README.md
%{_libdir}/libadwaita-1.so.0
%files -n typelib-1_0-Adw-1
%{_libdir}/girepository-1.0/Adw-1.typelib
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
2022-01-03 11:55:36 +01:00
%files docs
%{_datadir}/doc/%{name}-1/
%files devel
%{_includedir}/libadwaita-1/
%{_libdir}/libadwaita-1.so
%{_libdir}/pkgconfig/libadwaita-1.pc
%{_datadir}/gir-1.0/Adw-1.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libadwaita-1.{deps,vapi}
%changelog