summaryrefslogtreecommitdiffabout
path: root/README-hacking
blob: 74cb866dad073b558cdd23ec25082a759900db3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
These notes intend to help people working on the Git version of GNU Dico.
See end of file for copying conditions.

* Requirements

If you have taken the sources from Git you will need the following
packages to build Dico.  I don't make any extra effort to accommodate
older versions of these packages, so please make sure that you have the
latest stable version.

- Automake <http://www.gnu.org/software/automake/>
- Autoconf <http://www.gnu.org/software/autoconf/>
- Bison <http://www.gnu.org/software/bison/>
- Flex <http://flex.sourceforge.net/>
- Gnulib <http://www.gnu.org/software/gnulib/>
- M4 <http://www.gnu.org/software/m4/>
- libtool <http://www.gnu.org/software/libtool/>
- Texinfo <http://www.gnu.org/software/texinfo/>

* Submodules

Dico uses the following projects as Git submodules:

- Grecs <http://puszcza.gnu.org.ua/projects/grecs>
- Gint <http://www.gnu.org.ua/software/gint>
- Imprimatur <http://www.gnu.org.ua/software/imprimatur>
- Wit <http://puszcza.gnu.org.ua/projects/wit>

This will be pulled automatically by the bootstrapping process.

* Bootstrapping

Obviously, if you are reading these notes, you did manage to check out
the project from Git. The next step is to get other files needed to build,
which are extracted from other source packages: 

1. Change to the source tree directory

   cd dico

2. Run

   ./bootstrap 

Once done, proceed as described in the file README (section
INSTALLATION).

Normally you will have to run bootstrap only once. However, if you
intend to hack on Dico, you might need to run it again later. In
this case, you will probably want to save some time and bandwidth by
avoiding downloading the same files again. If so, create in the project's
root directory a file named `.bootstrap' with the following
contents:

   --gnulib-srcdir=$HOME/gnulib

Replace `$HOME/gnulib' with the actual directory where the Gnulib
sources reside.

For more information about `bootstrap', run `bootstrap --help'.

* Debugging

To debug dictd, use the following command:

	libtool --mode execute gdb dictd

For debugging from Emacs run:

	M-x gdb RET gud-wrapper dictd RET

(the script gud-wrapper is located in the ./utils subdirectory)


* Copyright information

Copyright (C) 2008, 2010, 2012 Sergey Poznyakoff

   Permission is granted to anyone to make or distribute verbatim copies
   of this document as received, in any medium, provided that the
   copyright notice and this permission notice are preserved,
   thus giving the recipient permission to redistribute in turn.

   Permission is granted to distribute modified versions
   of this document, or of portions of it,
   under the above conditions, provided also that they
   carry prominent notices stating who last changed them.


Local Variables:
mode: outline
paragraph-separate: "[ 	]*$"
version-control: never
End:


   

Return to:

Send suggestions and report system problems to the System administrator.