All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11] Make MIME work on desktops
@ 2020-01-09 20:26 Andreas Müller
  2020-01-09 20:26 ` [PATCH 01/11] itstool: add from meta-oe Andreas Müller
                   ` (12 more replies)
  0 siblings, 13 replies; 24+ messages in thread
From: Andreas Müller @ 2020-01-09 20:26 UTC (permalink / raw)
  To: openembedded-core

On fresh images file-browsers do not know how to open files and usually open a
dialog with ALL applications available on the machine. This is not what users
are used to when working with linux: For just one application installed per
Mime-Type, the application is opened automatically.

To get a working MIME on desktop it needs two 'databases' on target:

1. Mime-Types: This is handled by mime.bbclass and creates database in
   /usr/share/mime/mime.cache.
2. Mime associations: A simple text-list of pairs Mime-Type <-> application
   in /usr/share/applications/mimeinfo.cache
   
This patch series updates/implements/enhances both parts to get images work as
expected.

@Khem: This series creates many QA warnings for layers in meta-openembedded and
a patch series fixing many was prepared [1]. Once this series get's applied (or
you ask for it) I can send them out.

[1] https://github.com/schnitzeltony/meta-openembedded/tree/work-2020-01

Andreas Müller (11):
  itstool: add from meta-oe
  itstool: extend to nativesdk
  shared-mime-info: upgrade 1.10 -> 1.15
  bitbake.conf: add variables 'mimedir' and 'desktopdir'
  mime.bbclass: rework
  insane.bbclass: introduce a warning for mime missing in inherit
  shared-mime-info: add mime to inherit
  gcr: add mime to inherit
  mime-xdg.bbclass: initial add
  insane.bbclass: Spawn warning for missing mime-xdg in inherit
  gcr: add mime-xdg to inherit

 meta/classes/insane.bbclass                   | 30 +++++++++
 meta/classes/mime-xdg.bbclass                 | 62 +++++++++++++++++++
 meta/classes/mime.bbclass                     | 60 +++++++++---------
 meta/conf/bitbake.conf                        |  4 +-
 meta/recipes-gnome/gcr/gcr_3.34.0.bb          |  2 +-
 ...-build-time-hardcoded-python-binary-.patch | 35 +++++++++++
 ...ld-time-hardcoded-python-binary-path.patch | 29 +++++++++
 meta/recipes-support/itstool/itstool_2.0.6.bb | 21 +++++++
 .../shared-mime-info/install-data-hook.patch  | 25 --------
 .../shared-mime-info/parallelmake.patch       | 33 ----------
 .../shared-mime-info/shared-mime-info_1.10.bb |  7 ---
 ...mime-info.inc => shared-mime-info_1.15.bb} |  8 ++-
 .../update_desktop_database                   |  8 +++
 .../postinst-intercepts/update_mime_database  |  9 +++
 14 files changed, 234 insertions(+), 99 deletions(-)
 create mode 100644 meta/classes/mime-xdg.bbclass
 create mode 100644 meta/recipes-support/itstool/itstool/0001-Native-Don-t-use-build-time-hardcoded-python-binary-.patch
 create mode 100644 meta/recipes-support/itstool/itstool/0002-Don-t-use-build-time-hardcoded-python-binary-path.patch
 create mode 100644 meta/recipes-support/itstool/itstool_2.0.6.bb
 delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info/install-data-hook.patch
 delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info/parallelmake.patch
 delete mode 100644 meta/recipes-support/shared-mime-info/shared-mime-info_1.10.bb
 rename meta/recipes-support/shared-mime-info/{shared-mime-info.inc => shared-mime-info_1.15.bb} (69%)
 create mode 100644 scripts/postinst-intercepts/update_desktop_database
 create mode 100644 scripts/postinst-intercepts/update_mime_database

-- 
2.21.0



^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2020-01-11 10:26 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-09 20:26 [PATCH 00/11] Make MIME work on desktops Andreas Müller
2020-01-09 20:26 ` [PATCH 01/11] itstool: add from meta-oe Andreas Müller
2020-01-09 20:35   ` Alexander Kanavin
2020-01-09 20:44     ` Andreas Müller
2020-01-09 21:35       ` Alexander Kanavin
2020-01-09 20:26 ` [PATCH 02/11] itstool: extend to nativesdk Andreas Müller
2020-01-09 20:26 ` [PATCH 03/11] shared-mime-info: upgrade 1.10 -> 1.15 Andreas Müller
2020-01-09 20:34   ` Alexander Kanavin
2020-01-09 20:43     ` Andreas Müller
2020-01-09 20:26 ` [PATCH 04/11] bitbake.conf: add variables 'mimedir' and 'desktopdir' Andreas Müller
2020-01-09 22:15   ` Richard Purdie
2020-01-09 22:21     ` Andreas Müller
2020-01-09 22:27       ` Richard Purdie
2020-01-09 22:59         ` Andreas Müller
2020-01-09 20:26 ` [PATCH 05/11] mime.bbclass: rework Andreas Müller
2020-01-09 20:26 ` [PATCH 06/11] insane.bbclass: introduce a warning for mime missing in inherit Andreas Müller
2020-01-10 15:07   ` Peter Kjellerstedt
2020-01-09 20:26 ` [PATCH 07/11] shared-mime-info: add mime to inherit Andreas Müller
2020-01-09 20:26 ` [PATCH 08/11] gcr: " Andreas Müller
2020-01-09 20:26 ` [PATCH 09/11] mime-xdg.bbclass: initial add Andreas Müller
2020-01-09 20:26 ` [PATCH 10/11] insane.bbclass: Spawn warning for missing mime-xdg in inherit Andreas Müller
2020-01-09 20:26 ` [PATCH 11/11] gcr: add mime-xdg to inherit Andreas Müller
2020-01-09 20:32 ` ✗ patchtest: failure for Make MIME work on desktops Patchwork
2020-01-11 10:26 ` [PATCH 00/11] " Andreas Müller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.