The unified diff between revisions [1069e378..] and [4afe078b..] is displayed below. It can also be downloaded as a raw diff.
#
#
# rename "debian/gnade.gpr"
# to "debian/odbc.gpr"
#
# add_file "debian/sqlite3.gpr"
# content [bafc8b88086aa03fa8ebd0cb386a7b0440950098]
#
# patch "debian/odbc.gpr"
# from [82d69d8952b2fc3e7096eccff032616c2d14c5c9]
# to [c4a107413ff2b80f20d63cb2f16fd04a8c6d50f2]
#
# patch "debian/rules"
# from [499511d7d2510888742491874842cc5f8b0d59d5]
# to [ff1a6f39d7b229bbe940d464c3e1ce66f1ee3b8f]
#
============================================================
--- debian/sqlite3.gpr bafc8b88086aa03fa8ebd0cb386a7b0440950098
+++ debian/sqlite3.gpr bafc8b88086aa03fa8ebd0cb386a7b0440950098
@@ -0,0 +1,33 @@
+-- GNADE project file for use with GNAT
+-- Copyright (c) 2009 Stephen Leake <stephen_leake@stephe-leake.org>
+-- Copyright (c) 2003-2009 Ludovic Brenta <lbrenta@debian.org>
+--
+-- This program is free software; you can redistribute it and/or modify
+-- it under the terms of the GNU General Public License as published by
+-- the Free Software Foundation; either version 2 of the License, or
+-- (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-- GNU General Public License for more details.
+--
+-- This project file is designed to help build applications that use
+-- GNADE, the GNU Ada Database Environment. Here is an example of how
+-- to use this project file:
+--
+-- with "sqlite3";
+-- project Example is
+-- for Object_Dir use "obj";
+-- for Exec_Dir use ".";
+-- for Main use ("example");
+-- end Example;
+
+project SQLite3 is
+ for Library_Name use "gnadesqlite3";
+ for Library_Dir use "/usr/lib";
+ for Library_Kind use "dynamic";
+ for Source_Dirs use ("/usr/share/ada/adainclude/gnade");
+ for Library_ALI_Dir use "/usr/lib/ada/adalib/gnade";
+ for Externally_Built use "true";
+end SQLite3;
============================================================
--- debian/gnade.gpr 82d69d8952b2fc3e7096eccff032616c2d14c5c9
+++ debian/odbc.gpr c4a107413ff2b80f20d63cb2f16fd04a8c6d50f2
@@ -1,6 +1,6 @@
-- GNADE project file for use with GNAT
-- Copyright (c) 2009 Stephen Leake <stephen_leake@stephe-leake.org>
--- Copyright (c) 2003-2006 Ludovic Brenta <lbrenta@debian.org>
+-- Copyright (c) 2003-2009 Ludovic Brenta <lbrenta@debian.org>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
@@ -16,27 +16,18 @@
-- GNADE, the GNU Ada Database Environment. Here is an example of how
-- to use this project file:
--
--- with "gnade";
+-- with "odbc";
-- project Example is
-- for Object_Dir use "obj";
-- for Exec_Dir use ".";
-- for Main use ("example");
--- package Linker renames GNADE.Linker;
--- -- Alternatively, if you need additional switches:
--- -- package Linker is
--- -- for Default_Switches ("Ada") use ("-lgnadecommon", "-lgnadeodbc", ...)
--- -- end Linker;
-- end Example;
-project GNADE is
- for Source_Dirs use ("../../include/gnade");
- for Library_Name use "gnade";
- for Library_Dir use "../../lib/gnade";
+project ODBC is
+ for Library_Name use "gnadeodbc";
+ for Library_Dir use "/usr/lib";
+ for Library_Kind use "dynamic";
+ for Source_Dirs use ("/usr/share/ada/adainclude/gnade");
+ for Library_ALI_Dir use "/usr/lib/ada/adalib/gnade";
for Externally_Built use "true";
-
- -- By default, link only against libgnadeodbc, the thin binding to
- -- ODBC. You may also want to link against libgnadesqlite3.
- package Linker is
- for Default_Switches ("Ada") use ("-lgnadecommon", "-lgnadeodbc");
- end Linker;
-end GNADE;
+end ODBC;
============================================================
--- debian/rules 499511d7d2510888742491874842cc5f8b0d59d5
+++ debian/rules ff1a6f39d7b229bbe940d464c3e1ce66f1ee3b8f
@@ -144,6 +144,7 @@ libgnade%-dev: debian/libgnade%-stamp
dh_install -p$(package) debian/tmp/libgnade$*.a /usr/lib
dh_link -p$(package) /usr/lib/libgnade$*.so.$($*_soversion) \
/usr/lib/libgnade$*.so
+ dh_install -p$(package) debian/$*.gpr /usr/share/ada/adainclude
# Install libgnadecommon-dev; this overrides the pattern target above.
libgnadecommon-dev: package := libgnadecommon$(common_aliversion)-dev
@@ -153,7 +154,6 @@ libgnadecommon-dev: debian/libgnadecommo
usr/lib/ada/adalib/gnade
dh_install -p$(package) debian/tmp/common-dynamic/*.ali usr/lib/ada/adalib/gnade
dh_install -p$(package) support/*.ad[bs] usr/share/ada/adainclude/gnade
- dh_install -p$(package) debian/gnade.gpr usr/share/ada/adainclude
dh_install -p$(package) debian/tmp/libgnadecommon.a /usr/lib
dh_link -p$(package) /usr/lib/libgnadecommon.so.$(common_soversion) \
/usr/lib/libgnadecommon.so