summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-01-12 12:53:39 +0000
committerKhem Raj <raj.khem@gmail.com>2024-01-12 08:51:12 -0800
commitcbc22b5ba4c9c7dc750c55c7eb975696cc603d93 (patch)
treecd17e1bb5a27c9cfcae7b6922f0812800b050d97
parent7b7d0e38ff2e18947b44685654cc07548718bbca (diff)
downloadmeta-openembedded-cbc22b5ba4c9c7dc750c55c7eb975696cc603d93.tar.gz
gtksourceview4: remove check for target gtk-doc
Packages that use gtk-doc want to find a native gtk-doc not a target gtk-doc, so remove the pointless check for a target gtk-doc package. This only worked before as it was being pulled in via DEPENDS in glib-2.0, but as of oe-core f91694f this no longer happens. Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch38
-rw-r--r--meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb4
2 files changed, 40 insertions, 2 deletions
diff --git a/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch b/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch
new file mode 100644
index 0000000000..8230bbbd16
--- /dev/null
+++ b/meta-gnome/recipes-gnome/gtksourceview/files/0001-remove-pointless-check.patch
@@ -0,0 +1,38 @@
1From 397751846130f79d5fbe8d617b788f3bcbb36816 Mon Sep 17 00:00:00 2001
2From: Ross Burton <ross.burton@arm.com>
3Date: Tue, 9 Jan 2024 22:20:03 +0000
4Subject: [PATCH] meson: remove pointless gtk-doc check
5
6There's no point explicitly checking for gtk-doc, for two reasons:
7
81) In cross-compiled environments this looks for a target gtk-doc, not a
9 native gtk-doc, so it should set native:true.
10
112) The gnome.gtkdoc() function checks for gtk-doc itself.
12
13Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/351]
14Signed-off-by: Ross Burton <ross.burton@arm.com>
15---
16 meson.build | 6 ------
17 1 file changed, 6 deletions(-)
18
19diff --git a/meson.build b/meson.build
20index ba07da70..1109daea 100644
21--- a/meson.build
22+++ b/meson.build
23@@ -107,12 +107,6 @@ else
24 vapigen_dep = []
25 endif
26
27-if build_gtk_doc
28- gtk_doc_dep = dependency('gtk-doc', version: gtk_doc_req)
29-else
30- gtk_doc_dep = []
31-endif
32-
33 # Look for the libxml2 library manually on Visual Studio if
34 # its pkg-config file could not be found, as the NMake
35 # Makefiles of libxml2 do not generate the pkg-config files
36--
372.34.1
38
diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
index 353f02f1ba..5d7d02a2c9 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.4.bb
@@ -10,12 +10,12 @@ PNAME = "gtksourceview"
10 10
11S = "${WORKDIR}/${PNAME}-${PV}" 11S = "${WORKDIR}/${PNAME}-${PV}"
12 12
13
14inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspection vala 13inherit gnomebase lib_package gettext features_check gtk-doc gobject-introspection vala
15 14
16ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 15ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
17 16
18SRC_URI = "https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz" 17SRC_URI = "https://download.gnome.org/sources/gtksourceview/4.8/${PNAME}-${PV}.tar.xz \
18 file://0001-remove-pointless-check.patch"
19SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d" 19SRC_URI[sha256sum] = "7ec9d18fb283d1f84a3a3eff3b7a72b09a10c9c006597b3fbabbb5958420a87d"
20 20
21GIR_MESON_OPTION = 'gir' 21GIR_MESON_OPTION = 'gir'