summaryrefslogtreecommitdiff
path: root/meta/classes/mime.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* mime.bbclass: Fix bracket error.Samuel Stirtzel2012-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following error: ERROR: Error executing a python function in ...: AttributeError: 'str' object has no attribute 'append' ERROR: The stack trace of python calls that resulted in this exception/failure was: ERROR: File "populate_packages", line 193, in <module> ERROR: ERROR: File "populate_packages", line 189, in populate_packages ERROR: ERROR: The code that was being executed was: ERROR: 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: *** 0193:populate_packages(d) ERROR: 0194: ERROR: (file: 'populate_packages', lineno: 193, function: <module>) ERROR: 0185: postrm += d.getVar('mime_postrm', True) ERROR: 0186: d.setVar('pkg_postrm_%s' % pkg, postrm) ERROR: 0187: bb.note("adding shared-mime-info-data dependency to %s" % pkg) ERROR: 0188: rdepends = explode_deps(d.getVar('RDEPENDS_' + pkg, False) or d.getVar('RDEPENDS', False)) or "" ERROR: *** 0189: rdepends.append("shared-mime-info-data") ERROR: 0190: d.setVar('RDEPENDS_' + pkg, " " + " ".join(rdepends)) ERROR: 0191: ERROR: 0192: ERROR: 0193:populate_packages(d) Signed-off-by: Samuel Stirtzel <s.stirtzel@googlemail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONFAndreas Müller2011-11-211-0/+2
| | | | | | | | | | | | | * ensure update-mime-database is not called during build time * this patch was included in meta-oe [1] about the same time when mime.bbclass was migrated from meta-oe -> oe-core so it seems it got lost. * tests: build from scratch / run on overo / additional check: no unpacked files for gnome-control-center [1] http://cgit.openembedded.org/meta-openembedded/commit/meta-oe/classes?id=6b765989a42ab314d1611f4dec78b07b562a9e7d Signed-off-by: Andreas Müller <schnitzeltony@gmx.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mime.bbclass: fix typoConnor Abbott2011-11-151-1/+1
| | | | | | | | Before this patch, nautilus would fail with: ERROR: Error executing a python function in /home/connor/angstrom/sources/meta-openembedded/meta-gnome/recipes-gnome/nautilus/nautilus_2.32.2.bb: NameError: global name 'dgetVar' is not defined Signed-off-by: Connor Abbott <cwabbott0@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mime.bbclass: No need to import os.path, it then breaks the os moduleRichard Purdie2011-11-101-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* classes/[gnome|gnomebase|mime]: enhance gnome related classesJoshua Lock2011-11-091-0/+58
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>