Saturday 22 October 2011 On Mon, 2 May 2011 12:24:57 +0200 Vincent Untz wrote:
a) Package installs a .desktop file in /usr/share/applications
Macros: %desktop_database_post/%desktop_database_postun
What it does: calls update-desktop-database to update a cache mapping MIME types to apps handling them. This is needed to make the desktops aware that an app can handle a MIME type.
Building a package in Factory I see warnings: (update-desktop-database:3634): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Failed to create file '/usr/local/share/applications/gnome-defaults.list.ADL53V': No such file or directory (update-desktop-database:3634): GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory. This indicates a bug in someone's code. You must ensure an error is NULL before it's set. The overwriting error message was: Failed to create file '/usr/local/share/applications/kde-defaults.list.JIL53V': No such file or directory What is wrong? -- WBR Kyrill -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org