Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409481 - net-misc/rygel-0.12.7 should depend on x11-misc/shared-mime-info
Summary: net-misc/rygel-0.12.7 should depend on x11-misc/shared-mime-info
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-23 23:10 UTC by Stefan Langenmaier
Modified: 2014-05-30 20:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Langenmaier 2012-03-23 23:10:50 UTC
I wanted to run rygel on an ARM server, but when I executed the program I got the following error:

    (rygel:7200): Rygel-DEBUG: rygel-user-config.vala:141: Loaded system configuration from file '/etc/rygel.conf'
    (rygel:7200): Rygel-DEBUG: rygel-user-config.vala:150: Failed to load user configuration from file '/root/.config/rygel.conf': No such file or directory
    (rygel:7200): Rygel-DEBUG: rygel-plugin-loader.vala:97: Searching for modules in folder '/usr/lib/rygel-1.0'.
    (rygel:7200): Rygel-DEBUG: rygel-main.vala:128: New network 127.0.0.0 (lo) context available. IP: 127.0.0.1
    (rygel:7200): Rygel-DEBUG: rygel-main.vala:128: New network 192.168.147.0 (br0) context available. IP: 192.168.147.99
    (rygel:7200): Rygel-DEBUG: rygel-plugin-loader.vala:142: Finished searching for modules in folder '/usr/lib/rygel-1.0'
     
    (rygel:7200): Rygel-WARNING **: No plugins found in 5 seconds; giving up..

On IRC I was told that I was missing shared-mime-info and after I installed it manually everything worked. After this I realized that it is already stated on the rygel wiki page: http://live.gnome.org/Rygel and in the FAQ
Comment 1 Pacho Ramos gentoo-dev 2012-03-25 09:04:53 UTC
+  25 Mar 2012; Pacho Ramos <pacho@gentoo.org> rygel-0.12.7.ebuild:
+  Add missing RDEPEND on x11-misc/shared-mime-info, bug #409481 by Stefan
+  Langenmaier.
+
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2012-03-25 16:13:23 UTC
This needs more discussion. Rygel is not the only app with plugins that are loaded with glib gmodule interface.

Imho, we should make shared-mime-info a dependency of glib itself since it is responsible for wrongly identifying the modules.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-03-27 03:17:11 UTC
Added x11-misc/shared-mime-info to glib PDEPEND (not to RDEPEND because that would result in circular dependencies).

>  27 Mar 2012; Alexandre Rostovtsev <tetromino@gentoo.org> glib-2.28.8.ebuild,
>  glib-2.30.2.ebuild, glib-2.30.2-r1.ebuild, glib-2.30.3.ebuild,
>  glib-2.32.0.ebuild:
>  Add shared-mime-info to PDEPEND, it's needed for gio/xdgmime to function
>  properly (thanks to Gilles Dartiguelongue for pointing out the issue in bug
>  #409481).
Comment 4 cantabile 2012-07-01 16:34:53 UTC
Well, I'm running gentoo servers and this caused x11 stuff to be merged in my systems although I added -X in my USE clause.
Isn't there any other way to solve the problem without pulling all this unwanted libraries?
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-07-02 23:05:55 UTC
(In reply to comment #4)
> Well, I'm running gentoo servers and this caused x11 stuff to be merged in
> my systems although I added -X in my USE clause.
> Isn't there any other way to solve the problem without pulling all this
> unwanted libraries?

x11-misc/shared-mime-info is not X-related. It does not use any X library, does not have a GUI, and does not directly depend on anything in any x11-* category. I suspect that it got stuck in portage's x11-misc category mostly by accident.