new file mode 100644
@@ -0,0 +1,38 @@
+From 90d68222c184f681472d9d9ce2ae443ebd76386e Mon Sep 17 00:00:00 2001
+From: Maximiliano Sandoval <msandova@gnome.org>
+Date: Sat, 15 Mar 2025 10:47:31 +0100
+Subject: [PATCH] meson: Check g-i before using --doc-format arg
+
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libadwaita/-/commit/90d68222c184f681472d9d9ce2ae443ebd76386e.patch]
+
+Signed-off-by: Markus Volk <f_l_k@t-online.de>
+---
+ src/meson.build | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/meson.build b/src/meson.build
+index 90cecc6a1..585fe3aad 100644
+--- a/src/meson.build
++++ b/src/meson.build
+@@ -450,11 +450,17 @@ meson.override_dependency(package_api_name, libadwaita_dep)
+
+ if introspection
+
++ gir_dep = dependency('gobject-introspection-1.0')
+ libadwaita_gir_extra_args = [
+ '--quiet',
+- '--doc-format=gi-docgen',
+ '-DADWAITA_COMPILATION',
+ ]
++ if gir_dep.version().version_compare('>=1.83.2')
++ libadwaita_gir_extra_args += [
++ '--doc-format=gi-docgen',
++ ]
++ endif
++
+
+ libadwaita_gir = gnome.generate_gir(libadwaita,
+ sources: libadwaita_generated_headers + libadwaita_public_headers + libadwaita_public_sources,
+--
+GitLab
+
similarity index 82%
rename from meta/recipes-gnome/libadwaita/libadwaita_1.6.4.bb
rename to meta/recipes-gnome/libadwaita/libadwaita_1.7.0.bb
@@ -11,7 +11,8 @@ DEPENDS = " \
inherit gnomebase gobject-introspection gi-docgen vala features_check
-SRC_URI[archive.sha256sum] = "1011a5a93dc3b87e82da19910d7fab01a3b9d7fcb0b09751babb476eedb3d9a3"
+SRC_URI[archive.sha256sum] = "58bf99b8a9f8b0171964de0ae741d01d5a09db3662134fa67541c99a8ed7dec0"
+SRC_URI += "file://90d68222c184f681472d9d9ce2ae443ebd76386e.patch"
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
REQUIRED_DISTRO_FEATURES = "opengl"
- add backport patch to fix introspection ============= Version 1.7.0 ============= - Build - Specify --doc-format for GIR data - AdwDialog - Fix :current-breakpoint notifications - AdwPreferencesDialog/Window - Exclude hidden pages from search too - Fix the search filter expression - Translation updates - Belarusian - Catalan - Danish - Filipino - French - Hungarian - Nepali - Norwegian Bokmål - Spanish - Swedish ============== Version 1.7.rc ============== - Fix build failures on win32 - Bump minimum GTK and GLib versions - Adaptive preview - Fix screenshotting GtkGraphicsOffload - Add a missing translators comment - AdwAboutDialog/Window - Use system monospace font for `<code>` in release notes - AdwDialog - Fix parent window shortcuts propagating into dialogs - AdwPreferencesDialog - Hide pages with visible=false - AdwStyleManager - Document how to handle font names - Stylesheet - Fix popovers in non-composited environments - Fix GtkPaned drag area - Translation updates - Basque - Brazilian Portuguese - Bulgarian - Catalan - Chinese (China) - Czech - Finnish - Galician - Georgian - Hebrew - Indonesian - Korean - Lithuanian - Norwegian Bokmål - Occitan - Persian - Polish - Portuguese - Turkish - Ukrainian ============== Version 1.7.rc ============== - Fix build failures on win32 - Bump minimum GTK and GLib versions - Adaptive preview - Fix screenshotting GtkGraphicsOffload - Add a missing translators comment - AdwAboutDialog/Window - Use system monospace font for `<code>` in release notes - AdwDialog - Fix parent window shortcuts propagating into dialogs - AdwPreferencesDialog - Hide pages with visible=false - AdwStyleManager - Document how to handle font names - Stylesheet - Fix popovers in non-composited environments - Fix GtkPaned drag area - Translation updates - Basque - Brazilian Portuguese - Bulgarian - Catalan - Chinese (China) - Czech - Finnish - Galician - Georgian - Hebrew - Indonesian - Korean - Lithuanian - Norwegian Bokmål - Occitan - Persian - Polish - Portuguese - Turkish - Ukrainian ================ Version 1.7.beta ================ - AdwApplicationWindow, AdwWindow - Add a public property for toggling adaptive preview - Open adaptive preview with Ctrl+Shift+M - AdwBreakpoint - Fix to_string() with locales using comma as decimal separator - AdwComboRow - Fix very short strings not being displayed - AdwDialog - Fix ::closed emission with window-backed dialogs - Fix a focus-related crash - AdwOverlaySplitView, AdwFlap - Remove an unreachable check - AdwPreferencesDialog - Document navigation.pop action - AdwTabBox, AdwTabGrid - Fix scrolling to newly appearing tabs - Fix a copy-paste error - AdwToast - Use a lighter opaque style - Adaptive Preview - Add an outline around the device - Round bezel sizes - Fix bezels with locales using comma as decimal separator - Prevent secondary sidebar style leak into the previewed app - Demo - Allow opening adaptive preview from menu - Inherit page background color when duplicating tabs - Docs - Switch to Adwaita Sans/Mono 11pt for doc screenshots - Inspector - Provide a list of windows instead of a single button for adaptive preview - Stylesheet - Add --document-font-family/size and --monospace-font-family/size - Use --monospace-font-family/size for .monospace - Fix disabled style for raised/suggested/destructive menubuttons in toolbars - Drop GtkSourceView support for textview.inline as it didn't work anyway - Translation updates - Italian - Russian - Slovenian - Turkish ================= Version 1.7.alpha ================= - Add AdwToggleGroup and AdwInlineViewSwitcher - Add AdwWrapBox and AdwWrapLayout - Add adaptive preview in inspector - Use EASE easing for timed animations instead of EASE_OUT_CUBIC - Don't warn when setting child in bin-like widgets to itself - Fix meson syntax in readme - Add doc guidelines to HACKING - Build - Drop pre-built docs and styles - Rename -Dgtk_doc to -Ddocumentation, deprecate the old option - AdwAboutDialog - Add Other Apps section - Fix natural width - AdwAboutWindow - Fix natural width - AdwActionRow - Set accessible role to presentation for the icon - AdwAlertDialog - Fix a crash when setting content-width/height before present() - AdwAvatar - Set accessible role and label - AdwBanner - Start-align the title earlier - Tone down visuals - Add :style to allow to make button suggested - AdwBottomSheet - Add :reveal-bottom-bar - Fix natural height - Fix criticals in dispose in some cases - AdwBreakpointBin - Fix natural size - AdwButtonRow - Set accessible role to presentation for icons - AdwClamp - Fix get/set_unit() version - AdwClampLayout - Fix layout with multiple children - Fix height-for-width measuring - AdwComboRow - Fix a property noficiation - AdwDialog - Fix accessible role critical when using window-backed dialogs - Handle close() before and right after present() - Don't crash when chaining up in vfuncs - AdwEasing - Add EASE, EASE_IN, EASE_OUT and EASE_IN_OUT - AdwExpanderRow - Make suffix spacing match action rows and entry rows - AdwHeaderBar - Ignore split views outside sheets - AdwLengthUnit - Fix pt and sp unit values when gtk-xft-dpi = -1 - AdwMessageDialog - Fix a typo in adw_message_dialog_response() deprecation message - AdwNavigationSplitView - Support :sidebar-position - Stop reporting baseline - AdwNavigationView - Addw :h/vhomogeneous - Add :visible-page-tag - Don't crash when chaining up in vfuncs - AdwOverlaySplitView - Don't allow focusing hidden sidebar - AdwPreferencesPage - Add :banner - AdwStyleManager - Fix initial color scheme value on Windows - AdwTabBar - Only handle middle clicks started and ended on the same tab - Don't select tabs when clicking close or indicator buttons - AdwTabOverview - Darken background color - Only handle middle clicks started and ended on the same thumbnail - AdwToastOverlay - Add dismiss_all() - Add tooltip to the dismiss button - AdwToolbarView - Fix height-for-width measurements - AdwViewSwitcher - Have a minimum height outside header bars - Always focus active toggle when entering focus - AdwViewStack - Add an optional crossfade transition - Rework adjusting child allocation - AdwWindow, AdwApplicationWindow - Fix allocating children - Docs - Indicate and explain out of gamut colors on CSS variables page - Update deprecated meson syntax - Link clamp/layout/scrollable docs between each other - Force GTK_FONT_RENDERING_MANUAL for screenshots - Typo fixes - Stylesheet - Increase border radii of various widgets - Tint gray colors to make them colder - Add hover and active transition to switch, check, radio and slider - Increase scrollbar padding to match the new window radius - Add .dimmed and deprecate .dim-label - Make preferences group .labels style more specific - Translation updates - Belarusian - Catalan - Chinese (China) - Dutch - Hebrew - Russian - Serbian - Slovenian - Thai Signed-off-by: Markus Volk <f_l_k@t-online.de> --- ...8222c184f681472d9d9ce2ae443ebd76386e.patch | 38 +++++++++++++++++++ ...ibadwaita_1.6.4.bb => libadwaita_1.7.0.bb} | 3 +- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-gnome/libadwaita/libadwaita/90d68222c184f681472d9d9ce2ae443ebd76386e.patch rename meta/recipes-gnome/libadwaita/{libadwaita_1.6.4.bb => libadwaita_1.7.0.bb} (82%)