Bug 9077 - urpmi-dispatched-backend.pl does not support gstreamer 1.0 packages
Summary: urpmi-dispatched-backend.pl does not support gstreamer 1.0 packages
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH
Depends on:
Blocks: 9943
  Show dependency treegraph
 
Reported: 2013-02-14 16:56 CET by Funda Wang
Modified: 2016-02-09 10:03 CET (History)
2 users (show)

See Also:
Source RPM: packagekit
CVE:
Status comment:


Attachments
please test this patch (563 bytes, patch)
2013-04-26 18:30 CEST, Thierry Vignaud
Details | Diff
what about this one? (930 bytes, patch)
2013-05-05 18:58 CEST, Thierry Vignaud
Details | Diff

Description Funda Wang 2013-02-14 16:56:38 CET
Looking from urpmi-dispatched-backend.pl, it seems that it only support gstreamer0.10( prefix of gst codecs:

    if (!any { /^gstreamer0.10\(/ } $pkgid[0]) {
        # new standard
        my $namespace;
        if ($providestype eq "codec") {
            $namespace = "gstreamer0.10";
        } elsif ($providestype ne "any") {
            $namespace = $providestype;
        }
        if ($namespace) {
            $pkgid[0] = sprintf("%s(%s)", $namespace, $pkgid[0]);
        }
    }


May it be tweaked so that it support our gstreamer 1.0 pacakges in mga3 too? We are using folllowing package name schema:
$ rpm -qp --provides gstreamer1.0-vp8-1.0.5-2.mga3.i586.rpm
gstreamer1.0-vp8 = 1.0.5-2.mga3
gstreamer1.0-vp8(x86-32) = 1.0.5-2.mga3
libgstvpx.so
gstreamer1(decoder-video/x-vp8)
gstreamer1(element-vp8dec)
gstreamer1(element-vp8enc)
gstreamer1(encoder-video/x-vp8)
Comment 1 Funda Wang 2013-04-25 05:02:59 CEST
ping?
Comment 2 Thierry Vignaud 2013-04-26 18:30:11 CEST
Created attachment 3820 [details]
please test this patch

cd /usr/share/PackageKit/helpers/urpmi/
patch -p4 < /where/it/is/9077.diff
Thierry Vignaud 2013-04-26 18:33:57 CEST

Keywords: (none) => NEEDINFO

Comment 3 Thierry Vignaud 2013-05-01 05:19:27 CEST
Ping?

Keywords: (none) => PATCH

Funda Wang 2013-05-05 13:42:14 CEST

Blocks: (none) => 9943

Comment 4 Funda Wang 2013-05-05 13:47:55 CEST
I guess the patch does not work. See:

if ($providestype eq "codec") {
   $namespace = "gstreamer0.10";

There must be something which could map the namespace into gstreamer1
Comment 5 Thierry Vignaud 2013-05-05 18:58:10 CEST
Created attachment 3894 [details]
what about this one?

Attachment 3820 is obsolete: 0 => 1

Comment 6 Nicolas Lécureuil 2014-01-31 11:50:28 CET
how to test ?

CC: (none) => mageia

Comment 7 Nic Baxter 2015-03-31 03:30:48 CEST
Still current?

CC: (none) => nic

Comment 8 Nic Baxter 2016-02-09 10:03:46 CET
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.

Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.

Closing as OLD.

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.