dh-ada-library (9.9) unstable; urgency=medium

  * Enable salsa continuous integration via debian/sals-ci.yml
  * Protect packaging.mk against double inclusion
  * Include dpkg scripts, they are protected against double inclusion
  * Only disable -fstack-clash-protection on arm{el,hf} where it is broken

 -- Nicolas Boulenguez <nicolas@debian.org>  Fri, 28 Mar 2025 22:53:28 +0100

dh-ada-library (9.8) unstable; urgency=medium

  * Let -dev packages explicitly depend on gnat-VERSION.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 24 Feb 2025 22:07:22 +0000

dh-ada-library (9.7) unstable; urgency=medium

  * Read libgnat hash from gnat-BV-HOST if 14 <= BV

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 03 Feb 2025 15:02:50 +0100

dh-ada-library (9.6) unstable; urgency=medium

  * Fix option name in previous change (fstack-clash-protection).

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 22 Dec 2024 19:48:01 +0000

dh-ada-library (9.5) unstable; urgency=medium

  * Disable -fstack-protector-strong build flag, because of GCC bug 118164.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sat, 21 Dec 2024 14:38:16 +0000

dh-ada-library (9.4) unstable; urgency=medium

  * Only report missing files for processed packages.  Closes: #1068209.
    Add regression test.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 02 May 2024 12:39:30 +0000

dh-ada-library (9.3) unstable; urgency=medium

  * Strip -Werror=implicit-function-declaration from ADAFLAGS.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 18 Mar 2024 07:49:06 +0000

dh-ada-library (9.2) unstable; urgency=medium

  * Reupload to unstable for the gnat-13/time_t64 transition.
  * In some autopkgtests, redirect stderr of shlibdeps.  Closes: #1064840.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 17 Mar 2024 14:22:31 +0100

dh-ada-library (9.1) experimental; urgency=medium

  * Fix regular expression matching hexadecimal digits.
  * Restore version restrictions for gnat in ada:Depends for transitions.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 17 Dec 2023 12:36:28 +0000

dh-ada-library (9.0) experimental; urgency=medium

  * tests/standard-gpr-pkg: Build-Depend on dh-ada-library.
  * Improve extraction of the shared object name, use host tools.
  * Set Perl re in ASCII mode.
  * Use autodie instead of testing each exit status.
  * Apply the changes in policy introducing hash in virtual package names.
    - LibNAME-dev carries no version anymore but Provides: libNAME-dev-HASH
    - They Depend: gnat-MAJOR-HASH, gnat, libDEP-dev-HASH
    - Packaging.mk stops providing name_DEV_PKG and name_ALI_VERSION.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 03 Sep 2023 15:00:01 +0000

dh-ada-library (8.9) unstable; urgency=medium

  * Adapt tests to the new way to strip debug-prefix-map build flags.
  * Use dpkg-dev snippets instead of computing DEB_VERSION

 -- Nicolas Boulenguez <nicolas@debian.org>  Wed, 26 Jul 2023 20:09:38 +0000

dh-ada-library (8.8) unstable; urgency=medium

  * tests: revert to DEB_RULES_REQUIRES_ROOT, dh_test_root ignores the field.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 13 Jul 2023 08:08:02 +0200

dh-ada-library (8.7) unstable; urgency=medium

  * Autopkgtest check that .ali files are installed read-only
  * Strip unreproducible build paths from installed project.
    This is a work around for #1030715, but gprbuild should be patched instead.
  * Drop old gnat versions from possible dependencies
  * Switch manual page from troff to pod. Drop obsolete french translation.
  * Update copyright years
  * Add Make target for tests, perltidy, perl-critic.
    Improve reported issues.
  * Refactor with subprograms
  * Improve detection of Ada -dev packages and links to the shared library
  * tests: prefer Rules-Requires-Root field to the equivalent environment
  * Make the insertion into the debhelper sequence minimal
  * Style improvements: SPDX, signatures, more Dh_Lib

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 13 Jul 2023 00:03:40 +0200

dh-ada-library (8.6) unstable; urgency=medium

  * Ensure gcc is present during autopkgtests.  Closes: #1028984.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 15 Jan 2023 21:11:18 +0000

dh-ada-library (8.5) unstable; urgency=medium

  * Disable dh_test_root during autopkgtests.

 -- Nicolas Boulenguez <nicolas@debian.org>  Wed, 28 Dec 2022 19:01:50 +0000

