kakoune (2026.05.21-2) unstable; urgency=medium

  * New maintainer (Adopt package). Closes: #1143017
  * debian/patches:
    - Drop 03-readme.patch and handle path replacements directly in
      debian/rules recipe.
    - Add 10-docinstall-remove.patch. Closes: #1066018
  * debian/rules:
    - Append optimize=-lto to DEB_BUILD_MAINT_OPTIONS. Closes: #1093860
  * debian/control:
    - Add ${misc:Depends} to binary Depends field to fix Lintian
      debhelper-but-no-misc-depends warning.

 -- Iliya Abolghasemi <gfaerny@gmail.com>  Tue, 01 Sep 2026 01:14:47 +0330

kakoune (2026.05.21-1) unstable; urgency=medium

  * Declare compliance with Policy 4.7.4, drop the implied Priority: optional.
  * Refresh the debputy-style formatting.
  * Convert the watch file to version 5 of the format.
  * Add Salsa CI configuration.
  * New upstream release:
    - includes the fix for CVE-2026-48120; Closes: #1143968
    - drop the 01-typos patch
    - drop the 09-parallel-dirs patch, integrated upstream
    - refresh patch line numbers
    - add the 09-sizeof-char-ptr patch to fix the 32-bit FTBFS
  * Switch back to debhelper-compat now that debhelper 14 is out.

 -- Peter Pentchev <roam@debian.org>  Sun, 09 Aug 2026 20:10:04 +0300

kakoune (2024.05.18-2) unstable; urgency=medium

  * Fix FTBFS with debhelper 13.17 and later: we override dh_auto_install,
    so it is on us to pass --destdir now. Also Closes: #1080391
  * Use debputy's X-Style: black.

 -- Peter Pentchev <roam@debian.org>  Tue, 03 Sep 2024 16:47:12 +0300

kakoune (2024.05.18-1) unstable; urgency=medium

  * Declare compliance with Policy 4.7.0 with no changes.
  * Use debhelper compat level 14 and X-DH-Compat.
  * Let debhelper take care of some default dependencies.
  * Use dpkg's default.mk for completeness.
  * Declare dpkg-build-api v1, drop the implied Rules-Requires-Root: no.
  * Use dh-package-notes to record ELF package metadata.
  * New upstream version:
    - refresh the 01-typos and 05-kfreebsd patches
    - chase the upstream move of most of the targets from src/Makefile to
      the top-level Makefile in the 03-readmei and 08-optimize patches
    - drop the 09-gcc-13, 10-gcc-13-warnings, and 11-gcc-13-types patches,
      they were taken from upstream
    - pass the override variables on the make(1) command line instead of
      via the environment
    - add the 09-parallel-dirs patch to fix installation with -jN
  * Drop the libboost-regex-dev, ncurses, and pkg-config build dependencies;
    Kakoune has not used either ncurses or boost-regex for some time now.
  * Reorder some targets in the rules file for clarity.

 -- Peter Pentchev <roam@debian.org>  Sun, 28 Jul 2024 18:33:11 +0300

kakoune (2022.10.31-2) unstable; urgency=medium

  * Switch the ncurses build dependency from the transitional
    libncursesw5-dev package to libncurses-dev.
  * Add the 09-gcc-13, 10-gcc-13-warnings, and 11-gcc-13-types upstream
    patches to fix the build with GCC 13. Closes: #1037705

 -- Peter Pentchev <roam@debian.org>  Fri, 16 Jun 2023 12:48:38 +0300

kakoune (2022.10.31-1) unstable; urgency=medium

  * Declare compliance with Policy 4.6.2 with no changes.
  * New upstream version:
    - drop the murmurhash-endian patch, integrated upstream slightly differently
    - drop the iterator and validate-alpha patches, taken from upstream
    - adapt the typos patch
    - refresh line numbers in the rest of the patches

 -- Peter Pentchev <roam@debian.org>  Sat, 07 Jan 2023 00:44:48 +0200

