~kroq-gar78/ubuntu/precise/ace-of-penguins/fix-978446

« back to all changes in this revision

Viewing changes to debian/README.source

  • Committer: Bazaar Package Importer
  • Author(s): Jari Aalto
  • Date: 2009-08-05 11:39:32 UTC
  • Revision ID: james.westby@ubuntu.com-20090805113932-5u4zxr5hoh38pu3o
Tags: 1.2-9
* GENRAL INFORMATION:
  - Summary: the whole package is now patch based.
  - The orginal sources were restored and patches accumulated
    to it were extracted and moved to /debian/patches
  - The original sources were upgraded to latest automake by
    re-libtoolizing with 'autoreconf -fi'. The results were then
    turned into patches. See debian/README.source
* debian/*.desktop:
  - New files. Files submitted by Daniel Dickinson <cshore@wightman.ca>.
    Closes: #478847.
* debian/*.pod
  - Fix incorrect =item tag.
* debian/*.lintian-overrides:
  - Ignore autoreconf and library notes.
* debian/copyright:
  - Update to new dh-make layout.
  - Add Debian packaging copyrights.
  - Change upstream URL to point to freshmeat.
  - Explicitly spell v2 or any later version (lintian).
* debian/compat:
  - update to 7.
* debian/control:
  - (Build-Depends): debhelper (>= 7), was 4. Add dpatch.
  - (Description): Replace term 'Unix/X' with 'graphical'.
  - (Vcs-*): Add new fields.
  - (Homepage): Add new field.
  - (Standards-Version): Update to 3.8.2.
  - (Build-Depends): Remove non-used dpatch.
* debian/debian-vars.mk:
  - Many new variables like CFLAGS, MAKE_FLAGS
  - By default use -j<CPU_COUNT> for make.
* debian/rules:
  - Add dpatch.
  - (binary-arch): Add dh_compress and adjust the manual page
    installation. Remove obsolete dh_desktop.
  - (build-man): New.
  - (clean): Fix lintian checks about -$(MAKE). Clean editors' temporary
    files.
  - (clean-man): New.
  - (install): install *.desktop files. Change programs' prefix form
    ace_* to ace-*. Change 'dh_clean -k' with dh_prep. Install lintian
    override file.
  - (test): New target.
* debian/README.source:
  - Explain autconf 2.64 re-libtoolize process
  - Explain debian/rules specifics concerning libtoolize.
* games/taipei.html:
  - Revert Bug#327185. According to the upstream,
    every game can be won. Explain this in page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Source package of ace-of-penguins
 
2
---------------------------------
 
3
 
 
4
Re-libroolizing for modern autoconf
 
5
 
 
6
        The sources contain very old libtool packaging. It was
 
7
        upgraded by doing following steps:
 
8
 
 
9
        In original sources, examine the situation:
 
10
 
 
11
            $ autoreconf
 
12
 
 
13
            games/Makefile.am:54: wildcard *.png: non-POSIX variable name
 
14
            games/Makefile.am:54: (probably a GNU make extension)
 
15
            games/Makefile.am:54: wildcard *.tp: non-POSIX variable name
 
16
            games/Makefile.am:54: (probably a GNU make extension)
 
17
            games/Makefile.am:121: `%'-style pattern rules are a GNU make extension
 
18
            games/Makefile.am:32: `LDFLAGS' is a user variable, you should not override it;
 
19
            games/Makefile.am:32: use `AM_LDFLAGS' instead.
 
20
            lib/Makefile.am:9: `LDFLAGS' is a user variable, you should not override it;
 
21
            lib/Makefile.am:9: use `AM_LDFLAGS' instead.
 
22
            tests/Makefile.am:6: `LDFLAGS' is a user variable, you should not override it;
 
23
            tests/Makefile.am:6: use `AM_LDFLAGS' instead.
 
24
 
 
25
        According to the output go and fix the *.am files as needed.
 
26
        Save as patch:
 
27
 
 
28
            debian/patches/*-autoreconf-ldflags-am_ldflags.dpatch [A]
 
29
 
 
30
        Patch *.am files (with above) and run:
 
31
 
 
32
            autoreconf -fi
 
33
 
 
34
        This will reconfigure *everything*. Save diff between
 
35
        A..AUTORECONF to file:
 
36
 
 
37
            debian/patches/*-autoreconf-fi-2.64.dpatch
 
38
 
 
39
        Everything done. Use dpatch(1) in debian/rules to 'patch' and
 
40
        'unpatch'.
 
41
 
 
42
        Last, add entries to debian/*.overrides that deal with the
 
43
        warning of old, non-patched sources. Lintian doesn't know
 
44
        the sources will be patched.
 
45
 
 
46
debian/rules for re-libtoolized content
 
47
 
 
48
        Because the original sources are in a state that cannot run
 
49
        'configure' and produce viable 'Makefile', they must be in
 
50
        patched state in all times when debian commands are run.
 
51
        In debian/rules the 'patch' is needed before build:
 
52
 
 
53
            build-stamp: patch
 
54
 
 
55
        The clean target is in separate stages. First run 'clean-files'
 
56
        that calls Makefile (in patched state). Only last run 'unpatch'
 
57
        to restore the sources and undo sutoreconf changes.
 
58
 
 
59
        Notice, that the make commands needs a special variables,
 
60
        otherwise they don't work:
 
61
 
 
62
            to_srcdir="$(TOPDIR)" top_builddir="$(TOPDIR)"
 
63
 
 
64
-- 2009-08-05 00:42 Jari Aalto