Summary: | www-client/opera should RDEPEND on x11-misc/xdg-utils | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dave Kemper <saint.snit> |
Component: | Current packages | Assignee: | Jeroen Roovers (RETIRED) <jer> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | freedesktop-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dave Kemper
2013-05-09 07:37:41 UTC
Please post your `emerge -vpq www-client/opera' output in a comment. # emerge --color n -vpq www-client/opera [ebuild R ] www-client/opera-12.15_p1748 USE="gstreamer -gtk -kde (-multilib)" LINGUAS="-af -ar -az -be -bg -bn -cs -da -de -el -en_GB -es_ES -es_LA -et -fa -fi -fr -fr_CA -fy -gd -he -hi -hr -hu -id -it -ja -ka -kk -ko -lt -lv -me -mk -ms -nb -nl -nn -pa -pl -pt -pt_BR -ro -ru -sk -sr -sv -sw -ta -te -th -tl -tr -uk -ur -uz -vi -zh_CN -zh_TW -zu" * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. # (In reply to comment #0) > I hit a bug in opera causing it to crash. This brought up an "Opera Needs > to Restart" window, and one of the buttons on this window is "View Report". > However, pressing this button only generated the error message: > > [opera] 'xdg-open' No such file or directory > > in the console from which opera was started. Seeing this, I emerged the > x11-misc/xdg-utils package, and then tried the "View Report" button again. > This time I got a different error: > > WARNING: You don't seem to have any mimeinfo.cache files. > Try running the update-desktop-database command. If you This is normally run through fdo-mime.eclass. I have added x11-misc/xdg-utils to RDEPEND, but I doubt if I should do the same in DEPEND, since not everyone might be using this. Let's ask! (In reply to comment #3) > (In reply to comment #0) > > I hit a bug in opera causing it to crash. This brought up an "Opera Needs > > to Restart" window, and one of the buttons on this window is "View Report". > > However, pressing this button only generated the error message: > > > > [opera] 'xdg-open' No such file or directory > > > > in the console from which opera was started. Seeing this, I emerged the > > x11-misc/xdg-utils package, and then tried the "View Report" button again. > > This time I got a different error: > > > > WARNING: You don't seem to have any mimeinfo.cache files. > > Try running the update-desktop-database command. If you > > This is normally run through fdo-mime.eclass. I have added > x11-misc/xdg-utils to RDEPEND, but I doubt if I should do the same in > DEPEND, since not everyone might be using this. Let's ask! /usr/share/applications/mimeinfo.cache gets created by fdo-mime_desktop_database_update function of fdo-mime.eclass in pkg_postrm and pkg_postinst it doesn't have to be behind any `if` because the function is a no-op if the command is not found and if opera uses xdg-* commands then it should rdepend on xdg-utils. opera wouldn't be the first browser in tree depending on it, chromium uses it too and chromium upstream has been involved in cleaning the package up and fdo-mime_desktop_database_update is meant to be run when the package installs .desktop file with MimeType= lines like every package from this list should dep on it: grep ^MimeType /usr/share/applications/*.desktop and something needs to pull in dev-util/desktop-file-utils, but if it's just a warning, i wouldn't add the dep for Xfce xfce-base/thunar pulls it in, for GNOME 2.32 gnome-base/gnome-control-center puills it in, and looks like rest of desktops are missing this (which is a bug) so i'd add the dep only if opera *crashes* because of the missing .cache file I guess this is fixed, then. |