head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2010Q3:1.5.0.2 pkgsrc-2010Q3-base:1.5 pkgsrc-2009Q4:1.4.0.22 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.20 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.18 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.16 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.14 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.12 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.10 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.8 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.6 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.4 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.2 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 buildlink2-base:1.2; locks; strict; comment @# @; 1.6 date 2010.12.23.00.10.51; author wiz; state dead; branches; next 1.5; 1.5 date 2010.08.14.19.12.58; author wiz; state Exp; branches; next 1.4; 1.4 date 2006.12.12.19.27.35; author wiz; state dead; branches; next 1.3; 1.3 date 2006.10.16.22.47.53; author wiz; state Exp; branches; next 1.2; 1.2 date 2001.01.31.17.12.38; author wiz; state dead; branches; next 1.1; 1.1 date 2001.01.09.13.08.26; author wiz; state Exp; branches; next ; desc @@ 1.6 log @Update to 2.4.0: The GnuCash development team proudly announces GnuCash 2.4.0, the latest stable release of the GnuCash Free Accounting Software. With this new release series, GnuCash can use an SQL database using SQLite3, MySQL or PostgreSQL. It runs on GNU/Linux, *BSD, Solaris, Microsoft Windows and Mac OSX. WARNING: You should uninstall any earlier GnuCash version from your system prior to installing 2.4.0. Failing to do so may result in startup errors. In particular on Windows this may cause "Parse error: entry point not found" errors. Major changes in the 2.4.0 release include; * In addition to the XML backend, Gnucash can now use a SQLite3, MySQL or PostgreSQL database to store the data. This is a new implementation using libdbi. It supports all features including the business features. In order to build with this, add --enable-dbi to the configure command. In addition to the libdbi-dev package for your distribution, you will also need the appropriate DBD (libdbi driver) package for sqlite3, mysql or postgresql. (not enabled in pkgsrc due to lack of recent libdbi) * As a replacement for the current GtkHTML HTML engine used to display reports and graphs, Gnucash can use WebKit. WebKit is the engine used by Google Chrome on Windows and Safari on Apple. (enabled in pkgsrc) @ text @$NetBSD: patch-ae,v 1.5 2010/08/14 19:12:58 wiz Exp $ Fix build on MacOS X 10.6 from upstream: http://lists.gnucash.org/pipermail/gnucash-changes/2009-September/007462.html --- configure.orig 2009-02-23 20:25:34.000000000 +0000 +++ configure @@@@ -26722,7 +26722,7 @@@@ LIBS="$oLIBS" { $as_echo "$as_me:$LINENO: checking for darwin" >&5 $as_echo_n "checking for darwin... " >&6; } case $host_os in - rhapsody* | darwin1*) + rhapsody* | darwin[1567].*) { $as_echo "$as_me:$LINENO: result: yes, but too old" >&5 $as_echo "yes, but too old" >&6; } { { $as_echo "$as_me:$LINENO: error: This platform is not supported, please @ 1.5 log @Fix compilation on MacOS X 10.6, from upstream via Lothar Braun in PR 43756. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to 2.0.3: 2.0.3 - 10 December 2006 o Release of new stable version 2.0.3. o Core changes; - Fix for crashes on Solaris and Windows. - Fix for crash on quit during save. - Fix a bug so that blank transactions are marked as pending. - When progress bar is showing, do not make menus and toolbars insensitive, but rather the underlying action groups. - Save window size and position of the transfer dialog. o Scheduled Transactions changes; - Fix for UTF-8 bug in month name. o Import changes; - Fix missing date when reconciling from HBCI. o Reports changes; - Fix some scheme inexact errors. o Help changes; - Inform the user about 'gnucash-docs' package when Help is selected with no content. o Translations; - Updated British English, French, German translation. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.3 2006/10/16 22:47:53 wiz Exp $ d3 14 a16 11 --- src/backend/postgres/test/run-tests.sh.orig 2006-07-30 23:41:33.000000000 +0000 +++ src/backend/postgres/test/run-tests.sh @@@@ -14,7 +14,7 @@@@ if ${srcdir}/db-control.sh create; then elif [ "${PGHOST}X" != "X" ]; then # This expects the logged in user to have authority # to create databases. - if [ "${PGPORT}X" == "X" ]; then + if [ "${PGPORT}X" = "X" ]; then export PGPORT=5432 fi ./test-db $PGHOST $PGPORT || EXIT_VALUE=1 @ 1.3 log @Fix "test ==". @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.4.10. Changes: Updated translations, support for Greek Drachma as Euro currency, updated tax report, and bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.1 2001/01/09 13:08:26 wiz Exp $ d3 11 a13 74 --- src/gnome/dialog-qif-import.c.orig Sat Sep 23 10:33:33 2000 +++ src/gnome/dialog-qif-import.c @@@@ -96,11 +96,14 @@@@ int scm_strlen; retval = g_new0(QIFImportWindow, 1); - + retval->dialog = create_QIF_File_Import_Dialog(); - retval->imported_files = - SCM_EOL; - retval->selected_file = SCM_BOOL_F; + + retval->imported_files = SCM_UNDEFINED; + retval->selected_file = SCM_UNDEFINED; + retval->mapping_info = SCM_UNDEFINED; + retval->cat_display_info = SCM_UNDEFINED; + retval->acct_display_info = SCM_UNDEFINED; retval->currency_entry = gtk_object_get_data(GTK_OBJECT(retval->dialog), "qif_currency_entry"); @@@@ -117,7 +120,6 @@@@ gtk_object_get_data(GTK_OBJECT(retval->dialog), "account_page_list"); retval->cat_list = gtk_object_get_data(GTK_OBJECT(retval->dialog), "category_page_list"); - gtk_object_set_data(GTK_OBJECT(retval->dialog), "qif_window_struct", retval); @@@@ -130,14 +132,15 @@@@ mapping_info = gh_call0(load_map_prefs); retval->mapping_info = mapping_info; - + scm_protect_object(retval->mapping_info); + default_currency = gh_call1(lookup_value, gh_call2(lookup_option, gh_str02scm("International"), gh_str02scm("Default Currency"))); - + + retval->imported_files = SCM_EOL; scm_protect_object(retval->imported_files); - scm_protect_object(retval->mapping_info); /* set the currency entry to the GNC default currency */ gtk_entry_set_text(GTK_ENTRY(retval->currency_entry), @@@@ -161,11 +164,20 @@@@ gnome_dialog_close(GNOME_DIALOG(window->dialog)); } - scm_unprotect_object(window->imported_files); - scm_unprotect_object(window->selected_file); - scm_unprotect_object(window->mapping_info); - scm_unprotect_object(window->cat_display_info); - scm_unprotect_object(window->acct_display_info); + if (window->imported_files != SCM_UNDEFINED) + scm_unprotect_object(window->imported_files); + + if (window->selected_file != SCM_UNDEFINED) + scm_unprotect_object(window->selected_file); + + if (window->mapping_info != SCM_UNDEFINED) + scm_unprotect_object(window->mapping_info); + + if (window->cat_display_info != SCM_UNDEFINED) + scm_unprotect_object(window->cat_display_info); + + if (window->acct_display_info != SCM_UNDEFINED) + scm_unprotect_object(window->acct_display_info); g_free(window); } @ 1.1 log @Fix core dump in QIF import dialog. Patch provided by author. @ text @d1 1 a1 1 $NetBSD$ @