Mailinglist Archive: opensuse-packaging (66 mails)

< Previous Next >
Re: [opensuse-packaging] What's happened with shared-mime-info?
  • From: Stefan Brüns <stefan.bruens@xxxxxxxxxxxxxx>
  • Date: Mon, 18 May 2020 17:23:46 +0200
  • Message-id: <8167814.V2C3sDv5cE@bacchus>
On Monday, 18 May 2020 16:21:03 CEST Dave Plater wrote:
On 18/05/2020 15:50, Patrick Shanahan wrote:
* Dave Plater <dplater.list@xxxxxxxxx> [05-18-20 09:35]:
On 5/18/20, Patrick Shanahan <paka@xxxxxxxxxxxx> wrote:
* Dave Plater <dplater.list@xxxxxxxxx> [05-18-20 04:02]:
Hi, package openSUSE:Factory/buzztrax started to fail to build around
9 May due to a shared-mime-info directory no longer existing, in fact
none of the files under /usr/share/mime/application exist anymore and
the directories under /usr/share/mime/ such as audio don't exist
anymore. I searched the changes file and the packages NEWS file but
can't find any information about this change, is this possibly as a
result of the switch to meson build?

07:58 crash:~ > l /usr/share/mime/audio/* |wc -l
07:58 crash:~ > l /usr/share/mime/application/* |wc -l
openSUSE Tumbleweed 20200516

or perhaps I don't understand

Try rpm -q --whatprovides /usr/share/mime/audio it was
shared-mime-info at the beginning of the month.


09:49 crash:~ > rpm -q --whatprovides /usr/share/mime/accessories
error: file /usr/share/mime/accessories: No such file or directory
09:49 crash:~ > rpm -q --whatprovides /usr/share/mime/application

This is rpm -ql shared-mime-info

Trying to install anything in /usr/share/mime/*, with the sole exception of /
usr/share/mime/packages/*.xml, is a packaging bug.

Any other file below /usr/share/mime/ is a cache, created/updated by the
update-mime-database file trigger.

Claiming ownership of a file below e.g. /usr/share/mime/audio/ is wrong, as
the mime type may be registered from several packages.
Each application provides only a single XML source file, which is installed in
the packages directory as described above.



Stefan Brüns / Bergstraße 21 / 52062 Aachen
phone: +49 241 53809034 mobile: +49 151 50412019
< Previous Next >
Follow Ups