Herbert Thoma's patch to fix finding with EURO support.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2570 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-07-12 21:33:12 +00:00
parent 1bb767c927
commit c437ce9471
3 changed files with 48 additions and 17 deletions

View File

@ -1,16 +1,16 @@
How to install gnucash-1.3.0 on SuSE-6.3
========================================
How to install gnucash on SuSE
==============================
(written 2000-01-07 by Peter Pointner <peter@wuzel.m.isar.de>)
(changed for gnucash-1.3.x 2000-03-01 by Herbert Thoma (tma@iis.fhg.de))
(last changed 2000-07-12 by Herbert Thoma (tma@iis.fhg.de))
Notes:
- This is only one way to get GnuCash running on SuSE 6.3. I did test
- This is only one way to get GnuCash running on SuSE. I did test
that, but there might be errors anyway, and of course you do all at
your own risk. If you find errors, you might report them to the
gnucash mailing list (gnucash-devel@gnucash.org)
- This is definitely for SuSE 6.3 (Intel). Earlier SuSE distributions
- This is for SuSE 6.3 and 6.4 (Intel). Earlier SuSE distributions
lack some required packages. Later SuSE distributions didn't exist
at the time of writing.
NOTE: You can install new packages to older versions of SuSE from
@ -21,6 +21,15 @@ Notes:
and you don't need g-wrap. (However, you won't see this howto
until you installed the GnuCash rpm succesfully ;-).)
- The current stable version is gnucash-1.4.x,
the current development version is gnucash-1.5.x,
the development version needs the latest GNOME libraries
to build, especially gnprint >= 0.16 and gdk_pix >= 0.7,
which are not included with current SuSE distibutions.
The easiest way to get the latest GNOME is to do
"lynx -source http://go-gnome.com | sh"
as root.
Let's go:
* Make sure you have a running system, including X. For my tests I
@ -29,7 +38,7 @@ Let's go:
* Install the following packages:
+ from series d
eperl guile nana swig xmhtml xmhtmld gettext
eperl guile swig xmhtml xmhtmld gettext
libxml libxmld
and optionally
autoconf automake libtool
@ -37,8 +46,6 @@ Let's go:
installed!)
+ from series x
xdevel
+ from series xdev
lesstiff lesstifd
+ from series gnm
gnlibs gnlibsd
for (check) printing
@ -58,22 +65,28 @@ Let's go:
unpack and untar, then
./configure, make, su, make install
* Download GnuCash from
http://www.gnucash.org/pub/gnucash/sources/unstable/1.3.x/1.3.0/gnucash-1.3.0.tar.gz
* Download GnuCash
stable version:
http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-1.4.x.tar.gz
development version:
http://www.gnucash.org/pub/gnucash/sources/unstable/1.5.x/gnucash-1.5.x.tar.gz
and unpack it
tar xzf gnucash-1.3.0.tar.gz
tar xzf gnucash-1.y.x.tar.gz
* Alternatively get GnuCash from cvs
cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot login (password guest)
cvs -d :pserver:cvs@cvs.gnucash.org:/home/cvs/cvsroot checkout gnucash
(this will get you the latest development version)
* If you want to build the development version, first build gtkhtml
as described in lib/README. This step will no longer be required
when gtkhtml makes it into the official GNOME distribution.
* Configure, build and install gnucash. Installation must probably be
done as root, the files go to various places in /usr/local.
cd gnucash-1.3.0
cd gnucash-1.y.x
./configure
make motif for motif version or
make gnome for gnome version (recommended) or
make qt for qt/KDE version (pre alpha, may even not compile)
make
su root -c "make install"
* You may need to run GnuCash once as root, because guile needs to set up

View File

@ -146,3 +146,14 @@ make-gnucash-patch
rpm/gnucash.spec
src/gnome/glade-cb-gnc-dialogs.c
src/gnome/glade-support-gnc-dialogs.c
intl/libintl.h
lib/gtkhtml/ABOUT-NLS
lib/gtkhtml/po
lib/gtkhtml/config.guess
lib/gtkhtml/config.sub
lib/gtkhtml/gtkhtml.spec
lib/gtkhtml/gtkhtmlConf.sh
lib/gtkhtml/ltconfig
lib/gtkhtml/ltmain.sh
lib/gtkhtml/intl
lib/gtkhtml/src/libgtkhtml.la

View File

@ -1721,8 +1721,15 @@ regRefresh(xaccLedgerDisplay *ledger)
const char *currency = xaccAccountGetCurrency(ledger->leader);
/* no EURO converson, if account is already EURO or no EURO currency */
if(currency != NULL)
{
euro = (euro && strncasecmp("EUR", currency, 3) &&
gnc_is_euro_currency(currency));
}
else
{
euro = FALSE;
}
xaccSRLoadXferCells(ledger->ledger, ledger->leader);