pachi (1:1.0-17) unstable; urgency=low

  * Port the game from SDL 1.2 to SDL 2; closes: #1038526. Build against
    libsdl2-dev and libsdl2-mixer-dev instead of libsdl-mixer1.2-dev, and
    locate them via pkgconf. See debian/patches/sdl2-migration.diff.
  * Render each game frame off-screen and present it once instead of
    presenting every partial update; removes the player-sprite flicker
    (most visible in full screen) caused by the renderer-based port.
  * Redraw the post-death respawn animation every frame so the player pours in as
    a vertically stretched figure and rebuilds from the feet up (the renderer
    presents whole frames, so the SDL 1.2 per-step erase was discarding the
    build-up); bridge the lowest falling row onto the settled pixels so no gap
    shows between the falling column and the figure.
  * Drive main-menu actions from discrete key-press events instead of polled
    key state: the state-based checks re-fired on the window events that
    SDL_SetWindowFullscreen() generates while a key was held, so the
    full-screen toggle switched an unpredictable number of times. One key
    press is now exactly one action, tracked with an own armed flag rather than
    SDL's auto-repeat flag, which a key pressed during the black intro screen
    could leave stuck (swallowed KEYUP) so the menu ignored all later presses.
  * While porting, fix two latent upstream bugs: an invalid pixel mask passed
    to SDL_CreateRGBSurface() in the intro (NULL surface under SDL 2), and the
    window icon surface that was used unchecked and never freed.
  * Store the high-score file as a flat /var/games/pachi.scores (compiled-in
    SCOREDIR is the directory /var/games, the package name being part of the
    file name) and let dh-cruft register and purge it (Build-Depends on
    dh-sequence-cruft, debian/pachi.purge);
    migrate existing scores from the previous /var/games/pachi/data/ and
    /var/lib/games/ layouts in pachi.postinst.
  * Reorganise debian/patches into three patches: source-fixes.diff (assorted
    upstream build/runtime fixes plus the C++ string constification),
    scorefile.diff (all high-score file handling, including the install-time
    permission change formerly carried in Makefile.am.diff) and
    sdl2-migration.diff.
  * Mark pachi-data as Multi-Arch: foreign (architecture-independent data).

 -- Martin A. Godisch <godisch@debian.org>  Sun, 14 Jun 2026 20:30:17 +0200

pachi (1:1.0-16) unstable; urgency=low

  * Rebuilt against current unstable.
  * Store the high-score file under /var/games (FHS); patch the compiled-in
    SCOREDIR to match, the game previously looked in the old /var/lib/games
    location while the maintainer scripts used /var/games.
  * Guard against a NULL FILE* when the score file is missing, avoiding a
    crash on the high-score screen.
  * Manage permissions of the game binary and the score file via
    dpkg-statoverride instead of hard-coded chown/chmod in postinst.
  * Drop the redundant update-desktop-database calls (no MimeType is
    registered, and desktop-file-utils ships a trigger).
  * pachi-data: use Breaks/Replaces instead of a bare Conflicts against the
    historic monolithic pachi package.
  * Remove the misleading Version key from the desktop entry.
  * Silence -Wwrite-strings by constifying read-only string arguments.
  * Add DEP-3 headers to the existing patches.
  * Updated watch file, added lintian override for
    debian-watch-lacks-sourceforge-redirector.
  * Removed menu file.
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Sun, 07 Jun 2026 12:30:46 +0200

pachi (1:1.0-15) unstable; urgency=low

  * Fixed scores.dat handling.

 -- Martin A. Godisch <godisch@debian.org>  Mon, 03 Mar 2025 12:35:38 +0100

pachi (1:1.0-14) unstable; urgency=low

  * Switched to debhelper, recompiled against gcc-14, closes: #1075354.
  * Added watch file.
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Mon, 03 Mar 2025 09:55:56 +0100

pachi (1:1.0-13) unstable; urgency=low

  * Rebuild.

 -- Martin A. Godisch <godisch@debian.org>  Fri, 24 Jan 2025 07:35:15 +0100

pachi (1:1.0-12) unstable; urgency=low

  * Fixed FTBFS with gcc-14, closes: #1075354.

 -- Martin A. Godisch <godisch@debian.org>  Thu, 08 Aug 2024 19:19:00 +0200

