mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
#500026: Add configure argument for packagers to have correct package name reported on missing qt3-wizard.
Because gnucash is a GTK+ application and HBCI setup wizard for aqbanking is a Qt stuff, most distribution split aqbanking packages to more sub-packages. This patch adds possibility to change string of package name displayed in the reported error without need of distro-specific patches breaking I18N. It could be done in compile time using --with-qt3-wizard-package=name. Patch by Stanislav Brabec <sbrabec@suse.cz>. Signed-off-by: Christian Stimming <stimming@tuhh.de> BP git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16635 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
884b96b194
commit
d5bcce1298
@ -543,6 +543,10 @@ AC_ARG_ENABLE(qof,
|
||||
|
||||
AC_ARG_WITH(qof, [ --with-qof=path prefix for Query Object Framework - QOF (auto)],
|
||||
[gnc_with_qof=$withval], [gnc_with_qof=yes])
|
||||
AC_ARG_WITH(qt3_wizard_package,
|
||||
[ --with-qt3-wizard-package=name name of package containing qt3-wizard (aqbanking)],
|
||||
[QT3_WIZARD_PACKAGE=$withval], [QT3_WIZARD_PACKAGE=aqbanking])
|
||||
AC_DEFINE_UNQUOTED([QT3_WIZARD_PACKAGE],["$QT3_WIZARD_PACKAGE"],[Name of package containing qt3-wizard.])
|
||||
|
||||
# GnuCash builds without deprecated QOF code so needs latest version.
|
||||
QOF_REQUIRED=0.6.4
|
||||
|
@ -688,10 +688,10 @@ on_aqhbci_button (GtkButton *button,
|
||||
(info->window,
|
||||
_("The external program \"AqBanking Setup Wizard\" has not "
|
||||
"been found. \n\n"
|
||||
"The aqbanking package should include the "
|
||||
"The %s package should include the "
|
||||
"program \"qt3-wizard\". Please check your installation to "
|
||||
"ensure this program is present. On some distributions this "
|
||||
"may require installing additional packages."));
|
||||
"may require installing additional packages."), QT3_WIZARD_PACKAGE);
|
||||
druid_disable_next_button(info);
|
||||
}
|
||||
g_free (backend_name);
|
||||
|
Loading…
Reference in New Issue
Block a user