~ubuntu-branches/ubuntu/raring/grace/raring

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Nicholas Breen
  • Date: 2010-06-06 14:36:06 UTC
  • mfrom: (4.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100606143606-g8rdx6m4wyg3xx8l
Tags: 1:5.1.22-7
* Replace defoma font management with new /usr/sbin/update-grace-fonts
  trigger.  Many thanks to Kenshi Muto for the implementation.
  (Closes: #542335, #583956, #583964)
  - README.Debian: Update description of font handling, eliminate all
    references to defoma.
  - control: Depends -= defoma, += fontconfig.
* grace.preinst, grace.postinst: Additionally remove code only needed for
  upgrades from truly antique (pre-oldstable) releases.
* patches/nonlinear_extended.diff: Add menu entry for Doniach-Sunjic peak
  fitting.  (Closes: #583966)
* Backed out subscript-superscript-scale.diff pending coordination with
  upstream, to avoid distro-specific incompatibilities.
* compat: Increment to debhelper v7.
* Convert to source format 3.0 (quilt).  Replace uuencoded icons with 
  their decoded PNG forms; clean out the associated decoding and patching
  logic from rules, and remove Build-Depends on sharutils and quilt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
include /usr/share/cdbs/1/rules/debhelper.mk
4
4
include /usr/share/cdbs/1/class/autotools.mk
5
 
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
6
5
 
7
6
ifeq ($(DEB_BUILD_ARCH),m68k)
8
7
        CFLAGS=-g -O1 $(DEB_OPT_FLAG)
26
25
DEB_QUILT_PATCHDIR_LINK=
27
26
export QUILT_PATCHES=debian/patches
28
27
 
29
 
common-install-prehook-arch::
30
 
        # decode PNG files
31
 
        (cd debian; for f in grace*.uu; do uudecode $$f; done)
32
 
 
33
28
binary-post-install/grace::
34
29
        # install the icons
35
30
        themedir=$(CURDIR)/debian/grace/usr/share/icons/hicolor;\
36
31
        for x in 16 22 24 32; do \
37
 
                install -D -m 644 -o root -g root debian/grace$${x}.png \
 
32
                install -D -m 644 -o root -g root debian/icons/grace$${x}.png \
38
33
                        $${themedir}/$${x}x$${x}/apps/grace.png; \
39
34
        done
 
35
        install -m 755 -o root -g root debian/update-grace-fonts \
 
36
                $(CURDIR)/debian/grace/usr/sbin/update-grace-fonts
40
37
        dh_gconf -pgrace
41
 
        dh_installdefoma
42
 
 
43
 
clean::
44
 
        $(RM) debian/grace*.png
45
38
 
46
39
get-orig-source::
47
40
        -uscan --upstream-version 0 --rename