OSDN Git Service

parted: when printing, also print the new disk flags
[android-x86/external-parted.git] / README-hacking
1 -*- outline -*-
2
3 These notes intend to help people working on the checked-out sources.
4 These requirements do not apply when building from a distribution tarball.
5
6 * Requirements
7
8 We've opted to keep only the highest-level sources in the GIT repository.
9 This eases our maintenance burden, (fewer merges etc.), but imposes more
10 requirements on anyone wishing to build from the just-checked-out sources.
11 Specific tools and versions will be checked for and listed by the
12 bootstrap script shown below, and will include:
13
14 - Automake <http://www.gnu.org/software/automake/>
15 - Autoconf <http://www.gnu.org/software/autoconf/>
16 - Gettext <http://www.gnu.org/software/gettext/>
17 - Git <http://git.or.cz/>
18 - Gzip <http://www.gnu.org/software/gzip/>
19 - Perl <http://www.cpan.org/>
20 - Rsync <http://samba.anu.edu.au/rsync/>
21 - Libtool <http://www.gnu.org/software/libtool/>
22 - Pkg-config <http://pkg-config.freedesktop.org/>
23 - Tar <http://www.gnu.org/software/tar/>
24 - Uuid-devel <http://e2fsprogs.sourceforge.net/>
25      (Debian: uuid-dev, Red Hat: uuid-devel)
26
27 Only building the initial full source tree will be a bit painful.
28 Later, a plain `git pull && make' should be sufficient.
29
30 - Valgrind
31
32 Valgrind <http://valgrind.org/> is also highly recommended, if
33 Valgrind supports your architecture.
34
35 - XZ utils (successor to LZMA)
36
37 This package's build procedure uses XZ to create a compressed
38 distribution tarball.  Using this feature of Automake requires
39 version 1.10a or newer, as well as the xz program itself.
40 Make sure you have the latest version of the XZ Utils from
41 <http://tukaani.org/lzma/download>.
42
43 * First GIT checkout
44
45 You can get a copy of the source repository like this:
46
47         $ git clone git://git.debian.org/git/parted/parted.git
48         $ cd parted
49
50 The next step is to get and check other files needed to build,
51 which are extracted from other source packages:
52
53         $ ./bootstrap
54
55 And there you are!  Just
56
57         $ ./configure #[--enable-gcc-warnings]
58         $ make
59         $ make check
60
61 At this point, there should be no difference between your local copy,
62 and the GIT master copy:
63
64         $ git-diff
65
66 should output no difference.
67
68 Enjoy!
69
70 -----
71
72 Copyright (C) 2002-2012 Free Software Foundation, Inc.
73
74 This program is free software: you can redistribute it and/or modify
75 it under the terms of the GNU General Public License as published by
76 the Free Software Foundation, either version 3 of the License, or
77 (at your option) any later version.
78
79 This program is distributed in the hope that it will be useful,
80 but WITHOUT ANY WARRANTY; without even the implied warranty of
81 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
82 GNU General Public License for more details.
83
84 You should have received a copy of the GNU General Public License
85 along with this program.  If not, see <http://www.gnu.org/licenses/>.
86
87 Local Variables:
88 indent-tabs-mode: nil
89 End: