summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/waffle
Commit message (Collapse)AuthorAgeFilesLines
* waffle: remove dependency on udevRoss Burton2024-04-231-1/+1
| | | | | | | | | | | | Waffle 1.8.0 dropped the use of libudev and instead uses libdrm[1] in the gbm code. Update the depends. [1] https://gitlab.freedesktop.org/mesa/waffle/-/commit/6bf58d4bb9044a7c65818d5de5d4ca747766e77f (From OE-Core rev: 51731c8e9cf1e5c894c9b4d894a66403535c56c8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: update 1.7.2 -> 1.8.0Alexander Kanavin2024-04-163-36/+6
| | | | | | | (From OE-Core rev: b63ce3e9ae0e38e9951440d805b0d9487fd3736d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: upgrade 1.7.0 -> 1.7.2Upgrade Helper2023-05-033-27/+13
| | | | | | | | | | | | | Upstream now only generates CMake files on Windows, so remove all references to CMake. A zsh completion is now installed, remove this for now as we don't really use zsh. (From OE-Core rev: 94cf6ef11bba381ab6f65b03ed1ed14022438151) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: correctly request wayland-scanner executableAlexander Kanavin2022-07-082-0/+28
| | | | | | | | (From OE-Core rev: cd05e2543bde4175da67781ec6f3eebc143d95d0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: The surfaceless-egl and gbm requires openglRobert Yang2022-04-031-1/+2
| | | | | | | | | | Fixed when opengl is not in DISTRO_FEATURES: ERROR: Nothing PROVIDES 'virtual/libgbm' (but /path/to/waffle/waffle_1.7.0.bb DEPENDS on or otherwise requires it) (From OE-Core rev: a762162fa0f51b9c6187fd1fcfaad2f317f8762e) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: Use the right dependencies as neededKhem Raj2022-03-241-7/+7
| | | | | | | | | | using virtual/libgl is a broad brush, we can be more specific and ask for dependencies which are really needed (From OE-Core rev: d96fdf89efa95dc5e42e01ba970afd3645ced3bc) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: add wayland-protocols when building with waylandAndrey Zhizhikin2022-02-201-1/+1
| | | | | | | | | | | | | | | | When 'wayland is selected in ' DISTRO_FEATURES, following build error occurs during do_configure: | Run-time dependency wayland-protocols found: NO (tried pkgconfig) | | ../git/meson.build:120:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig Add "wayland-protocols" to PACKAGECONFIG to resolve missing dependency. (From OE-Core rev: a545a0848c6526d58731bc333f2ade0ae926fcc4) Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: add cmake-native to DEPENDSChen Qi2021-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | waffle currently requires cmake-native because it has the following lines in git/src/waffle/meson.build. if meson.version().version_compare('>= 0.50') cmake = import('cmake') In case of 'wayland' not being in DISTRO_FEATURES, we will get the following error at do_configure. | ../git/src/waffle/meson.build:233:8: ERROR: Unable to find cmake So explictly add 'cmake-native' to DEPENDS to solve this problem. (From OE-Core rev: 19753e7fff81a4252d0095b54d37d52db11e3f56) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Add explict branch to git SRC_URIsRichard Purdie2021-10-301-1/+1
| | | | | | | | | | | | | There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. This update was made with the script added to contrib in this patch which aims to help others convert other layers. (From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: update 1.6.1 -> 1.7.0Alexander Kanavin2021-10-282-4/+66
| | | | | | | | (From OE-Core rev: 95acd86a4aeb8d2122285dd1745c77622462d33f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: convert to git, website is downAlexander Kanavin2021-10-231-6/+4
| | | | | | | | (From OE-Core rev: 28391c20044058e05a1bfdacc31a3e876828fb72) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Add missing pkgconfig inheritRichard Purdie2021-09-211-1/+1
| | | | | | | | | | | | Various recipes were missing a pkgconfig inherit or pkgconfig-native dependency despite using pkgconfig. Add the inherit to igt-gpu-tools/gdb/libmodulemd/libwpe/xwayland/waffle shaderc/iputils/wpebackend-fdo/lttng-ust/cargo. (From OE-Core rev: 777d9744570c2dc119dc5d04985896bbb1da5885) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to new override syntaxRichard Purdie2021-08-021-1/+1
| | | | | | | | | | | | This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.Meh Mbeh Ida Delphine2021-03-021-1/+7
| | | | | | | | | Fixes: [YOCTO #13471] (From OE-Core rev: 24eac1fef8892484cc3dede1853d180e0c235120) Signed-off-by: Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: upgrade 1.6.0 -> 1.6.1Alexander Kanavin2020-06-041-2/+2
| | | | | | | (From OE-Core rev: 8189d2530180709a53bace1c88de73de5347db1a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta/recipes-graphics/waffle: Add python3 dependencyAníbal Limón2020-02-131-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | The python3native.bbclass set PYTHON_{LIBRARY, INCLUDE_DIR} pointing to python target build, a patch was add to use target _sysconfigdata too [1] but is not available without python3 dependency. Fixes waffle build when trying to find _sysconfigdata module, ... | Program python3 found: YES (/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3) | | meson.build:36:0: ERROR: <ExternalProgram 'python3' -> ['/home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/recipe-sysroot-native/usr/bin/python3-native/python3']> is not a valid python or it is missing setuptools | | A full log can be found at /home/anibal.limon/linaro/oe-rpb-master/build-410c/tmp-rpb-glibc/work/aarch64-linaro-linux/waffle/1.6.0-r0/build/meson-logs/meson-log.txt | WARNING: exit code 1 from a shell command. ... [1] http://git.openembedded.org/openembedded-core/commit/?id=02714c105426b0d687620913c1a7401b386428b6 (From OE-Core rev: d3032809136707b584e7938c01e77da36abc1b00) Signed-off-by: Aníbal Limón <anibal.limon@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distro_features_check: expand with MACHINE_FEATURES and COMBINED_FEATURES, ↵Denys Dmytriyenko2019-11-211-1/+1
| | | | | | | | | | | | | | | | rename Besides checking DISTRO_FEATURES for required or conflicting features, being able to check MACHINE_FEATURES and/or COMBINED_FEATURES may also be useful at times. Temporarily support the old class name with a warning about future deprecation. (From OE-Core rev: 5f4875b950ce199e91f99c8e945a0c709166dc14) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: upgrade 1.5.2 -> 1.6.0Ross Burton2019-08-072-65/+12
| | | | | | | | | | | | | Switch to Meson instead of CMake. Add PACKAGECONFIG for surfaceless-egl. Inherit bash-completion for the new wlinfo completion script. (From OE-Core rev: 96decf673992b1cd1eebac45a5cd534eef27ebd7) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: supprt build waffle without x11Changqing Li2019-04-301-4/+3
| | | | | | | | | | | | respect DISTRO_FEATURES to make waffle support different platform, gbm platform is supported by default. [YOCTO #6077] (From OE-Core rev: 37dc4ad4a87fb9042dc3e9bb389cedc8b5acadf7) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: Rely on cmake.bbclass to put cmake package files in dev packageMike Crowe2018-01-071-3/+0
| | | | | | | | | | cmake.bbclass now ensures that ${libdir}/cmake and ${datadir}/cmake end up in the dev package, so this recipe doesn't need to do so itself. (From OE-Core rev: f6b4f06c5b11860f02b896286471b5cbb57b66ae) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: fix REQUIRED_DISTRO_FEATURES and PACKAGECONFIG virtual/libgl ↵Leonardo Sandoval2017-08-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dependencies Waffle's REQUIRED_DISTRO_FEATURES statement looks into DEPENDS and if virtual/libgl is present, it includes opengl as distro feature. However, in a multilib environment, recipes provides virtual/${MLPREFIX}libgl, thus waffle recipe needs to include the prefix. Also PACKAGECONFIG statements need this change in order to properly include the libgl dependency. The way this error showed up was in a multilib environment and a distro not containing opengl, i.e. nodistro, leading the following error when building world -S none (because opengl was not included as required distro feature): ERROR: Nothing PROVIDES 'virtual/lib32-libgl' (but virtual:multilib:lib32:/meta/recipes-graphics/waffle/waffle_1.5.2.bb DEPENDS on or otherwise requires it). Close matches: virtual/lib32-libsdl virtual/lib32-libc virtual/lib32-libsdl2 ERROR: Required build target 'lib32-meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['lib32-meta-world-pkgdata', 'meta-world-pkgdata', 'lib32-waffle', 'virtual/lib32-libgl'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. [YOCTO #10900] (From OE-Core rev: 2e3344a3b6d5c709ab0d368dd171240ab5cc6e22) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: add opengl to REQUIRED_DISTRO_FEATURESChristopher Larson2017-01-051-0/+3
| | | | | | | | | | Multiple packageconfigs depend upon virtual/libgl, whose providers require the opengl distro feature. (From OE-Core rev: 930c5a17b543bef9d5c2efe71680f82993d77269) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: update to 1.5.2Alexander Kanavin2016-01-261-2/+2
| | | | | | | | (From OE-Core rev: 7d977e4e9aa4986e59ca99342af8c57e7cfb45e1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_regex.inc: split the rest of the entries to their recipesAlexander Kanavin2015-12-081-0/+2
| | | | | | | | (From OE-Core rev: 73e2555cc7d529a93362b3fcfea3fbc7a4c60ca1) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: Fix build with muslKhem Raj2015-09-282-1/+57
| | | | | | | | | | Backport needed patches for compilation fixes on musl (From OE-Core rev: d19772d1f3c9d0a06c10dfb246bb156b575a14c5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: Upgrade 1.3.0 -> 1.5.1Jussi Kukkonen2015-05-291-9/+10
| | | | | | | | | | | | | | * Update SRC_URI to waffle-gl.org * Add new cmake files to -dev package * Inherit lib_package so the new wflinfo binary is packaged properly * Fix PACKAGECONFIG line for gbm * Add the not-found configuration for all PACKAGECONFIG options to make builds reproducible (the default builds if dependencies are there) (From OE-Core rev: f58ddacfa153e2bd9fcc79fa1e2c65ae6ef6af02) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-graphics: add x11 to REQUIRED_DISTRO_FEATURESRobert Yang2015-05-141-1/+4
| | | | | | | | | They can't be built withou x11 in DISTRO_FEATURES. (From OE-Core rev: 908f6f2ded18d5301f428e685bface60335bd791) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: drop unneeded setting of EXTRA_OECMAKEPaul Eggleton2015-03-201-3/+0
| | | | | | | | | | base.bbclass already sets EXTRA_OECMAKE when cmake.bbclass is inherited. (From OE-Core rev: c9959f2a69e7edfe8b9e4a7bc99f0d77f03aff73) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* waffle: add (from meta-oe)Ross Burton2014-01-141-0/+32
Waffle is needed for Piglit. This recipe is based on the recipe in meta-oe, upgraded to the latest upstream 1.3.0. (From OE-Core rev: 67228f682cb8acc71dd5f8b44af67f529727f780) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>