Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555356 - dev-qt/qtmultimedia:5 should depend on gst-plugins-{v4l,ffmpeg,theora}
Summary: dev-qt/qtmultimedia:5 should depend on gst-plugins-{v4l,ffmpeg,theora}
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-19 15:45 UTC by RazrFalcon
Modified: 2015-07-22 16:23 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 RazrFalcon 2015-07-19 15:45:22 UTC
After installing dev-qt/qtmultimedia-5.4.2-r1 (on ~amd64) and running application which uses QCamera I get an error:
CameraBin error: "Your GStreamer installation is missing a plug-in."

After playing with use-flags of media-plugins/gst-plugins-meta I get it working with USE="v4l ffmpeg theora".

So, as for me, it looks like qtmultimedia depend on this plugins, but they not installed by default.

I propose to add this plugins as dependency or at least mention them in post-install message.

Because application builds successfully. Run successfully. But camera widget is black and errors(warning actually) in output. So it's not strict dependency.

Reproducible: Always
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2015-07-22 01:05:54 UTC
I believe it should be the application that depends on the plugins it needs.

This is a common problem with gstreamer plugins however, do we have a distro-wide policy wrt dependencies?
Comment 2 RazrFalcon 2015-07-22 09:21:37 UTC
All I find is: http://doc.qt.io/qt-5/linux-requirements.html#multimedia-dependencies 

By now I don't have application. I just run Qt example: http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html

I don't know what is Gentoo policy about gs plugins, but I spent about an hour to find what is wrong with my gs installation, because gs does not tell which plugin exactly is missing... Its kinda annoying.

So just qtmultimedia post-install message would be enough for me.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2015-07-22 13:34:08 UTC
(In reply to RazrFalcon from comment #2)
> By now I don't have application. I just run Qt example:
> http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html

For portage packages (applications), it's the application that should depend on the required decoding/demuxing/input/etc plugins. Otherwise qtmultimedia would have to depend on all gst plugins, which I definitely do not want to do.

For out-of-portage software, you're kinda on your own, we cannot support it. You're supposed to know what dependencies are required and install them manually.

> 
> I don't know what is Gentoo policy about gs plugins, but I spent about an
> hour to find what is wrong with my gs installation, because gs does not tell
> which plugin exactly is missing... Its kinda annoying.
> 
> So just qtmultimedia post-install message would be enough for me.

I understand your frustration, but if we started adding a postinst message for every application out there that requires a plugin, the list would quickly grow to a long and unmaintainable mess.
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2015-07-22 13:35:10 UTC
Closing for now, but I'm willing to consider other ideas to improve the situation.
Comment 5 RazrFalcon 2015-07-22 16:23:28 UTC
I understand.