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

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog pachi-data`.
