Package: libgtkada / 19-4

Metadata

Package Version Patches format
libgtkada 19-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
avoid_generating_gpl_exception.diff | (download)

contrib/binding.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 generated files have the same license than non generated ones.
 Adacore grants a more liberal license to paying customers,
 and patches all sources to remove the exception from the GPL release,
 even the generated ones.
 This patch generates the pure GPL header directly.
licence_readme.diff | (download)

src/gtkada-intl.gpb | 2 1 + 1 - 0 !
src/misc.c | 2 1 + 1 - 0 !
src/misc_osx.h | 2 1 + 1 - 0 !
src/misc_osx.m | 2 1 + 1 - 0 !
src/opengl/glu_h.ads | 3 1 + 2 - 0 !
testgtk/create_about.adb | 2 1 + 1 - 0 !
6 files changed, 6 insertions(+), 7 deletions(-)

 fix license version
 The license update has been applied in COPYING3 and every source header.
no gfdl.diff | (download)

Makefile.in | 1 0 + 1 - 0 !
configure.in | 2 1 + 1 - 0 !
2 files changed, 1 insertion(+), 2 deletions(-)

 do not attempt to build or clean removed non-dfsg documentation.
build flags.diff | (download)

shared.gpr.in | 15 15 + 0 - 0 !
src/gtkada.gpr | 1 1 + 0 - 0 !
src/opengl/gtkada_gl.gpr | 1 1 + 0 - 0 !
src/tools/tools.gpr | 1 1 + 0 - 0 !
testgtk/testgtk.gpr | 6 5 + 1 - 0 !
5 files changed, 23 insertions(+), 1 deletion(-)

 allow caller to override build flags
 Usually, ./configure reads these values from the environment and
 stores them into the generated Makefile, allowing override in both
 ./configure then Make command lines. A patch copying this has once
 been refused, so this commit attempts to be less intrusive. It only
 modifies GNAT projects.
 .
 CFLAGS and similar take precedence over the default (-O0).
 .
 LDFLAGS comes before libraries that they affect (--as-needed).
 .
 The part making the tests independent of the source tree is specific
 to Debian.
update gtk gir.diff | (download)

contrib/Gtk-3.0.gir | 14 12 + 2 - 0 !
1 file changed, 12 insertions(+), 2 deletions(-)

 attempt to use obsolete gtk-3.0.gir with recent libgtk-dev
 Gtk-*.gir is generated then manually patched by upstream,
 so it cannot be updated cleanly.
 .
 The main gtk loop now passes BELOW_TEXT=2 and ABOVE_TEXT=3 instead of
 BELOW=0 and ABOVE=1, causing Constraint_Error: invalid data in callbacks.
python 2to3.diff | (download)

contrib/adaformat.py | 11 5 + 6 - 0 !
contrib/binding.py | 55 32 + 23 - 0 !
2 files changed, 37 insertions(+), 29 deletions(-)

 switch binding generator to python3.
Bug-Debian: https://bugs.debian.org/936871
link with lm.diff | (download)

src/gtkada.gpr | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 link gtkada-canvas.adb with -lm
 gtkada-canvas.adb uses math functions either built in gcc or provided
 by -lm, depending on the architecture.
 .
 On Debian, --as-needed is active so -lm will be ignored on
 architectures where none of its symbols is required.
 .
 If this is ever applied upstream, src/opengl/gtkada_gl.gpr should be
 modified too.
Bug-Debian: https://bugs.debian.org/717014.