summaryrefslogtreecommitdiffstats
path: root/meta/classes/gnomebase.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. 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. 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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-07-30Convert 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 "_". Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-25gnomebase: trim the SRC_URI directory from the backAlexander Kanavin
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. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-05gnomebase.bbclass: allow a meson-specific versionAlexander Kanavin
gnomebase.bbclass hardcodes the autotools inherit, so make it configurable and allow meson to be specified instead. 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>
2017-06-28gnomebase.bbclass: add datadir/icons and datadir/appdata to standard FILES listAlexander Kanavin
Gnome apps seem to increasingly package those, so let's make it common. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
2016-11-30gnomebase: remove gnome-common-native DEPENDSRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-03-12gnomebase.bbclass: do not disable gobject introspectionAlexander Kanavin
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-24classes/gnomebase: change tarball compression to xzAlexander Kanavin
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. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-24gnome: move introspection options to gnomebaseRoss Burton
The gnome class is really a convenience class to include other classes, so move the introspection arguments into gnomebase.bbclass. Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-09-29gnomebase: fix indentationRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2014-03-12gnomebase: remove trailing whitespaceRoss Burton
It seems that the bitbake parser is incredibly forgiving of trailing whitespace in multi-line variables, but delete it to be sure. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-10gnomebase.bbclass: add support for archive name different from BPNMarko Lindqvist
Use new variable GNOMEBN, defaulting to value of BPN, instead of BPN directly when determining URL for source archive. Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-10gnomebase.bbclass: implement gnome_verdir() using trim_version()Marko Lindqvist
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-02gnomebase: depend on gnome-common-nativeRoss Burton
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. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-12gnomebase: add GNOME_COMPRESS_TYPE variableSaul Wold
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] Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09classes/[gnome|gnomebase|mime]: enhance gnome related classesJoshua Lock
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> Signed-off-by: Joshua Lock <josh@linux.intel.com>