From 08679803a223c68d20d463f762d48a0aa57714b07b08c5e563ec35c04aa79008 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 8 Aug 2024 11:24:28 +0000 Subject: [PATCH] - Fix BuildRequires minimal version of gtk4 from 4.11.3 to 4.13.4 as per src/meson.build. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libadwaita?expand=0&rev=60 --- .gitattributes | 23 + .gitignore | 1 + _service | 17 + libadwaita-1.5.2.obscpio | 3 + libadwaita-1.5.2.tar.zst | 3 + libadwaita.changes | 1234 ++++++++++++++++++++++++++++++++++++++ libadwaita.obsinfo | 4 + libadwaita.spec | 116 ++++ 8 files changed, 1401 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 libadwaita-1.5.2.obscpio create mode 100644 libadwaita-1.5.2.tar.zst create mode 100644 libadwaita.changes create mode 100644 libadwaita.obsinfo create mode 100644 libadwaita.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5adba3b --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://gitlab.gnome.org/GNOME/libadwaita.git + git + 1.5.2 + @PARENT_TAG@+@TAG_OFFSET@ + (.*)\+0 + \1 + + + + *.tar + zst + + + diff --git a/libadwaita-1.5.2.obscpio b/libadwaita-1.5.2.obscpio new file mode 100644 index 0000000..47c8252 --- /dev/null +++ b/libadwaita-1.5.2.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b214e38bb335596cd595516efac814c9eef591d4841454eafb96e6cb8ac0ce57 +size 7928333 diff --git a/libadwaita-1.5.2.tar.zst b/libadwaita-1.5.2.tar.zst new file mode 100644 index 0000000..cdabeba --- /dev/null +++ b/libadwaita-1.5.2.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0832b93139cd2dcdc9d5157ad27dc4c2a37edb028506fa90eaeb483decdc97ac +size 2426202 diff --git a/libadwaita.changes b/libadwaita.changes new file mode 100644 index 0000000..cf73ee7 --- /dev/null +++ b/libadwaita.changes @@ -0,0 +1,1234 @@ +------------------------------------------------------------------- +Thu Aug 8 08:21:23 UTC 2024 - Filip Kastl + +- Fix BuildRequires minimal version of gtk4 from 4.11.3 to 4.13.4 + as per src/meson.build. + +------------------------------------------------------------------- +Fri Jun 28 20:15:09 UTC 2024 - Bjørn Lie + +- Update to version 1.5.2: + + AdwAlertDialog: + - Fix unmatched va_start() + - Fix setting default widget when removing a response + + AdwBreakpointCondition: Fix leaks when parsing + + AdwBreakpointBin: Fix a leak + + AdwDialog: + - Fix toggling presentation mode + - Fix close button ignoring :can-close + - Fix ::close-attempt not emitting in some cases + - Fix swipe area for bottom sheets + - Leak fixes + + AdwHeaderBar: + - Fix initial focus for the back button + - Fix split view links in docs + + AdwMessageDialog: Fix unmatched va_start() + + AdwSpinRow: Fix ::input handling + + AdwTabButton: Fix needs-attention badge on RTL + + AdwTabView: Accessibility fixes + + AdwViewStack: Accessibility fixes + + Updated translations. + +------------------------------------------------------------------- +Fri May 24 14:19:20 UTC 2024 - Dominique Leuenberger + +- Update to version 1.5.1: + + AdwAboutDialog/Window: Fix an outdated appstream reference in + docs. + + AdwActionRow: Mention .property in docs. + + AdwAlertDialog: + - Fix the accessible role. + - Fix initial focus. + + AdwAvatar: Fix portrait avatars on hidpi. + + AdwBin: Fix a potential focus issue. + + AdwBreakpoint: Fix add_setter() annotations. + + AdwCarousel: Fix a build warning. + + AdwComboRow: + - Fix initial checkmark. + - Handle model changes properly. + + AdwDialog: + - Fix accessibility warnings. + - Make shortcuts work when there are no focusable widgets. + - Correctly restore focus when opening a dialog from a menu. + - Fix GtkWindow:deletable=false hiding close buttons in + dialogs. + + AdwExpanderRow: + - Fix get_title_lines() and get_subtitle_lines() return types. + - Fix remove() docs. + + AdwOverlaySplitView: Unmap sidebar when it's hidden. + + AdwPreferencesGroup: + - Fix a potential focus issue. + - Fix :header-group annotations and notifications. + + AdwPreferencesPage: Fix a potential focus issue. + + AdwTabView: + - Document :close-page return value. + - Fix a leak when closing the last page. + + AdwViewStack: Fix a typo in docs. +. + Docs: Update screenshots + + Stylesheet: Fix entry progress bars. + + Add missing return annotations + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 15 15:49:05 UTC 2024 - Dominique Leuenberger + +- Update to version 1.5.0: + + AdwDialog + - Fix widget selection in inspector when presented as a bottom + sheet. + - Fix clicks on the dimming still working with can-closed=true. + + Demo: Fix in metainfo. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 4 07:54:20 UTC 2024 - Dominique Leuenberger + +- Update to version 1.5.rc: + + Depend on GTK 4.13.4. + + Fix layout with GtkSettings:gtk-xft-dpi == 0. + + AdwAboutDialog: + - Support zero-clause bsd license. + - Fix example. + + AdwAboutWindow: Support zero-clause bsd license. + + AdwDialog: + - Allow bottom sheets to shrink beyond 360px width. + - Fix a crash when swiping on the dimming. + - Adjust dimming intensity. + + AdwNavigationView: + - Fix signal mentions in push() docs. + - Disable missing title warning when containing a split view. + + AdwStatusPage: Fix property notification in set_child(). + + AdwSwipeTracker: Use a smaller threshold for window handles. + + AdwToolbarView: Fix a typo in docs. + + Demo: Fix window.devel demo. + + Stylesheet: + - Adjust shade colors in dark. + - Make .devel not propagate to dialogs. + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 12 15:24:17 UTC 2024 - Dominique Leuenberger + +- Update to version 1.5.beta: + + Demo: Port everything to AdwDialog. + + Docs: + - Add a migration guide for adaptive dialogs. + - Add a favicon. + - Use the new asides. + + Stylesheet: + - Increase GtkSwitch padding. + - Align property row title and other row subtitle sizes. + - Align expander row and combo row arrows. + - Stop hiding switch shapes. + + Updated translations. + +------------------------------------------------------------------- +Mon Feb 12 15:22:37 UTC 2024 - Dominique Leuenberger + +- Update to version 1.4.3: + + AdwAboutWindow: Don't pre-select the first section on the Legal + page. + + AdwHeaderBar: Fix visibility after changing :show-back-button. + + AdwPreferencesWindow: Fix :visible-page and :visible-page-name + docs. + + AdwViewSwitcherBar: Fix a warning when empty. + + Updated translations. + +------------------------------------------------------------------- +Sat Dec 2 13:28:13 UTC 2023 - Bjørn Lie + +- Update to version 1.4.2: + + Really fix build with libappstream 1.0 + +------------------------------------------------------------------- +Fri Dec 01 16:08:07 UTC 2023 - bjorn.lie@gmail.com + +- Update to version 1.4.1: + + Fix build with MSVC + + Fix build with libappstream 1.0 + + AdwCarousel: Fix carousel scroll behavior with page reordering + + AdwComboRow: + - Fix focus when opening the popover + - Set the correct state on the selected checkmark + + AdwNavigationView: Fix a warning message + + AdwTabOverview: Allow child focus on out animations + + AdwTabView: + - Keep view alive during ::page-detached + - Fix crashes when using :pages + + Docs: Fix erroneous use in breakpoints migration guide + + Updated translations. +- Drop 3e3967d5f69180644519936991cad10136e84ca9.patch: Fixed + upstream. + +------------------------------------------------------------------- +Wed Nov 22 10:48:46 UTC 2023 - Bjørn Lie + +- Add 3e3967d5f69180644519936991cad10136e84ca9.patch: Fix building + against libappstream 1.0 (boo#1217047). + +------------------------------------------------------------------- +Thu Nov 16 12:29:43 UTC 2023 - bjorn.lie@gmail.com + +- Update to version 1.4.0+12: + + docs: Use `` instead of ` for + `AdwNavigationSplitView` + + navigation-view: Add missing space to warning message + + tab-view: Fix typo causing crash on AdwTabPages dispose + + combo-row: Make the selected indicator a presentational element + + tab-view: pages model can outlive it's view + + tab-view: keep view alive during ::page-detached + + about-window: Fix build with newer libappstream (boo#1217047) + + combo-row: Preserve focus when opening the popover + + Revert "Add some default options to the GTK subproject" + + Updated translations. + +------------------------------------------------------------------- +Fri Sep 15 17:43:41 UTC 2023 - Bjørn Lie + +- Update to 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 + + Updated translations. +- Switch compression in service and spec (tarball produced) to zst. + +------------------------------------------------------------------- +Mon Sep 4 19:13:48 UTC 2023 - Bjørn Lie + +- Update to 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 + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 4 19:12:43 UTC 2023 - Bjørn Lie + +- Update to 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 mapped + + 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 + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 4 19:11:57 UTC 2023 - Bjørn Lie + +- Update to 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() + + Updated translations. +- Add pkgconfig(appstream) BuildRequires: New dependency. + +------------------------------------------------------------------- +Mon Sep 4 19:10:58 UTC 2023 - Bjørn Lie + +- Update to version 1.3.5: + + Set the correct gettext domain on all widgets. + + AdwExpanderRow: Accessibility fixes. + + AdwStyleManager: Fix over-releasing a string on macOS. + + Demo: Correctly dismiss the last toast in the dialogs demo. + + Stylesheet: + - Fix menubutton.card corners. + - Fix button.card focus ring transition. + - Avoid background overdraw in GtkColumnView. + + Updated translations. + +------------------------------------------------------------------- +Sat Aug 5 10:14:09 UTC 2023 - Bjørn Lie + +- Update to version 1.3.4: + + AdwAboutWindow: Fix :translator-credits property + + AdwComboRow: Fix accessible role on the dropdown arrow + + AdwEntryRow: Fix accessibility + + AdwLeaflet: Fix back/forward mouse button handling + + AdwTabBar: Fix accessibility + + AdwTabThumbnail: + - Fix duplicate thumbnail during transitions + - Fix the transition curve + + AdwViewSwitcher: Set correct accessible role for icons + + AdwWindowTitle: Fix initial title visibility + + Stylesheet: + - Fix .card buttons within .osd + - Fix single-item menu height + +------------------------------------------------------------------- +Fri Jun 9 17:23:07 UTC 2023 - Bjørn Lie + +- Update to version 1.3.3: + + Fix doc include path + + AdwCarousel: Fix scrolling to a recently inserted item + + AdwEntryRow: Fix accessibility + + AdwPreferencesWindow: Fix markup handling when searching + + AdwStyleManager: Fix get_for_display() annotation + + AdwTabBar/AdwTabOverview: Fix dropping data onto + tabs/thumbnails + + Updated translations. + +------------------------------------------------------------------- +Sat Apr 22 02:13:15 UTC 2023 - Bjørn Lie + +- Update to version 1.3.2: + + AdwAvatar: Fix a memory leak + + AdwMessageDialog: Fix criticals when using choose() with + hide-on-close=true + + AdwTabBar/Overview: Correctly unparent context menu + + Build: Fix build on Windows + + Demo: Fix a critical when trying to set a non-image file as + avatar + + Docs: + - Remove an erroneous mention of mnemonics in row subtitles + - Clarify AdwBanner title placement + - Mention the version .large-title is deprecated since + - Fix successs/error color values + - List thumbnail colors on the named colors page + + Stylesheet: + - Improve selected list/grid item contrast + - Fix file chooser grid dimensions + - Fix button.card checked state + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 17 15:36:32 UTC 2023 - Bjørn Lie + +- Update to version 1.3.1: + + AdwAboutWindow: Add a missing Since annotation + + AdwCarousel: Fix allocation + + AdwFlap: + - Add a missing setter annotation for :fold-policy + - Correctly measure separator + - Avoid notify emissions in dispose() + + AdwTabBar: Fix clipped labels + + AdwTabOverview + - Fix clipped labels + - Add a translator comment for "%u tabs" + + Demo: Open primary menu with F10 + + Don't show marshal functions in docs +- Changes from version 1.3.0: + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:24 UTC 2023 - Bjørn Lie + +- Update to version 1.3.rc: + + Build: Depend on GTK 4.9.5 + + AdwApplication: Disable style loading if Granite is present + + AdwAvatar: Improve filtering for custom images + + AdwCarousel: Doc updates + + AdwEntryRow: Fix :disabled styles + + AdwExpanderRow: Expose expanded state for a11y + + AdwPropertyAnimationTarget: Remove critical when finalizing the + object before the target + + AdwSplitButton: + - Correctly set a11y relations + - Add a default tooltip to the dropdown + + AdwStyleManager: + - Fix regressions from 1.3.beta + - Disable built-in styles if Granite is present + + AdwTabOverview: Clarify docs + + AdwToastOverlay: Fix a use-after-free when quickly creating and + dismissing toasts + + Docs: + - Update named color descriptions + - Update .linked widget list to keep up with GTK 4.9.x + - Mention AdwHeaderBar along with GtkHeaderBar + + Stylesheet: + - Fix page switcher in GtkShortcutsWindow + - Fix GtkSearchBar spacing + + Memory leak fixes + + Various cleanups + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:23 UTC 2023 - Bjørn Lie + +- Update to version 1.3.beta: + + AboutWindow: + - Prevent double clicks from opening troubleshooting page + - Fix a GTK 4.9.x deprecation + + AdwActionRow: Add :subtitle-selectable + + AdwAnimation: Add :follow-enable-animations-setting + + AdwBanner: Sizing fixes + + AdwEntryRow: Make accessible + + AdwLeaflet: Fix can-unfold=false + + AdwMessageDialog: Increase spacing when heading or body are + missing + + AdwSpringAnimation: + - Add calculate_value() and calculate_velocity() + - Fix unsafe float comparisons + - Fix critical damping velocity + + AdwStyleManager: Support color schemes and high contrast on + Windows + + AdwSwipeable: Fix get_swipe_area() fallback + + AdwTabBar, AdwTabOverview: Emit ::extra-drag-value on ::enter + + AdwTabButton: + - Fix needs-attention dot after viewing AdwTabPages in + inspector + - Fix warning when building in Visual Studio + + AdwTabView: Make accessible + + AdwToastOverlay: + - Don't focus buttons on click + - Prevent toast labels from wrapping + + AdwViewStack: Make accessible + + Demo: + - Don't follow "enable animations" setting for the demo + animation + - Fix the switch on the avatar page + + Stylesheet: + - Style GtkMenuBar like header bars and similar widgets + - Add minimum width to menu popovers + - Fix GtkLevelBar fill colors + - Fix GtkFileDialog path bar padding + - Fix GtkAssistant sidebar color + - Support marked days in GtkCalendar + + Documentation fixes + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 6 14:35:22 UTC 2023 - Dominique Leuenberger + +- Update to version 1.3.alpha: + + Introduce AdwBanner. + + Introduce AdwTabButton and AdwTabOverview. + + Fix or silence GTK 4.9.x deprecations. + + Require GTK 4.9.2 and GLib 2.72.0. + + Add developer name to metainfo. + + AdwActionRow: + - Deprecate icon-name property. + - Fix spacing after removing all prefixes/suffixes. + + AdwAvatar: Correctly redraw on custom image changes. + + AdwEntryRow: + - Add adw_entry_row_grab_focus_without_selecting(). + - Respect use-markup property. + - Fix error/warning/success styles. + - Fix spacing after removing all prefixes/suffixes. + + AdwExpanderRow: + - Add title-lines and subtitle-lines properties. + - Deprecate icon-name property. + - Fix spacing after removing all prefixes/suffixes. + + AdwFlap: Fix natural width with fold-policy=never. + + AdwMessageDialog: + - Add adw_message_dialog_choose(). + - Fix focus styles in RTL. + - Refactor adaptive layout. + + AdwTabBar: + - Add preload property and extra-drag-value signal. + - Fix focus handling. + - Fix autoscroll for non-local drags. + + AdwTabView: + - Update default tab icon. + - Rewrite internals to allow overview thumbnails for inactive + pages. + + AdwPreferencesPage: Add a function to scroll to top. + + AdwPreferencesWindow: Fix a memory leak. + + AdwSplitButton: Don't make dropdown insensitive when the button + is. + + AdwSpringAnimation: Correctly mark as final. + + AdwToastOverlay: Clarify documentation. + + AdwViewSwitcherBar: Fix typos in examples. + + AdwViewSwitcherTitle: Fix typos in examples. + + Demo: + - Update icons. + - Make tabs demo adaptive using the new widgets. + - Use G_DEFINE_FINAL_TYPE where appropriate. + + Doc: + - Rename visual index to widget gallery. + - Stop marking symbols from 1.0 as such to reduce clutter. + + Stylesheet: + - Fix GtkSpinButton inside toolbars. + - Update for file chooser changes. + - Use accent color for default list/grid selection. + + Tests: Introduce manual tests in tests/manual/. + + Updated translations. + +------------------------------------------------------------------- +Sun Mar 5 13:24:20 UTC 2023 - Bjørn Lie + +- Update to version 1.2.3: + + AdwEntryRow: Fix :disabled styles. + + AdwExpanderRow: Expose expanded state for a11y. + + Memory leak fixes. + +------------------------------------------------------------------- +Sun Feb 12 12:13:17 UTC 2023 - Bjørn Lie + +- Update to version 1.2.2: + + AboutWindow: Prevent double clicks from opening troubleshooting + page. + + AdwLeaflet: Fix can-unfold=false. + + AdwSpringAnimation: Fix critical damping velocity. + + AdwSwipeable: Fix get_swipe_area() fallback. + + AdwToastOverlay: + - Don't focus buttons on click. + - Prevent toast labels from wrapping. + + Demo: Fix the switch on the avatar page. + + Stylesheet: Fix GtkLevelBar fill colors. + + Fix dependency names in docs. + + Updated translations. + +------------------------------------------------------------------- +Fri Jan 6 19:16:10 UTC 2023 - Bjørn Lie + +- Update to version 1.2.1: + + AdwActionRow: Fix spacing after removing all prefixes/suffixes + + AdwAvatar: Correctly redraw on custom image changes + + AdwEntryRow: + - Respect use-markup property + - Fix error/warning/success styles + - Fix spacing after removing all prefixes/suffixes + + AdwExpanderRow: Fix spacing after removing all + prefixes/suffixes + + AdwFlap: Fix natural width with fold-policy=never + + AdwMessageDialog: Fix focus styles in RTL + + AdwPreferencesWindow: Fix a memory leak + + AdwSplitButton: Don't make dropdown insensitive when the button + is + + AdwTabBar: + - Fix focus handling + - Fix autoscroll for non-local drags + + AdwToastOverlay: Clarify documentation + + AdwViewSwitcherBar: Fix typos in examples + + AdwViewSwitcherTitle: Fix typos in examples + + Stylesheet: Fix GtkSpinButton inside toolbars + + Updated translations. + +------------------------------------------------------------------- +Thu Sep 15 14:33:50 UTC 2022 - Bjørn Lie + +- Update to version 1.2.0: + + Docs: + - Fix @card_shade_color description. + - Fix a typo in AdwTabView docs. + - Fix AdwMessageDialog example. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 6 21:26:19 UTC 2022 - Bjørn Lie + +- Update to version 1.2.rc: + + Ensure setter documentation is consistent with their properties + + Demo: Fix a critical when toggling tab indicators + + AdwCarousel: Fix a crash when removing a child while it's + animating + + AdwMessageDialog: Use maximum width when no parent is set, + instead of minimum + + AdwSqueezer: Sizing fixes + + AdwTabBar + - Fix long press handling + - Fix a crash when clicking empty space while a tab is + animating + + AdwTabView: Fix set_menu_model() input check + + AdwWindow: Clarify docs around child/content properties + + Stylesheet + - Fix AdwSplitButton disabled state + - Fix focus transitions + - Fix GtkColorScale slider + - Fix AdwViewSwitcher needs-attention dot color + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 6 11:05:17 UTC 2022 - Bjørn Lie + +- Update to version 1.2.beta: + + Fix deprecations with newer GLib + + Fix strict aliasing warnings + + Fix GLSL shader compile errors on certain systems + + AdwAboutWindow: + - Fix a random crash when closing + - Rework the flat header bar layout + - Properly mark as final class + + AdwAvatar: Fix draw_to_texture() with rectangular avatars + + AdwEntryRow: + - Add entry-activated signal + - Add attributes property + - Add activates-default property + - Don't select text when clicking the row + + AdwMessageDialog: Fix crash when destroying the parent before + the dialog + + AdwShadowHelper: Fix warnings when drawing vertical shadow + + AdwSplitButton: Add dropdown-tooltip property + + AdwSwipeTracker: + - Fix swipe speed on GTK 4.7.x + - Fix criticals with GTK 4.7.x + + AdwTabBar: + - Remove tab background when there's only one tab + - Add a tooltip for close buttons + - Fix squished or clipped text with gtk-hint-font-metrics=0 + - Fix scrolling to a tab with disabled animations + - Fix assorted tab reordering issues + + AdwTabView: + - Add shortcut management API + - Add AdwTabPage:indicator-tooltip property + - Handle shortcuts on CAPTURE phase + - Shortcut propagation and bell fixes + + AdwToast: Add button-clicked signal + + AdwViewStack: Add adw_view_stack_add_titled_with_icon() + + Demo: + - Prefer properties over in UI files + - Don't explicilty add GtkViewport to GtkScrolledWindow + - Stop using .inline-toolbar + - Fix build on Windows + + Stylesheet: + - Unify @view_fg_color with other foreground colors + - Improve contrast of @success_color and @warning_color + - Fix infobar margins and spacing + - Partially support .navigation-sidebar with GtkTreeView + - Move GtkScale focus onto its slider + - Ensure consistant GtkScale size when using marks + - Remove unnecessary transitions + + Updated translations. + +------------------------------------------------------------------- +Mon Sep 5 20:03:30 UTC 2022 - Bjørn Lie + +- Update to version 1.2.alpha: + + Introduce AdwAboutWindow. + + Introduce AdwEntryRow and AdwPasswordEntryRow. + + Introduce AdwMessageDialog. + + Introduce AdwPropertyAnimationTarget. + + AdwAnimation: Add adw_animation_set_target(). + + AdwCallbackAnimationTarget: Fix callback annotations. + + AdwActionRow: + - Set a11y relations for the activatable widget. + - Tweak spacing to match toolbars and AdwEntryRow. + + AdwAvatar: Fix initials not updating after setting + custom-image. + + AdwComboRow: Add an example to docs. + + AdwExpanderRow: Change arrow orientation to make it look less + similar to action rows that open subpages. + +------------------------------------------------------------------- +Sun Sep 4 17:54:44 UTC 2022 - Bjørn Lie + +- Update to version 1.1.5: + + AdwCarousel: Fix a crash when removing a child while it's + animating. + + AdwSqueezer: Sizing fixes. + + AdwTabBar: + - Fix long press handling. + - Fix a crash when clicking empty space while a tab is + animating. + + AdwTabView: Fix set_menu_model() input check. + +------------------------------------------------------------------- +Fri Aug 5 17:19:27 UTC 2022 - Bjørn Lie + +- Update to version 1.1.4: + + AdwAvatar: Fix draw_to_texture() with rectangular avatars. + + AdwTabBar: Fix squished or clipped text with + gtk-hint-font-metrics=0. + + AdwShadowHelper: Fix warnings when drawing vertical shadow. + + AdwSwipeTracker: + - Fix swipe speed on GTK 4.7.x. + - Fix criticals with GTK 4.7.x. + +------------------------------------------------------------------- +Sun Jul 10 15:28:15 UTC 2022 - Bjørn Lie + +- Update to version 1.1.3: + + AdwLeaflet: Fix a broken link in docs. + + AdwPreferencesGroup: Fix accessibility labels. + + AdwToast: Fix the example in docs. + + Stylesheet: Add missing borders in high contrast version. + +------------------------------------------------------------------- +Wed Jun 1 11:57:44 UTC 2022 - Dominique Leuenberger + +- Update to version 1.1.2: + + AdwLeaflet: Fix child sizing with + fold-threshold-policy=natural. + + AdwStyleManager: Correctly handle removing a GdkDisplay. + + AdwSwipeTracker: + - Fix a memory leak. + - Fix high contrast setting name when using a portal. + + AdwTabBar: Fix middle click when inside GtkWindowHandle. + + Stylesheet: + - Fix action row title and subtitle inside GtkHeaderBar. + - Fix progressbar.osd overriding text color. + - Ensure active states consistently work with touchscreens. + - Fix GtkDropDown visual glitch when pressed on touchscreen. + + Updated translations. + +------------------------------------------------------------------- +Mon Apr 25 08:49:59 UTC 2022 - Dominique Leuenberger + +- Update to version 1.1.1: + + AdwAvatar: Fix initials not updating after setting. + custom-image. + + AdwSplitButton: Avoid state changes during dispose. + + AdwViewSwitcherTitle: Clear pending idle callback on unrealize. + + AdwPreferencesGroup: Annotation fixes. + + AdwTabBar: + - Ensure indicators are clickable with inverted=true. + - Fix resize deferring with non-expanded tabs. + - Fix scroll animation stopping too early. + + Mention AdwComboRow:selected type in migration guide. + + Fix a Meson error when using as a subproject. + + Updated translations. + +------------------------------------------------------------------- +Fri Mar 18 14:59:58 UTC 2022 - Bjørn Lie + +- Update to version 1.1.0: + + Fix introspection-related build warnings. + + Updated translations. + +------------------------------------------------------------------- +Mon Mar 7 18:17:13 UTC 2022 - Bjørn Lie + +- Update to version 1.1.rc: + + AdwAvatar: Fix invalid UTF-8 handling. + + AdwStyleManager: + - Follow color-scheme on macOS. + - Don't disable non-CSS animations during style changes. + + AdwToast: Fix GVariant handling. + + Stylesheet: Fix scrollbars inside .osd widgets. + + Fix carousel indicator sizing. + + Memory leak fixes. + + Updated translations. + +------------------------------------------------------------------- +Sat Feb 12 23:04:37 UTC 2022 - Bjørn Lie + +- Update to version 1.1.beta: + + AdwActionRow: Don't make activatable if the activatable widget + is insensitive + + AdwClamp: Fix measure() with height-for-width children + + AdwComboRow: Fix end padding when the dropdown arrow is hidden + + AdwExpanderRow: Fix focus handling + + AdwPreferencesGroup: Add support for header suffixes + + AdwPreferencesRow: Add 'title-selectable' property + + Demo: + - Fix combo rows in AdwCarousel demo + - Remove the "Frobnicate" button + +------------------------------------------------------------------- +Fri Feb 11 13:39:33 UTC 2022 - Bjørn Lie + +- Update to version 1.0.2: + + Fix AdwExpanderRow focus handling + + Fix combo rows in AdwCarousel demo + + Fix radio hover state in GtkPopoverMenu + + Docs: + - Fix AdwViewSwitcherBar and AdwViewStack examples + - Fix typos + + Updated translations. + +------------------------------------------------------------------- +Mon Jan 3 20:12:01 UTC 2022 - Bjørn Lie + +- Update Summaries and descriptions. + +------------------------------------------------------------------- +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 + +- Update to version 1.0.0~alpha.4: + + Depend on meson 0.59.0. + + Action Row: + - Drop use-underline property. + - Stop supporting mnemonics on subtitles. + - Support markup on the title and subtitle. + - Fix layout with empty title and subtitle. + - Don't expand horizontally by default. + - Fix row titles inside GtkMessageDialog. + + Avatar: Crop non-square custom images to fill the avatar. + + Carousel: Fix a crash when scrolling in an empty carousel. + + Clamp: Set the proper accessible role. + + Combo Row: Fix row colors while the popover is open. + + Demo + - Add a style classes demo. + - Add about dialog. + - Add an inspector item to the primary menu. + - Change appid to org.gnome.Adwaita1.Demo to version it. + - Add an icon, metainfo and desktop file. + - Make the desktop file visible for nightly flatpaks. + - Make non-unique. + - Tighten flatpak permissions. + - Various polish. + + Expander Row + - Drop use-underline property. + - Rename adw_expander_row_add() to adw_expander_row_add_row(). + + Inspector: Fix color scheme resetting when opening inspector. + + Preferences Window: Fix a memory leak. + + Status Page: + - Allow setting the icon from a paintable and not just icon + name. + - Set the proper accessible role. + - Reduce margins with the .compact style class. + + Style Manager: + - Fix styles breaking when setting + gtk-application-prefer-dark-theme. + - Fix crash on systems with xdg-desktop-portal but no settings + portal. + - Fix a memory leak. + + Stylesheet: + - New style classes: + . .card to have a style similar to a boxed list for a + standalone widget. Can be combined with .activatable to + have hover and active states, or can be added to GtkButton + to have them automatically. + . button.opaque to allow custom colored buttons in the style + of that look like .suggested-action or .destructive-action. + . tabbar.inline and searchbar.inline - to opt out from using + header bar colors for AdwTabBar and GtkSearchBar. + - Boxed lists: + . Rename .content to .boxed-list to match HIG, keep .content + as an alias. + . Stop supporting .content with GtkListView as it was broken + anyway. + . Fix focus ring offsets. + - Sidebars: + . Use the same background as the window. + . Make .navigation-sidebar handle background, so it's + sufficient to achieve the proper style. + . Deprecate the .sidebar style class. + - Buttons: + . Stop supporting button.flat.suggested-acton and + button.flat.destructive-action. Special case those styles + for GtkMessageDialog buttons instead. + . Support .pill on GtkMenuButton + . Support .suggested-action and .destructive-action on + GtkMenuButton and AdwSplitButton. + . Use toolbar-style buttons for GtkSearchBar. + . Fix AdwSplitButton styles in high contrast mode. + . Reduce disabled flat button opacity to make them easier to + tell apart from the regular state. + - Popovers: + . Drop popover.combo, make popover.menu handle this case + instead. + . Unify GtkDropDown and AdwComboRow popup styles with menus. + . Fix a double border with menu radios in high contrast mode. + - Refresh UI colors. + - Refresh scrollbar style. + - Unify progress bar and level bar sizes and styles. + - Make checks and radios larger. + - Refresh border radii across the board. + - Refresh scroll overshoot effect. + - Remove notebook header background. + - Export all UI colors and allow overriding them. + - Use accent color for active drop styles. + - Ensure proper opacity for the high contrast mode. + - Simplify recoloring for GtkScale, GtkCheckButton, GtkSwitch, + GtkColumnView and AdwTabBar. + - Various toolbar button fixes. + - Make entry.error and .warning style icons and progress bar + too. + - Fix disabled state on GtkScale, GtkNotebook and + GtkSpinButton. + - Fix GtkMessageDialog paddings. + - Fix margins on GtkWindowControls icon. + - Stop removing toolbar.osd rounding in overlays. + - Remove a GtkGridView override specific to gtk4-icon-browser. + + Tab Bar: + - Fix artifacts when maximizing the window. + - Fix hover. + - Handle middle click on button release and not press. + - Show close button correctly when raising the window and the + pointer is already over a tab. + + View Switcher: Fix screen readers reading page titles 4 times. + + Add API to allow checking libadwaita version in runtime. + + Various fixes and cleanups. + + Updated translations. + +------------------------------------------------------------------- +Tue Sep 28 11:42:39 UTC 2021 - Dominique Leuenberger + +- Update to version 1.0.0~alpha.3: + + Depend on GTK 4.4.0. + + Add a GtkInspector extension for simulating different system + appearance settings. + + Introduce AdwStyleManager for managing color schemes + (light/dark) and high contrast mode. + + Introduce AdwApplication to handle automatic initialization and + style loading. + + Avatar: + - Replace adw_avatar_draw_to_pixbuf() with + adw_avatar_draw_to_texture() that returns a GdkTexture + instead. + - Remove the size parameter, use the avatar's current size + instead. + + Carousel: Allow to shrink carousel if children are expanded. + + Clamp: Fix measuring with for_size = -1. + + Combo Row: Have a .combo style class. + + Leaflet: + - Remove hhomogeneous-folded, hhomogeneous-unfolded, + vhomogeneous-folded and vhomogeneous-unfolded properties. + Assume non-homogeneous layout when unfolded and homogeneous + when folded. + - Add a single homogeneous property that corresponds to folded + state and opposite orientation. + - Remove interpolate-size, assume it's set to true. + - Set the fold threshold policy to MINIMUM by default. + + Preferences Group: + - Fix default visibility of the internal list box. + - Allow markup on title and description. + + Squeezer + - Fix the child switch threshold in vertical orientation. + - Add switch-threshold-policy, matching AdwFlap and AdwLeaflet. + - Add allow-none property, allowing to hide the last child as + well. + + Status Page: Make icon optional. + + Tab View: Fix model updates when page selection changes. + + View Switchers: + - Remove AdwViewSwitcher:narrow-ellipsize. + - Remove the policy property from AdwViewSwitcherBar and + AdwViewSwitcherTitle. + - Remove the auto policy, applications can use two view + switchers and an AdwSqueezer instead. + - Switch to narrow layouts earlier. + + Window and Application Window: Rename the child property to + content to avoid the name clash with GtkWindow:child. + + Stylesheet: + - New style classes: + . headerbar.flat to remove headerbar's background and border. + . separator.spacer to create spacing in toolbars or header + bars. + . button.pill for prominent standalone buttons, for example + on status pages. + . statuspage.compact to make AdwStatusPage suitable for + contexts such as sidebars. + . .numeric as an easy way to enable tabular figures in a + label. + + Use flat buttons by default in header bars and action bars, + matching existing .toolbar. + + Use stripes for header bars in .devel windows instead of cogs + to make it work better with split header bars and flat header + bars. + + Updated translations. +- Pass -Dinspector=false to meson: do not build the GTK Inspector + right now. + +------------------------------------------------------------------- +Tue Aug 17 15:50:33 UTC 2021 - Florian "spirit" + +- Update to version 1.0.0~alpha.2: + + Stylesheet: + * Large redesign to make it flat and recolorable. + * Replace @theme_suggested_bg_color by @accent_bg_color and + @accent_color. + * Replace @theme_suggested_fg_color by @accent_fg_color. + * Add @destructive_bg_color, @destructive_fg_color and + @destructive_color. + * Add the .accent style class to give the accent color to labels. + * Add the palette colors in the form @hue_n, with hue being blue, + green, yellow, orange, red, purple, brown, light and dark, and n + being a darkness level from 1 to 5. + + View Switcher: + * Add the AdwViewStack widget to represent views. + * Use AdwViewStack instead of GtkStack. + * Display a badge on buttons to display the pages' value from the + AdwViewStack:badge-number property. + * Keep displaying needs-attention when active. + + Preferences Page: + * Add the name property. + + Preferences Window: + * Add the visible-child and visible-child-name properties. + + Leaflet and Flap: + * Add the AdwFoldThresholdPolicy enumeration. + * Add the fold-threshold-policy property to determine the size at + which the leaflet or flap should fold. + + Leaflet: + * Fix a crash by NULL-checking a pointer before dereferencing it when + there is no children. + * Annotate the values of the visible-child and visible-child-name + properties as nullable in their accessors. + + Action Row and Expander Row: + * Annotate the value of the icon-name property as nullable in its + accessors. + + Tab View: + * Fix updating the model at the right time after attaching pages. + * Fix emitting notify::selected-page after the model has been + completely updated. + * Prevent pages from receiving pointer events during drag and drop. + + Combo Row: + * Fix subtitles when the model is empty and when using expressions. + + Carousel: + * Fix a crash with 2 overlapping animations. + * Fix a crash when scrolling when there is no children. + + Avatar: + * Fix memory leaks in adw_avatar_draw_to_pixbuf(). + * Fix a memory leak in the avatar demo. + + Fix crashes by freeing shaders at the right time. + + Specify the translation domain in UI files to avoid leaving them + unlocalized. + + Fix cross-compilation with -Dgtk_doc=true. + + Stop accepting NULL for most string properties, use the empty string + instead. + + Translation updates: + * German + * Indonesian + * Chinese (China) + +------------------------------------------------------------------- +Thu Jun 3 10:19:04 UTC 2021 - Dominique Leuenberger + +- Update to version 1.0.0~alpha.1 (factually a downgrade, but + upstream is still in prorgress of finalizing their versioning + scheme): + + First official libadwaita 1 alpha. +- Enable introspection support: + + Pass -Dintrospection=enabled to meson. + + Create new typelib-1_0-Adw-1 sub package. + +------------------------------------------------------------------- +Sat May 15 00:08:38 UTC 2021 - Dominique Leuenberger + +- Initial package, version 1.1.0 diff --git a/libadwaita.obsinfo b/libadwaita.obsinfo new file mode 100644 index 0000000..89b3e48 --- /dev/null +++ b/libadwaita.obsinfo @@ -0,0 +1,4 @@ +name: libadwaita +version: 1.5.2 +mtime: 1719579426 +commit: 012125566932023509e85c2939db5c8b21c9948d diff --git a/libadwaita.spec b/libadwaita.spec new file mode 100644 index 0000000..8e3e4da --- /dev/null +++ b/libadwaita.spec @@ -0,0 +1,116 @@ +# +# spec file for package libadwaita +# +# Copyright (c) 2024 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.5.2 +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 + +BuildRequires: fdupes +BuildRequires: meson >= 0.59.0 +BuildRequires: pkgconfig +BuildRequires: sassc +BuildRequires: vala +BuildRequires: pkgconfig(appstream) +BuildRequires: pkgconfig(fribidi) +BuildRequires: pkgconfig(gi-docgen) +BuildRequires: pkgconfig(glib-2.0) >= 2.72 +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gtk4) >= 4.13.4 +%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. + +%package docs +Summary: Developer documentation for libadwaita +BuildArch: noarch + +%description docs +Building blocks for modern GNOME applications. +This package provides the documentation for libadwaita. + +%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 \ + -Dgtk_doc=true \ + %{nil} +%meson_build + +%install +%meson_install +%find_lang %{name} +%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 + +%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