Bug 141735 - Allow using Banshee with upstream RealPlayer RPMs
Summary: Allow using Banshee with upstream RealPlayer RPMs
Status: RESOLVED INVALID
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Alpha 4
Hardware: All All
: P5 - None : Enhancement (vote)
Target Milestone: ---
Assignee: Aaron Bockover
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-06 04:22 UTC by Andreas Hanke
Modified: 2006-11-05 12:27 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hanke 2006-01-06 04:22:38 UTC
Banshee currently uses HELIX_LIBS to find the RealPlayer libraries and sets that in the "/usr/bin/banshee" shell wrapper; the path is currently hard-coded:

export HELIX_LIBS="/usr/lib/RealPlayer10"

If RealNetworks releases another version, people can install it (unsupported by SuSE, of course); the RPM dependencies are still satisfied, but the Helix backend stops working unless the shell wrapper is edited.

The following change would allow users to install an upstream RealPlayer RPM (e.g. the soon-to-be-released Balto version with playlists and ALSA support) and still use Banshee without manual changes:

if [ -e /usr/lib/RealPlayer10/common/clntcore.so ] ; then
    export HELIX_LIBS="/usr/lib/RealPlayer10"
elif [ -e /usr/local/RealPlayer/common/clntcore.so ] ; then
    export HELIX_LIBS="/usr/local/RealPlayer"
elif [ -e /usr/local/HelixPlayer/common/clntcore.so ] ; then
    export HELIX_LIBS="/usr/local/HelixPlayer"
else
    # Maybe there should be a warning here?
fi

"/usr/local/RealPlayer" and "/usr/local/HelixPlayer" are the default installation paths of the upstream RealPlayer and HelixPlayer RPMs.
Comment 1 JP Rosevear 2006-01-06 13:29:10 UTC
I don't see how this conflicts - you can have both installed if the alternate installs to /usr/local
Comment 2 Andreas Hanke 2006-01-06 17:51:13 UTC
It's an RPM that has the same name ("RealPlayer"), so it uninstalls the previously installed one by default.
Comment 3 Aaron Bockover 2006-01-25 00:47:45 UTC
I don't think this should really be assigned to me. At my level, all I care about is having a proper RP install in HELIX_LIBS. 

Maybe we could install RealPlayer in a non-upstream location to avoid this. Not sure.

Assigning to JP, I guess, and CCing gekker. 
Comment 4 JP Rosevear 2006-03-09 18:57:06 UTC
After thinking about this a bit, isn't it simply a set of search paths in the helix backend?
Comment 5 Andreas Hanke 2006-11-05 12:27:54 UTC
The code has changed so much in the meantime that this request doesn't apply anymore => INVALID.