[gst-devel] [RFC][PATCH] GStreamer multilib support

Colin Walters walters at redhat.com
Tue Nov 9 13:25:12 CET 2004


Currently, on x86_64, one cannot sensibly parallel-install the 32-bit
version of GStreamer.  For example, /usr/bin/gst-register is included in
both the 32 and 64 bit packages, and by default RPM prefers the 64 bit
one.  This means that one simply can't use the 32 bit plugins.  Not to
mention other tools like gst-launch - do you want to run in 32 bit mode
or 64 bit?  Right now you have to use 64 if you have that installed.  If
some media library isn't 64 bit clean, one is unable to use GStreamer
plugins for it.

So what this patch does is add the @host_cpu@ suffix to the tools and
registry cache files.  So you can say: gst-launch-i686 to use 32 bit
mode, or gst-launch-x86_64 to use 64-bit plugins.  

Also, /usr/bin/gst-register is replaced by a shell script that runs
parallel-installable versions of gst-register: 
/usr/libexec/gst-register-i686 and /usr/libexec/gst-register-x86_64.

One thing that would be nice probably is to symlink /usr/bin/gst-launch
-> /usr/bin/gst-launch-i686 on non-multilib architectures.  I can do
that in a later patch, just wanted to get feedback on this one now.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstreamer-0.8.7-lib64.patch
Type: text/x-patch
Size: 10841 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20041109/078eedae/attachment.bin>

More information about the gstreamer-devel mailing list