Accepting request 1128139 from GNOME:Factory
(forwarded request 1128125 from iznogood) OBS-URL: https://build.opensuse.org/request/show/1128139 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libadwaita?expand=0&rev=24
This commit is contained in:
commit
d6453bd94f
44
3e3967d5f69180644519936991cad10136e84ca9.patch
Normal file
44
3e3967d5f69180644519936991cad10136e84ca9.patch
Normal file
@ -0,0 +1,44 @@
|
||||
From 3e3967d5f69180644519936991cad10136e84ca9 Mon Sep 17 00:00:00 2001
|
||||
From: Patrick Griffis <pgriffis@igalia.com>
|
||||
Date: Wed, 1 Nov 2023 09:52:47 -0500
|
||||
Subject: [PATCH] Fix building against libappstream 1.0
|
||||
|
||||
---
|
||||
src/adw-about-window.c | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/adw-about-window.c b/src/adw-about-window.c
|
||||
index dd8da0f08..b2ab763c9 100644
|
||||
--- a/src/adw-about-window.c
|
||||
+++ b/src/adw-about-window.c
|
||||
@@ -2005,7 +2005,7 @@ adw_about_window_new_from_appdata (const char *resource_path,
|
||||
}
|
||||
|
||||
#if AS_CHECK_VERSION (1, 0, 0)
|
||||
- releases = as_component_get_releases_plain (component);
|
||||
+ releases = as_release_list_get_entries (as_component_get_releases_plain (component));
|
||||
#else
|
||||
releases = as_component_get_releases (component);
|
||||
#endif
|
||||
@@ -2042,12 +2042,17 @@ adw_about_window_new_from_appdata (const char *resource_path,
|
||||
}
|
||||
|
||||
name = as_component_get_name (component);
|
||||
- developer_name = as_component_get_developer_name (component);
|
||||
project_license = as_component_get_project_license (component);
|
||||
issue_url = as_component_get_url (component, AS_URL_KIND_BUGTRACKER);
|
||||
support_url = as_component_get_url (component, AS_URL_KIND_HELP);
|
||||
website_url = as_component_get_url (component, AS_URL_KIND_HOMEPAGE);
|
||||
|
||||
+#if AS_CHECK_VERSION (1, 0, 0)
|
||||
+ developer_name = as_developer_get_name (as_component_get_developer (component));
|
||||
+#else
|
||||
+ developer_name = as_component_get_developer_name (component);
|
||||
+#endif
|
||||
+
|
||||
adw_about_window_set_application_icon (self, application_id);
|
||||
|
||||
if (name)
|
||||
--
|
||||
GitLab
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 22 10:48:46 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Add 3e3967d5f69180644519936991cad10136e84ca9.patch: Fix building
|
||||
against libappstream 1.0 (boo#1217047).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 16 12:29:43 UTC 2023 - bjorn.lie@gmail.com
|
||||
|
||||
|
@ -23,6 +23,8 @@ 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
|
||||
# PATCH-FIX-UPSTREAM 3e3967d5f69180644519936991cad10136e84ca9.patch -- Fix building against libappstream 1.0
|
||||
Patch0: https://gitlab.gnome.org/GNOME/libadwaita/-/commit/3e3967d5f69180644519936991cad10136e84ca9.patch
|
||||
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: meson >= 0.59.0
|
||||
|
Loading…
Reference in New Issue
Block a user