summaryrefslogtreecommitdiffstats
path: root/meta/classes/gtk-doc.bbclass
AgeCommit message (Collapse)Author
2022-08-12classes: Update classes to match new bitbake class scope functionalityRichard Purdie
Move classes to classes-global or classes-recipe as appropriate to take advantage of new bitbake functionality to check class scope/usage. (From OE-Core rev: f5c128008365e141082c129417eb72d2751e8045) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12classes: Add SPDX license identifiersRichard Purdie
As stated in our top level license files, the license is MIT unless otherwise stated. Add SPDX identifers accordingly. Replace older license statementa with the standardised syntax. Also drop "All Rights Reserved" expression as it isn't used now, doesn't mean anything and is confusing. (From OE-Core rev: 081a391fe09a21265881e39a2a496e4e10b4f80b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-08-12classes: Add copyright statements to files without oneRichard Purdie
Where there isn't a copyright statement, add one to make it explicit. Also drop editor config lines where they were present. (From OE-Core rev: 880c1ea3edc8edef974e65b2d424fc36809ea034) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-07gtk-doc/meson: Fix typosRichard Purdie
Fix a couple of function name typos copy and pasted between the classes. (From OE-Core rev: f99b98341cfb849680461cfa2992f854eebad5df) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-02Convert to new override syntaxRichard Purdie
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>
2021-01-29gtk-doc: Disable dependencies in native caseRichard Purdie
Ensure that dependencies like qemu-native aren't added in the native case since we don't want docs generate for native recipes. (From OE-Core rev: c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-04-25gtk-doc.bbclass: unify option setting for meson-based recipesAlexander Kanavin
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>
2019-02-25gtk-doc.bbclass: unset LD_LIBRARY_PATHAlexander Kanavin
meson has been found to set it erroneously. (From OE-Core rev: 920824125eb87928a329a072fa6c5a839efc932b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-01-16meta: Fix python code quoting issuesRichard Purdie
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>
2018-03-15gtk-doc: use --srcdir instead of cdRoss Burton
(From OE-Core rev: 1bf1cf24f520960d3d10b0b71d665107953dba54) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-15gtk-doc: always inherit python3nativeRoss Burton
My attempt at only inheriting python3native if it was needed was broken and didn't work, so back it out and always inherit. (From OE-Core rev: eb08ce66cf7ca6dbdb51fb9b9725267606fba6b9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-07gtk-doc: inherit classes only if gtk-doc is enabledRoss Burton
Respect GTKDOC_ENABLED when inheriting python3native and DEPENDing on qemu-native, as they're not needed when disabled. python3native is required as otherwise the host Python is most likely used which may or may not have python3-six installed (a requirement of gtk-doc). (From OE-Core rev: b93386b22e1dc78b2917652dac4ad02745a99989) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-11-09gtk-doc.bbclass: correctly make the list of directories with shared librariesAlexander Kanavin
Previously it was working only if only one shared library was found, and broke when there were several. (From OE-Core rev: a4da3957f4577f9826c73e1d23bcffe9ee96a7d4) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-09-11gtk-doc.bbclass: add all directories where .so files are found to library ↵Alexander Kanavin
search path This should reduce the need to manually specify the path in recipes. (From OE-Core rev: 40e8a15d7f0a39788164c3ed4fcdb6969af499b5) 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>
2017-03-27classes: Replace "if test" file tests with POSIX file testsuninative-1.6Robert P. J. Day
In entire meta/classes/ directory, replace shell tests of the form "if test -? ..." with POSIX tests of the form "if [ -? ... (From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-14classes/gtk-doc: lazy assign GTKDOC_ENABLEDRoss Burton
By letting a recipe assign GTKDOC_ENABLED trivially there is a simple and clear way to disable gtk-doc for specific build configurations. (From OE-Core rev: 201e069625e3623ff71864f969664c6d5d3b1801) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-09gtk-doc: only depend on native gtk-doc for documentation generationRoss Burton
Now that gtk-doc-native works correctly, the gtk-doc class doesn't need to depend on target gtk-doc. (From OE-Core rev: 8dc4a45cc06fda29618f9f2379ed743dc0c536e3) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-09gtk-doc.bbclass: enable building gtk-doc based documentationAlexander Kanavin
This is done similarly to gobject-introspection, but with much less delicate hacking around the upstream way of working. (From OE-Core rev: 1b5b429f63c323fcd46b7419a531689717a73b91) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-25gtk-doc: Add pkgconfig inheritRichard Purdie
Anything using gtk-doc will be using pkgconfig as well so add in the dependency rather than doing it for each and every recipe. (From OE-Core rev: 7ee05554c55607d9aa02f9a93762e2024bcd4bb0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-10gtkdoc: set the default docdir to ${S}, not ${B}Ross Burton
Previously these directories were the same location, but with seperatebuilddir.inc they are not and putting the file into ${B} means it goes to the wrong place for autoreconf. (From OE-Core rev: 6f06c6b220c05b6aca9d2d21f528d4e1b5e417d0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-05gtk-doc: Fix B verses S issuesRichard Purdie
Fic the class to handle recipes which set B to somewhere other than S. (From OE-Core rev: 9d88baea4f3668612c76201c306ec6efe72c281e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-21gtk-doc: parameterise the documentation directoryRoss Burton
Not every package puts the gtk-doc infrastructure into ${S}, so allow this to be overridden. (From OE-Core rev: 40353c9ef83f986a0d49cc6eb654b3ace6ef4dc4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18gtk-doc.bbclass: Run gtkdocize in ${S} not ${B}Phil Blundell
Otherwise it will fail if these two directories are not the same. (From OE-Core rev: 491823fdc65d124093f1fed5a56173917443e1d6) Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-28gtk-doc.bbclass: unbreak dependency-chain for native recipesAndreas Müller
see [1] & [2] for discussion of this patch [1] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026606.html [2] http://lists.linuxtogo.org/pipermail/openembedded-core/2012-July/026611.html (From OE-Core rev: f9ae930552bc5f1d59f207d4cd0e2b1b4f811dbc) Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22gtk-doc: Ensure we run gtkdocize else we could see build failures (e.g. ↵Richard Purdie
evolution-data-server) This is a fix to Ross' series, we need to run gtkdocize in case anything was built from source control and the appropriate files are missing. (From OE-Core rev: aaf762bf20635a92d16e7aad6c154891d9d689c4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22change gtk-doc.bbclass to pull in depends and oeconfRoss Burton
(From OE-Core rev: 28dacc5a83ccf74f8f4895adb471af703d02259a) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2008-05-15classes: Add gtk-doc.bbclassRichard Purdie
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4479 311d38ba-8fff-0310-9ca6-ca027cbcb966