[Build-common-hackers] Bug#627735: dh_installgsettings should run after dh_install

Michael Biebl biebl at debian.org
Tue May 24 03:21:54 UTC 2011


Package: cdbs
Version: 0.4.93
Severity: important

Hi,

the current dh_installgsettings integration is broken, as
dh_installgsettings is run *before* dh_install.

See the code in dh_installgsettings:

	# Get a list of the schemas
	my $schemas = `find $gsettings_schemas_dir -type f \\( -name \\*.xml -o -name \\*.override \\) -printf '%P '`;
	if ($schemas ne '') {
		addsubstvar($package, "misc:Depends", "dconf-gsettings-backend | gsettings-backend");
	}

If dh_installgsettings is run before dh_install, $schemas will be empty and
the dependency on on gsettings-backend via misc:Depends is not
generated.

I'd suggest running dh_installgsettings at the same time when dh_gconf
is run, as dh_gconf has basically the same logic.

Cheers,
Michael

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.39-1-486
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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

Versions of packages cdbs suggests:
ii  devscripts                    2.10.73    scripts to make the life of a Debi

-- no debconf information





More information about the Build-common-hackers mailing list