<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/mime.bbclass, branch pyro</title>
<subtitle>Mirror of openembedded-core</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/'/>
<entry>
<title>mime.bbclass: Add PACKAGE_WRITE_DEPS for postinst</title>
<updated>2017-01-19T22:51:09+00:00</updated>
<author>
<name>Jussi Kukkonen</name>
<email>jussi.kukkonen@intel.com</email>
</author>
<published>2017-01-19T08:53:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=57d63e8e89980c53f40e12ca670fc3f58f7e4c0f'/>
<id>57d63e8e89980c53f40e12ca670fc3f58f7e4c0f</id>
<content type='text'>
update-mime-database is used in postinstall.

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
update-mime-database is used in postinstall.

Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>meta: remove True option to getVar calls</title>
<updated>2016-12-16T08:30:03+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>joshua.g.lock@intel.com</email>
</author>
<published>2016-12-14T21:13:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=7c552996597faaee2fbee185b250c0ee30ea3b5f'/>
<id>7c552996597faaee2fbee185b250c0ee30ea3b5f</id>
<content type='text'>
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\)

Signed-off-by: Joshua Lock &lt;joshua.g.lock@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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\)

Signed-off-by: Joshua Lock &lt;joshua.g.lock@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mime.bbclass: remove the --disable-update-mimedb</title>
<updated>2014-01-06T11:12:30+00:00</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2014-01-01T03:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=da2156ee0f1ddab499d9ca2968b82b411ea84a95'/>
<id>da2156ee0f1ddab499d9ca2968b82b411ea84a95</id>
<content type='text'>
Gnome and other freedesktop's mime data has been moved to
shared-mime-info, and there is no such an option any more, we already
have this recipe, so remove it, this will fix the warning:

configure was passed unrecognised options: --disable-update-mimedb

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gnome and other freedesktop's mime data has been moved to
shared-mime-info, and there is no such an option any more, we already
have this recipe, so remove it, this will fix the warning:

configure was passed unrecognised options: --disable-update-mimedb

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>classes: Drop none package specific packaging variable accesses</title>
<updated>2013-02-17T09:06:48+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2013-02-03T22:10:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=24cbe88429ba021d7c461e0271b67106d11d5eb2'/>
<id>24cbe88429ba021d7c461e0271b67106d11d5eb2</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert tab indentation in python functions into four-space</title>
<updated>2012-07-19T09:17:30+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2012-07-11T17:33:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=604d46c686d06d62d5a07b9c7f4fa170f99307d8'/>
<id>604d46c686d06d62d5a07b9c7f4fa170f99307d8</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mime.bbclass: Fix bracket error.</title>
<updated>2012-03-08T19:50:33+00:00</updated>
<author>
<name>Samuel Stirtzel</name>
<email>s.stirtzel@googlemail.com</email>
</author>
<published>2012-03-06T17:03:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=043abe4e88abb6754909b93129ea162a577aa828'/>
<id>043abe4e88abb6754909b93129ea162a577aa828</id>
<content type='text'>
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 &lt;module&gt;
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: &lt;module&gt;)
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 &lt;s.stirtzel@googlemail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;module&gt;
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: &lt;module&gt;)
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 &lt;s.stirtzel@googlemail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mime.bbclass: Add --disable-update-mimedb to EXTRA_OECONF</title>
<updated>2011-11-21T16:48:24+00:00</updated>
<author>
<name>Andreas Müller</name>
<email>schnitzeltony@gmx.de</email>
</author>
<published>2011-11-20T21:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=0429558d538eddd4689efe67ee778d30147d959d'/>
<id>0429558d538eddd4689efe67ee778d30147d959d</id>
<content type='text'>
* 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 -&gt; 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 &lt;schnitzeltony@gmx.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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 -&gt; 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 &lt;schnitzeltony@gmx.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mime.bbclass: fix typo</title>
<updated>2011-11-15T12:05:14+00:00</updated>
<author>
<name>Connor Abbott</name>
<email>cwabbott0@gmail.com</email>
</author>
<published>2011-11-15T04:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=e7090743df6b38e9ce73743b5bbdd8ab6e9cada4'/>
<id>e7090743df6b38e9ce73743b5bbdd8ab6e9cada4</id>
<content type='text'>
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 &lt;cwabbott0@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;cwabbott0@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mime.bbclass: No need to import os.path, it then breaks the os module</title>
<updated>2011-11-10T11:35:30+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-11-09T17:29:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=b4457a9605988feecadfd49df22ef57245c4cd86'/>
<id>b4457a9605988feecadfd49df22ef57245c4cd86</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>classes/[gnome|gnomebase|mime]: enhance gnome related classes</title>
<updated>2011-11-09T14:58:14+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2011-11-02T00:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/openembedded-core.git/commit/?id=6ead00eba265211eae5a2423c155403c8c6d54d0'/>
<id>6ead00eba265211eae5a2423c155403c8c6d54d0</id>
<content type='text'>
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 &lt;koen@dominion.thruhere.net&gt;
CC: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;koen@dominion.thruhere.net&gt;
CC: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
