mesa: remove obsolete build dependencies
PATCH 1/2 mesa: remove obsolete build dependencies
The use of makedepend was removed upstream in 2012[1].
The use of chrpath was removed from the recipe in 2023[1].
[1] mesa 424f2008814 ("Remove checking for makedepend")
[2] oe-core 067e131b218 ("mesa: do not strip rpaths from dri drivers")
--- meta/recipes-graphics/mesa/mesa.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa.inc +1 -2
@@ -44,8 +44,7 @@ do_install:append() { } # All dependencies **MUST** be -native. If not, then add a PACKAGECONFIG for it. -DEPENDS = "makedepend-native flex-native bison-native chrpath-replacement-native python3-mako-native gettext-native python3-pyyaml-native" -EXTRANATIVEPATH += "chrpath-native" +DEPENDS = "flex-native bison-native python3-mako-native gettext-native python3-pyyaml-native" inherit meson pkgconfig python3native gettext features_check rust
Signature · 1 line
2.43.0
PATCH 2/2 makedepend: remove recipe
Now that mesa no longer depends on makedepend, there are no users of the recipe in core.
We could move the recipe to meta-oe, but the layer index says that the only recipes that depend on this recipe are variations of mesa[1] which hasn't used makedepend since 2012, so instead the dependency can be removed from those recipes in master.
[1] https://layers.openembedded.org/layerindex/branch/master/recipes/?q=depends%3Amakedepend-native
--- meta/conf/distro/include/maintainers.inc | 1 - .../xorg-util/makedepend_1.0.10.bb | 20 ------------------- 2 files changed, 21 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-util/makedepend_1.0.10.bb
meta/conf/distro/include/maintainers.inc +0 -1
@@ -503,7 +503,6 @@ RECIPE_MAINTAINER:pn-m4 = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-m4-native = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-make = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-make-mod-scripts = "Bruce Ashfield <[email protected]>" -RECIPE_MAINTAINER:pn-makedepend = "Robert Yang <[email protected]>" RECIPE_MAINTAINER:pn-makedevs = "Chen Qi <[email protected]>" RECIPE_MAINTAINER:pn-makedumpfile = "Etienne Cordonnier <[email protected]>" RECIPE_MAINTAINER:pn-man-db = "Hongxu Jia <[email protected]>"
meta/recipes-graphics/xorg-util/makedepend_1.0.10.bb deleted +0 -20
@@ -1,20 +0,0 @@ -require xorg-util-common.inc - -SUMMARY = "create dependencies in makefiles" - -DESCRIPTION = "The makedepend program reads each sourcefile in sequence \ -and parses it like a C-preprocessor, processing \ -all #include, #define, #undef, #ifdef, #ifndef, #endif, #if, #elif \ -and #else directives so that it can correctly tell which #include, \ -directives would be used in a compilation. Any #include, directives \ -can reference files having other #include directives, and parsing will \ -occur in these files as well." - -DEPENDS = "xorgproto util-macros" -PE = "1" - -BBCLASSEXTEND = "native" - -LIC_FILES_CHKSUM = "file://COPYING;md5=43a6eda34b48ee821b3b66f4f753ce4f" - -SRC_URI[sha256sum] = "baf742fb6c76c15febf5181e5cd814066205d8be9aef4abfdc2c54b235e14917"
Signature · 1 line
2.43.0