gnucash maint: Rethink how gsettings migration file is constructed
gjanssens at code.gnucash.org
Tue Sep 28 06:07:54 EDT 2021
Updated via https://github.com/Gnucash/gnucash/commit/dee4f5e5 (commit)
from https://github.com/Gnucash/gnucash/commit/a84891a4 (commit)
Author: Geert Janssens <geert at kobaltwit.be>
Date: Tue Sep 28 11:57:53 2021 +0200
Rethink how gsettings migration file is constructed
The order in which cmake processes subdirectories in gnucash
matters because that also defines the order in which install
rules will be executed.
We have an install rule to compile the install gschema files.
That rule has to be run after all gschema files are installed.
Considering how our code is organized that means directory
gnucash/gschema should be processed after gnucash/import-export.
That requirement was incompatible with how migratable-prefs.xml
was generated (it required the exact opposite processing order).
This conflict causes gnucash to crash on startup because not
all gschema files are compiled as they should.
The changes in this commit should fix this.
Summary of changes:
gnucash/CMakeLists.txt | 5 ++++-
gnucash/gschemas/CMakeLists.txt | 13 ++++++++++++-
gnucash/import-export/aqb/gschemas/CMakeLists.txt | 5 +++--
gnucash/import-export/ofx/gschemas/CMakeLists.txt | 5 +++--
4 files changed, 22 insertions(+), 6 deletions(-)
More information about the gnucash-patches