diff options
author | Joshua Watt <jpewhacker@gmail.com> | 2019-11-21 10:57:52 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-11-27 13:25:18 +0000 |
commit | 73aaa5239268b0d2e6b6ab563b5525f62885d24d (patch) | |
tree | 118fc9f754ece3a9ed25d385d720032891db72c2 | |
parent | ead43a4168cc8682e7440c3c5ac0da54f0af6f85 (diff) | |
download | poky-73aaa5239268b0d2e6b6ab563b5525f62885d24d.tar.gz |
at-spi2-core: Fix reproducibility
Adds a patch to fix to make the -src packages reproducible
(From OE-Core rev: 42458635b52f5cff6448d7440a44b03114e6842d)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch | 32 | ||||
-rw-r--r-- | meta/recipes-support/atk/at-spi2-core_2.32.1.bb | 3 |
2 files changed, 34 insertions, 1 deletions
diff --git a/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch b/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch new file mode 100644 index 0000000000..7631969cd6 --- /dev/null +++ b/meta/recipes-support/atk/at-spi2-core/0001-Fix-source-reproducibility.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From b7fa0aa00b07e03e338dd02af564431bf2f2b185 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua Watt <Joshua.Watt@garmin.com> | ||
3 | Date: Wed, 20 Nov 2019 15:24:02 -0600 | ||
4 | Subject: [PATCH] Fix source reproducibility | ||
5 | |||
6 | The generated enum type files can be included in source packages meant | ||
7 | for debugging, and thus need to be reproducible. Replace the absolute | ||
8 | include of the header with the basename. This is sufficient because the | ||
9 | target include files are always in the include path anyway. | ||
10 | |||
11 | Upstream-Status: Accepted [https://gitlab.gnome.org/GNOME/at-spi2-core/merge_requests/25] | ||
12 | Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com> | ||
13 | --- | ||
14 | atspi/atspi-enum-types.c.template | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/atspi/atspi-enum-types.c.template b/atspi/atspi-enum-types.c.template | ||
18 | index 385d0ee..92e4937 100644 | ||
19 | --- a/atspi/atspi-enum-types.c.template | ||
20 | +++ b/atspi/atspi-enum-types.c.template | ||
21 | @@ -5,7 +5,7 @@ | ||
22 | |||
23 | /*** BEGIN file-production ***/ | ||
24 | /* enumerations from "@basename@" */ | ||
25 | -#include "@filename@" | ||
26 | +#include "@basename@" | ||
27 | |||
28 | /*** END file-production ***/ | ||
29 | |||
30 | -- | ||
31 | 2.23.0 | ||
32 | |||
diff --git a/meta/recipes-support/atk/at-spi2-core_2.32.1.bb b/meta/recipes-support/atk/at-spi2-core_2.32.1.bb index 11052a8ece..18b5de2d58 100644 --- a/meta/recipes-support/atk/at-spi2-core_2.32.1.bb +++ b/meta/recipes-support/atk/at-spi2-core_2.32.1.bb | |||
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886" | |||
5 | 5 | ||
6 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 6 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
7 | 7 | ||
8 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz" | 8 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ |
9 | file://0001-Fix-source-reproducibility.patch" | ||
9 | 10 | ||
10 | SRC_URI[md5sum] = "998fd9d858f8fa22c4c8c15567bf6254" | 11 | SRC_URI[md5sum] = "998fd9d858f8fa22c4c8c15567bf6254" |
11 | SRC_URI[sha256sum] = "3c2aa937ebfaca2c86569bce9b16a34fbe20d69ef0c58846313b1c42f53b0d53" | 12 | SRC_URI[sha256sum] = "3c2aa937ebfaca2c86569bce9b16a34fbe20d69ef0c58846313b1c42f53b0d53" |