gnucash maint: GSettings Upgrade - add missing aqb and ofx deprecated schema keys

Geert Janssens gjanssens at code.gnucash.org
Wed Sep 22 09:31:25 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/e1039b2d (commit)
	from  https://github.com/Gnucash/gnucash/commit/94f6d11e (commit)



commit e1039b2dbad02de415a41a7dcffdc29b804d9eea
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Wed Sep 22 15:31:17 2021 +0200

    GSettings Upgrade - add missing aqb and ofx deprecated schema keys
    
    They are unused by GnuCash except for migrating their
    values to the newer equivalents. For simplicity they
    are added to the main deprecated schema file. They
    will be fully removed in a future major release.

diff --git a/gnucash/gschemas/CMakeLists.txt b/gnucash/gschemas/CMakeLists.txt
index 3da1db4d8..57dcf69f7 100644
--- a/gnucash/gschemas/CMakeLists.txt
+++ b/gnucash/gschemas/CMakeLists.txt
@@ -32,7 +32,7 @@ if (COMPILE_GSCHEMAS)
 
     add_custom_command(
         OUTPUT ${SCHEMADIR_BUILD}/gschemas.compiled
-        COMMAND ${CMAKE_COMMAND} -E env ${GLIB_COMPILE_SCHEMAS} ${SCHEMADIR_BUILD}
+        COMMAND ${CMAKE_COMMAND} -E env ${GLIB_COMPILE_SCHEMAS} --strict ${SCHEMADIR_BUILD}
         DEPENDS ${gschema_depends}
     )
 
@@ -51,7 +51,7 @@ if (COMPILE_GSCHEMAS)
     endif()
     execute_process(
         COMMAND ${SHELL} -c \"echo Compiling gschema files in \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_DATADIR}/glib-2.0/schemas ;
-                              ${GLIB_COMPILE_SCHEMAS} \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_DATADIR}/glib-2.0/schemas\")")
+                              ${GLIB_COMPILE_SCHEMAS} --strict \$ENV\{DESTDIR\}${CMAKE_INSTALL_FULL_DATADIR}/glib-2.0/schemas\")")
 endif()
 
 set(gschemas_DIST_local migratable-prefs.xml)
diff --git a/gnucash/gschemas/org.gnucash.GnuCash.deprecated.gschema.xml.in b/gnucash/gschemas/org.gnucash.GnuCash.deprecated.gschema.xml.in
index 364b66ac7..7050d4da1 100644
--- a/gnucash/gschemas/org.gnucash.GnuCash.deprecated.gschema.xml.in
+++ b/gnucash/gschemas/org.gnucash.GnuCash.deprecated.gschema.xml.in
@@ -1602,4 +1602,90 @@ For example setting this to 2.0 will display reports at twice their typical size
       <description>This setting controls the ending date set in profit/loss calculations if the end-choice setting is set to anything other than "absolute". This field should contain a value between 0 and 8.</description>
     </key>
   </schema>
