libhandy: Fix reproducibility issue

(From OE-Core rev: ba559d5e07cbe92ee22308a1b5b8afc558c662dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-02-25 17:26:06 +00:00
parent 574f981fd8
commit 7f1db8ead8
3 changed files with 37 additions and 2 deletions

View File

@@ -39,7 +39,6 @@ exclude_packages = [
'gstreamer1.0-python',
'igt-gpu-tools',
'libaprutil',
'libhandy-1-src',
'libid3tag',
'lttng-tools-dbg',
'lttng-tools-ptest',

View File

@@ -0,0 +1,35 @@
hdy-enums*.c.in: 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/libhandy/-/merge_requests/734]
Index: a/src/hdy-enums-private.c.in
===================================================================
--- a/src/hdy-enums-private.c.in
+++ b/src/hdy-enums-private.c.in
@@ -7,7 +7,7 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
Index: a/src/hdy-enums.c.in
===================================================================
--- a/src/hdy-enums.c.in
+++ b/src/hdy-enums.c.in
@@ -13,7 +13,7 @@
/*** END file-header ***/
/*** BEGIN file-production ***/
-/* enumerations from "@filename@" */
+/* enumerations from "@basename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/

View File

@@ -2,7 +2,8 @@ SUMMARY = "A library full of GTK+ widgets for mobile phones"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-0"
SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-0 \
file://determinism.patch"
SRCREV = "7126d2e8da9dcdeb5751e60ff6a74930804f9637"
S = "${WORKDIR}/git"