dh-ada-library (8.4) unstable; urgency=medium

  * Reupload to unstable for the gnat-12 transition.
  * Standards-Version 4.6.2.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 26 Dec 2022 23:20:25 +0100

dh-ada-library (8.3) experimental; urgency=medium

  * Find the shared library by following the development link,
    in case the file name differs from the shared object name.
  * If so, install the ldconfig soname link into the lib package
    as required by the policy.
  * autopkgtests: test minimal and cmake link scheme in addition to libtool.
    Test unusual soname.  Share more code across tests.
  * Fix various cosmetic style issues.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sat, 03 Dec 2022 17:40:28 +0100

dh-ada-library (8.2) experimental; urgency=medium

  * Fix regex detecting versions for dot-separated integers.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 04 Sep 2022 20:00:06 +0000

dh-ada-library (8.1) experimental; urgency=medium

  * Stop emulating gprinstall, simply install from debian/tmp to packages.
    Incompatible changes, but the major version is new in unstable.
    Update manual page.
    Rewrite in perl for better integration into debhelper.
  * Take back debian_packaging.mk from gnat.
    It is maintained and tested at the same time than dh-ada-library.
    Rename it to avoid conflicts and transition problems.
  * Add variables driving gprinstall into packaging.mk.
  * Add or extend tests. Remove noise from the fake packages.
  * Do not install the french manpage until it is updated.
  * Update TODO.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 18 Aug 2022 22:17:19 +0200

dh-ada-library (8.0) experimental; urgency=medium

  * Build in experimental with gnat-12.
  * Stop generating lintian overrides for executable stack => major version.
  * Replace each reference to gnatgcc with an explicit gcc-MAJOR.
  * default.cgpr: refresh with latest gprconfig and gprconfig-kb.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 07 Aug 2022 23:48:29 +0000

dh-ada-library (7.8) unstable; urgency=medium

  * Revert stripping of -gnate[cm] options from debug information.
    Sed is not intended for binary contents, and debian_packaging.mk from
    gnat/11.2 contains a less intrusive workaround.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 02 Jun 2022 17:01:52 +0000

dh-ada-library (7.7) unstable; urgency=medium

  * Strip unreproducible temporary paths from shared library debug information

  [ Debian Janitor ]
  * Fix day-of-week for changelog entry 5.4.
  * Update standards version to 4.6.1, no changes needed.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 31 May 2022 02:07:07 +0200

dh-ada-library (7.6) unstable; urgency=medium

  * Reupload to unstable for the gnat-11 transition

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 08 May 2022 18:08:53 +0200

dh-ada-library (7.5) experimental; urgency=medium

  * Set ada:Depends to 'gnat (>= X), gnat (<< X+1)' instead of 'gnat, gnat-X'.
    See https://bugs.debian.org/bug=975589#24.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 26 Apr 2022 15:13:36 +0000

dh-ada-library (7.4) experimental; urgency=medium

  * Rebuild with gcc-11 for experimental.
  * Adapt to changes in debian_packaging.mk and libgnatprj.
  * Update standards version.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 13 Mar 2022 13:31:49 +0000

dh-ada-library (7.3) unstable; urgency=medium

  * Reupload to unstable for gnat-10 transition.
  * Add myself to Uploaders.

 -- Ludovic Brenta <lbrenta@debian.org>  Fri, 11 Dec 2020 22:02:01 +0100

dh-ada-library (7.2) experimental; urgency=medium

  * Build-Depend: libgnatprj with a strict version, replacing the ALI
    version which does not change in experimental.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 15 Nov 2020 17:48:26 +0000

dh-ada-library (7.1) experimental; urgency=medium

  * Rebuild against libgnatprj/21.0.0-1.
  * Typo in manual page.

 -- Nicolas Boulenguez <nicolas@debian.org>  Fri, 23 Oct 2020 18:44:24 +0000

dh-ada-library (7.0) experimental; urgency=medium

  * Generate linker options for installed projects from Linker'Linker_Options
    instead of (Leading_)Library_Options.
    Add related -dev packages to ada:Depends.
  * Build with gnat-10 and updated dependencies.
  * Fix name in default configuration project.
  * Update and gather documentation and copyrights.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 21 May 2020 17:30:32 +0000

