diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-11-21 10:57:42 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-27 13:25:18 +0000 |
commit | ead43a4168cc8682e7440c3c5ac0da54f0af6f85 (patch) | |
tree | 87dc263e7b97fee2840ff543803650a410a8a89b /meta/recipes-graphics/pango | |
parent | 7a9185b2199dc4c3f3410819228549c1ef8ac511 (diff) | |
download | poky-ead43a4168cc8682e7440c3c5ac0da54f0af6f85.tar.gz |
pango: Fix reproducibility
Applies a patch to fix the build reproducibility of the -src package.
(From OE-Core rev: 372793803f31ccd7cfa8c6cc79cb2340b0ebc3d3)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r-- | meta/recipes-graphics/pango/pango/0001-Fix-build-reproducibility.patch | 31 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango_1.44.6.bb | 3 |
2 files changed, 33 insertions, 1 deletions
diff --git a/meta/recipes-graphics/pango/pango/0001-Fix-build-reproducibility.patch b/meta/recipes-graphics/pango/pango/0001-Fix-build-reproducibility.patch new file mode 100644 index 0000000000..03abf8763c --- /dev/null +++ b/meta/recipes-graphics/pango/pango/0001-Fix-build-reproducibility.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From f8b32901981a06a8db4169b82a704dcf7e8b6560 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua Watt <JPEWhacker@gmail.com> | ||
3 | Date: Wed, 20 Nov 2019 15:43:57 -0600 | ||
4 | Subject: [PATCH] Fix build reproducibility | ||
5 | |||
6 | Changes the comment in pango-enum-types.c to reference the file basename | ||
7 | instead of the full path. This ensures that the generated file is | ||
8 | reproducible when it is included in source packages meant for debugging. | ||
9 | |||
10 | Upstream-Status: Pending [https://gitlab.gnome.org/GNOME/pango/merge_requests/159] | ||
11 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> | ||
12 | --- | ||
13 | pango/pango-enum-types.c.template | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/pango/pango-enum-types.c.template b/pango/pango-enum-types.c.template | ||
17 | index d922c691..0d55ef74 100644 | ||
18 | --- a/pango/pango-enum-types.c.template | ||
19 | +++ b/pango/pango-enum-types.c.template | ||
20 | @@ -6,7 +6,7 @@ | ||
21 | /*** END file-header ***/ | ||
22 | |||
23 | /*** BEGIN file-production ***/ | ||
24 | -/* enumerations from "@filename@" */ | ||
25 | +/* enumerations from "@basename@" */ | ||
26 | /*** END file-production ***/ | ||
27 | |||
28 | /*** BEGIN value-header ***/ | ||
29 | -- | ||
30 | 2.23.0 | ||
31 | |||
diff --git a/meta/recipes-graphics/pango/pango_1.44.6.bb b/meta/recipes-graphics/pango/pango_1.44.6.bb index 8138ef72c1..c741d5836a 100644 --- a/meta/recipes-graphics/pango/pango_1.44.6.bb +++ b/meta/recipes-graphics/pango/pango_1.44.6.bb | |||
@@ -16,7 +16,8 @@ GNOMEBASEBUILDCLASS = "meson" | |||
16 | inherit gnomebase gtk-doc ptest-gnome upstream-version-is-even gobject-introspection | 16 | inherit gnomebase gtk-doc ptest-gnome upstream-version-is-even gobject-introspection |
17 | 17 | ||
18 | SRC_URI += "file://run-ptest \ | 18 | SRC_URI += "file://run-ptest \ |
19 | file://0001-Skip-thai-break-tests-without-libthai.patch" | 19 | file://0001-Skip-thai-break-tests-without-libthai.patch \ |
20 | file://0001-Fix-build-reproducibility.patch" | ||
20 | SRC_URI[archive.md5sum] = "db0a3243ba33e02aaa775412f8e5f412" | 21 | SRC_URI[archive.md5sum] = "db0a3243ba33e02aaa775412f8e5f412" |
21 | SRC_URI[archive.sha256sum] = "3e1e41ba838737e200611ff001e3b304c2ca4cdbba63d200a20db0b0ddc0f86c" | 22 | SRC_URI[archive.sha256sum] = "3e1e41ba838737e200611ff001e3b304c2ca4cdbba63d200a20db0b0ddc0f86c" |
22 | 23 | ||