[Pkg-vala-maintainers] Bug#696298: vala-0.18: Please drop libglib2.0-dev dependency to a recommends

Steve Langasek steve.langasek at canonical.com
Wed Dec 19 02:11:43 UTC 2012


Package: vala-0.18
Version: 0.18.1-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear maintainers,

In Ubuntu, we've applied a patch to vala-0.18 to drop the dependency on
libglib2.0-dev down to a Recommends.  The reason for this is that, while the
glib2.0 .pc files are needed for compiling vala to object code,
libglib2.0-dev is *not* the package you want for this when cross-building;
instead, you want libglib2.0-dev:$arch, where $arch is your target
architecture.

By dropping the depends to a recommends, everybody wins:

 - Users who are installing valac in a non-buildd context will have the
   Recommends satisfied by default.
 - Packages that build-depend on valac will need to also build-depend
   (directly or indirectly) on libglib2.0-dev; but the set of packages that
   need changed for this is very small - in Ubuntu raring, only one package
   is affected (radare2-bindings).
 - When cross-building, these build-dependencies will be automatically
   resolved to the host version of libglib2.0-dev plus the build version of
   valac.

Please consider applying this change in Debian as well.

-- 
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: vala-0.18_0.18.1-1ubuntu1.debdiff
Type: text/x-diff
Size: 462 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-vala-maintainers/attachments/20121218/fdd91674/attachment.diff>


More information about the Pkg-vala-maintainers mailing list