Package: vala-0.18
Version: 0.18.1-1
Severity: wishlist
Tags: patch
User: ubuntu-de...@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/
slanga...@ubuntu.com                                     vor...@debian.org
=== modified file 'debian/control'
--- debian/control	2012-08-26 14:30:10 +0000
+++ debian/control	2012-12-19 01:50:01 +0000
@@ -30,9 +30,9 @@
 Architecture: any
 Depends: ${shlibs:Depends},
          libvala-0.18-0 (= ${binary:Version}),
-         libglib2.0-dev (>= 2.26),
          valac-0.18-vapi,
          ${misc:Depends}
+Recommends: libglib2.0-dev (>= 2.26)
 Conflicts: valac (<< 0.9.5),
            vala-utils (<< 0.10)
 Replaces: vala-utils (<< 0.10)

Reply via email to