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@gmail.com> [05-18-20 09:35]:
On 5/18/20, Patrick Shanahan <paka@opensuse.org> wrote:
* Dave Plater <dplater.list@gmail.com> [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 58 07:58 crash:~ > l /usr/share/mime/application/* |wc -l 559 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.
yes,
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 shared-mime-info-2.0-2.1.x86_64
This is rpm -ql shared-mime-info /usr/bin/update-mime-database /usr/lib/rpm/macros.d/macros.shared-mime-info /usr/share/doc/packages/shared-mime-info /usr/share/doc/packages/shared-mime-info/NEWS /usr/share/doc/packages/shared-mime-info/README.md /usr/share/gettext/its/shared-mime-info.its /usr/share/gettext/its/shared-mime-info.loc /usr/share/licenses/shared-mime-info /usr/share/licenses/shared-mime-info/COPYING /usr/share/man/man1/update-mime-database.1.gz /usr/share/mime/application /usr/share/mime/packages/freedesktop.org.xml /usr/share/pkgconfig/shared-mime-info.pc
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. https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-inf... --- Each application provides only a single XML source file, which is installed in the packages directory as described above. --- Regards, Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019