Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241674 - Implement gstreamer missing-plugins support for Gentoo
Summary: Implement gstreamer missing-plugins support for Gentoo
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Lowest enhancement (vote)
Assignee: GStreamer package maintainers
URL: https://core.fluendo.com/gstreamer/tr...
Whiteboard:
Keywords:
: 256830 371955 (view as bug list)
Depends on:
Blocks: 263285
  Show dependency tree
 
Reported: 2008-10-13 00:58 UTC by Mart Raudsepp
Modified: 2013-04-19 22:11 UTC (History)
10 users (show)

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 Mart Raudsepp gentoo-dev 2008-10-13 00:58:29 UTC
It would be nice to have some primitive support for integration with Codeina on Gentoo. Even if it would just report what package to install manually would be a great improvement over the current situation.

This is a reminder enhancement bug, or a tracker if you will, or for anyone who would like to contribute to find this bug and work on.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-13 06:56:07 UTC
I've been in contact with the fluendo guys, first with Julien Moutte who then redirected me to Michal Salaban, after working on this for a bit because I couldn't get how the yaml generator worked. Here is a copy of the interesting mail:

--------------------------------

On Tue, Aug 19, 2008 at 12:16 PM, Gilles Dartiguelongue <eva@gentoo.org> wrote:

> As you can see in my original mail, I'm interested in the format of the
> files that needs to be passed to the scripts that generates the yaml
> files, this will greatly help me to start writing something if I had an
> example of what the script is expecting.

The Codeina's providers/gst-scanpackages script generates the YAML
file from a set of packages. It simply extracts *.so files and tries
to load them as gst plugins. On success, it simply prints a chunk of
YAML with plugin data, so the only specification is a code of this
script. It's simple python, so should be easy to read and modify,

Just put *.tar.gz, *.rpm or *.deb files containing gstreamer plugins
into a directory and run:

./gst-scanpackages <directory_path> > mydistro.yaml

I've just done it for my distro (PLD) gstreamer-*.rpm packages and got
+40k file with all possible information extracted.

How does it suit your needs?

--------------------------------

Once the yaml file is generated it's actually not that hard to implement a class that installs the package but that's mostly the same topic as packagekit (subset only though).
Comment 2 Edward Hervey 2009-03-26 08:46:12 UTC
FWIW, there's no reason to use Codeina in particular. It's just an application relying on the missing-plugins API [1] from GStreamer. The goal is for distros to rely on that API to integrate with their package management system. Ubuntu uses something else for ex. Codeina is also more streamlined towards rpm-based systems and allowing 3-rd party repository (like proprietary codecs) installations.

Maybe a more gentoo-specific solution would be better. A simple shell script would do even.

[1] : http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gstreamer-base-utils.html
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-26 09:28:43 UTC
true, but we still need a way (and that's the main problem, writing the gui is easy) is to associate what the app requests to packages in gentoo. For what I have currently, I'm using binpkgs to create that information but having support from ebuilds would probably be more efficient. I haven't thought much about it since I got the prototype integration working.
Comment 4 Mart Raudsepp gentoo-dev 2009-05-23 01:44:57 UTC
Re-titling to talk about missing-plugins rather than Codeina. Codeina is one option though I guess.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-11-18 12:42:24 UTC
*** Bug 293572 has been marked as a duplicate of this bug. ***
Comment 6 Pacho Ramos gentoo-dev 2010-11-19 23:04:00 UTC
*** Bug 256830 has been marked as a duplicate of this bug. ***
Comment 7 Mart Raudsepp gentoo-dev 2013-04-19 22:11:51 UTC
*** Bug 371955 has been marked as a duplicate of this bug. ***