[oe] [meta-gnome] gnome-control-center: fix unshipped packages
Koen Kooi
koen at dominion.thruhere.net
Tue Nov 1 18:43:57 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 01-11-11 19:24, Andreas Müller schreef:
> On Tuesday, November 01, 2011 02:28:16 PM Koen Kooi wrote:
>> Op 01-11-11 14:30, Andreas Müller schreef:
>>> On Tuesday, November 01, 2011 12:59:22 PM Koen Kooi wrote:
>>>> Op 01-11-11 12:56, Andreas Müller schreef:
>>>>> warnings fixed: WARNING: For recipe gnome-control-center, the
>>>>> following files were installed but not shipped in any package:
>>>>> WARNING: /usr/share/mime/XMLnamespaces WARNING:
>>>>> /usr/share/mime/version WARNING: /usr/share/mime/subclasses
>>>>> WARNING: /usr/share/mime/globs2 WARNING: /usr/share/mime/globs
>>>>> WARNING: /usr/share/mime/types WARNING:
>>>>> /usr/share/mime/mime.cache WARNING: /usr/share/mime/icons
>>>>> WARNING: /usr/share/mime/generic-icons WARNING:
>>>>> /usr/share/mime/treemagic WARNING: /usr/share/mime/magic
>>>>> WARNING: /usr/share/mime/aliases
>>>>
>>>> THose aren't meant to be shipped, mime.bbclass should already
>>>> package the stuff it needs.
>>>
>>> How about adding a dummy package gnome-control-center-mime to clean
>>> up log and keep further enthusiastic patchers away?
>>
>> I'd suggest rm'ing them in do_install
>>
> Sorry for making noise for this 'cosmetic' issue but I would like get a
> better understanding on this.
The short version is that those are generated files of which only one copy
should exist. So if package them we get 2 problems:
1) clashes when installing packages
2) replacing properly generated mime files containing all the info with ones
only holding the info for a single package.
> mime.bbclass seems to pack all folders in /usr/share/mime, files will not
> be packed.
>
> I looked a bit around and added
>
> EXTRA_OECONF += "--disable-update-mimedb"
>
> in the recipe. With this no files are installed but there is also
> /usr/share/mime/application/missing/x-gnome-theme-package.xml missing.
> Could this be a solution ( even for mime.bbclass )?
It looks that way.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFOsD3tMkyGM64RGpERAiCXAJ9FnaDhA9cLhYuJeZQLCq5ix6hPfACfbqOL
QY1lHZXym7qv7vy+//cvyBc=
=u477
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list