Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 207605 | Differences between
and this patch

Collapse All | Expand All

(-)grisbi-0.5.9/configure.in (-33 / +48 lines)
Lines 1-76 Link Here
1
AC_INIT(src/main.c)
1
AC_INIT([grisbi],[0.5.9],[http://grisbi.tuxfamily.org/mantis/])
2
AC_PREREQ(2.54)
3
4
AC_CONFIG_MACRO_DIR([macros])
2
AM_CONFIG_HEADER(config.h)
5
AM_CONFIG_HEADER(config.h)
3
AM_INIT_AUTOMAKE(grisbi,0.5.9)
6
AC_CONFIG_SRCDIR(src/main.c)
4
AM_ACLOCAL_INCLUDE(macros)
5
AM_MAINTAINER_MODE
6
7
7
PACKAGE=grisbi
8
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME,AC_PACKAGE_VERSION)
8
VERSION=0.5.9
9
AM_MAINTAINER_MODE
9
dnl MKINSTALLDIRS
10
dnl AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
11
dnl AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
12
AC_SUBST(PACKAGE)
13
AC_SUBST(VERSION)
14
10
15
AC_ISC_POSIX
11
AC_ISC_POSIX
16
AC_PROG_CC
12
AC_PROG_CC
17
AC_STDC_HEADERS
13
AC_STDC_HEADERS
18
AC_PROG_RANLIB
14
AC_PROG_RANLIB
19
15
16
dnl ******************************
20
dnl Check for NLS support.
17
dnl Check for NLS support.
18
dnl ******************************
19
20
GETTEXT_PACKAGE=grisbi
21
ALL_LINGUAS="cs de es fr he it pl pt_BR nl ro ru zh_CN"
21
ALL_LINGUAS="cs de es fr he it pl pt_BR nl ro ru zh_CN"
22
AM_GNU_GETTEXT
22
AC_SUBST(GETTEXT_PACKAGE)
23
AC_CHECK_LIB(intl,main)
23
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext domain.])
24
25
AM_GLIB_GNU_GETTEXT
24
26
27
dnl ******************************
25
dnl Check for libofx
28
dnl Check for libofx
26
AC_CHECK_HEADER(libofx/libofx.h,,noofx=true)
29
dnl ******************************
27
AC_ARG_WITH(ofx,
30
28
    [  --without-ofx           build grisbi without ofx support [default=with]],
31
AC_CHECK_HEADER(libofx/libofx.h,,ofx_found=false)
32
AC_ARG_WITH([ofx],
33
    AC_HELP_STRING([--without-ofx],[build grisbi without ofx support @<:@default=with@:>@]),
29
    [build_ofx=$withval],
34
    [build_ofx=$withval],
30
    [build_ofx=yes]
35
    [build_ofx=yes]
31
)
36
)
37
38
OFX_CFLAGS=
39
OFX_LIBS=
32
if test x$build_ofx != xno
40
if test x$build_ofx != xno
33
then
41
then
34
    if test x$noofx != xtrue
42
    if test x$ofx_found != xfalse
35
    then
43
    then
44
	ofx_found=true
36
        AC_CHECK_LIB(ofx, ofx_set_status_cb, OFX_0_7="-DOFX_0_7")
45
        AC_CHECK_LIB(ofx, ofx_set_status_cb, OFX_0_7="-DOFX_0_7")
37
        LDFLAGS="${LDFLAGS} -lofx"
46
        OFX_CFLAGS="$OFX_0_7"
38
        CFLAGS="${CFLAGS} $OFX_0_7"
47
        OFX_LIBS="-lofx"
48
	AC_DEFINE(WITH_OFX, 1, [Support for OFX files])
39
    else
49
    else
40
        noofx=true
50
        ofx_found=false
41
        AC_MSG_RESULT([Libofx header missing. Check your libofx installation])
51
        AC_MSG_RESULT([Libofx header missing. Check your libofx installation])
42
	CFLAGS="${CFLAGS} -DNOOFX"
43
    fi
52
    fi
44
else
53
else
45
    noofx=true
54
    ofx_found=false
46
    CFLAGS="${CFLAGS} -DNOOFX"
