gnucash maint: Yet another guile 2 precompile fix of the German tax report
Geert Janssens
gjanssens at code.gnucash.org
Wed Dec 3 05:56:30 EST 2014
Updated via https://github.com/Gnucash/gnucash/commit/032a2ee1 (commit)
from https://github.com/Gnucash/gnucash/commit/2ef75505 (commit)
commit 032a2ee169e1b33e924ec61a3f10a508d86eb882
Author: Geert Janssens <janssens-geert at telenet.be>
Date: Wed Dec 3 12:04:49 2014 +0100
Yet another guile 2 precompile fix of the German tax report
The previous one only fixed part of the problem
diff --git a/src/tax/us/de_DE.scm b/src/tax/us/de_DE.scm
index 19474c1..31c2f57 100644
--- a/src/tax/us/de_DE.scm
+++ b/src/tax/us/de_DE.scm
@@ -1,7 +1,16 @@
(define-module (gnucash tax de_DE))
(use-modules (gnucash gnc-module))
-(use-modules (gnucash gettext))
+(cond-expand
+ (guile-2
+ (eval-when
+ (compile load eval expand)
+ (load-extension "libgncmod-engine" "scm_init_sw_engine_module")
+ (load-extension "libgncmod-app-utils" "scm_init_sw_app_utils_module")))
+ (else ))
+(use-modules (sw_app_utils))
+(use-modules (sw_engine))
+(use-modules (gnucash app-utils))
(export gnc:txf-get-payer-name-source)
(export gnc:txf-get-form)
diff --git a/src/tax/us/txf-de_DE.scm b/src/tax/us/txf-de_DE.scm
index 6c0118a..6fea6b8 100644
--- a/src/tax/us/txf-de_DE.scm
+++ b/src/tax/us/txf-de_DE.scm
@@ -26,15 +26,7 @@
;; http://www.felfri.de/winston/schnittstellen.htm
;;
-(use-modules (gnucash gettext))
-(use-modules (sw_app_utils))
-(cond-expand
- (guile-2
- (eval-when
- (compile load eval expand)
- (load-extension "libgncmod-engine" "scm_init_sw_engine_module")))
- (else ))
-(use-modules (sw_engine))
+(use-modules (gnucash app-utils))
(define txf-tax-entity-types
(list
Summary of changes:
src/tax/us/de_DE.scm | 11 ++++++++++-
src/tax/us/txf-de_DE.scm | 10 +---------
2 files changed, 11 insertions(+), 10 deletions(-)
More information about the gnucash-changes
mailing list