summaryrefslogtreecommitdiffstats
path: root/meta/classes/gnomebase.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* classes: Update classes to match new bitbake class scope functionalityRichard Purdie2022-08-121-37/+0
| | | | | | | | | 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>
* classes: Add SPDX license identifiersRichard Purdie2022-08-121-0/+2
| | | | | | | | | | | | 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>
* classes: Add copyright statements to files without oneRichard Purdie2022-08-121-0/+4
| | | | | | | | | 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>
* Convert to new override syntaxRichard Purdie2021-08-021-3/+3
| | | | | | | | | | | | 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>
* gnomebase: trim the SRC_URI directory from the backAlexander Kanavin2021-05-251-1/+2
| | | | | | | | | | Rather than take the first two components, drop the last one at the end. This makes it compatible with both old and new gnome version schemes. (From OE-Core rev: fa8950d0cf6174ce517275fe44df9e4c0788d5f0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: allow a meson-specific versionAlexander Kanavin2018-01-051-1/+2
| | | | | | | | | | | gnomebase.bbclass hardcodes the autotools inherit, so make it configurable and allow meson to be specified instead. (From OE-Core rev: 32c2faf394ba7bf75a7273fb9f5e58cc4ee3f3ad) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> [RP: patches tweaked to only need the one class] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: add datadir/icons and datadir/appdata to standard FILES listAlexander Kanavin2017-06-281-0/+2
| | | | | | | | | Gnome apps seem to increasingly package those, so let's make it common. (From OE-Core rev: fc318fb191b68232cc400db2d5eb543d296ee884) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase: remove gnome-common-native DEPENDSRoss Burton2016-11-301-3/+0
| | | | | | | | | | | gnome-common is deprecated upstream and an increasingly smaller fraction of GNOME packages still use it. To avoid adding it redundantly to DEPENDS, remove it from the class. (From OE-Core rev: 1d18c2b7bfaed77b30e02d14ae581d920e4eb446) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: do not disable gobject introspectionAlexander Kanavin2016-03-121-3/+0
| | | | | | | (From OE-Core rev: 37b2c27b18115b5a7b0e7d46da246852d2f045ee) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/gnomebase: change tarball compression to xzAlexander Kanavin2015-08-241-1/+1
| | | | | | | | | | | Upstream, xz has been the only format for some time now, so let's make it the default and adjust recipes that package old stuff. (From OE-Core rev: 0f9ea90dde8f63aace19531e066580e41bf3d7cc) 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>
* gnome: move introspection options to gnomebaseRoss Burton2015-08-241-0/+3
| | | | | | | | | | The gnome class is really a convenience class to include other classes, so move the introspection arguments into gnomebase.bbclass. (From OE-Core rev: ad7073194546c16a5612924eb59152b35de6f340) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase: fix indentationRoss Burton2014-09-291-7/+7
| | | | | | | (From OE-Core rev: 103ded50380916d210e293913eebb173f014063e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase: remove trailing whitespaceRoss Burton2014-03-121-1/+1
| | | | | | | | | | It seems that the bitbake parser is incredibly forgiving of trailing whitespace in multi-line variables, but delete it to be sure. (From OE-Core rev: 0c404fa1a0372c56f700eb93900abd83175199ef) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: add support for archive name different from BPNMarko Lindqvist2013-06-111-1/+2
| | | | | | | | | | | Use new variable GNOMEBN, defaulting to value of BPN, instead of BPN directly when determining URL for source archive. (From OE-Core rev: fe297a70c7d6b36a6595534589c71d32209d6a53) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase.bbclass: implement gnome_verdir() using trim_version()Marko Lindqvist2013-06-111-3/+1
| | | | | | | | (From OE-Core rev: 2341c0b801b62d0249567806a70d9a38f4dfe17f) Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase: depend on gnome-common-nativeRoss Burton2012-11-021-1/+1
| | | | | | | | | | | | | | | gnome-common is a build-only dependency so we should depend on the native variant. This also resolves an (incorrect) GPLv3 license issue in gnome-common at build-time. This will also remove the pointless gnome-common-dev RRECOMMENDS in any -dev package that uses gnomebase. (From OE-Core rev: 6a4f394bc1280f5d58d928a2f7cff7cce4eb3b2b) 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>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-3/+3
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnomebase: add GNOME_COMPRESS_TYPE variableSaul Wold2012-06-121-1/+2
| | | | | | | | | | | | | Upstream Gnome projects are starting to migrate to the .xz compress format, so we need to add this to allow recipes to override the default of .bz2 as the upstreams make the transition. [YOCTO #2241] (From OE-Core rev: 0eddc176e73e74d4b1a7d3163d65f619fcd4baf0) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/[gnome|gnomebase|mime]: enhance gnome related classesJoshua Lock2011-11-101-0/+30
This patch pulls in the gnome related classes from oe-core which adds extra packaging rules and functionality whilst modularising things so that one can get a subset of gnome functionality without adding a lot of extra dependencies. These aren't an exact copy of the classes from meta-openembedded, notable differences are: * gnome.bbclass - I dropped the BBCLASSEXTEND * mime.bbclass: - updated coding style - use which to find update-mime-database program rather than hard coded - fix typo in populate_packges_append such that it's actually called CC: Koen Kooi <koen@dominion.thruhere.net> CC: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 6ead00eba265211eae5a2423c155403c8c6d54d0) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>