- Update to 4.0.4

PR:		136044
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2009-06-26 14:43:29 +00:00
parent 0406ff8626
commit 6243a74ba7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=236665
4 changed files with 23 additions and 127 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= homebank
PORTVERSION= 4.0.3
PORTVERSION= 4.0.4
CATEGORIES= finance
MASTER_SITES= http://homebank.free.fr/public/

View file

@ -1,3 +1,3 @@
MD5 (homebank-4.0.3.tar.gz) = 8ff3dde0a594f34d086148e4bae2d624
SHA256 (homebank-4.0.3.tar.gz) = f822b5a96e09dba4ea12b4315c1f097350e63a294e2931c92fa2fdd4ae779217
SIZE (homebank-4.0.3.tar.gz) = 2483792
MD5 (homebank-4.0.4.tar.gz) = 90fcd33db3e1ec00c74662ae468508d5
SHA256 (homebank-4.0.4.tar.gz) = 61a96f905828ed80438943c46f99486abc6e3798087df2212e0f7a55e2c8f3d9
SIZE (homebank-4.0.4.tar.gz) = 2605519

View file

@ -1,121 +0,0 @@
--- src/import.c.orig 2009-05-01 21:57:15.000000000 +0900
+++ src/import.c 2009-05-05 05:09:06.000000000 +0900
@@ -244,7 +244,7 @@
g_free(converted_contents);
- if( isutf8 == true )
+ if( isutf8 == TRUE )
{
retval = enc->charset;
@@ -509,24 +509,24 @@
DB( g_print("** ofx_proc_account_cb()\n") );
- if(data.account_id_valid==true)
+ if(data.account_id_valid==TRUE)
{
DB( g_print(" account_id: %s\n", data.account_id) );
DB( g_print(" account_name: %s\n", data.account_name) );
}
- //if(data.account_number_valid==true)
+ //if(data.account_number_valid==TRUE)
//{
DB( g_print(" account_number: %s\n", data.account_number) );
//}
- if(data.account_type_valid==true)
+ if(data.account_type_valid==TRUE)
{
DB( g_print(" account_type: %d\n", data.account_type) );
}
- if(data.currency_valid==true)
+ if(data.currency_valid==TRUE)
{
DB( g_print(" currency: %s\n", data.currency) );
}
@@ -575,7 +575,7 @@
DB( g_print("** ofx_proc_statement_cb()\n") );
#ifdef MYDEBUG
- if(data.ledger_balance_date_valid==true)
+ if(data.ledger_balance_date_valid==TRUE)
{
struct tm temp_tm;
@@ -584,7 +584,7 @@
}
#endif
- if(data.ledger_balance_valid==true)
+ if(data.ledger_balance_valid==TRUE)
{
if( ctx->curr_acc != NULL && ctx->curr_acc_isnew == TRUE )
{
@@ -616,7 +616,7 @@
newope = da_operation_malloc();
// date
- if(data.date_posted_valid==true)
+ if(data.date_posted_valid==TRUE)
{
temp_tm = *localtime(&(data.date_posted));
date = g_date_new();
@@ -625,7 +625,7 @@
g_date_free(date);
}
// amount
- if(data.amount_valid==true)
+ if(data.amount_valid==TRUE)
{
newope->amount = data.amount;
@@ -633,14 +633,14 @@
newope->flags |= OF_INCOME;
}
// check number
- if(data.check_number_valid==true)
+ if(data.check_number_valid==TRUE)
{
newope->info = g_strdup(data.check_number);
}
//todo: reference_number ?
// wording
- if(data.name_valid==true)
+ if(data.name_valid==TRUE)
{
newope->wording = g_strdup(data.name);
}
@@ -648,7 +648,7 @@
//todo: memo ?
// payment
- if(data.transactiontype_valid==true)
+ if(data.transactiontype_valid==TRUE)
{
switch(data.transactiontype)
{
@@ -753,12 +753,12 @@
DB( g_print("(import) ofx import\n") );
- ofx_PARSER_msg = false;
- ofx_DEBUG_msg = false;
- ofx_WARNING_msg = false;
- ofx_ERROR_msg = false;
- ofx_INFO_msg = false;
- ofx_STATUS_msg = false;
+ ofx_PARSER_msg = FALSE;
+ ofx_DEBUG_msg = FALSE;
+ ofx_WARNING_msg = FALSE;
+ ofx_ERROR_msg = FALSE;
+ ofx_INFO_msg = FALSE;
+ ofx_STATUS_msg = FALSE;
LibofxContextPtr libofx_context = libofx_get_new_context();
ofx_set_statement_cb (libofx_context, (LibofxProcStatementCallback) ofx_proc_statement_cb , &ctx);

View file

@ -100,7 +100,7 @@ share/applications/homebank.desktop
%%DATADIR%%/help/navig.html
%%DATADIR%%/images/account.svg
%%DATADIR%%/images/archive.svg
%%DATADIR%%/images/banktransfert.svg
%%DATADIR%%/images/banktransfer.svg
%%DATADIR%%/images/budget.svg
%%DATADIR%%/images/cash.svg
%%DATADIR%%/images/category.svg
@ -125,7 +125,7 @@ share/applications/homebank.desktop
%%DATADIR%%/images/ope_show.svg
%%DATADIR%%/images/ope_valid.svg
%%DATADIR%%/images/payee.svg
%%DATADIR%%/images/personaltransfert.svg
%%DATADIR%%/images/personaltransfer.svg
%%DATADIR%%/images/prf_columns.svg
%%DATADIR%%/images/prf_display.svg
%%DATADIR%%/images/prf_euro.svg
@ -149,7 +149,10 @@ share/icons/hicolor/24x24/apps/homebank.png
share/icons/hicolor/32x32/apps/homebank.png
share/icons/hicolor/48x48/apps/homebank.png
share/icons/hicolor/scalable/apps/homebank.svg
share/locale/am/LC_MESSAGES/homebank.mo
share/locale/ar/LC_MESSAGES/homebank.mo
share/locale/ast/LC_MESSAGES/homebank.mo
share/locale/be/LC_MESSAGES/homebank.mo
share/locale/bg/LC_MESSAGES/homebank.mo
share/locale/ca/LC_MESSAGES/homebank.mo
share/locale/cs/LC_MESSAGES/homebank.mo
@ -161,31 +164,43 @@ share/locale/en_CA/LC_MESSAGES/homebank.mo
share/locale/en_GB/LC_MESSAGES/homebank.mo
share/locale/es/LC_MESSAGES/homebank.mo
share/locale/et/LC_MESSAGES/homebank.mo
share/locale/eu/LC_MESSAGES/homebank.mo
share/locale/fa/LC_MESSAGES/homebank.mo
share/locale/fi/LC_MESSAGES/homebank.mo
share/locale/fr/LC_MESSAGES/homebank.mo
share/locale/gl/LC_MESSAGES/homebank.mo
share/locale/he/LC_MESSAGES/homebank.mo
share/locale/hr/LC_MESSAGES/homebank.mo
share/locale/ht/LC_MESSAGES/homebank.mo
share/locale/hu/LC_MESSAGES/homebank.mo
share/locale/id/LC_MESSAGES/homebank.mo
share/locale/is/LC_MESSAGES/homebank.mo
share/locale/it/LC_MESSAGES/homebank.mo
share/locale/ja/LC_MESSAGES/homebank.mo
share/locale/ka/LC_MESSAGES/homebank.mo
share/locale/kn/LC_MESSAGES/homebank.mo
share/locale/ko/LC_MESSAGES/homebank.mo
share/locale/lt/LC_MESSAGES/homebank.mo
share/locale/lv/LC_MESSAGES/homebank.mo
share/locale/mi/LC_MESSAGES/homebank.mo
share/locale/ms/LC_MESSAGES/homebank.mo
share/locale/nb/LC_MESSAGES/homebank.mo
share/locale/nds/LC_MESSAGES/homebank.mo
share/locale/nl/LC_MESSAGES/homebank.mo
share/locale/oc/LC_MESSAGES/homebank.mo
share/locale/pl/LC_MESSAGES/homebank.mo
share/locale/pt/LC_MESSAGES/homebank.mo
share/locale/pt_BR/LC_MESSAGES/homebank.mo
share/locale/pt_PT/LC_MESSAGES/homebank.mo
share/locale/ro/LC_MESSAGES/homebank.mo
share/locale/ru/LC_MESSAGES/homebank.mo
share/locale/sk/LC_MESSAGES/homebank.mo
share/locale/sl/LC_MESSAGES/homebank.mo
share/locale/sv/LC_MESSAGES/homebank.mo
share/locale/ta/LC_MESSAGES/homebank.mo
share/locale/tr/LC_MESSAGES/homebank.mo
share/locale/uk/LC_MESSAGES/homebank.mo
share/locale/ur/LC_MESSAGES/homebank.mo
share/locale/uz/LC_MESSAGES/homebank.mo
share/locale/vi/LC_MESSAGES/homebank.mo
share/locale/zh_CN/LC_MESSAGES/homebank.mo
@ -205,6 +220,8 @@ share/pixmaps/homebank.svg
@dirrmtry share/locale/nds
@dirrmtry share/locale/mi/LC_MESSAGES
@dirrmtry share/locale/mi
@dirrmtry share/locale/ht/LC_MESSAGES
@dirrmtry share/locale/ht
@dirrm %%DATADIR%%/images
@dirrm %%DATADIR%%/help/images
@dirrm %%DATADIR%%/help