AUDIT: r16635 - gnucash/trunk - #500026: Add configure argument for packagers to have correct package name reported on missing qt3-wizard.

Christian Stimming cstim at cvs.gnucash.org
Tue Dec 11 15:48:06 EST 2007


Author: cstim
Date: 2007-12-11 15:48:06 -0500 (Tue, 11 Dec 2007)
New Revision: 16635
Trac: http://svn.gnucash.org/trac/changeset/16635

Modified:
   gnucash/trunk/configure.in
   gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
Log:
#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 at suse.cz>.
Signed-off-by: Christian Stimming <stimming at tuhh.de>

BP

Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in	2007-12-11 17:38:23 UTC (rev 16634)
+++ gnucash/trunk/configure.in	2007-12-11 20:48:06 UTC (rev 16635)
@@ -543,6 +543,10 @@
 
 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

Modified: gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c	2007-12-11 17:38:23 UTC (rev 16634)
+++ gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c	2007-12-11 20:48:06 UTC (rev 16635)
@@ -688,10 +688,10 @@
       (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);



More information about the gnucash-changes mailing list