[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685583: lintian: check for gsettings schemas with incorrect paths



Package: lintian
Version: 2.5.10.1
Severity: wishlist

glib from experimental removed the patch that disabled warnings about
deprecated gsettings schema paths, leading to warnings like these in
during upgrade:

Processing triggers for libglib2.0-0:amd64 ...
warning: Schema 'org.freedesktop.Telepathy.Logger' has path '/apps/telepathy-logger/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.freedesktop.gstreamer-0.10.default-elements' has path '/desktop/gstreamer/0.10/default-elements/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.Cheese' has path '/apps/cheese/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.
warning: Schema 'org.gnome.Vino' has path '/desktop/gnome/remote-access/'.  Paths starting with '/apps/', '/desktop/' or '/system/' are deprecated.

After the release of wheezy, please add lintain warning to warn
maintainers about this. An example of how to detect this is to parse the
schema files like the path below and check for incorrect paths:

pabs@chianamo ~ $ dpkg -S /usr/share/glib-2.0/schemas/org.gnome.Cheese.gschema.xml
cheese-common: /usr/share/glib-2.0/schemas/org.gnome.Cheese.gschema.xml
pabs@chianamo ~ $ grep 'schema path' /usr/share/glib-2.0/schemas/org.gnome.Cheese.gschema.xml
  <schema path='/apps/cheese/' id='org.gnome.Cheese'>

Correct paths look like this:

pabs@chianamo ~ $ grep 'schema path' /usr/share/glib-2.0/schemas/org.gnome.totem.gschema.xml 
	<schema path="/org/gnome/Totem/" id="org.gnome.totem" gettext-domain="totem">

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages lintian depends on:
ii  binutils                       2.22-6.1
ii  bzip2                          1.0.6-4
ii  diffstat                       1.55-3
ii  file                           5.11-2
ii  gettext                        0.18.1.1-9
ii  hardening-includes             2.2
ii  intltool-debian                0.35.0+20060710.1
ii  libapt-pkg-perl                0.1.26+b1
ii  libarchive-zip-perl            1.30-6
ii  libc-bin                       2.13-35
ii  libclass-accessor-perl         0.34-1
ii  libclone-perl                  0.31-1+b2
ii  libdpkg-perl                   1.16.8
ii  libemail-valid-perl            0.190-1
ii  libipc-run-perl                0.91-1
ii  libparse-debianchangelog-perl  1.2.0-1
ii  libtimedate-perl               1.2000-1
ii  liburi-perl                    1.60-1
ii  locales                        2.13-35
ii  man-db                         2.6.2-1
ii  patchutils                     0.3.2-1.1
ii  perl [libdigest-sha-perl]      5.14.2-12

Versions of packages lintian suggests:
ii  binutils-multiarch     2.22-6.1
ii  dpkg-dev               1.16.8
ii  libhtml-parser-perl    3.69-2
pn  libperlio-gzip-perl    <none>
ii  libtext-template-perl  1.45-2
ii  lzma                   9.22-2
ii  man-db                 2.6.2-1
ii  xz-utils [lzma]        5.1.1alpha+20120614-1


-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: