diff mbox series

[3/4] libadwaita: upgrade 1.3.4 -> 1.4.0

Message ID 20230917182829.2153680-3-f_l_k@t-online.de
State Accepted, archived
Commit d161624d21533da9d885c01a34390dcd9c8802ea
Headers show
Series [1/4] libxmlb: import recipe from meta-oe | expand

Commit Message

Markus Volk Sept. 17, 2023, 6:28 p.m. UTC
- add dependency on appstream
- build vapi dependent on GI_DATA_ENABLED

=============
Version 1.4.0
=============

- AdwBreakpointBin
  - Clarify minimum size warnings
- AdwExpanderRow
  - Improve accessible roles
- AdwPreferencesGroup
  - Set described-by on the listbox
- Docs
  - Fix a property name in breakpoint migration guide
- Stylesheet
  - Fix toolbar view styles within sidebars
  - Fix .navigation-sidebar:disabled style when used with GtkListView
- Build system fixes
- Translation updates
  - Catalan
  - Danish
  - Dutch
  - Esperanto
  - Italian
  - Occitan
  - Spanish
  - Swedish

==============
Version 1.4.rc
==============

- AdwAboutWindow
  - Accessibility fixes
  - Add a minimum size
- AdwExpanderRow
  - Accessibility fixes
- AdwHeaderBar
  - Fix missing title fallback for back button tooltip and history menu
  - Set "Back" as an accessible label for the back button
  - Clarify docs around :show-back-button
- AdwNavigationView
  - Warn when a navigation page is missing a title
- AdwStyleManager
  - Fix over-releasing a string on macOS
- AdwTabButton
  - Set the correct gettext domain
- AdwTabOverview
  - Set the correct gettext domain
  - Fix reordered thumbnail being drawn below others
- AdwToastOverlay
  - Set the correct gettext domain
- Build
  - Update pkg-config description field
- Demo
  - Update screenshot in appdata
  - Correctly dismiss the last toast in the dialogs demo
  - Add missing navigation page titles
- Stylesheet
  - Fix filename entry margins in file chooser
  - Fix menubutton.card corners
  - Fix button.card focus ring transition
  - Avoid background overdraw in GtkColumnView
- Translation updates
  - Basque
  - Chinese (China)
  - Czech
  - Finnish
  - Galician
  - German
  - Indonesian
  - Kazakh
  - Korean
  - Lithuanian
  - Persian
  - Polish
  - Romanian
  - Spanish
  - Turkish

================
Version 1.4.beta
================

- Build
  - Depend on GLib 2.76.0
  - Fix build on Windows
  - Add a GTK subproject
- AdwBreakpointBin
  - Mention the correct widget in exceeded size warnings
  - Fix width-for-height and height-for-width sizing
- AdwComboRow
  - Recreate default factory on expression changes
- AdwEnumListModel
  - Better invalid value for find_position()
- AdwHeaderBar
  - Fix spacing when there are no start/end children
  - Fix a memory leak
  - Fix GtkCenterBox:shrink-center-last usage
- AdwLeaflet
  - Fix back/forward mouse button handling
- AdwMessageDialog
  - Fix shadow style
- AdwNavigationView
  - Pop the current page when pressing Escape
  - Make AdwNavigationPage:child-view private
  - Fix back/forward mouse button handling
  - Clarify docs
- AdwPreferencesWindow
  - Fix a memory leak
- AdwTabOverview
  - Cull invisible thumbnails
  - Fix a crash when opening overview before it's mpped
- AdwTabView
  - Fix thumbnail regressions from 1.4.alpha
- AdwToastOverlay
  - Fix width-for-height and height-for-width sizing
- AdwToolbarView
  - Add ADW_TOOLBAR_RAISED_BORDER style
  - Fix width-for-height and height-for-width sizing
  - Clarify docs
- AdwViewStack
  - Add AdwViewStackPages:selected-page
- AdwViewSwitcherBar
  - Fix disabling reveal animation when using breakpoints
  - Make sure the height doesn't change with large text
- Demo
  - Fix view switcher demo minimum height
  - Set input hints and purpose in the entries
- Docs
  - Assorted screenshot tool fixes
  - Fix a deprecation warning in the screenshot tool
