~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
# We're aiming for a package that's stable, with as much functionality as is
30
30
# reasonably possible.
31
31
 
32
 
features:=
 
32
features:= 
33
33
 
34
34
# Spreadsheet indexer for beagle
35
35
features+= --enable-ssindex
39
39
# The GDA and GnomeDB plugins for gnumeric now require versions of GDA and
40
40
# GnomeDB that are not available as packages yet.
41
41
#       Mon, 10 Oct 2005 20:37:06 +0200
42
 
features+= --without-gda --without-gnomedb
43
 
 
44
 
# configure.in: "Gnome Basic is extremely API unstable; it is likely that
45
 
# gnumeric will only build with the single version mentioned in
46
 
# configure.in, if at all. It is possible, but unlikely, that Gnome Basic
47
 
# contains security vulnerabilities."
48
 
features+= --without-gb
 
42
features+= --without-gda
49
43
 
50
44
# Ubuntu: psiconv is in universe, don't build the plugin
51
45
# Psion files support
60
54
# The Python plugin
61
55
features+= PYTHON=/usr/bin/python --with-python
62
56
 
63
 
# Bonobo allows us to use parts of other applications as components via
64
 
# CORBA, and was supposed to allow us to work as a component for other
65
 
# applications. However, that promise hasn't really been realised and
66
 
# according to Morten Welinder "drop bonobo from your build.  it's
67
 
# pointless."
68
 
features+= --without-bonobo
69
 
 
70
57
# Don't build a PDF of the documentation.
71
58
features+= --disable-pdfdocs
72
59
 
103
90
LDFLAGS += -Wl,--as-needed
104
91
 
105
92
source-updates:
 
93
# This target is not part of the regular package build process. It is used
 
94
# by the package maintainer for development purposes and may have
 
95
# dependencies beyond the build dependencies specified in debian/control.
106
96
        rm -f configure-stamp
107
97
        # Update files generated by autotools
108
98
        env srcdir=`pwd` NOCONFIGURE=1 \
109
99
                LIBTOOLIZE="libtoolize --copy" \
110
100
                INTLTOOLIZE="intltoolize --copy" \
111
101
                sh autogen.sh $(confflags)
 
102
        convert icons/32x32/gnumeric.png -depth 4 debian/gnome-gnumeric.xpm
112
103
 
113
104
configure: configure-stamp
114
105
configure-stamp:
171
162
install: build
172
163
        dh_testdir
173
164
        dh_testroot
174
 
        dh_clean -k
 
165
        dh_prep
175
166
        dh_installdirs
176
167
 
177
168
        cd build && env GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
182
173
                scrollkeeper_localstate_dir=/var/lib/scrollkeeper
183
174
 
184
175
        # Plugins are not intended as stand-alone executables
185
 
        find `pwd`/debian/tmp/usr/lib/gnumeric/*/plugins -type f -print0 | xargs -0 chmod a-x
 
176
        find `pwd`/debian/tmp/usr/lib/*/*/plugins -type f -print0 | xargs -0 chmod a-x
186
177
 
187
178
        # Remove unwanted files: static libraries and documentation sources
188
179
        find `pwd`/debian/tmp/usr/ -name '*.a' -print0 | xargs -0 rm -f
256
247
        dh_installchangelogs ChangeLog -i
257
248
        dh_gconf -i
258
249
        dh_scrollkeeper -i
259
 
        dh_desktop -i
 
250
        dh_icons -i
260
251
        dh_link -i
261
252
        dh_compress -i
262
253
        dh_fixperms -i
290
281
        dh_installchangelogs ChangeLog -a
291
282
        dh_gconf -a
292
283
        dh_scrollkeeper -a
293
 
        dh_desktop -a
 
284
        dh_icons -a
294
285
        dh_strip -a
295
286
        dh_link -a
296
287
        dh_compress -a