47
fi
55
fi
48
AM_CONDITIONAL(NOOFX, test x$noofx = xtrue)
56
AC_SUBST(OFX_CFLAGS)
49
57
AC_SUBST(OFX_LIBS)
58
AM_CONDITIONAL(HAVE_OFX, [test "x$ofx_found" = "xtrue"])
50
59
51
AC_SUBST(prefix)
60
AC_SUBST(prefix)
52
61
53
PKG_CHECK_MODULES(GRISBI, gtk+-2.0 >= 2.2.0 glib-2.0 libxml-2.0 >= 2.0)
62
PKG_CHECK_MODULES(GRISBI, gtk+-2.0 >= 2.2.0 glib-2.0 libxml-2.0 >= 2.0)
54
LDFLAGS="${LDFLAGS} ${GRISBI_LIBS}"
63
AC_SUBST(GRISBI_CFLAGS)
55
CFLAGS="${CFLAGS} ${GRISBI_CFLAGS}"
64
AC_SUBST(GRISBI_LIBS)
56
57
58
AC_SUBST(CFLAGS)
59
AC_SUBST(LDFLAGS)
60
65
61
dnl ******************************
66
dnl ******************************
62
dnl Makefiles
67
dnl Makefiles
63
dnl ******************************
68
dnl ******************************
64
69
65
AC_OUTPUT([
70
AC_CONFIG_FILES([
66
Makefile
71
Makefile
67
help/Makefile
72
help/Makefile
68
help/en/Makefile
73
help/en/Makefile
69
help/fr/Makefile
74
help/fr/Makefile
70
help/de/Makefile
75
help/de/Makefile
71
intl/Makefile
72
macros/Makefile
76
macros/Makefile
73
pixmaps/Makefile
77
pixmaps/Makefile
74
po/Makefile.in
78
po/Makefile.in
75
src/Makefile
79
src/Makefile
76
])
80
])
81
82
AC_OUTPUT
83
84
echo "
85
86
Configuration:
87
88
	Source code location:   ${srcdir}
89
	With libofx:            ${ofx_found}
90
91
"
(-)grisbi-0.5.9/help/de/Makefile.am (-9 / +5 lines)
Lines 1-21 Link Here
1
## Process this file with automake to produce Makefile.in.
1
## Process this file with automake to produce Makefile.in.
2
2
3
HTML_FILES =			\
3
HTML_FILES = \
4
	grisbi-manuel.html \
4
	grisbi-manuel.html \
5
	quickstart.html \
5
	quickstart.html    \
6
	translation.html
6
	translation.html
7
7
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/de
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/de
9
9
10
grisbi_help_DATA = \
10
grisbi_help_DATA = \
11
	topic.dat     \
11
	topic.dat          \
12
	contents_motif.gif \
12
	contents_motif.gif \
13
	next_motif.gif \
13
	next_motif.gif     \
14
	previous_motif.gif \
14
	previous_motif.gif \
15
	$(HTML_FILES)
15
	$(HTML_FILES)
16
16
17
EXTRA_DIST = 		\
17
EXTRA_DIST = $(grisbi_help_DATA)
18
	contents_motif.gif		\
19
	previous_motif.gif	\
20
	next_motif.gif	\
21
	topic.dat
(-)grisbi-0.5.9/help/en/Makefile.am (-9 / +5 lines)
Lines 1-21 Link Here
1
## Process this file with automake to produce Makefile.in.
1
## Process this file with automake to produce Makefile.in.
2
2
3
HTML_FILES =			\
3
HTML_FILES = \
4
	grisbi-manuel.html \
4
	grisbi-manuel.html \
5
	quickstart.html \
5
	quickstart.html    \
6
	translation.html
6
	translation.html
7
7
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/C
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/C
9
9
10
grisbi_help_DATA = \
10
grisbi_help_DATA = \
11
	topic.dat     \
11
	topic.dat          \
12
	contents_motif.gif \
12
	contents_motif.gif \
13
	next_motif.gif \
13
	next_motif.gif     \
14
	previous_motif.gif \
14
	previous_motif.gif \
15
	$(HTML_FILES)
15
	$(HTML_FILES)
16
16
17
EXTRA_DIST = 		\
17
EXTRA_DIST = $(grisbi_help_DATA)
18
	contents_motif.gif		\
19
	previous_motif.gif	\
20
	next_motif.gif	\
21
	topic.dat
(-)grisbi-0.5.9/help/fr/Makefile.am (-9 / +5 lines)
Lines 1-21 Link Here
1
## Process this file with automake to produce Makefile.in.
1
## Process this file with automake to produce Makefile.in.
2
2
3
HTML_FILES =			\
3
HTML_FILES = \
4
	grisbi-manuel.html \
4
	grisbi-manuel.html \
5
	quickstart.html \
5
	quickstart.html    \
6
	translation.html
6
	translation.html
7
7
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/fr
8
grisbi_helpdir = $(datadir)/doc/grisbi/help/fr
9
9
10
grisbi_help_DATA = \
10
grisbi_help_DATA = \
11
	topic.dat     \
11
	topic.dat          \
12
	contents_motif.gif \
12
	contents_motif.gif \
13
	next_motif.gif \
13
	next_motif.gif     \
14
	previous_motif.gif \
14
	previous_motif.gif \
15
	$(HTML_FILES)
15
	$(HTML_FILES)
16
16
17
EXTRA_DIST = 		\
17
EXTRA_DIST = $(grisbi_help_DATA)
18
	contents_motif.gif		\
19
	previous_motif.gif	\
20
	next_motif.gif	\
21
	topic.dat
(-)grisbi-0.5.9/Makefile.am (-1 / +1 lines)
Lines 1-6 Link Here
1
## Process this file with automake to produce Makefile.in
1
## Process this file with automake to produce Makefile.in
2
2
3
SUBDIRS = macros src po intl pixmaps help
3
SUBDIRS = macros src po pixmaps help
4
man_MANS = grisbi.1
4
man_MANS = grisbi.1
5
5
6
EXTRA_DIST = $(man_MANS)
6
EXTRA_DIST = $(man_MANS)
(-)grisbi-0.5.9/pixmaps/Makefile.am (+2 lines)
Lines 18-20 Link Here
18
	warnings.png \
