From 7f1db8ead88f41d7d9613cb6e6063f249a2d6f2b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 25 Feb 2021 17:26:06 +0000 Subject: libhandy: Fix reproducibility issue (From OE-Core rev: ba559d5e07cbe92ee22308a1b5b8afc558c662dd) Signed-off-by: Richard Purdie --- .../libhandy/libhandy/determinism.patch | 35 ++++++++++++++++++++++ meta/recipes-gnome/libhandy/libhandy_1.0.3.bb | 3 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-gnome/libhandy/libhandy/determinism.patch (limited to 'meta/recipes-gnome') 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 @@ +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 ***/ 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" 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" -- cgit v1.2.3-54-g00ecf