- Stylesheet
  - Make button.osd focus rings blue for better visibility
  - Fix .card buttons within .osd
  - Fix button transitions in high contrast mode
  - Fix single-item menu height
  - Modernize GtkFileDialog, GtkAppChooserDialog and GtkAssistant styles
- Translation updates
  - Belarusian
  - Friulian
  - Georgian
  - Hebrew
  - Hungarian
  - Persian
  - Portuguese
  - Russian
  - Slovenian
  - Ukrainian

=================
Version 1.4.alpha
=================

- Build
  - Depend on GTK 4.11.3
  - Depend on libappstream
  - Add Vala metadata file
  - Fix gnome.compile_resources() on MSBuild
  - Fix doc include path
  - Make metainfo build reproducible
- Add AdwBreakpoint and AdwBreakpointBin
- Add AdwNavigationView
- Add AdwNavigationSplitView
- Add AdwOverlaySplitView
- Add AdwSpinRow
- Add AdwSwitchRow
- Add AdwToolbarView
- Deprecate AdwFlap, AdwLeaflet, AdwSqueezer and AdwViewSwitcherTitle
- AdwAboutWindow
  - Add new_from_appdata()
  - Add a missing Since annotation
  - Fix accessible role on the application icon
- AdwActionRow
  - Fix an inaccuracy in docs
- AdwAvatar
  - Fix a memory leak
- AdwBanner
  - Allow to ellipsize the button
  - Clarify title placement in docs
  - Add a backdrop style
- AdwButtonContent
  - Add :can-shrink
- AdwCarousel
  - Fix allocation
  - Fix scrolling to a recently inserted item
- AdwClamp/AdwClampLayout/AdwClampScrollable
  - Add :unit, default to the sp unit instead of px
  - Deprecate clamp child  style classes
- AdwComboRow
  - Add :enable-search
  - Fix accessible role on the dropdown arrow
- AdwExpanderRow
  - Deprecate add_action(), replace it with add_suffix()
- AdwFlap
  - Add a missing setter annotation for :fold-policy
  - Correctly measure separator
  - Avoid notify emissions in dispose()
- AdwEntryRow
  - Fix baseline with new GTK
  - Fix accessibility
- AdwHeaderBar
  - Add :show-title property
  - Show page title instead of window title inside AdwNavigationPage
  - Show back buttons inside AdwNavigationView, add :show-back-button
  - Hide redundant window buttons inside AdwNavigationSplitView and
    AdwOverlaySplitView
  - Ellipsize title before start/end children
- AdwMessageDialog
  - Allow to ellipsize the buttons
  - Be more responsive on parent state changes
  - Fix criticals when using choose() with hide-on-close=true
- AdwPasswordEntryRow
  - Say password instead of text in the ui
- AdwPreferencesPage
  - Add :description
- AdwPreferencesWindow
  - Deprecate present_subpage(), close_subpage() and :can-navigate-back,
    replace with push_subpage() and pop_subpage() using AdwNavigationView
  - Move search button to the left
  - Add placeholder to the search entry
  - Fix markup handling when searching
- AdwSplitButton
  - Add :can-shrink
- AdwStatusPage
  - Clarify docs
- AdwStyleManager
  - Stop reading GNOME-specific color-scheme setting via settings portal
  - Only use GSettings with ADW_DISABLE_PORTAL=1
  - Fix get_for_display() annotation
- AdwSwipeTracker
  - Add overshoot properties
  - Fix swipe area handling
- AdwTabBar
  - Add :extra-drag-preferred-action
  - Fix dropping data onto tabs/thumbnails
  - Fix accessibility
  - Fix clipped labels
  - Correctly unparent context menu
- AdwTabOverview
  - Rework thumbnails, reducing the number of glitches with
    WebKitWebView, and gaining antialiasing in process
  - Fix the transition curve
  - Add :extra-drag-preferred-action
  - Add a translator comment for "%u tabs"
  - Fix dropping data onto tabs/thumbnails
  - Fix clipped labels
  - Correctly unparent context menu
- AdwTabView
  - Allow Ctrl+Page Up/Down to wrap around