kakoune (2021.11.08-2) unstable; urgency=medium

  * Add the murmurhash-endian patch to fix the build on s390x.
    Closes: #1011978
  * Add the iterator and validate-alpha patches to fix the build with GCC 12.
    Closes: #1012956
  * Declare compliance with Policy 4.6.1 with no changes.

 -- Peter Pentchev <roam@debian.org>  Fri, 24 Jun 2022 20:23:47 +0300

kakoune (2021.11.08-1) unstable; urgency=medium

  * Use a comma, not a semicolon, after "upstream" in patch Origin lines.
  * Explicitly depend on dh-sequence-single-binary.
  * New upstream version:
    - add a couple of new corrections to the 01-typos patch
    - drop the 13-upstream-check-dir-owner, 14-upstream-rework-dir-logic, and
      15-upstream-limits patches, they were taken from upstream commits
    - drop the 16-sizeof-struct and 17-hurd-executable patches,
      applied upstream
    - refresh the patch line numbers

 -- Peter Pentchev <roam@debian.org>  Sun, 27 Feb 2022 17:00:26 +0200

kakoune (2020.09.01-3) unstable; urgency=medium

  * Use the C++ gnu::packed attribute in the 16-sizeof-struct patch as
    suggested by the upstream author.
  * Add the 17-hurd-executable patch to fix the FTBFS on the Hurd.

 -- Peter Pentchev <roam@debian.org>  Sat, 21 Aug 2021 17:38:49 +0300

kakoune (2020.09.01-2) unstable; urgency=medium

  * Add the 16-sizeof-struct patch to fix the m68k FTBFS due to
    the padding and alignment of members of a structure.

 -- Peter Pentchev <roam@debian.org>  Sat, 21 Aug 2021 02:43:46 +0300

kakoune (2020.09.01-1) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.6.0 with no changes.
  * New upstream release:
    - drop the 09-upstream-test-buffer, 10-upstream-empty-strings,
      11-upstream-deleted-line, and 12-upstream-empty-register patches;
      they were obtained from the upstream source
    - add another correction to the 01-typos patch
    - update the line numbers in the patches
  * Add the 15-upstream-limits to fix the build with GCC 11. Closes: #984075

 -- Peter Pentchev <roam@debian.org>  Thu, 19 Aug 2021 17:18:11 +0300

kakoune (2020.01.16-3) unstable; urgency=medium

  * Add the 13-upstream-check-dir-owner and 14-upstream-rework-dir-logic
    patches from the upstream Git repository to stop kakoune started as
    root from making its runtime directory inaccessible to the normal
    user account of the session user. Closes: #990635

 -- Peter Pentchev <roam@debian.org>  Mon, 05 Jul 2021 22:15:28 +0300

kakoune (2020.01.16-2) unstable; urgency=medium

  * Add some files to debian/clean to allow kakoune to be built twice in
    a row.
  * Add several upstream patches:
    - 09-upstream-test-buffer
    - 10-upstream-empty-strings
    - 11-upstream-deleted-line
    - 12-upstream-empty-register
  * Use debian/kakoune.alternatives to make use of debhelper 13.1's
    dh_installalternatives helper.
  * Correct another typographical error.

 -- Peter Pentchev <roam@debian.org>  Sun, 26 Jul 2020 01:56:44 +0300

kakoune (2020.01.16-1) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.5.0 with no changes.
  * Drop the adequate autopkgtest.
  * Drop the Name and Contact upstream metadata fields.
  * New upstream version:
    - add the 08-optimize patch to not pass -O0 to the compiler,
      thus also restoring the build hardening functionality
  * Bump the debhelper compat level to 13 with no changes.
  * Drop "-D/-C src" from the rules file now there is a top-level Makefile.

 -- Peter Pentchev <roam@debian.org>  Wed, 29 Apr 2020 21:32:22 +0300

