]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gnomebase.bbclass: Use meson as default buildsystem
authorMarkus Volk <f_l_k@t-online.de>
Fri, 10 Nov 2023 11:18:51 +0000 (12:18 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 13 Nov 2023 11:37:59 +0000 (11:37 +0000)
The vast majority of gnome recipes uses meson. Set it as default
and override the few recipes that still use autotools.

This way we can remove a lot of lines in meta-oe and more important
it would not be needed to explicitly set GNOMEBASEBUILDCLASS = "meson" for newly
created gnome recipe anymore.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
20 files changed:
meta/classes-recipe/gnomebase.bbclass
meta/recipes-core/glib-networking/glib-networking_2.76.1.bb
meta/recipes-core/libxml/libxml2_2.11.5.bb
meta/recipes-devtools/python/python3-pygobject_3.46.0.bb
meta/recipes-gnome/epiphany/epiphany_44.6.bb
meta/recipes-gnome/gcr/gcr_4.1.0.bb
meta/recipes-gnome/gnome/adwaita-icon-theme_45.0.bb
meta/recipes-gnome/gnome/gconf_3.2.6.bb
meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_44.0.bb
meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
meta/recipes-gnome/json-glib/json-glib_1.6.6.bb
meta/recipes-gnome/libadwaita/libadwaita_1.4.0.bb
meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb
meta/recipes-gnome/libgudev/libgudev_238.bb
meta/recipes-gnome/libnotify/libnotify_0.8.2.bb
meta/recipes-gnome/librsvg/librsvg_2.56.3.bb
meta/recipes-gnome/libsecret/libsecret_0.21.1.bb
meta/recipes-graphics/graphene/graphene_1.10.8.bb
meta/recipes-graphics/pango/pango_1.51.0.bb
meta/recipes-support/vte/vte_0.72.2.bb

index 5e72f549a380bf96c0fd75eb51888e5a37b0423e..a12e9f31a95aee04063c73316184ef5199698446 100644 (file)
@@ -27,7 +27,7 @@ FILES:${PN} += "${datadir}/application-registry  \
 
 FILES:${PN}-doc += "${datadir}/devhelp"
 
-GNOMEBASEBUILDCLASS ??= "autotools"
+GNOMEBASEBUILDCLASS ??= "meson"
 inherit ${GNOMEBASEBUILDCLASS} pkgconfig
 
 do_install:append() {
index 3687123141e31f7d71cbaec3ae1f5ecb7044a7c9..0f8822e1603ae0621c9aa23665c18f3989b6a681 100644 (file)
@@ -27,7 +27,6 @@ PACKAGECONFIG[libproxy] = "-Dlibproxy=enabled,-Dlibproxy=disabled,libproxy"
 PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
 PACKAGECONFIG[gnomeproxy] = "-Dgnome_proxy=enabled,-Dgnome_proxy=disabled,gsettings-desktop-schemas"
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gettext upstream-version-is-even gio-module-cache ptest-gnome
 
 SRC_URI += "file://run-ptest"
index fc82912df25e4ac2f6e8cefb1ce2f4470ec436a2..319833f053e5787fb2a75efe95fd51dd3e154ab1 100644 (file)
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=2044417e2e5006b65a8b9067b683fcf1 \
 
 DEPENDS = "zlib virtual/libiconv"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase
 
 SRC_URI += "http://www.w3.org/XML/Test/xmlts20130923.tar;subdir=${BP};name=testtar \
index 28129fd66abedeb39f15f9072d6ab9f0a0bdc8c6..73a393051ab4da08b66187138995b0d67f962c3e 100644 (file)
@@ -5,7 +5,6 @@ SECTION = "devel/python"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 
-GNOMEBASEBUILDCLASS = "meson"
 GIR_MESON_OPTION = ""
 
 inherit gnomebase setuptools3-base gobject-introspection upstream-version-is-even
index d8dd3d6dae953fc7b0c5da0bd553b6f2f4f00936..577eb43a80ec838a60f7c288575e93b3dad6f084 100644 (file)
@@ -23,7 +23,6 @@ DEPENDS = " \
           desktop-file-utils-native \
           "
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache
 REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
index 239d9806cce7462c7a5666e854a153e81b44f31d..399f327e04cd36b3cd008243592be22ab535bfaa 100644 (file)
@@ -15,7 +15,6 @@ CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
 
 CFLAGS += "-D_GNU_SOURCE"
 
-GNOMEBASEBUILDCLASS = "meson"
 GTKDOC_MESON_OPTION = "gtk_doc"
 inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg
 
index 4dbcced5c3a052b4a30a2ab31239586c022c68dc..0bd98288f602044184bb47205a36280949367f64 100644 (file)
@@ -10,7 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \
                     file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \
                     file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02"
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase allarch gtk-icon-cache
 
 SRC_URI[archive.sha256sum] = "2442bfb06f4e6cc95bf6e2682fdff98fa5eddc688751b9d6215c623cb4e42ff1"
index 4930aeb9f030a7382a4cf40f1849de8cf8567ffd..1e29bd9bb07fd79e1d1054055c0ea6886139dee3 100644 (file)
@@ -9,6 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
 
 DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache
 
 SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \
index 8e30d5e524a011832bdc96b9ef6b3864da9a6c5c..5ccc1a7dd45d7ffeb653731a458f4a720cb02775 100644 (file)
@@ -9,7 +9,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "glib-2.0"
 
-GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gsettings gobject-introspection gettext
 
index 150eca927470ecb81b709537355b7421df751bc9..2e8ab1c771a10f62f3567f2a6f44e7975802b254 100644 (file)
@@ -5,6 +5,7 @@ HOMEPAGE = "https://www.gtk.org/docs/"
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit gnomebase
 
 # Configure the scripts correctly (and build their dependencies) only if they are actually
index 9c34fb7f40cd7f4e38cfdb6432b16b15cad62f43..a9a71953c328cad2e808e6039141a01f6c21b2e8 100644 (file)
@@ -11,7 +11,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
 DEPENDS = "glib-2.0 glib-2.0-native"
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even
 GIR_MESON_ENABLE_FLAG = 'enabled'
 GIR_MESON_DISABLE_FLAG = 'disabled'
index d8aa2cd6970cf13be858cd6fd5aae210c27385fc..cc05756805225801c1cfe551171a9f2066d2633a 100644 (file)
@@ -3,7 +3,6 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libadwaita"
 LICENSE="LGPL-2.1-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-GNOMEBASEBUILDCLASS = "meson"
 
 DEPENDS = " \
     gtk4 \
index 49ebc818b0e994ff212841270ad891addb996632..9bca7e9dce90b4a7a64afb93bdae51b470395976 100644 (file)
@@ -7,7 +7,6 @@ HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle"
 BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues"
 LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase upstream-version-is-even vala features_check gobject-introspection
 
 DEPENDS = "glib-2.0-native glib-2.0 gtk+3"
index c71e4bda745f63cbc46e4df17c59170516b34d34..5923544ecadb43aaa85303bdb192d9cdc762efad 100644 (file)
@@ -14,7 +14,6 @@ RCONFLICTS:${PN} = "systemd (<= 220)"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gobject-introspection gtk-doc
 
 GIR_MESON_ENABLE_FLAG = 'enabled'
index 6888c33d147345604847ddb2645cac6c7122d31f..1ca7ef8714ebf7b4554b4998a386e6dadc788a10 100644 (file)
@@ -14,7 +14,6 @@ DEPENDS = "glib-2.0 glib-2.0-native gdk-pixbuf"
 PACKAGECONFIG ?= ""
 PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gtk+3"
 
-GNOMEBASEBUILDCLASS = "meson"
 GIR_MESON_ENABLE_FLAG = "enabled"
 GIR_MESON_DISABLE_FLAG = "disabled"
 inherit gnomebase gi-docgen features_check gobject-introspection
index 43d4059cf2f533c6608a73dde97e2785590f54e1..9824b8898de75817eedafe7a879edf2e407925bd 100644 (file)
@@ -14,6 +14,7 @@ SECTION = "x11/utils"
 DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native"
 BBCLASSEXTEND = "native nativesdk"
 
+GNOMEBASEBUILDCLASS = "autotools"
 inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates
 
 require ${BPN}-crates.inc
index 63102476cbf5ba71716b9ae0c52d6320441baafa..f762d7c343afc821fc30576c7bad96c80b25d2ab 100644 (file)
@@ -8,7 +8,6 @@ HOMEPAGE = "https://github.com/GNOME/libsecret"
 BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues"
 LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
 
-GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gi-docgen vala gobject-introspection manpages
 
index 55d8a2d74ee772230e12d7e8b25e3ce75da8a69e..e2e82b32aa824bf12ce2de54259353364cc459c1 100644 (file)
@@ -3,7 +3,6 @@ HOMEPAGE = "http://ebassi.github.io/graphene/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7d871d9e23c450c421a85bb2819f648"
 
-GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gobject-introspection gtk-doc
 
index 77a190124838f707e91a40cb1c384880efca180c..85a0270a3f827f0bd668783b0e7be63dba3533fc 100644 (file)
@@ -11,7 +11,6 @@ LICENSE = "LGPL-2.0-or-later"
 
 LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
 
-GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even gobject-introspection
 
index 4249b75ac0a544d0acb17ee6344bd7830c0eaa11..44e71491f622ce012666802cef88227c6c0ea609 100644 (file)
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = " \
 
 DEPENDS = "glib-2.0 glib-2.0-native gtk+3 libpcre2 libxml2-native gperf-native icu"
 
-GNOMEBASEBUILDCLASS = "meson"
 GIR_MESON_OPTION = 'gir'
 GIDOCGEN_MESON_OPTION = "docs"