+
+  <schema id="org.gnucash.dialogs.flicker" path="/org/gnucash/dialogs/flicker/">
+    <key name="last-geometry" type="(iiii)">
+      <default>(-1,-1,-1,-1)</default>
+      <summary>Last window position and size</summary>
+      <description>This setting describes the size and position of the window when it was last closed.
+        The numbers are the X and Y coordinates of the top left corner of the window
+        followed by the width and height of the window.</description>
+    </key>
+  </schema>
+  <schema id="org.gnucash.dialogs.ab-initial" path="/org/gnucash/dialogs/ab-initial/">
+    <key name="last-geometry" type="(iiii)">
+      <default>(-1,-1,-1,-1)</default>
+      <summary>Last window position and size</summary>
+      <description>This setting describes the size and position of the window when it was last closed.
+        The numbers are the X and Y coordinates of the top left corner of the window
+        followed by the width and height of the window.</description>
+    </key>
+  </schema>
+
+  <schema id="org.gnucash.dialogs.import.hbci" path="/org/gnucash/dialogs/import/hbci/">
+    <key name="close-on-finish" type="b">
+      <default>true</default>
+      <summary>Close window when finished</summary>
+      <description>If active, the window will be closed automatically when you finish the HBCI/AqBanking import process. Otherwise it will stay open.</description>
+    </key>
+    <key name="remember-pin" type="b">
+      <default>false</default>
+      <summary>Remember the PIN in memory</summary>
+      <description>If active, the PIN for HBCI/AqBanking actions will be remembered in memory during a session. Otherwise it will have to be entered again each time during a session when it is needed.</description>
+    </key>
+    <key name="use-ns-transaction-text" type="b">
+      <default>true</default>
+      <summary>Put the transaction text in front of the purpose of a transaction.</summary>
+      <description>Some banks place part of transaction description as "transaction text" in the MT940 file. Normally GNUcash ignores this text. However by activating this option, the transaction text is used for the transaction description too.</description>
+    </key>
+    <key name="verbose-debug" type="b">
+      <default>false</default>
+      <summary>Verbose HBCI debug messages</summary>
+      <description>Enables verbose debug messages for HBCI/AqBanking Online Banking.</description>
+    </key>
+    <key name="format-dtaus" type="s">
+      <default>'default'</default>
+      <summary>DTAUS import data format</summary>
+      <description>This setting specifies the data format when importing DTAUS files. The AqBanking library offers various import formats (called "profiles") of which you can choose one here.</description>
+    </key>
+    <key name="format-csv" type="s">
+      <default>'default'</default>
+      <summary>CSV import data format</summary>
+      <description>This setting specifies the data format when importing CSV files. The AqBanking library offers various import formats (called "profiles") of which you can choose one here.</description>
+    </key>
+    <key name="format-swift-mt940" type="s">
+      <default>'swift-mt940'</default>
+      <summary>SWIFT MT940 import data format</summary>
+      <description>This setting specifies the data format when importing SWIFT MT940 files. The AqBanking library offers various import formats (called "profiles") of which you can choose one here.</description>
+    </key>
+    <key name="format-swift-mt942" type="s">
+      <default>'swift-mt942'</default>
+      <summary>SWIFT MT942 import data format</summary>
+      <description>This setting specifies the data format when importing SWIFT MT942 files. The AqBanking library offers various import formats (called "profiles") of which you can choose one here.</description>
+    </key>
+    <key name="last-path" type="s">
+      <default>''</default>
+      <summary>Last pathname used</summary>
+      <description>This field contains the last pathname used by this window. It will be used as the initial filename/pathname the next time this window is opened.</description>
+    </key>
+    <child name="connection-dialog" schema="org.gnucash.GnuCash.dialogs.import.hbci.connection-dialog"/>
+  </schema>
+
+  <schema id="org.gnucash.dialogs.import.hbci.connection-dialog" path="/org/gnucash/dialogs/import/hbci/connection-dialog/">
+    <key name="last-geometry" type="(iiii)">
+      <default>(-1,-1,-1,-1)</default>
+      <summary>Last window position and size</summary>
+      <description>This setting describes the size and position of the window when it was last closed.
+        The numbers are the X and Y coordinates of the top left corner of the window
+        followed by the width and height of the window.</description>
+    </key>
+  </schema>
+
+  <schema id="org.gnucash.dialogs.import.ofx" path="/org/gnucash/dialogs/import/ofx/">
+    <key name="last-path" type="s">
+      <default>''</default>
+      <summary>Last pathname used</summary>
+      <description>This field contains the last pathname used by this window. It will be used as the initial filename/pathname the next time this window is opened.</description>
+    </key>
+  </schema>
 </schemalist>



Summary of changes:
 gnucash/gschemas/CMakeLists.txt                    |  4 +-
 .../org.gnucash.GnuCash.deprecated.gschema.xml.in  | 86 ++++++++++++++++++++++
 2 files changed, 88 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list