dh-ada-library (6.20) unstable; urgency=medium

  * Strip unreproducible -f*-prefix-map= options from installed .ali files.
  * Remove handling of obsolete -dbg packages.
  * Debhelper 13.
  * Fix formatting details in manual pages.
  * Document Build-Depends-Arch: dh-sequence-ada-library.
  * When installing, replace existing files.
  * In tests, build verbosely and pass -g.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 05 May 2020 21:49:54 +0000

dh-ada-library (6.19) unstable; urgency=medium

  * Reupload to unstable for gnat-9 transition.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 24 Feb 2020 22:13:39 +0100

dh-ada-library (6.18) experimental; urgency=medium

  * Provide a virtual package named dh-sequence-ada-library.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 17 Dec 2019 12:14:31 +0100

dh-ada-library (6.17) experimental; urgency=medium

  * Rebuild against renamed libgpr-dev -> libgnatprj-dev.
  * Drop --as-needed, now the default.
  * Standards-Version: 4.4.1.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 03 Dec 2019 19:26:10 +0100

dh-ada-library (6.16) experimental; urgency=medium

  * Build for experimental with gnat-9 and libgpr3-dev.
  * Standards-Version: 4.4.0.
  * Debhelper 12.

  [Ondřej Nový <onovy@debian.org>]
  * d/copyright: Change Format URL to correct one

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 18 Jul 2019 13:36:17 +0200

dh-ada-library (6.15) unstable; urgency=medium

  * Reupload to unstable.
  * Standards-Version: 4.1.5. Rules-Requires-Root: no.
  * Update manual pages.

 -- Nicolas Boulenguez <nicolas@debian.org>  Fri, 27 Jul 2018 15:38:50 +0200

dh-ada-library (6.14) experimental; urgency=medium

  * Rebuild with gnat-8, libgpr2-dev.
  * Drop dependency on gprbuild.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 07 May 2018 20:48:12 +0200

dh-ada-library (6.13) unstable; urgency=medium

  * Debhelper 11.
  * Standards-Version: 4.1.4.
  * Drop obsolete version restriction on dpkg-dev build-dependency.
  * Migrate VCS from monotone to git on salsa.debian.org.
  * Prefix debhelper config files with package name for readability.
  * Stop expecting VCS for creation or removal of empty directories.
  * Modify test so that a shlibs:Depends is more representative (non empty).

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 24 Apr 2018 13:33:05 +0200

dh-ada-library (6.12) unstable; urgency=medium

  * Upload to unstable.
  * Disable wrong assertion (library options defined in same project).
    Caused a FTBFS for libtemplates-parser/17.2-1 on hppa.
  * Stop warning about recent timestamps, gcc-7 handles SOURCE_DATE_EPOCH.
  * Standards-Version: 4.0.1 (no changes).
  * Drop explicit rules targets confusing dh.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 10 Aug 2017 09:20:18 +0200

dh-ada-library (6.11) experimental; urgency=medium

  * Rebuild with gnat-7.
  * Install projects into libgpr upstream default /usr/share/gpr.
  * Recommend: gnat instead of Depend: an explicit version list.
  * Standards-Version: 4.0.0, debhelper 10.
  * Drop description-possibly-contains-homepage lintian override.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 02 Jul 2017 22:03:44 +0200

dh-ada-library (6.10) experimental; urgency=medium

  * Let libgpr compute the path to ALI files even with non-default source
    file extensions (used by libgnatcoll).

 -- Nicolas Boulenguez <nicolas@debian.org>  Fri, 26 Aug 2016 09:10:32 +0200

dh-ada-library (6.9) experimental; urgency=medium

  * Rebuild with libgpr instead of libgnatprj and libgnatvsn.
  * Stop buggy attempts to manage memory.  Free environment variables
    before starting a new project, but reuse existing trees.
  * Add basic runtime regression tests.
  * Report surprising timestamps only for Ada, others do not affect ALIs.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 11 Aug 2016 03:01:38 +0200

dh-ada-library (6.8) unstable; urgency=medium

  * Rebuild with gnat-6, libgnatprj6 and libgnatvsn6.
  * Libgnatvsn/prj will soon Build-Depend: gprbuild, we might as well use it.
  * Standards-Version: 3.9.8 (no changes).

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 26 Apr 2016 01:33:59 +0200

