GCONF_SCHEMA_FILE_DIR incorrect in gconf-2.m4

Bug #537907 reported by Nicholas J Kreucher
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gconf (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: gconf

Ubuntu 9.10

libgconf2-dev:
  Installed: 2.28.0-0ubuntu2
  Candidate: 2.28.0-0ubuntu2
  Version table:
 *** 2.28.0-0ubuntu2 0
        500 http://samaritan.ucmerced.edu karmic/main Packages
        100 /var/lib/dpkg/status

The default GCONF_SCHEMA_FILE_DIR in /usr/share/aclocal/gconf-2.m4 points to '$(sysconfdir)/gconf/schemas'. This ends up becoming something like /usr/etc/gconf/schemas and is incorrect. It seems this should be set to /usr/share/gconf/schemas instead.

Suggested patch attached.

ProblemType: Bug
Architecture: i386
Date: Fri Mar 12 01:34:38 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: libgconf2-dev 2.28.0-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic-pae
SourcePackage: gconf
Uname: Linux 2.6.31-20-generic-pae i686

Revision history for this message
Nicholas J Kreucher (kreucher) wrote :
Revision history for this message
Nicholas J Kreucher (kreucher) wrote :

Actually, since the m4 macro will be included in aclocal.m4 (or the like) in developers distributing source tarballs from Ubuntu, this is pretty ugly... as the default is probably correct for other distros (/etc/gconf/schemas vs /usr/share/gconf/schemas). So, I'm not sure what the fix is... perhaps some m4 logic to detect the correct location?

Seems a shame to have to always pass --with-gconf-schema-file-dir=/usr/share/gconf/schemas when compiling on Ubuntu.

Revision history for this message
Loïc Minier (lool) wrote :

You can use the defaults in Ubuntu, it should be picked up from /etc; however .deb packages should ship schemas in /usr/share; this is achieved by dh_gconf I think: it will move them from /etc to /usr.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The change is coming from Debian, maybe you could send that bug to bugs.debian.org?

Changed in gconf (Ubuntu):
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version.Thanks in advance.

Changed in gconf (Ubuntu):
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We're closing this bug since it is has been some time with no response from the original reporter. However, if the issue still exists please feel free to reopen with the requested information. Also, if you could, please test against the latest development version of Ubuntu, since this confirms the bug is one we may be able to pass upstream for help.

Changed in gconf (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.