Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303423 - x11-misc/shared-mime-info does not provide defaults.list
Summary: x11-misc/shared-mime-info does not provide defaults.list
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-04 07:00 UTC by Bignaux Ronan
Modified: 2024-03-07 17:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the /usr/share/applications/defaults.list from shared-mime-info fedora rpm (defaults.list,4.59 KB, text/plain)
2010-02-04 19:19 UTC, Bignaux Ronan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bignaux Ronan 2010-02-04 07:00:55 UTC
Unlike other distribution, shared-mime-info on gentoo doesnt' provide a /usr/share/applications/defaults.list so xdg-mime could not work. I donno yet how to deal with that.

$ export XDG_UTILS_DEBUG_LEVEL=4
$ xdg-mime query default text/mathml
Checking /home/genesis/.local/share//applications/defaults.list
Checking /usr/local/share/applications/defaults.list
Checking /usr/share/applications/defaults.list
Checking /usr/share/gdm/applications/defaults.list

no one of this file are created. Provide a defaults.list or generated it at installation time will make xdg working.

http://bugs.gentoo.org/show_bug.cgi?id=289374 patch doesn't solve the problem since it's not the xdg-utils that should provide the file.But it can be considered as a related bug. I wonder what do the freedesktop team here think about that.

Reproducible: Always
Comment 1 Bignaux Ronan 2010-02-04 19:19:41 UTC
Created attachment 218429 [details]
the /usr/share/applications/defaults.list from shared-mime-info fedora rpm

add this solve the "bug"
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-02-09 08:48:47 UTC
And how do you suggest we deal with different desktops ? shared-mime-info is a freedesktop project and should not assume a default that is specific to one desktop or another, it wouldn't be fair.
Comment 3 Bignaux Ronan 2010-02-09 09:19:49 UTC
Perharps we can rename this defaults.list to gnome-defaults.list and write a EWARN message to inform administrator to link/rename it to /usr/share/applications/defaults.list or in the right XDG place of its users. Ideas are welcome !
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-04-23 12:19:09 UTC
no