Bug#647481: [PATCH] please transaction gstreamer0.10 to multiarch

Steve Langasek steve.langasek at canonical.com
Fri Dec 9 16:42:59 UTC 2011


Package: gstreamer0.10
Version: 0.10.35-1
Followup-For: Bug #647481
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Hi guys,

In Ubuntu, the attached patch was applied to make gstreamer compatible with
multiarch, as described at
<http://wiki.debian.org/Multiarch/Implementation>.

gstreamer is one of the last major bits needed to have a multiarch-friendly
wine package in Ubuntu; I presume it will be useful to Debian for the same
reason.  Following this upload, I will be converting the various gstreamer
plugin packages over to use the multiarch path as well, with a hard-coded
versioned dependency on libgstreamer0.10-0 (>= 0.10.35-1ubuntu1) to ensure
that these plugins are always installed against a version of libgst that
knows to look in that directory.  I don't see a good way to forcibly bump
the dependency for plugins without also bumping it for applications since
libgst is using shlibs (no symbols files), but I'm open to working with you
to find a more automated solution for dependency generation if you think
that's important here.

This adds a new patch to the upstream source to look in the multiarch
library path with a fallback to the legacy /usr/lib/gstreamer-0.10 path;
this way we don't have to declare breaks: against an arbitrary set of
packages using the legacy path.  I also have modified the ia32-libs hack
d dpatch to regard /usr/lib32 as only a fallback equivalent to /usr/lib - so
plugins in the multiarch directory will always take precedence, which I
believe is the optimal behavior.  I have tested that totem is able to load
plugins from both directories with this change applied.

The changelog for the Ubuntu upload is:

  * Build for multiarch. 
  * debian/patches/79_multiarch-backwards-compat.patch,
    debian/patches/80_ia32-hack.patch: PLUGINDIR now always points to the
    multiarch path, so look in /usr/lib/gstreamer-0.10 as a fallback (and
    /usr/lib32/gstreamer-0.10, in case ia32-libs is still around).

Thanks for considering the patch.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstreamer0.10_0.10.35-1ubuntu1.debdiff
Type: text/x-diff
Size: 9576 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gstreamer-maintainers/attachments/20111209/37ed60a6/attachment.diff>


More information about the pkg-gstreamer-maintainers mailing list