GSettings module missing macro to compile schemas
Bug #1664714 reported by
dobey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake-extras (Ubuntu) |
Fix Released
|
High
|
dobey |
Bug Description
While the module's add_schema macro does currently allow for compiling the schemas once installed, there is currently no way to simply compile schemas locally in the build tree, so that the schemas may be loaded by GSettings during unit or integration tests.
Related branches
lp:~dobey/cmake-extras/more-gsettings
- Pete Woods: Approve
- Charles Kerr (community): Approve
-
Diff: 247 lines (+134/-63)4 files modifieddebian/tests/control (+1/-0)
debian/tests/gsettings (+26/-21)
examples/gsettings-demo/CMakeLists.txt (+4/-0)
src/GSettings/GSettingsConfig.cmake (+103/-42)
To post a comment you must log in.
This bug was fixed in the package cmake-extras - 1.2+17. 04.20170228- 0ubuntu1
--------------- 04.20170228- 0ubuntu1) zesty; urgency=medium
cmake-extras (1.2+17.
* Add function to compile GSettings schemas. (LP: #1664714)
* Handle merging translations into non-ini file types. (LP: #1664325)
* Append file globs for translation template function. (LP: #1664345)
* Use already unique translation template as target name.
* Add a GDbus module for using gdbus-codegen in cmake projects.
* Refactor GSettings module to provide a compile_schemas macro. (LP:
#1664714)
* Handle other style options for merging, and no translations for xml
style. (LP: #1664325)
* Append file globs rather than resetting the variable. (LP: #1664345)
* Don't use the gettext unique target magic for pot files.
* Add a module for using gdbus-codegen code with cmake.
-- Rodney Dawes <email address hidden> Tue, 28 Feb 2017 17:48:00 +0000