diff options
Diffstat (limited to 'meta-gnome/recipes-connectivity/geary/geary/0001-application-client.vala-hardcode-some-paths.patch')
-rw-r--r-- | meta-gnome/recipes-connectivity/geary/geary/0001-application-client.vala-hardcode-some-paths.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-gnome/recipes-connectivity/geary/geary/0001-application-client.vala-hardcode-some-paths.patch b/meta-gnome/recipes-connectivity/geary/geary/0001-application-client.vala-hardcode-some-paths.patch new file mode 100644 index 0000000000..8162e50d9b --- /dev/null +++ b/meta-gnome/recipes-connectivity/geary/geary/0001-application-client.vala-hardcode-some-paths.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 98243ca43e40116c22f7b867e32ad27ffd314505 Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Tue, 16 Jul 2024 07:30:09 +0200 | ||
4 | Subject: [PATCH] application-client.vala: hardcode some paths | ||
5 | |||
6 | Otherwise the build values will be stored in the binary and used if geary was not installed | ||
7 | https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref_type=heads#L798 | ||
8 | https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref_type=heads#L365 | ||
9 | |||
10 | This breaks reproducibility | ||
11 | WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/libgeary-client-46.0.so in package geary contains reference to TMPDIR [buildpaths] | ||
12 | WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/.debug/libgeary-client-46.0.so in package geary-dbg contains reference to TMPDIR [buildpaths] | ||
13 | |||
14 | Upstream-Status: Inappropriate [oe-specific] | ||
15 | |||
16 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
17 | --- | ||
18 | src/client/application/application-client.vala | 4 ++-- | ||
19 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/src/client/application/application-client.vala b/src/client/application/application-client.vala | ||
22 | index 51d0f632e..acc53a65f 100644 | ||
23 | --- a/src/client/application/application-client.vala | ||
24 | +++ b/src/client/application/application-client.vala | ||
25 | @@ -39,9 +39,9 @@ public class Application.Client : Gtk.Application { | ||
26 | |||
27 | public const string VERSION = _VERSION; | ||
28 | public const string INSTALL_PREFIX = _INSTALL_PREFIX; | ||
29 | - public const string GSETTINGS_DIR = _GSETTINGS_DIR; | ||
30 | - public const string SOURCE_ROOT_DIR = _SOURCE_ROOT_DIR; | ||
31 | - public const string BUILD_ROOT_DIR = _BUILD_ROOT_DIR; | ||
32 | + public const string GSETTINGS_DIR = "/usr/share/applications"; | ||
33 | + public const string SOURCE_ROOT_DIR = "/usr/src"; | ||
34 | + public const string BUILD_ROOT_DIR = "/usr/src"; | ||
35 | |||
36 | // keep these in sync with meson_options.txt | ||
37 | public const string PROFILE_RELEASE = "release"; | ||
38 | -- | ||
39 | 2.45.2 | ||
40 | |||