Add nano.changes file to source file to make gbs build succeed
[platform/upstream/nano.git] / README.SVN
1 INSTRUCTIONS TO COMPILE AND INSTALL NANO CVS VERSIONS
2 =====================================================
3
4 GNU nano is available from SVN, but building this needs a bit more care
5 than the official stable and unstable tarballs.
6
7
8 Prerequisites
9 -------------
10
11 To successfully compile GNU nano from CVS, you'll need the following
12 packages:
13
14 - autoconf (version >= 2.54)
15 - automake (version >= 1.7)
16 - gettext  (version >= 0.11.5)
17 - groff    (version >= 1.12)
18 - texinfo  (version >= 4.0)
19 - subversion (aka svn)
20 - ssh (with support for the SSH version 2 protocol)
21 - glib 2.x (if your system doesn't have vsnprintf(), which the configure
22   script will check for)
23 - make, gcc and the normal development libraries (curses or slang, etc.)
24
25 These should be available on your GNU mirror.  Note that you'll need a
26 version of curses or slang with wide character support if you want nano
27 to use UTF-8.
28
29
30 Download the source
31 -------------------
32
33 To obtain the current nano development code (called 'trunk'), use the 
34 following command.  It will create a copy of the files in a subdirectory 
35 of your current working directory called 'nano':
36
37     $ svn co svn://svn.savannah.gnu.org/nano/trunk/nano
38
39 If you want to download the stable SVN branch instead, use:
40
41     $ svn co svn://svn.savannah.gnu.org/nano/branches/nano_2_0_branch/nano
42
43
44 Generate the configure script
45 -----------------------------
46
47 Once you have the sources in the "nano" directory,
48
49     $ cd nano
50     $ ./autogen.sh
51
52 This will set up a configure script and a Makefile.in file.
53
54
55 Configure your build
56 --------------------
57
58 To configure your build, run the configure script from the nano source
59 directory:
60
61     $ ./configure [--add-options-here]
62
63
64 Build and install
65 -----------------
66
67 From the nano source directory, build the code with:
68
69     $ make
70
71 Then, once it's done compiling, run
72
73     $ make install
74
75 which should copy various files (i.e. the nano executable, the info and
76 man pages, and syntax highlighting pattern files) to their appropriate
77 directories.
78
79 If you're installing into the default install directory (/usr/local),
80 you'll need to run that "make install" command with root privileges.
81
82
83 Problems?
84 ---------
85
86 Please submit any bugs in the SVN branch using the Savannah project's 
87 bug tracker (https://savannah.gnu.org/bugs/?group=nano)