pachi (1:1.0-11) unstable; urgency=low

  * rebuild against current sid

 -- Martin A. Godisch <godisch@debian.org>  Sun, 17 Mar 2024 07:49:26 +0100

pachi (1:1.0-10) unstable; urgency=low

  * Fix FTCBFS: Let dpkg's buildtools.mk supply tools, closes: #958131.
    Thanks to Helmut Grohne.
  * Added desktop file, closes: #737995.

 -- Martin A. Godisch <godisch@debian.org>  Sun, 26 Jul 2020 14:12:46 +0000

pachi (1:1.0-9) unstable; urgency=low

  * Recompiled against sid.
  * Updated standards version: added strip --strip-unneeded,
    sorted DEBIAN/md5sums, fixed postinst/postrm scripts.

 -- Martin A. Godisch <godisch@debian.org>  Sat, 16 Feb 2019 18:49:05 +0100

pachi (1:1.0-8) unstable; urgency=low

  * Fixed reproducible builds, closes: #787125, thanks to Dhole.

 -- Martin A. Godisch <godisch@debian.org>  Sun, 07 Jun 2015 18:45:33 +0200

pachi (1:1.0-7) unstable; urgency=low

  * Cleaned up Debian patches, closes: #643236.
  * Updated build script.
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Sat, 28 Dec 2013 19:11:37 +0100

pachi (1:1.0-6) unstable; urgency=low

  * (Partly) fixed dependencies.
  * Updated package to source format 3.0 (quilt).
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Sat, 11 Sep 2010 23:53:12 +0200

pachi (1:1.0-5) unstable; urgency=low

  * Updated menu section.
  * Removed linda overrides file.

 -- Martin A. Godisch <godisch@debian.org>  Sat, 14 Jul 2007 16:49:10 +0200

pachi (1:1.0-4) unstable; urgency=low

  * Fixed timestamps.
  * Fixed control file, closes: #432988.
  * Updated debian/rules.
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Fri, 13 Jul 2007 21:45:05 +0200

pachi (1:1.0-3) unstable; urgency=low

  * Don't let pachi-data depend on pachi, closes: #339901.
  * Updated standards version,
    fixed debian/control, debian/copyright, debian/rules.

 -- Martin A. Godisch <godisch@debian.org>  Sat, 19 Nov 2005 17:41:05 +0100

pachi (1:1.0-2) unstable; urgency=low

  * Make pachi-data depends on pachi, closes: #295128.
  * Fixed POSIX compliance of debian/rules.

 -- Martin A. Godisch <godisch@debian.org>  Mon, 14 Feb 2005 06:02:45 +0100

pachi (1:1.0-1) unstable; urgency=low

  * New upstream release.
  * Minor fixes in debian/rules and debian/menu.

 -- Martin A. Godisch <godisch@debian.org>  Wed, 28 Apr 2004 20:50:14 +0200

pachi (20031005-2) unstable; urgency=low

  * Splitted into binary and data package, closes: #233427.
  * debian/rules cleanup.

 -- Martin A. Godisch <godisch@debian.org>  Wed, 18 Feb 2004 09:09:15 +0100

pachi (20031005-1) unstable; urgency=low

  * New upstream release.
  * Removed versioned build dependency and README file.
  * Updated package description and standards version.

 -- Martin A. Godisch <godisch@debian.org>  Fri, 10 Oct 2003 14:13:36 +0200

pachi (20030420-1) unstable; urgency=low

  * New upstream release, closes: #183610.

 -- Martin A. Godisch <godisch@debian.org>  Sun, 20 Apr 2003 12:51:35 +0200

pachi (20030224-2) unstable; urgency=low

  * Fixed backspace handling when reading the player's name.
  * Recompilation against new sdl-mixer1.2.
  * Tightened build-dependency.
  * Added Linda overrides file.
  * Removed CFLAGS from debian/rules.
  * Updated standards version.

 -- Martin A. Godisch <godisch@debian.org>  Sun, 16 Mar 2003 07:35:00 +0100

pachi (20030224-1) unstable; urgency=low

  * Initial release, closes: #177611.

 -- Martin A. Godisch <godisch@debian.org>  Tue, 25 Feb 2003 17:46:22 +0100
