summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gcr/gcr3
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/gcr/gcr3')
-rw-r--r--meta/recipes-gnome/gcr/gcr3/0001-gcr-meson.build-fix-one-parallel-build-failure.patch37
-rw-r--r--meta/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch36
-rw-r--r--meta/recipes-gnome/gcr/gcr3/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch61
3 files changed, 36 insertions, 98 deletions
diff --git a/meta/recipes-gnome/gcr/gcr3/0001-gcr-meson.build-fix-one-parallel-build-failure.patch b/meta/recipes-gnome/gcr/gcr3/0001-gcr-meson.build-fix-one-parallel-build-failure.patch
deleted file mode 100644
index 81c4bdbbcc..0000000000
--- a/meta/recipes-gnome/gcr/gcr3/0001-gcr-meson.build-fix-one-parallel-build-failure.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1From cb3708bad88e713e4ccf705cb8c14c5996cd9d06 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 23 Apr 2021 16:32:38 +0800
4Subject: [PATCH] gcr/meson.build: fix one parallel build failure
5
6ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing
7dependency, following error occurred intermittently during doing parallel
8build:
9
10 -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c
11../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory
12 32 | #include "gcr/gcr-marshal.h"
13 | ^~~~~~~~~~~~~~~~~~~
14compilation terminated.
15
16Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/68/diffs]
17
18Signed-off-by: Changqing Li <changqing.li@windriver.com>
19---
20 gcr/meson.build | 1 +
21 1 file changed, 1 insertion(+)
22
23diff --git a/gcr/meson.build b/gcr/meson.build
24index 06c3a63..d9d4b8f 100644
25--- a/gcr/meson.build
26+++ b/gcr/meson.build
27@@ -181,6 +181,7 @@ gcr_base_dep = declare_dependency(
28 sources: [
29 gcr_enums_gen[1],
30 gcr_oids[1],
31+ gcr_marshal_gen[1],
32 ],
33 )
34
35--
362.17.1
37
diff --git a/meta/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch b/meta/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
new file mode 100644
index 0000000000..d3c26d97ae
--- /dev/null
+++ b/meta/recipes-gnome/gcr/gcr3/0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch
@@ -0,0 +1,36 @@
1From 9b67bb18d8409e0e693cc6000507acbd73a30eab Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Wed, 16 Nov 2022 11:27:24 +0100
4Subject: [PATCH 1/2] meson.build: correctly handle disabled ssh_agent option
5
6Existing code produces these errors:
7| gcr/meson.build:61:0: ERROR: Unable to get the path of a not-found external program
8| gcr/meson.build:101:5: ERROR: Unknown variable "ssh_add_path".
9
10Signed-off-by: Alexander Kanavin <alex@linutronix.de>
11
12Upstream-Status: Backport [ https://gitlab.gnome.org/GNOME/gcr/-/commit/9b67bb18d8409e0e693cc6000507acbd73a30eab ]
13---
14 meson.build | 12 ++++++++----
15 1 file changed, 8 insertions(+), 4 deletions(-)
16
17diff --git a/meson.build b/meson.build
18index 3f35173..11d7fa7 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -96,8 +98,10 @@ conf.set('HAVE_TIMEGM', cc.has_function('timegm'))
22 conf.set('HAVE_MLOCK', cc.has_function('mlock'))
23 conf.set_quoted('GPG_EXECUTABLE', gpg_path)
24 conf.set_quoted('LIBGCRYPT_VERSION', libgcrypt_dep.version())
25-conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
26-conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
27+if get_option('ssh_agent')
28+ conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
29+ conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
30+endif
31 conf.set10('WITH_SYSTEMD', with_systemd)
32 config_file = configure_file(
33 output: 'config.h',
34--
352.34.1
36
diff --git a/meta/recipes-gnome/gcr/gcr3/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch b/meta/recipes-gnome/gcr/gcr3/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch
deleted file mode 100644
index ae4e2ac1eb..0000000000
--- a/meta/recipes-gnome/gcr/gcr3/b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8.patch
+++ /dev/null
@@ -1,61 +0,0 @@
1From b3ca1d02bb0148ca787ac4aead164d7c8ce2c4d8 Mon Sep 17 00:00:00 2001
2From: Jakub Jirutka <jakub@jirutka.cz>
3Date: Wed, 12 Jan 2022 00:24:20 +0100
4Subject: [PATCH] meson: Fix unknown kw argument in gnome.generate_gir
5
6This argument has been removed in Meson 0.61.0:
7
8 gck/meson.build:130:2: ERROR: gnome.generate_gir got unknown keyword arguments "packages"
9
10https://github.com/mesonbuild/meson/commit/f8fc5cb860465718fe7c79a1bf1fe00659f138de:
11
12> The packages argument to gnome.generate_gir was allowed, but never did anything, so stop passing it.
13
14Fixes #89
15Upstream-Status: Backport
16Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
17---
18 gck/meson.build | 1 -
19 gcr/meson.build | 1 -
20 ui/meson.build | 1 -
21 3 files changed, 3 deletions(-)
22
23diff --git a/gck/meson.build b/gck/meson.build
24index 756b486..a21a1e9 100644
25--- a/gck/meson.build
26+++ b/gck/meson.build
27@@ -131,7 +131,6 @@ if get_option('introspection')
28 sources: gck_gir_sources,
29 namespace: 'Gck',
30 nsversion: '@0@'.format(gck_major_version),
31- packages: gck_deps,
32 export_packages: 'gck-@0@'.format(gck_major_version),
33 includes: [ 'GObject-2.0', 'Gio-2.0' ],
34 header: 'gck/gck.h',
35diff --git a/gcr/meson.build b/gcr/meson.build
36index 2233a44..c83641b 100644
37--- a/gcr/meson.build
38+++ b/gcr/meson.build
39@@ -190,7 +190,6 @@ if get_option('introspection')
40 sources: [ gcr_base_public_sources, gcr_base_headers ],
41 namespace: 'Gcr',
42 nsversion: '@0@'.format(gcr_major_version),
43- packages: gcr_base_deps,
44 export_packages: 'gcr-base-@0@'.format(gcr_major_version),
45 includes: [
46 'GObject-2.0',
47diff --git a/ui/meson.build b/ui/meson.build
48index e656ea2..32ee057 100644
49--- a/ui/meson.build
50+++ b/ui/meson.build
51@@ -152,7 +152,6 @@ if get_option('introspection')
52 export_packages: 'gcr-ui-@0@'.format(gcr_major_version),
53 identifier_prefix: 'Gcr',
54 symbol_prefix: 'gcr',
55- packages: gcr_ui_deps,
56 includes: [
57 'GObject-2.0',
58 'Gio-2.0',
59--
60GitLab
61