18
	warnings.png \
19
	grisbi-logo.png \
19
	grisbi-logo.png \
20
	grisbi.png
20
	grisbi.png
21
22
EXTRA_DIST = $(grisbi_pixmaps_DATA)
(-)grisbi-0.5.9/src/Makefile.am (-4 / +58 lines)
Lines 1-7 Link Here
1
# Process this file with automake to produce Makefile.in
1
# Process this file with automake to produce Makefile.in
2
2
3
localedir = $(datadir)/locale
3
localedir = $(datadir)/locale
4
INCLUDES = -I$(top_srcdir) -I$(includedir) -I../intl -DLOCALEDIR=\"$(localedir)\" -DPIXMAPS_DIR="\"$(datadir)/pixmaps/grisbi\"" -DLOGO_PATH="\"$(datadir)/pixmaps/grisbi/grisbi-logo.png\"" -DANIM_PATH="\"$(datadir)/pixmaps/grisbi/euro.gif\"" -DHELP_PATH="\"$(datadir)/doc/grisbi/help\"" -Wall 
4
5
INCLUDES = \
6
	-I$(top_srcdir) \
7
	-I$(includedir) \
8
	-DLOCALEDIR=\"$(localedir)\" \
9
	-DPIXMAPS_DIR="\"$(datadir)/pixmaps/grisbi\"" \
10
	-DLOGO_PATH="\"$(datadir)/pixmaps/grisbi/grisbi-logo.png\"" \
11
	-DANIM_PATH="\"$(datadir)/pixmaps/grisbi/euro.gif\"" \
12
	-DHELP_PATH="\"$(datadir)/doc/grisbi/help\"" \
13
	$(GRISBI_CFLAGS) \
14
	-Wall
15
5
bin_PROGRAMS = grisbi
16
bin_PROGRAMS = grisbi
6
17
7
sources = 			\
18
sources = 			\
Lines 132-141 Link Here
132
	ventilation.h		\
143
	ventilation.h		\
133
	utils.h			\
144
	utils.h			\
134
	utils_xml.h		\
145
	utils_xml.h		\
135
	search_glist.h
146
	search_glist.h		\
136
147
	csv.h			\
148
	etats_affiche.h         \
149
	etats_csv.h             \
150
	etats_html.h            \
151
	export.h                \
152
	ofx.h                   \
153
	mouse.h                 \
154
	utils_file_selection.h	\
155
	utils_files.h		\
156
	variables.c             \
157
	variables-extern.c
158
159
grisbi_LDADD = $(GRISBI_LIBS)
160
161
if HAVE_OFX
162
INCLUDES += $(OFX_CFLAGS)
163
grisbi_LDADD += $(OFX_LIBS)
164
endif
165
166
xpms = \
167
	xpm/import.xpm             \
168
	xpm/portrait.xpm           \
169
	xpm/image_fleche_haut.xpm  \
170
	xpm/book-closed.xpm        \
171
	xpm/ope_completes.xpm      \
172
	xpm/ope_simples.xpm        \
173
	xpm/fleche_bas.xpm         \
174
	xpm/ope_2.xpm              \
175
	xpm/liste_0.xpm            \
176
	xpm/liste_2.xpm            \
177
	xpm/ope_sans_r.xpm         \
178
	xpm/ope_4.xpm              \
179
	xpm/liste_1.xpm            \
180
	xpm/liste_3.xpm            \
181
	xpm/ope_1.xpm              \
182
	xpm/export.xpm             \
183
	xpm/comments.xpm           \
184
	xpm/book-open.xpm          \
185
	xpm/image_fleche_bas.xpm   \
186
	xpm/ope_semi_completes.xpm \
187
	xpm/landscape.xpm          \
188
	xpm/ope_3.xpm              \
189
	xpm/fleche_haut.xpm        \
190
	xpm/ope_avec_r.xpm
137
191
138
EXTRA_DIST = grisbi.desktop grisbi.keys grisbi.mime $(grisbi_INCLUDES)
192
EXTRA_DIST = grisbi.desktop grisbi.keys grisbi.mime $(grisbi_INCLUDES) $(xpms)
139
193
140
mimedir = $(datadir)/mime-info
194
mimedir = $(datadir)/mime-info
141
mime_DATA = grisbi.keys grisbi.mime
195
mime_DATA = grisbi.keys grisbi.mime
(-)grisbi-0.5.9/src/ofx.c (-1 / +1 lines)
Lines 28-34 Link Here
28
#include "dialog.h"
28
#include "dialog.h"
29
#include "utils.h"
29
#include "utils.h"
30
30
31
#ifdef NOOFX
31
#ifndef WITH_OFX
32
/* dummy recuperation_donnees_ofx function implementation for system with no LIBOFX */
32
/* dummy recuperation_donnees_ofx function implementation for system with no LIBOFX */
33
gboolean recuperation_donnees_ofx ( gchar *nom_fichier )
33
gboolean recuperation_donnees_ofx ( gchar *nom_fichier )
34
{
34
{

Return to bug 207605