After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679407 - GST_PLUGIN_PATH and GST_REGISTRY override broken for dual install
GST_PLUGIN_PATH and GST_REGISTRY override broken for dual install
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal critical
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2012-07-04 16:19 UTC by Bastien Nocera
Modified: 2012-07-05 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix handling of parallel installable GStreamers (1.93 KB, patch)
2012-07-05 14:41 UTC, Bastien Nocera
committed Details | Review

Description Bastien Nocera 2012-07-04 16:19:49 UTC
If both GStreamer 0.10 and GStreamer 1.0 are used, overriding GST_REGISTRY for one will override it for the other as well, causing problems as both versions use the same file.
Comment 1 Bastien Nocera 2012-07-04 16:42:04 UTC
GST_PLUGIN_PATH is also overridden, and that really breaks stuff.
Comment 2 Tim-Philipp Müller 2012-07-04 17:23:34 UTC
This should hopefully help:

 commit bcec051a5f4e3157c715cb6fb7c693d1a8bf509a
 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
 Date:   Wed Jul 4 18:16:23 2012 +0100

    Add versioned variants of some environment variables
    
    Improve parallel installability in setups like jhbuild by
    providing versioned variants of some environment variables:
    
     GST_REGISTRY_1_0
     GST_PLUGIN_PATH_1_0
     GST_PLUGIN_SYSTEM_PATH_1_0
     GST_PLUGIN_SCANNER_1_0
    
    will now be checked before checking the unversioned ones.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679407
Comment 3 Bastien Nocera 2012-07-05 14:41:25 UTC
Created attachment 218097 [details] [review]
Fix handling of parallel installable GStreamers

If GStreamer 1.0 and 0.10 were used in the same prefix, they
would end up with mixed plugin paths, and the same registry, even
though the 2 systems are not compatible.

Fix this by using GStreamer-1.0 specific envvars.
Comment 4 Bastien Nocera 2012-07-05 14:41:45 UTC
Attachment 218097 [details] pushed as d730be6 - Fix handling of parallel installable GStreamers