[gstreamer-bugs] [Bug 588783] [gst-inspect] Add RPM provides output

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Tue Jul 28 13:15:32 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=588783

  GStreamer | gstreamer (core) | Ver: git




------- Comment #8 from Bastien Nocera  2009-07-28 20:15 UTC -------
(In reply to comment #7)
> (In reply to comment #6)
> > Right, except that stuff like:
> > video/mpeg, mpegversion=(int){ 4, [ 1, 2 ] }, systemstream=(boolean)false;
> > makes it impossible to not have any intelligence in the front-end/package
> > handling system.
> > 
> > In Fedora we transform it like so:
> > gstreamer0.10(decoder-video/mpeg)(mpegversion=1)(systemstream=false)()(64bit)  
> > gstreamer0.10(decoder-video/mpeg)(mpegversion=2)(systemstream=false)()(64bit)  
> > gstreamer0.10(decoder-video/mpeg)(mpegversion=4)(systemstream=false)()(64bit)  
> > 
> > So you don't need any intelligence in the front-end:
> > $(application) install
> > "gstreamer0.10(decoder-video/mpeg)(mpegversion=1)(systemstream=false)()(64bit)"
> > will install the package that provides this requirement
> 
> Right, intelligence is needed in the front-end. If you don't add any
> intelligence there you will have very large codec informations. How would you
> display caps like "audio/mpeg,mpegversion=(int)[1,4],rate=(int)[16000,32000]"?
> By using 4*16000 different provide lines?

We ignore the rate (and a number of other properties), check the patch.

> > > Debian's multilib support is currently a bit suboptimal but it would work if
> > > the infrastructure supported it correctly. A Debian binary package must only
> > > contain files for one architecture so if a 32 bit application needs some
> > > decoder it will only search in the 32 bit packages.
> > 
> > How do you know for which architecture your provides is for? Eg., if you have
> > both 32-bit and 64-bit repos enabled, how do you know that you should install
> > the 32-bit or the 64-bit package?
> 
> The provides is stored together with the package for which it is. It's either
> for a 32 bit package or for a 64 bit package.

Right. We add that information ourselves in the RPM provides script anyway...

What's the use case for advertising elements in the provides?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=588783.




More information about the Gstreamer-bugs mailing list