summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-25 17:26:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-26 15:21:21 +0000
commit7f1db8ead88f41d7d9613cb6e6063f249a2d6f2b (patch)
tree80747380850eff8f868930fac7cb6b3c392c52cc /meta/recipes-gnome
parent574f981fd8f832aca2ee9915ab579638b61b0361 (diff)
downloadpoky-7f1db8ead88f41d7d9613cb6e6063f249a2d6f2b.tar.gz
libhandy: Fix reproducibility issue
(From OE-Core rev: ba559d5e07cbe92ee22308a1b5b8afc558c662dd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/libhandy/libhandy/determinism.patch35
-rw-r--r--meta/recipes-gnome/libhandy/libhandy_1.0.3.bb3
2 files changed, 37 insertions, 1 deletions
diff --git a/meta/recipes-gnome/libhandy/libhandy/determinism.patch b/meta/recipes-gnome/libhandy/libhandy/determinism.patch
new file mode 100644
index 0000000000..7c4177f5f5
--- /dev/null
+++ b/meta/recipes-gnome/libhandy/libhandy/determinism.patch
@@ -0,0 +1,35 @@
1hdy-enums*.c.in: Fix reproducibility issue
2
3When full filenames are used in generated sources it makes the resulting
4debug packages non-reproducible. Best practise is to use basename in
5comments instead.
6
7Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org
8Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libhandy/-/merge_requests/734]
9
10Index: a/src/hdy-enums-private.c.in
11===================================================================
12--- a/src/hdy-enums-private.c.in
13+++ b/src/hdy-enums-private.c.in
14@@ -7,7 +7,7 @@
15 /*** END file-header ***/
16
17 /*** BEGIN file-production ***/
18-/* enumerations from "@filename@" */
19+/* enumerations from "@basename@" */
20 /*** END file-production ***/
21
22 /*** BEGIN value-header ***/
23Index: a/src/hdy-enums.c.in
24===================================================================
25--- a/src/hdy-enums.c.in
26+++ b/src/hdy-enums.c.in
27@@ -13,7 +13,7 @@
28 /*** END file-header ***/
29
30 /*** BEGIN file-production ***/
31-/* enumerations from "@filename@" */
32+/* enumerations from "@basename@" */
33 /*** END file-production ***/
34
35 /*** BEGIN value-header ***/
diff --git a/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb b/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb
index 4d2037411d..f2b9ebf140 100644
--- a/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb
+++ b/meta/recipes-gnome/libhandy/libhandy_1.0.3.bb
@@ -2,7 +2,8 @@ SUMMARY = "A library full of GTK+ widgets for mobile phones"
2LICENSE = "LGPLv2.1" 2LICENSE = "LGPLv2.1"
3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" 3LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
4 4
5SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-0" 5SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-0 \
6 file://determinism.patch"
6SRCREV = "7126d2e8da9dcdeb5751e60ff6a74930804f9637" 7SRCREV = "7126d2e8da9dcdeb5751e60ff6a74930804f9637"
7S = "${WORKDIR}/git" 8S = "${WORKDIR}/git"
8 9