1
These are a number of dirty scripts to maintain Maemo forks of Debian
2
packages.  They expect the repo layout produced by apt-source and a
3
changelog.Maemo file.
4
5
The basic purpose of these tools is to invisibly add some black magic
6
to a source package that will turn Scratchbox into a more sane build
7
environment when the package is build there.  If you build it anywhere
8
else, the black magic disables itself.
9
10
Hopefully, the Maemo SDK will evolve to not need any of this black
11
magic.  Indeed, you could take the black magic as a sort of todo list
12
for how to improve the Maemo SDK.
13
14
- maemoify-init
15
16
Create the initial repo layout and changelog.Maemo.
17
18
- maemoify-tag [BRANCH]
19
20
Create a tag from BRANCH that will (most likely) build in a standard
21
Maemo SDK.  The black magic is deployed on the tag to make this
22
happen, but your branch remains clean.
23
24
Tagging means that debian/changelog.Maemo is merged into
25
debian/changelog, debian/control is updated to reflect the real
26
Maintainer, Origin, and VCS locations, and debian/rules is modified to
27
carry out the black magic at build time.
28
29
By default, the "maemo" branch is tagged.
30
31
- maemoify-tag-native [BRANCH]
32
33
Like maemoify-tag, but does not touch debian/changelog or
34
debian/control, and BRANCH defaults to "master", not "maemo".
35
36
- maemoify-rebase
37
38
Rebases the Maemo changes on top of a new Debian version.  Because
39
dark magic is only used during tagging, only 'real' conflicts are
40
expected, not those caused by gratuitous changes to placate
41
Scratchbox.
42
43
- maemoify-check
44
45
Lists all subdirectories that need rebasing or other kinds of
46
attention.
47
48
- maemoify-clean
49
50
Cleans all subdirectories by reverting local changes and deleting
51
untracked files.
52
53
- maemoify-patch
54
55
Performs the dark magic.  It is used by maemoify-tag and
56
maemoify-tag-native.