27
27
# Are we building a release version, or are we doing development?
28
28
CVS_BUILD=$(shell test ! -d CVS; echo $$?)
30
upstreamversion=$(shell dpkg-parsechangelog | grep Version | head -1 | sed -e 's/Version: //g' -e 's/-[A-Za-z0-9+\.]*$$//g')
30
upstreamversion=$(shell dpkg-parsechangelog | grep Version | head -1 | sed -e 's/Version: //g' -e 's/-[A-Za-z0-9\.]*$$//g')
32
32
# Features configuration
33
33
# ----------------------
40
# Spreadsheet indexer for beagle
41
features+= --enable-ssindex
43
# Plugins to access databases through the GDA framework and through GnomeDB.
45
# The GDA and GnomeDB plugins for gnumeric now require versions of GDA and
46
# GnomeDB that are not available as packages yet.
47
# Mon, 10 Oct 2005 20:37:06 +0200
48
features+= --without-gda --without-gnomedb
40
# The Python executable
41
features+= PYTHON=/usr/bin/python
43
# The Python support offers a nice way to extend gnumeric's functionality.
45
features+= --with-python
47
# Bonobo allows us to use parts of other applications as components via
48
# CORBA, and was supposed to allow us to work as a component for other
49
# applications. However, that promise hasn't really been realised and
50
# according to Morten Welinder "drop bonobo from your build. it's
53
features+= --without-bonobo
55
# Plugin to access databases through the GDA framework.
59
# Guile offers an additional way to extension gnumeric, but the guile
60
# support is for guile 1.5 or newer, which is not currently available in
63
features+= --without-guile
50
65
# configure.in: "Gnome Basic is extremely API unstable; it is likely that
51
66
# gnumeric will only build with the single version mentioned in
52
67
# configure.in, if at all. It is possible, but unlikely, that Gnome Basic
53
68
# contains security vulnerabilities."
54
70
features+= --without-gb
72
# The GDA and GnomeDB plugins for gnumeric now require versions of GDA and
73
# GnomeDB that are not available as packages yet.
74
# Mon, 10 Oct 2005 20:37:06 +0200
75
features+= --without-gda --without-gnomedb
56
77
# Debian's psiconv packages are not recent enough for gnumeric; see
57
78
# http://bugs.debian.org/268576
58
79
# Tue, 9 Aug 2005 17:36:09 +0200
61
82
# Paradox database files plugin
62
83
features+= --with-paradox
65
features+= --with-perl
68
features+= PYTHON=/usr/bin/python --with-python
70
# Bonobo allows us to use parts of other applications as components via
71
# CORBA, and was supposed to allow us to work as a component for other
72
# applications. However, that promise hasn't really been realised and
73
# according to Morten Welinder "drop bonobo from your build. it's
75
features+= --without-bonobo
77
confflags := --prefix=/usr \
85
# Spreadsheet indexer for beagle
86
features+= --enable-ssindex
88
confflags := --prefix=/usr \
78
89
--mandir=\$${prefix}/share/man \
79
90
--sysconfdir=/etc \
80
91
--localstatedir=/var/lib \
219
230
rm -rf debian/tmp-$*/usr/lib/bonobo
220
231
# libspreadsheet is far from a mature library; loose the development
222
rm -f debian/tmp-$*/usr/lib/libspreadsheet.la debian/tmp/usr/lib/libspreadsheet.so
233
rm -f debian/tmp-$*/usr/lib/libspreadsheet*.la
234
rm -f debian/tmp-$*/usr/lib/pkgconfig/libspreadsheet-*.pc
235
rm -rf debian/tmp-$*/usr/include/libspreadsheet-*
224
238
rm -f debian/tmp-$*/usr/share/mc/templates/gnumeric.desktop