kakoune (2019.07.01-1) unstable; urgency=medium

  * Mark the adequate autopkgtest as superficial.
  * Declare compliance with Debian Policy 4.4.1 with no changes.
  * Drop the version from the libboost-regex-dev build dependency,
    satisfied even in oldstable (stretch).
  * New upstream version:
    - update the line numbers in the patches
  * Drop nodoc handling for now, pending more extensive changes to
    the upstream build system.
  * Correct some more typographical errors.

 -- Peter Pentchev <roam@debian.org>  Sun, 06 Oct 2019 19:33:26 +0300

kakoune (2019.01.20-2) unstable; urgency=medium

  * Switch to a DEP-14 debian/master branch.
  * Use the test-name autopkgtest feature.

 -- Peter Pentchev <roam@debian.org>  Thu, 28 Feb 2019 11:27:06 +0200

kakoune (2019.01.20-1) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.3.0 with no changes.
  * Bump the debhelper compatibility level to 12 with no changes.
  * Add a trivial git-buildpackage config file.
  * New upstream release:
    - refresh the patches
    - add a NEWS blurb about the "auto_complete" option being
      renamed to "autocomplete"

 -- Peter Pentchev <roam@debian.org>  Wed, 23 Jan 2019 16:20:29 +0200

kakoune (2018.10.27-1) unstable; urgency=medium

  * Declare compliance with Debian Policy 4.2.1 with no changes.
  * Use the B-D: debhelper-compat (= 11) mechanism.
  * Add a trivial autopkgtest running adequate on the binary package.
  * Fill in the watch file now that there have been some upstream releases.
  * New upstream release (Closes: #895578):
    - drop most changes from the 01-typos patch, mostly integrated upstream
    - drop the 02-manpages patch, only install the kak(1) manual page now;
      the rest are only installed in asciidoc format in /usr/share/kak/doc
    - drop the 06-doc-conditional patches, overtaken by upstream changes
    - refresh the line numbers in the remaining patches
    - add pkg-config as a build dependency
    - make sure doc/kak.1 is not removed during clean-up
    - the "doc" target is gone from src/Makefile, do not invoke it
    - the doc path seems to be fixed now, Closes: #895605
  * Register kak(1) as an alternative for /usr/bin/editor.  Closes: #875286

 -- Peter Pentchev <roam@debian.org>  Sun, 16 Dec 2018 18:48:07 +0200

kakoune (0~2016.12.20.1.3a6167ae-2) unstable; urgency=low

  * Only depend on asciidoc-base after the asciidoc package split;
    we do not build any PDF documents, so we need neither FOP nor TeX.
  * Render the README file as plain text instead of asciidoc;
    suggested by Adam Borowski <kilobyte@angband.pl>.  Build-depend on
    w3m for the conversion.
  * Add the 04-path-max patch to try to fix the build on the Hurd.
  * Add the 05-kfreebsd patch to also detect Debian GNU/kFreeBSD.
  * Add README.text to debian/clean to fix a FTBFS-twice-in-a-row bug.
  * Bring up to compliance with Debian Policy 4.1.4:
    - add the 06-doc-conditional patch and skip the documentation build
      if "nodoc" is specified in DEB_BUILD_OPTIONS or DEB_BUILD_PROFILES
    - add an autopkgtest that runs the upstream test suite
  * Point the Vcs-* URLs to salsa.debian.org.
  * Use my Debian e-mail address as maintainer.
  * Add another typo fix.
  * Bump the debhelper compatibility level to 11 with no changes.
  * Add "Rules-Requires-Root: no" to the source control stanza.
  * Let dpkg-buildflags take care of the LFS compiler and linker flags.

 -- Peter Pentchev <roam@debian.org>  Sun, 13 May 2018 01:54:44 +0300

kakoune (0~2016.12.20.1.3a6167ae-1) unstable; urgency=low

  * Initial release.  Closes: #848400

 -- Peter Pentchev <roam@ringlet.net>  Wed, 21 Dec 2016 18:24:33 +0200