dh-ada-library (6.7) unstable; urgency=medium

  * Do not require -dbg packages, as debhelper now generates -dbgsym.
  * Add gnat-6 to the compiler list.
  * Activate all hardening build flags.
  * Override vcs-field-uses-insecure-uri lintian tag.
  * Standards-Version 3.9.7 (no changes).

 -- Nicolas Boulenguez <nicolas@debian.org>  Wed, 06 Apr 2016 02:45:24 +0200

dh-ada-library (6.6) unstable; urgency=medium

  * Do not attempt to parse any project when called with -i/--indep.
    Should fix FTBFS #806603 for asis architecture-independant packages.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sat, 05 Dec 2015 13:40:26 +0100

dh-ada-library (6.5) unstable; urgency=medium

  * Depends: +gnat-5 -gnat-4.6 in list of Ada compilers.
  * Rely on 'dpkg-query --search gnatmake' to know current Ada package (5),
    instead of 'gnatmake --help' (gnat-5.2 is not a Debian package).
  * Build-Depends: gnat-5 but avoid relying on project support by gnatmake.
    Using gprbuild instead would cause a circular build-dependency.
  * Take ALI files from Object_Dir instead of Library_ALI_Dir.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 22 Oct 2015 12:12:16 +0200

dh-ada-library (6.4) unstable; urgency=medium

  * Warn against non deterministic ALI for sources newer than changelog.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 05 May 2015 17:14:44 +0200

dh-ada-library (6.3) unstable; urgency=medium

  * When parsing "gnatmake --version", select major.minor with a regular
    expression (gnat-4.9 >= 4.9.1-4 appends a revision). Closes: #768805.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 09 Nov 2014 13:24:33 +0100

dh-ada-library (6.2) unstable; urgency=medium

  * Depends: gnat-x.y only for released x.y.
  * Let manual pages explicit installed permissions.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 06 Oct 2014 17:58:46 +0200

dh-ada-library (6.1) unstable; urgency=medium

  * Build-Depends: gnat-4.9 the new default compiler.
  * Handle excluded and replaced source files (used by libflorist).

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 17 Apr 2014 13:38:04 +0200

dh-ada-library (6.0) unstable; urgency=medium

  * Move debian_packaging.mk to gnat-x.y (not specific to libraries).
    Check README for migration.
  * control/Depends: gnat, then only explicit list of compiler versions.
  * Build-Depends: gnat-4.6 (>= 4.6.4-2) for debian_packaging.mk.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 06 Apr 2014 16:03:28 +0200

dh-ada-library (5.9) unstable; urgency=medium

  * Accept relocatable library type, alias for dynamic used by xmlada4.4.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sat, 01 Mar 2014 14:13:12 +0100

dh-ada-library (5.8) unstable; urgency=medium

  * Depends: append 4.9 to allowed gnat versions.
  * dh_ada_library.adb: allow snapshot versions when calling gnatmake.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 18 Feb 2014 20:03:35 +0100

dh-ada-library (5.7) unstable; urgency=medium

  * default_cgpr: handle separates with 4.8. Should close #735824.
  * src/projects: avoid controlled out parameters.
    Fully clean the tree before parsing next project. Closes: #736110.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 20 Jan 2014 23:46:36 +0100

dh-ada-library (5.6) unstable; urgency=low

  * Set ALI files 444, not only 644 (detailed rationale in policy).
  * Standards-Version: 3.9.5 (no changes).
  * Build-Depends: same version for gnat, gnatsvn and gnatprj.
  * Switch to gnat 4.8: warnings, new API for prj-dev.
  * Depends: on executables indirectly from called via system().
  * Call "gnatmake" instead of "gnatgcc" to allow non-default compilers.

 -- Nicolas Boulenguez <nicolas@debian.org>  Mon, 23 Dec 2013 03:35:28 +0100

dh-ada-library (5.5) unstable; urgency=low

  * Insert later in the debhelper sequence (after dh_lintian).
    As we call dh_strip on two packages, dh_install may want to install other
    binaries before that so that they are stripped too (templates_parser).
    No need to run dh_lintian in advance anymore.
  * Implementation: instead of giving dh_strip special argument to avoid
    static lib, simply install it afterwards.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 27 Aug 2013 19:49:00 +0200

dh-ada-library (5.4) unstable; urgency=low

  * Do not link /usr/share/doc/dbg_pkg -> lib_pkg because replacing a
    directory with a symbolic link causes upgrade problems.
  * Configure gnatprj to understand Ada separate units (gtkada).
  * Set installed files read-only (templates_parser).
  * Handle versioned -dbg package names (xmlada templates_parser),
    until they can obey the Ada policy.
  * Handle package where the library name contains an underscore and
    the package name a minus sign (templates-parser).
  * Adapt generated project to source naming exceptions (templates_parser).

 -- Nicolas Boulenguez <nicolas@debian.org>  Fri, 23 Aug 2013 00:44:25 +0200

dh-ada-library (5.3) unstable; urgency=low

  * Internal changes removing the dependency on gprbuild.
  * Undo -s setting from previous revision, as it causes FTBFS for gnat-gps.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sat, 17 Aug 2013 18:48:54 +0200

dh-ada-library (5.2) unstable; urgency=low

  * src/misc.ad[sb]: an exception was ignored in rare cases.
  * debian_packaging.mk: -Wformat-security not anymore in dpkg-buildflags.
    Default BUILDER_OPTIONS: -s to recompile if flags changed,
    -eS: messages to stdout instead of stderr, avoiding buildd timeout.

 -- Nicolas Boulenguez <nicolas@debian.org>  Sun, 21 Jul 2013 14:55:09 +0200

dh-ada-library (5.1) unstable; urgency=low

  * debian_packaging.mk: enable as-needed now that #680292 is closed.
  * debian/source/format/options: removed, let dpkg choose compression.
  * debian/control (Standards-Version): 3.9.4.
  * README, debian/docs: created and installed.
  * all: copyright update.

 -- Nicolas Boulenguez <nicolas@debian.org>  Tue, 14 May 2013 19:57:25 +0200

dh-ada-library (5) unstable; urgency=low

  * debian_packaging.mk: LDFLAGS+=-Wl,-z,defs: warn for undefined symbols.
    Disabling --as-needed as long as #680292 is on the way and breaks some
    library reverse-dependencies compiled with gnatmake.
  * control: I do not need DM-Upload-Allowed anymore.

 -- Nicolas Boulenguez <nicolas@debian.org>  Thu, 08 Nov 2012 19:39:34 +0100

dh-ada-library (4) unstable; urgency=low

  * debian_packaging.mk: append -v to BUILDER_OPTIONS, so that the exact
    command line is available to automatic log checkers.

 -- Nicolas Boulenguez <nicolas.boulenguez@free.fr>  Sat, 07 Jul 2012 22:16:04 +0200

dh-ada-library (3) unstable; urgency=low

  * control: Depend on gprbuild, so that gprconfig is available for
    gnatprj.

 -- Nicolas Boulenguez <nicolas.boulenguez@free.fr>  Sat, 09 Jun 2012 01:40:47 +0200

dh-ada-library (2) unstable; urgency=low

  [ Nicolas Boulenguez ]
  * Slight optimization. When searching static archive, use
    Ada.Directories, instead of a subprocess and a temporary file.
  * Library_ALI_Dir may be common to many libraries, only embed *.ali from
    the current project (this will correct a packaging error in
    gtkada-2.24.1-4).
  * Ignore non-library imported projects during generation of ada:Depends.
    They are already reported by Install_Projects.
  * control: added VCS-* fields.
  * copyright: updated dep5 url, removed erroned comment.
  * man (en): typos, specify that non-library projects are ignored.
    (fr): update with Ludovic's changes.
  * (Style) Encapsulate all Prj dependencies in a separate package.
    Translation error, Affectation->Assignment.
  * For Vectors, use Indexes instead of Cursors, for efficiency and to
    avoid dreadful http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52873.
  * man/dh_ada_library.1: Split sentences to ease merges.
    man/*: propagated Ludovic's changes.

  [ Ludovic Brenta ]
  * debian/control: Better English in the long description.
    (DM-Upload-Allowed): yes.
  * man/dh_ada_library.1: change passive voice to active voice.

 -- Nicolas Boulenguez <nicolas.boulenguez@free.fr>  Sat, 28 Apr 2012 14:36:28 +0200

dh-ada-library (1) unstable; urgency=low

  * Initial release.

 -- Nicolas Boulenguez <nicolas.boulenguez@free.fr>  Sat, 31 Mar 2012 15:03:21 +0200
