mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
libsecret: Improve determimism
(From OE-Core rev: 28175c44e7402397a24a00a4b056eef39b0a03fa) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -41,8 +41,6 @@ exclude_packages = [
|
||||
'libaprutil',
|
||||
'libhandy-1-src',
|
||||
'libid3tag',
|
||||
'libsecret-dev',
|
||||
'libsecret-src',
|
||||
'lttng-tools-dbg',
|
||||
'lttng-tools-ptest',
|
||||
'ltp',
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
secret-enum-types.c/h.template: Fix reproducibility issue
|
||||
|
||||
When full filenames are used in generated sources it makes the resulting
|
||||
debug packages non-reproducible. Best practise is to use basename in
|
||||
comments instead.
|
||||
|
||||
Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/68]
|
||||
|
||||
Index: libsecret-0.20.4/libsecret/secret-enum-types.c.template
|
||||
===================================================================
|
||||
--- libsecret-0.20.4.orig/libsecret/secret-enum-types.c.template
|
||||
+++ libsecret-0.20.4/libsecret/secret-enum-types.c.template
|
||||
@@ -23,8 +23,8 @@
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-#include "@filename@"
|
||||
-/* enumerations from "@filename@" */
|
||||
+#include "@basename@"
|
||||
+/* enumerations from "@basename@" */
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
Index: libsecret-0.20.4/libsecret/secret-enum-types.h.template
|
||||
===================================================================
|
||||
--- libsecret-0.20.4.orig/libsecret/secret-enum-types.h.template
|
||||
+++ libsecret-0.20.4/libsecret/secret-enum-types.h.template
|
||||
@@ -27,7 +27,7 @@ G_BEGIN_DECLS
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
|
||||
-/* enumerations from "@filename@" */
|
||||
+/* enumerations from "@basename@" */
|
||||
/*** END file-production ***/
|
||||
|
||||
/*** BEGIN value-header ***/
|
||||
@@ -13,6 +13,8 @@ inherit gnomebase gtk-doc vala gobject-introspection manpages
|
||||
|
||||
DEPENDS += "glib-2.0 libgcrypt gettext-native"
|
||||
|
||||
SRC_URI += " file://determinism.patch"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "325a4c54db320c406711bf2b55e5cb5b6c29823426aa82596a907595abb39d28"
|
||||
|
||||
GTKDOC_MESON_OPTION = 'gtk_doc'
|
||||
|
||||
Reference in New Issue
Block a user