GSettings add_schema does not work correctly with generated schemas files

Bug #1661686 reported by dobey on 2017-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cmake-extras (Ubuntu)
High
dobey

Bug Description

When one needs to generate the final .gschema.xml file from an .in, either for specifying default values at build time, or to enable translations, the GSettings module is not usable, as it only takes the name of the file as an argument, and assumes the file is always in CURRENT_SOURCE_DIR, which is not the case when generating the file and builddir != srcdir.

Related branches

dobey (dobey) on 2017-02-10
Changed in cmake-extras (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Rodney Dawes (dobey)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cmake-extras - 1.2+17.04.20170213-0ubuntu1

---------------
cmake-extras (1.2+17.04.20170213-0ubuntu1) zesty; urgency=medium

  * Add autopkgtest for gsettings macro.
  * Handle generated gschema files. (LP: #1661686)

 -- Rodney Dawes <email address hidden> Mon, 13 Feb 2017 18:16:40 +0000

Changed in cmake-extras (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers