From 3d010b10dfc2edd54bf142dd91c88baf2e098a9ca6f8d1e5cb2f8f652bfb59de Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 13 Mar 2023 15:59:56 +0000 Subject: [PATCH] Accepting request 1071176 from home:iznogood:branches:KDE:Frameworks5 - Add upstream fix for new glib-2.76: * bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch OBS-URL: https://build.opensuse.org/request/show/1071176 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/AppStream?expand=0&rev=90 --- AppStream.changes | 6 ++++ AppStream.spec | 1 + ...fa6ac4ef645368a93384a6c16ac551a40922.patch | 29 +++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch diff --git a/AppStream.changes b/AppStream.changes index e275f60..9193066 100644 --- a/AppStream.changes +++ b/AppStream.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 13 10:23:15 UTC 2023 - Bjørn Lie + +- Add upstream fix for new glib-2.76: + * bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch + ------------------------------------------------------------------- Tue Feb 28 14:57:58 UTC 2023 - Fabian Vogt diff --git a/AppStream.spec b/AppStream.spec index 79a4708..9057169 100644 --- a/AppStream.spec +++ b/AppStream.spec @@ -33,6 +33,7 @@ Source0: http://www.freedesktop.org/software/appstream/releases/%{name}-% Source1: http://www.freedesktop.org/software/appstream/releases/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring Patch0: support-meson0.59.patch +Patch1: https://github.com/ximion/appstream/commit/bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch BuildRequires: cairo-devel BuildRequires: docbook-xsl-stylesheets BuildRequires: gdk-pixbuf-loader-rsvg diff --git a/bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch b/bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch new file mode 100644 index 0000000..7ac64d3 --- /dev/null +++ b/bfa8fa6ac4ef645368a93384a6c16ac551a40922.patch @@ -0,0 +1,29 @@ +From bfa8fa6ac4ef645368a93384a6c16ac551a40922 Mon Sep 17 00:00:00 2001 +From: Matthias Klumpp +Date: Sun, 12 Mar 2023 17:36:11 +0100 +Subject: [PATCH] Add missing standard::is-hidden attribute to file search + enumerator + +Resolves: #470 +--- + src/as-utils.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/as-utils.c b/src/as-utils.c +index 260f3cbf..b983e7ec 100644 +--- a/src/as-utils.c ++++ b/src/as-utils.c +@@ -511,7 +511,12 @@ as_utils_find_files_matching (const gchar* dir, const gchar* pattern, gboolean r + + list = g_ptr_array_new_with_free_func (g_free); + fdir = g_file_new_for_path (dir); +- enumerator = g_file_enumerate_children (fdir, G_FILE_ATTRIBUTE_STANDARD_NAME, 0, NULL, &tmp_error); ++ enumerator = g_file_enumerate_children (fdir, ++ G_FILE_ATTRIBUTE_STANDARD_NAME "," ++ G_FILE_ATTRIBUTE_STANDARD_IS_HIDDEN, ++ 0, ++ NULL, ++ &tmp_error); + if (tmp_error != NULL) + goto out; +