summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gobject-introspection
Commit message (Collapse)AuthorAgeFilesLines
* gobject-introspection: Fix variable override orderRichard Purdie2021-01-291-2/+2
| | | | | | | | | | The DEPENDS variable override ordering here was almostly certainly incorrect and led to weird behaviour when making changes elsewhere. Correct it. (From OE-Core rev: c8f7e92244b3c52c275a457aced69086800351d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: upgrade 1.64.1 -> 1.66.1Alexander Kanavin2020-10-304-41/+32
| | | | | | | | | Add a patch to avoid build errors if building g-i data is disabled. (From OE-Core rev: e2c4cd1cebbd9e83e90759671147442d7f77d7c5) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: disable scanner caching in installJeremy Puhlman2020-08-151-0/+5
| | | | | | | | | | | | do_compile and the wrapper already disable touching the home cache. Do the same in do_install. [YOCTO #13970] (From OE-Core rev: ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Fix Upstream-Status Accepted -> BackportRichard Purdie2020-06-241-1/+1
| | | | | | | | | It helps our stats tracking to use Backport consitently, it mreans the same thing as Accepted in pretty much all cases. (From OE-Core rev: 3e923d86012c981cb332083b87353fdbc0a2b83a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: add a patch to fix a build raceAlexander Kanavin2020-06-172-0/+34
| | | | | | | (From OE-Core rev: 1d6ffc795fc815509e193b28df3a33cc72bfb31b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.64.1Alexander Kanavin2020-04-299-461/+12
| | | | | | | | | | | All the cross-support patches are finally merged upstream; the maintainer also changed the option naming to his preference, so the recipe is adjusted. (From OE-Core rev: 4f024e10f2c889ca8c09257b7c09f2cbe2eb6d4e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Fix reproducibilityJoshua Watt2019-11-272-0/+51
| | | | | | | | | Adds a patch to remove build paths from gobject-introspection (From OE-Core rev: a2de15f7f52d42e0c0440c907149c773ad99e110) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add missing description in recipes-gnomeMaxime Roussin-Bélanger2019-10-281-2/+6
| | | | | | | | | Remove some trailing whitespace (From OE-Core rev: 5714e4fb5e35454f2f3e523b1161a6451fcd3427) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: update and add missing homepage/bugtracker linksMaxime Roussin-Bélanger2019-10-281-1/+1
| | | | | | | (From OE-Core rev: 9e5089dac1ae8277263ec3dced1fb1633ba98e57) Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.62.0Alexander Kanavin2019-10-156-324/+18
| | | | | | | | | | Upstream has removed autotools support entirely, so we can drop the chunks of patches that touch it. (From OE-Core rev: a41ee35a709b7e5b66b18f91a062ae56eae5b562) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection:upgrade 1.60.1 -> 1.60.2Zang Ruochen2019-06-191-2/+2
| | | | | | | | | -Upgrade from gobject-introspection_1.60.1.bb to gobject-introspection_1.60.2.bb. (From OE-Core rev: 3b556cbdff6979239dad430bb5366133416315e3) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-doc.bbclass: unify option setting for meson-based recipesAlexander Kanavin2019-04-251-0/+2
| | | | | | | | | | This is done similarly to gobject-introspection work by Andreas Müller, and allows dropping duplicate clutter from the recipes. (From OE-Core rev: ff578f4451a0a199202e576b647840910b4d3f59) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.60.1Alexander Kanavin2019-04-1614-273/+91
| | | | | | | | | | | | | | | | | | | Drop upstreamed patches: 0010-meson-add-option-gir-dir-prefix.patch 0002-g-ir-tools-respect-gir_dir_prefix.patch 0001-configure.ac-make-GIR_DIR-configurable.patch Rebase the rest. Upstream has renamed the gir_dir_prefix option, adjust the recipe. Add a patch to disable tests in cross builds, as previously meson build system didn't actually build them. (From OE-Core rev: 98f4c3a64f8a2b03f57df4387d2ce1e3b3af4035) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: upgrade 1.58.2 -> 1.58.3Alexander Kanavin2019-01-182-3/+3
| | | | | | | (From OE-Core rev: 8e9783bdeeed42794d53df8554865c1750cb7204) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Fix python code quoting issuesRichard Purdie2019-01-161-1/+1
| | | | | | | | | | | python 3.8 will be stricter about python quoting. Fix up several misquoted expressions and fix Deprecation warnings like: Var <do_compile>:1: DeprecationWarning: invalid escape sequence \$ (From OE-Core rev: 3ba6cee84de89f8eb200e4c93d446f6cdeeaa4be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: upgrade 1.58.1 -> 1.58.2Alexander Kanavin2019-01-032-3/+3
| | | | | | | (From OE-Core rev: 544af1339ed3b76d80450fc78aebac009648b389) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: add a missing patch that was overlooked when adding ↵Alexander Kanavin2018-12-054-15/+82
| | | | | | | | | | | meson support This should also fix Rygel builds in meta-oe (From OE-Core rev: 8332fe551f018339b93841609625121145e97684) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.58.1Alexander Kanavin2018-11-233-8/+9
| | | | | | | | | | Also, change default meson option to building introspection files (previously they were not built by default). (From OE-Core rev: 44e5bbbbed500553d1ddf451eba02e826a91e4cc) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: port cross-compilation support to mesonAlexander Kanavin2018-11-203-11/+185
| | | | | | | | | | Also add a missing libdl dependency to the native relocation patch, which was not necessary with autotools. (From OE-Core rev: ff3f8d4fde8a1d07f5b5381546e740efa14fd483) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: fix multilib install file conflictsKai Kang2018-10-123-3/+152
| | | | | | | | | | | | | Fix multilib isntall file conflicts for gobject-introspection. * use multilib_script.bbclass to handle ${bindir}/g-ir-annotation-tool and ${bindir}/g-ir-scanner * add configure option to install .gir files to an alternative path and only set it when multilib is enabled (From OE-Core rev: efd91da5230ea27f5c554c3fe51d4c009b85705d) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: add required python modules to rdependsKai Kang2018-10-121-0/+2
| | | | | | | | | | It fails to run g-ir-scanner from package gobject-introspection that missing python modules 'xml' and 'pickle'. Add them to rdepends. (From OE-Core rev: fa1bad8d96f7f0b8bf5fd2b85ad10b783ff2d303) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.58.0Alexander Kanavin2018-09-109-77/+96
| | | | | | | | | | | | License-Update: clarification of what parts of g-i are licensed under which license. Actual terms are the same. Add a patch to deal with prelink-rtld returning 127 in some cases despite there being no error. (From OE-Core rev: 50b2187ed8b54317e953882034ba5648e0a4b764) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: minor recipe formatting tweaksAndre McCurdy2018-07-091-47/+50
| | | | | | | | | Re-order variables to align more closely to the OE style-guide. (From OE-Core rev: 5c9c61250bb23fd5fd1c18e243cab0d80573b749) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: avoid using += with an over-rideAndre McCurdy2018-07-091-1/+1
| | | | | | | | | | | | | | | Using += with an over-ride can be a source of confusion so try to avoid the construct in core recipes. The current usage functions correctly (it over-rides the default, ie empty, value of EXTRA_OECONF and then PACKAGECONFIG derived options are subsequently appended), however the += is unnecessary and can be dropped. (From OE-Core rev: e255d1aebd0e019f42c2110873ef4779bbbb5974) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: relocate typelib repository for native buildsSascha Silbe2018-06-182-0/+66
| | | | | | | | | | | | | | | gobject-introspection hard-codes the install path in the search path for the typelib repository, pretty much the same way glib behaves for the gio modules directory. Like for glib, this causes problems when gobject-introspection-native is restored from sstate with a different build directory. Based on the glib fix by Ross Burton <ross.burton@intel.com>. (From OE-Core rev: e4cee788056133ce0a49bc96e54399bdd7825aa3) Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.56.1Alexander Kanavin2018-05-082-6/+6
| | | | | | | (From OE-Core rev: 4374c8cf1984588b3fbdb8244095270131af8ea0) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.56.0Alexander Kanavin2018-05-042-14/+12
| | | | | | | | | | | License-Update: bug tracker link changed (From OE-Core rev: fbd485b2666cf0212064e2d8b55f44b84108e572) (From OE-Core rev: c6986821692bb6dd3036075973b1390765dbc993) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: do not hardcode the current version in the tarball pathAlexander Kanavin2018-05-041-1/+1
| | | | | | | (From OE-Core rev: b55b55f097fdd153df96c489f7e172fb618c92cd) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: refresh patchesRoss Burton2018-03-071-22/+19
| | | | | | | | | | | | | | | | | | | The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. (From OE-Core rev: 5a72d04296cc7aea5893cba29c6da1cf1469911b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: correct the --lib-dirs-envvar patchAlexander Kanavin2018-01-051-13/+13
| | | | | | | | | | | The first version introduced a new branch in if-else statement, and so discarded the actions in the branch taken previously. This seemed to have no adverse effect for now, but let's do it right. (From OE-Core rev: b7be3aa46f676066ad05cf8192800ae184095838) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: do not export LD_LIBRARY_PATH prior to running qemuAlexander Kanavin2018-01-042-1/+75
| | | | | | | | | | | | | | | | | Latest g-i upstream adds target paths to this variable which breaks qemu in various confusing ways. Instead, the list of target library paths is exported to GIR_EXTRA_LIBS_PATH, so that it can be picked up automatically by the qemu wrapper script and given to qemu (manually setting this variable from various recipes will be removed in a different patch). Also, re-enable parts of g-i on mips64, as it is the same issue. (From OE-Core rev: 58d31dddebbf7116e71bf45bd374a7a988f6016c) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.54.1Alexander Kanavin2017-12-181-3/+4
| | | | | | | (From OE-Core rev: a4ed9c687f882caa6abbd2005eca35849add0336) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: improve reproducibilityJuro Bystricky2017-11-081-0/+9
| | | | | | | | | | | | | | Remove cross-compiler wrappers from the package, these contain numerous build host references. The wrappers are only needed for cross-compiling. [YOCTO #11705] (From OE-Core rev: 6870c4d11adcb831247dc1e05794bfa6ac1374c0) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.52.1Alexander Kanavin2017-06-281-3/+3
| | | | | | | (From OE-Core rev: 91ee8dc0cfdd1ea96176723c2412b801f107b752) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Disable generating static lbrariesKhem Raj2017-06-231-0/+1
| | | | | | | | | | | So we do not accidentally end of using static libraries when doing PIE enabled builds (From OE-Core rev: 164e0d57e5df5bbaeb03c41f0b265ad5ad56ae2f) 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>
* gobject-introspection: Fix sysroot postinst scripting errorRichard Purdie2017-01-231-1/+1
| | | | | | | | | | Clearly the echo into ld.so.conf doesn't make sense and there was a cut and paste error when writing this code. As long as the directory existed, the builds worked so it created a race. Fix it as people hit build failures. (From OE-Core rev: b7b45faaf1246bef262a65d033aa1daa3219e318) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Switch to Recipe Specific SysrootsRichard Purdie2017-01-231-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is comparatively large and invasive. It does only do one thing, switching the system to build using recipe specific sysroots and where changes could be isolated from it, that has been done. With the current single sysroot approach, its possible for software to find things which aren't in their dependencies. This leads to a determinism problem and is a growing issue in several of the market segments where OE makes sense. The way to solve this problem for OE is to have seperate sysroots for each recipe and these will only contain the dependencies for that recipe. Its worth noting that this is not task specific sysroots and that OE's dependencies do vary enormously by task. This did result in some implementation challenges. There is nothing stopping the implementation of task specific sysroots at some later point based on this work but that as deemed a bridge too far right now. Implementation details: * Rather than installing the sysroot artefacts into a combined sysroots, they are now placed in TMPDIR/sysroot-components/PACKAGE_ARCH/PN. * WORKDIR/recipe-sysroot and WORKDIR/recipe-sysroot-native are built by hardlinking in files from the sysroot-component trees. These new directories are known as RECIPE_SYSROOT and RECIPE_SYSROOT_NATIVE. * This construction is primarily done by a new do_prepare_recipe_sysroot task which runs before do_configure and consists of a call to the extend_recipe_sysroot function. * Other tasks need things in the sysroot before/after this, e.g. do_patch needs quilt-native and do_package_write_deb needs dpkg-native. The code therefore inspects the dependencies for each task and adds extend_recipe_sysroot as a prefunc if it has populate_sysroot dependencies. * We have to do a search/replace 'fixme' operation on the files installed into the sysroot to change hardcoded paths into the correct ones. We create a fixmepath file in the component directory which lists the files which need this operation. * Some files have "postinstall" commands which need to run against them, e.g. gdk-pixbuf each time a new loader is added. These are handled by adding files in bindir with the name prefixed by "postinst-" and are run in each sysroot as its created if they're present. This did mean most sstate postinstalls have to be rewritten but there shouldn't be many of them. * Since a recipe can have multiple tasks and these tasks can run against each other at the same time we have to have a lock when we perform write operations against the sysroot. We also have to maintain manifests of what we install against a task checksum of the dependency. If the checksum changes, we remove its files and then add the new ones. * The autotools logic for filtering the view of m4 files is no longer needed (and was the model for the way extend_recipe_sysroot works). * For autotools, we used to build a combined m4 macros directory which had both the native and target m4 files. We can no longer do this so we use the target sysroot as the default and add the native sysroot as an extra backup include path. If we don't do this, we'd have to build target pkg-config before we could built anything using pkg-config for example (ditto gettext). Such dependencies would be painful so we haven't required that. * PKDDATA_DIR was moved out the sysroot and works as before using sstate to build a hybrid copy for each machine. The paths therefore changed, the behaviour did not. * The ccache class had to be reworked to function with rss. * The TCBOOTSTRAP sysroot for compiler bootstrap is no longer needed but the -initial data does have to be filtered out from the main recipe sysroots. Putting "-initial" in a normal recipe name therefore remains a bad idea. * The logic in insane needed tweaks to deal with the new path layout, as did the debug source file extraction code in package.bbclass. * The logic in sstate.bbclass had to be rewritten since it previously only performed search and replace on extracted sstate and we now need this to happen even if the compiled path was "correct". This in theory could cause a mild performance issue but since the sysroot data was the main data that needed this and we'd have to do it there regardless with rss, I've opted just to change the way the class for everything. The built output used to build the sstate output is now retained and installed rather than deleted. * The search and replace logic used in sstate objects also seemed weak/incorrect and didn't hold up against testing. This has been rewritten too. There are some assumptions made about paths, we save the 'proper' search and replace operations to fixmepath.cmd but then ignore this. What is here works but is a little hardcoded and an area for future improvement. * In order to work with eSDK we need a way to build something that looks like the old style sysroot. "bitbake build-sysroots" will construct such a sysroot based on everything in the components directory that matches the current MACHINE. It will allow transition of external tools and can built target or native variants or both. It also supports a clean task. I'd suggest not relying on this for anything other than transitional purposes though. To see XXX in that sysroot, you'd have to have built that in a previous bitbake invocation. * pseudo is run out of its components directory. This is fine as its statically linked. * The hacks for wayland to see allarch dependencies in the multilib case are no longer needed and can be dropped. * wic needed more extensive changes to work with rss and the fixes are in a separate commit series * Various oe-selftest tweaks were needed since tests did assume the location to binaries and the combined sysroot in several cases. * Most missing dependencies this work found have been sent out as separate patches as they were found but a few tweaks are still included here. * A late addition is that extend_recipe_sysroot became multilib aware and able to populate multilib sysroots. I had hoped not to have to add that complexity but the meta-environment recipe forced my hand. That implementation can probably be neater but this is on the list of things to cleanup later at this point. In summary, the impact people will likely see after this change: * Recipes may fail with missing dependencies, particularly native tools like gettext-native, glib-2.0-native and libxml2.0-native. Some hosts have these installed and will mask these errors * Any recipe/class using SSTATEPOSTINSTFUNCS will need that code rewriting into a postinst * There was a separate patch series dealing with roots postinst native dependency issues. Any postinst which expects native tools at rootfs time will need to mark that dependency with PACKAGE_WRITE_DEPS. There could well be other issues. This has been tested repeatedly against our autobuilders and oe-selftest and issues found have been fixed. We believe at least OE-Core is in good shape but that doesn't mean we've found all the issues. Also, the logging is a bit chatty at the moment. It does help if something goes wrong and goes to the task logfiles, not the console so I've intentionally left this like that for now. We can turn it down easily enough in due course. (From OE-Core rev: 809746f56df4b91af014bf6a3f28997d6698ac78) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: remove True option to getVar callsJoshua Lock2016-12-161-1/+1
| | | | | | | | | | | | | getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) (From OE-Core rev: 7c552996597faaee2fbee185b250c0ee30ea3b5f) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.50.0Alexander Kanavin2016-11-301-3/+3
| | | | | | | | (From OE-Core rev: 0934a6c51bb04042b24c8074836e860343d34507) 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>
* gobject-introspection: set GI_SCANNER_DISABLE_CACHE for nativeRobert Yang2016-09-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The native recipe should not write files to $HOME/.cache as target, this can avoid problems when multi builds are running on the same host like: | File "./g-ir-scanner", line 66, in <module> | sys.exit(scanner_main(sys.argv)) | File "../gobject-introspection-1.48.0/giscanner/scannermain.py", line 543, in scanner_main | transformer = create_transformer(namespace, options) | File "../gobject-introspection-1.48.0/giscanner/scannermain.py", line 389, in create_transformer | symbol_filter_cmd=options.symbol_filter_cmd) | File "../gobject-introspection-1.48.0/giscanner/transformer.py", line 54, in __init__ | self._cachestore = CacheStore() | File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 61, in __init__ | self._check_cache_version() | File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 89, in _check_cache_version | self._clean() | File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 141, in _clean | self._remove_filename(os.path.join(self._directory, filename)) | File "../gobject-introspection-1.48.0/giscanner/cachestore.py", line 123, in _remove_filename | os.unlink(filename) | FileNotFoundError: [Errno 2] No such file or directory: '/home/pokybuild/.cache/g-ir-scanner/0a47aa95823c95a0b5d1bd610b60d02f35785f26' | Makefile:3518: recipe for target 'GModule-2.0.gir' failed (From OE-Core rev: d3c48ff7d19e86b2338b1778f9563969bba3d336) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: odd versions are development snapshotsAlexander Kanavin2016-09-031-1/+1
| | | | | | | (From OE-Core rev: 5c2fcbc42dc85764863771ed62c7415aafb85916) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Ensure prelink config file exists to avoid build failuresRichard Purdie2016-08-181-0/+13
| | | | | | | | | | | | | | | gobject-introspection relies upon prelink-rtld. In order to function correctly, we generate an ld.so.conf file which is generated before users of prelink-rtld are called. There is currently a race in gobject-introspection since the configuration file may not have been created. This adds in code to ensure that regardless of codepath (new build, existing build, from sstate), we trigger the creation of the configuration file and avoid build failures. (From OE-Core rev: 10e0c1a3a452baa05d160a92a54b2e33cf0fd061) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pythonnative.bbclass, python3native.bbclass: export STAGING_INCDIR, ↵Alexander Kanavin2016-07-011-7/+0
| | | | | | | | | | | | | | | | | | | | | | | STAGING_LIBDIR, PYTHON variables We patch Python's distutils modules to access STAGING_INCDIR/LIBDIR, so when they are not set, scripts that utilize distutils (e.g. python-config) fail. Several recipes need to export those manually to prevent such failures, so let's do that in the class instead. PYTHON variable is exported because otherwise autotools' python.m4 macro will pick up its own internal default, which may not be the version that we want. glib recipe in particular was previously using Python 2.x during build due to python.m4 defaulting to it - now it's using Python 3.x, and so needs a small fix in deletion of *.pyc files. (From OE-Core rev: c1e0eb62f2d89b10b187016200018830b1c77945) 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>
* gobject-introspection: move to Python 3Alexander Kanavin2016-06-072-7/+10
| | | | | | | (From OE-Core rev: db702fb12f7b34928a52e522ad269ac43f1dcace) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: update to 1.48.0Alexander Kanavin2016-06-046-37/+84
| | | | | | | | | | | Add a patch that reverts an incomplete upstream attempt at cross-compile support; upstream has been notified: https://bugzilla.gnome.org/show_bug.cgi?id=696773 (From OE-Core rev: 7070c02c4878f479ae7002184c56b44bc408fb26) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-native, python3-native: remove the use of exported HOST_SYS and ↵Alexander Kanavin2016-06-011-2/+0
| | | | | | | | | | | | | | BUILD_SYS variables The code that utilized them was superseded by the code (in the same patch!) that is utilizing STAGING_LIBDIR/STAGING_INCDIR, and wasn't correct in the first place as HOST_SYS is not necessarily the same as the sysroot directory name. (From OE-Core rev: 8834e81a38c24a066bb4fefa93da61011d0db244) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: set SUMMARY and HOMEPAGEPaul Eggleton2016-05-301-1/+2
| | | | | | | | | | | We should at least have SUMMARY set for all recipes in OE-Core, and there's a reasonable HOMEPAGE in this case so use it. (From OE-Core rev: 719a38d28b5ea364727239c66571dec083bc33c6) 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>
* gobject-introspection: Use SYSROOT_DIRS to add dirs to stage in sysrootPeter Kjellerstedt2016-05-131-5/+4
| | | | | | (From OE-Core rev: e843e7d6cb01fe2f4f9d7c7a881e87ceaed2b794) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: Depend on native flex and bisonJussi Kukkonen2016-04-291-1/+1
| | | | | | | | (From OE-Core rev: 39bd2f895623a0daf1882ee0b73e7318c1f034fe) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gobject-introspection: fix floating dep on python-makoChristopher Larson2016-04-291-0/+2
| | | | | | | | | | | | | | This was resulting in non-deterministic builds where g-ir-doc-tool may or may not exist depending on whether python-mako was built previously. Add a PACKAGECONFIG so the dependency is explicit. (From OE-Core rev: 91b7857f3c90151fa78c0cc797f3544057992441) Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>