summaryrefslogtreecommitdiff
path: root/finance/gnucash/patches/patch-ab
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-12-23 00:10:49 +0000
committerwiz <wiz@pkgsrc.org>2010-12-23 00:10:49 +0000
commit2f5320453b036a3607b00d2bf96b94b0bd98f3b9 (patch)
tree0a602703ba1c70d65230f3f993b3e731e7dfeb28 /finance/gnucash/patches/patch-ab
parent62fba6819969141d5c98dee22ed4dd795abc8015 (diff)
downloadpkgsrc-2f5320453b036a3607b00d2bf96b94b0bd98f3b9.tar.gz
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)
Diffstat (limited to 'finance/gnucash/patches/patch-ab')
-rw-r--r--finance/gnucash/patches/patch-ab100
1 files changed, 0 insertions, 100 deletions
diff --git a/finance/gnucash/patches/patch-ab b/finance/gnucash/patches/patch-ab
deleted file mode 100644
index fd7fd725195..00000000000
--- a/finance/gnucash/patches/patch-ab
+++ /dev/null
@@ -1,100 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2010/11/07 23:23:56 wiz Exp $
-
-Some help for DragonFly.
-
---- src/app-utils/gnc-ui-util.c.orig 2007-06-02 17:56:55.000000000 +0000
-+++ src/app-utils/gnc-ui-util.c
-@@ -103,6 +103,14 @@ gnc_configure_account_separator (void)
- free(string);
- }
-
-+#if defined(__DragonFly__)
-+#define LC_CAST (char **)
-+#define LC_CAST2 (char *)
-+#else
-+#define LC_CAST
-+#define LC_CAST2
-+#endif
-+
-
- static void
- gnc_configure_reverse_balance (void)
-@@ -780,16 +788,16 @@ gnc_localeconv (void)
-
- lc = *localeconv();
-
-- gnc_lconv_set_utf8(&lc.decimal_point, ".");
-- gnc_lconv_set_utf8(&lc.thousands_sep, ",");
-- gnc_lconv_set_utf8(&lc.grouping, "\003");
-- gnc_lconv_set_utf8(&lc.int_curr_symbol, "USD ");
-- gnc_lconv_set_utf8(&lc.currency_symbol, "$");
-- gnc_lconv_set_utf8(&lc.mon_decimal_point, ".");
-- gnc_lconv_set_utf8(&lc.mon_thousands_sep, ",");
-- gnc_lconv_set_utf8(&lc.mon_grouping, "\003");
-- gnc_lconv_set_utf8(&lc.negative_sign, "-");
-- gnc_lconv_set_utf8(&lc.positive_sign, "");
-+ gnc_lconv_set_utf8(LC_CAST &lc.decimal_point, ".");
-+ gnc_lconv_set_utf8(LC_CAST &lc.thousands_sep, ",");
-+ gnc_lconv_set_utf8(LC_CAST &lc.grouping, "\003");
-+ gnc_lconv_set_utf8(LC_CAST &lc.int_curr_symbol, "USD ");
-+ gnc_lconv_set_utf8(LC_CAST &lc.currency_symbol, "$");
-+ gnc_lconv_set_utf8(LC_CAST &lc.mon_decimal_point, ".");
-+ gnc_lconv_set_utf8(LC_CAST &lc.mon_thousands_sep, ",");
-+ gnc_lconv_set_utf8(LC_CAST &lc.mon_grouping, "\003");
-+ gnc_lconv_set_utf8(LC_CAST &lc.negative_sign, "-");
-+ gnc_lconv_set_utf8(LC_CAST &lc.positive_sign, "");
-
- gnc_lconv_set_char(&lc.frac_digits, 2);
- gnc_lconv_set_char(&lc.int_frac_digits, 2);
-@@ -1293,13 +1301,13 @@ PrintAmountInternal(char *buf, gnc_numer
-
- if (info->monetary)
- {
-- separator = lc->mon_thousands_sep;
-- group = lc->mon_grouping;
-+ separator = LC_CAST2 lc->mon_thousands_sep;
-+ group = LC_CAST2 lc->mon_grouping;
- }
- else
- {
-- separator = lc->thousands_sep;
-- group = lc->grouping;
-+ separator = LC_CAST2 lc->thousands_sep;
-+ group = LC_CAST2 lc->grouping;
- }
-
- buf_ptr = buf;
-@@ -1367,7 +1375,7 @@ PrintAmountInternal(char *buf, gnc_numer
- }
- else
- {
-- char *decimal_point;
-+ const char *decimal_point;
- guint8 num_decimal_places = 0;
- char *temp_ptr = temp_buf;
-
-@@ -1687,7 +1695,7 @@ number_to_words(gdouble val, gint64 deno
- if (val < 0) val = -val;
- if (denom < 0) denom = -denom;
-
-- int_part = trunc(val);
-+ int_part = floor(val);
- frac_part = round((val - int_part) * denom);
-
- int_string = integer_to_words(int_part);
-@@ -1803,13 +1811,13 @@ xaccParseAmount (const char * in_str, gb
- {
- group_separator = g_utf8_get_char(lc->mon_thousands_sep);
- decimal_point = g_utf8_get_char(lc->mon_decimal_point);
-- group = lc->mon_grouping;
-+ group = LC_CAST2 lc->mon_grouping;
- }
- else
- {
- group_separator = g_utf8_get_char(lc->thousands_sep);
- decimal_point = g_utf8_get_char(lc->decimal_point);
-- group = lc->grouping;
-+ group = LC_CAST2 lc->grouping;
- }
-
- return xaccParseAmountExtended(in_str, monetary, negative_sign, decimal_point,