Bug#652504: libshout: Please convert libshout for multiarch

Steve Langasek steve.langasek at canonical.com
Sat Dec 17 21:31:42 UTC 2011


Package: libshout
Version: 2.2.2-6.1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

Dear maintainers,

I've just updated the libshout package in Ubuntu to transition it to use of
the multiarch library paths as described at
<http://wiki.debian.org/Multiarch/Implementation>.  Since libshout is a
dependency of gstreamer-plugins-good, this 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.

Converting the libshout package for multiarch was non-trivial for several
reasons.

 - dh-buildinfo is not multiarch-safe; using it generates library packages
   that are not co-installable, and cdbs wants to generate an unconditional
   build-dependency on this tool.
 - cdbs wants to generate a build-dependency on an older version of cdbs
   than the one required for multiarch support, which means the
   build-dependency has to be overridden
 - the package is using a forked version of d-shlibs that's bundled in the
   debian/ directory (this seems to be inherited from an upstream debian/
   directory, although the current version is source format 3, which ignores
   any debian/ directory in the upstream tarball); and this forked version
   of d-shlibs is missing various bugfixes, including support for multiarch.

So the patch is a bit large, and includes both dropping the forked d-shlibs
and disabling the cdbs build-deps autogeneration (since the autogeneration
isn't actually outputting anything correctly that autogeneration would be
useful for).  A corresponding changelog for this patch is:

  * Build for multiarch.
  * Drop use of dh-buildinfo, which is completely redundant with build logs
    and is not multiarch-safe.
  * Drop support for auto-generation of build-dependencies in debian/control,
    because cdbs wants to unconditionally add a build-dependency on the
    broken dh-buildinfo tool and use it if present.
  * Drop forked version of d-shlibs, as the single issue this fork was
    for (libspeex) is addressed upstream; and build-depend on
    d-shlibs (>= 0.48) for the --multiarch option.  Closes: #548625, #650546.
  * Remove the libshout.la file.

Removing libshout.la is not strictly related to multiarch, but multiarch
does require moving the .la file to the multiarch library directory from
/usr/lib.  As a result, any packages still referencing the .la file are
going to be broken by this change *anyway*, so it might as well be dropped
at the same time.  And according to
<http://release.debian.org/~aba/la/current.txt>, the only package which
still references libshout.la is freej, which is FTBFS and significantly
broken - so it doesn't make sense to wait for freej to be fixed before
switching to multiarch and dropping the .la file.

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: libshout_2.2.2-6.1.debdiff
Type: text/x-diff
Size: 18691 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20111217/60e1c26c/attachment.diff>


More information about the pkg-multimedia-maintainers mailing list