File: README.Debian

package info (click to toggle)
libgtkada2 2.8.1-6lenny3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 13,496 kB
  • ctags: 3,886
  • sloc: ada: 103,189; ansic: 45,411; perl: 5,500; sh: 2,812; makefile: 1,169; xml: 19
file content (83 lines) | stat: -rw-r--r-- 3,325 bytes parent folder | download | duplicates (2)
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
libgtkada2 for Debian
---------------------

This is GtkAda 2.8.1 for Debian GNU/Linux.  It consists of several
packages:

libgnomeada-2.8      optional GNOME 2 support
libgnomeada2-dev     development files for libgnomeada
libgtkada-2.8        the GtkAda shared library
libgtkada-gl-2.8     optional OpenGL support
libgtkada-glade-2.8  optional support for loading Glade 2 files at run time
libgtkada2-dev       development files for the three packages above
libgtkada2-doc       documentation for all of the above

Because I compile GtkAda with GCC 4.1 instead of GNAT GPL Edition, I
expect that they are *not* binary-compatible with AdaCore's binaries.
Therefore I have changed the sonames of the libraries to:

libgnomeada.so.2.8      (upstream uses libgnomeada-2.8.so.1)
libgtkada.so.2.8        (upstream uses libgtkada-2.8.so.1)
libgtkada_gl.so.2.8     (upstream uses libgtkada_gl-2.8.so.1)
libgtkada_glade.so.2.8  (upstream uses libgtkada_glade-2.8.so.1)

Upstream provides a configuration script, /usr/bin/gtkada-config,
which is part of the libgtkada2-dev package.  I recommend against
using this script, because this may lead to problems when combining
several libraries in the same program.  Instead, I recommend using
GNAT project files.  Each -dev package provides one, which you can
"with" into your own:

/usr/share/ada/adainclude/gnomeada2.gpr
/usr/share/ada/adainclude/gtkada2.gpr

See instructions in these files for more details.

Licensing changes
-----------------

In the previous version of Debian, libgtkada2 2.4.0 was licensed under
the terms of the GNAT-Modified GNU General Public License (GMGPL).
This new version is licensed under the terms of the pure GPL.  As a
consequence, it is no longer legal to distribute proprietary software
that incorporates this library.  If your program uses GtkAda, and if
you wish your program to use licensing terms incompatible with the
GPL, you have three choices:

- distribute your program in source form only, and require your
  licensees to build it for themselves.  Your sources need not be
  under GPL, since they are not linked to GtkAda.

- contact AdaCore, the upstream author, at sales@adacore.com, and
  purchase a GMGPL license for GtkAda.

- do not distribute your program at all.

You may be tempted to retrieve the sources from AdaCore's CVS
repository.  Be warned that doing so will still grant you a pure GPL
license, despite the fact that AdaCore have not yet adjusted the
licensing boilerplate in source files.  In Debian, I have removed the
"special exception" language only to remove confusion.  It is not I
who changed the actual license, it is AdaCore.  Contact them at
libre@adacore.com for any clarification.

Notes about testgtk
-------------------

The Debian package libgtkada2-doc provides the sources for testgtk in
/usr/share/doc/libgtkada2-doc/examples/testgtk.tar.gz.  This tarball
also contains two Debian-specific files that make it easy to compile
testgtk on Debian systems, like this:

$ mkdir -p ~/src/testgtk
$ cd ~/testgtk
$ tar xzf /usr/share/doc/libgtkada2-doc/examples/testgtk.tar.gz
$ cd testktk
$ make -f testgtk.mak

The upstream Makefile is also provided, but won't work out of the box
because it assumes that the build takes place within the GtkAda source
tree.

--
Ludovic Brenta <lbrenta@debian.org>, 2006-08-25