mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
nautilus: Fix buildpath QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
de786f5ee6
commit
aca77cfa3c
|
|
@ -0,0 +1,46 @@
|
|||
From 4ec1f99f170033138036d6547dce9b7dcf541338 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Wed, 24 May 2023 07:56:33 -0700
|
||||
Subject: [PATCH] Replace filename with basename
|
||||
|
||||
This avoids emitting absolute paths into generated sourcecode, it
|
||||
improves reproducibility. See [1]
|
||||
|
||||
[1] https://developer-old.gnome.org/gobject/stable/glib-mkenums.html
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/1211]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
src/nautilus-enum-types.c.template | 2 +-
|
||||
src/nautilus-enum-types.h.template | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/nautilus-enum-types.c.template b/src/nautilus-enum-types.c.template
|
||||
index 9d8ac83..a757949 100644
|
||||
--- a/src/nautilus-enum-types.c.template
|
||||
+++ b/src/nautilus-enum-types.c.template
|
||||
@@ -4,7 +4,7 @@
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-/* Enumerations from "@filename@" */
|
||||
+/* Enumerations from "@basename@" */
|
||||
#include "@filename@"
|
||||
|
||||
/*** END file-production ***/
|
||||
diff --git a/src/nautilus-enum-types.h.template b/src/nautilus-enum-types.h.template
|
||||
index 399bbca..7eb6c54 100644
|
||||
--- a/src/nautilus-enum-types.h.template
|
||||
+++ b/src/nautilus-enum-types.h.template
|
||||
@@ -8,7 +8,7 @@ G_BEGIN_DECLS
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-/* Enumerations from "@filename@" */
|
||||
+/* Enumerations from "@basename@" */
|
||||
|
||||
/*** END file-production ***/
|
||||
|
||||
--
|
||||
2.40.1
|
||||
|
||||
|
|
@ -26,6 +26,7 @@ inherit gnomebase gsettings gobject-introspection gtk-doc gettext features_check
|
|||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 1)
|
||||
|
||||
SRC_URI += "file://0001-Replace-filename-with-basename.patch"
|
||||
SRC_URI[archive.sha256sum] = "360802a595e3edbad962c8cea353b62baa8be407513b5162c89c933ca5387aa9"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user