[Build-common-hackers] Bug#606703: gnome.mk: invoke dh_girepository if available

Emilio Pozuelo Monfort pochu at debian.org
Sat Dec 11 00:43:22 UTC 2010

Package: cdbs
Version: 0.4.89
Severity: wishlist
Tags: patch


dh_girepository is a helper to generate dependencies for
gobject-introspection packages (named gir1.*). It would
be nice if it was called from gnome.mk so we don't need
to add that snipped to our debian/rules in every package.

Please find a patch attached.

Best regards,

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cdbs depends on:
ii  debhelper                     8.0.0      helper programs for debian/rules

Versions of packages cdbs recommends:
ii  autotools-dev                 20100122.1 Update infrastructure for config.{

Versions of packages cdbs suggests:
ii  devscripts                    2.10.69    scripts to make the life of a Debi
pn  doc-base                      <none>     (no description available)

-- debconf-show failed
-------------- next part --------------
>From 9066b28facca16d0115c7a1c28c2fcc46a06b684 Mon Sep 17 00:00:00 2001
From: Emilio Pozuelo Monfort <pochu at debian.org>
Date: Sat, 11 Dec 2010 01:33:40 +0100
Subject: [PATCH] gnome.mk: Invoke dh_girepository if available

 1/class/gnome.mk.in |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/1/class/gnome.mk.in b/1/class/gnome.mk.in
index f101a1a..c000a50 100644
--- a/1/class/gnome.mk.in
+++ b/1/class/gnome.mk.in
@@ -44,4 +44,7 @@ $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
 	$(if $(wildcard /usr/bin/dh_desktop),dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS))
 	$(if $(wildcard /usr/bin/dh_icons),dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONS_ARGS))
+$(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) ::
+	$(if $(wildcard /usr/bin/dh_girespository),dh_girepository -p$(cdbs_curpkg) $(DEB_DH_GIREPOSITORY_ARGS))

More information about the Build-common-hackers mailing list