- AdwToast
  - Add :use-markup
  - Allow to ellipsize toast buttons
- AdwViewSwitcher
  - Ellipsize labels in wide mode
  - Set correct accessible role for icons
- AdwViewSwitcherBar
  - Modernize style
- AdwWindow/AdwApplicationWindow
  - Add API for using breakpoints, matching AdwBreakpointBin
- AdwWindowTitle
  - Fix initial title visibility
- Demo
  - Drop leaflet and flap demos
  - Fix a critical when trying to set a non-image file as avatar
  - Add tooltip to the main menu button
  - Open primary menu with F10
  - Make sure dialogs can be closed with Esc
- Docs
  - Add a breakpoint migration guide
  - Rewrite the adaptive layouts page using the new widgetry
  - Update examples everywhere
  - Fix success/error color values
  - List thumbnail colors on the named colors page
  - Consistently mention since/deprecated since versions for named
    colors and style classes
  - Drop alpha migration guide
  - Adjust heading levels so that document outline consistently works
  - Crop screenshots more precisely
  - Don't show marshal functions in docs
- Tests
  - Add a few manual tests, intended to be ran from Builder
- Stylesheet
  - Make header bars white in light variant
  - Use shadow instead of a border for GtkWindow:titlebar
  - Revert menubar style changes from 1.3
  - Use a shadow for undershoot styles
  - Add .undershoot-top/bottom/start/end style classes
  - Add @popover_shade_color, use for undershoots and transition shadows
    within popovers
  - Move toolbar padding to toolbars instead of buttons/entries/etc.
    Applications may need to adapt if they were relying on the previous
    padding.
  - Add .property style class for list rows
  - Deprecate headerbar.flat
  - Remove non-overlay scrollbar background
  - Remove outline on scrollbar troughs
  - Use flat header bars for GtkShortcutsWindow, GtkAboutDialog,
    GtkColorDialog, GtkPrintUnixDialog and GtkPageSetupUnixDialog
  - Adapt styles for GTK 4.11.x additions
  - Improve selected list/grid item contrast
  - Fix click areas in file chooser rows and grid items
  - Fix file chooser grid dimensions
  - Fix button.card checked state
  - Fix link hover color
- Warn when trying to add a child that already has a parent
- Fix GTK deprecation warnings
- Translation updates
  - Basque
  - Brazilian Portuguese
  - British English
  - Bulgarian
  - Catalan
  - Chinese (Taiwan)
  - Dutch
  - Finnish
  - French
  - Friulian
  - German
  - Hebrew
  - Hungarian
  - Italian
  - Lithuanian
  - Persian
  - Polish
  - Portuguese
  - Russian
  - Slovak
  - Swedish
  - Turkish

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 .../libadwaita/{libadwaita_1.3.4.bb => libadwaita_1.4.0.bb}  | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
 rename meta/recipes-gnome/libadwaita/{libadwaita_1.3.4.bb => libadwaita_1.4.0.bb} (74%)
diff mbox series

Patch

diff --git a/meta/recipes-gnome/libadwaita/libadwaita_1.3.4.bb b/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb
similarity index 74%
rename from meta/recipes-gnome/libadwaita/libadwaita_1.3.4.bb
rename to meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb
index 2abc8d9f2f..d8aa2cd697 100644
--- a/meta/recipes-gnome/libadwaita/libadwaita_1.3.4.bb
+++ b/meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb
@@ -7,11 +7,12 @@  GNOMEBASEBUILDCLASS = "meson"
 
 DEPENDS = " \
     gtk4 \
+    appstream \
 "
 
 inherit gnomebase gobject-introspection gi-docgen vala features_check
 
-SRC_URI[archive.sha256sum] = "801ccaf3a760213b59ebb9b8185327df225049544aee68a1340b165710acb1bd"
+SRC_URI[archive.sha256sum] = "e51a098a54d43568218fc48fcf52e80e36f469b3ce912d8ce9c308a37e9f47c2"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 REQUIRED_DISTRO_FEATURES = "opengl"
@@ -23,3 +24,5 @@  GTKDOC_MESON_OPTION = 'gtk_doc'
 PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
 
 FILES:${PN} += "${datadir}/metainfo"
+
+EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}"