swayfx (0.6-2) unstable; urgency=medium

  * debian/patches/0004: create a workspace on the fallback output instead
    of aborting in select_workspace() when a window maps and no workspace
    exists (FZ-8586). With the laptop's only output off and nothing open,
    output_evacuate() had destroyed every workspace, and mapping the RustDesk
    window took the session down with SIGABRT. Carries sway PR #9266, still
    open upstream (swaywm/sway#8811).

 -- Clay Risser <clayrisser@gmail.com>  Sat, 31 Oct 2026 08:42:58 +0000

swayfx (0.6-1) unstable; urgency=medium

  * New upstream release 0.6 (FZ-8444): rebased on sway 1.12, with
    animations (animation_duration_ms) and a new blur node. Builds
    against scenefx 0.5 and wlroots 0.20.
  * Drop patches upstream now carries: DesktopNames in sway.desktop, the
    listener teardown on exit (BASED-436, sway 1.11), and the gamma
    reset fallback (BASED-1100), since 0.6 hands gamma to the scene and
    output.c no longer applies it.
  * debian/patches/0003 (night_light, BASED-867): forward-ported.
    wlroots 0.20's software gamma fallback needs a renderer SceneFX does
    not have, so the scene tint is still the route on Asahi.
  * debian/control: libscenefx-0.5-dev, libwlroots-0.20-dev, wayland-
    protocols 1.41.

 -- Clay Risser <clayrisser@gmail.com>  Fri, 30 Oct 2026 15:55:51 +0000

swayfx (0.5.1-9) unstable; urgency=medium

  * debian/patches/0006: drop a gamma reset the output cannot take
    (BASED-1100). The first repaint after an output is powered back on
    re-applies gamma, which with no gamma client is a reset, and a CRTC
    with no gamma LUT (virtio-gpu, Apple's DCP) cannot take one: the
    fallback committed the same reset and failed, "Page-flip failed" once
    per power-on and the first frame after it never presented. The frame
    now commits without touching gamma when the reset fails the test.

 -- Clay Risser <clayrisser@gmail.com>  Fri, 25 Sep 2026 20:20:33 +0000

swayfx (0.5.1-8) unstable; urgency=medium

  * Build for Ubuntu 26.04 (resolute) too (BASED-948), so the resolute
    sway cells get swayfx from U26Dev. It links scenefx 0.3 and wlroots
    0.18 from this set, since resolute ships wlroots 0.19 only. Noble
    stays off (BASED-289).

 -- Clay Risser <clayrisser@gmail.com>  Thu, 24 Sep 2026 03:25:46 +0000

swayfx (0.5.1-7) unstable; urgency=high

  * debian/patches/0005: compute the night_light gain the way gammastep
    does (BASED-886). 0.5.1-6 multiplied the linear-light sRGB of the
    Planckian whitepoint into gamma-encoded pixels and normalised to the
    Planckian 6500 K point, which is not white: far too red at every
    temperature (GNOME's default 2700 K gave 1.00/0.42/0.10 where
    gammastep gives 1.00/0.68/0.35) and a magenta cast at 6500 K. The
    gain is now Ingo Thies' hybrid locus that gammastep tabulates
    (Planckian to 5000 K, CIE daylight from 6500 K, a linear blend
    between), through XYZ to linear sRGB, encoded with the sRGB transfer
    function and normalised so 6500 K is exactly 1/1/1. It lands within
    about 1% of gammastep's table from 1700 K to 6500 K: 4500 K is
    1.00/0.87/0.74 and 3500 K is 1.00/0.78/0.55.
  * debian/control: build against libscenefx-0.3-dev (>= 0.3-5), which
    redraws a tinted frame whole instead of compounding the gain into the
    pixels it keeps and the ones blur reads back.

 -- Clay Risser <clayrisser@gmail.com>  Wed, 23 Sep 2026 05:36:35 +0000

swayfx (0.5.1-6) unstable; urgency=medium

  * Add debian/patches/0005: a night_light command (BASED-867).
    `swaymsg night_light 4000` warms the whole screen, `night_light off`
    restores it. The temperature becomes the same Planckian-locus
    whitepoint gammastep computes, and SceneFX multiplies it over each
    output's finished image (wlr_scene_set_color_tint, scenefx 0.3-4)
    instead of writing it into a gamma ramp. Apple's DCP carries a CTM
    and no GAMMA_LUT, so wlroots fails every wlr-gamma-control request
    on Asahi and gammastep warms nothing there; upstream refused a
    kernel LUT and GNOME, KWin and Hyprland all answered with a
    compositor-side transform. Direct scan-out is off while it is on.
  * debian/control: build against libscenefx-0.3-dev (>= 0.3-4), the
    revision that has wlr_scene_set_color_tint.

 -- Clay Risser <clayrisser@gmail.com>  Wed, 23 Sep 2026 04:34:51 +0000

swayfx (0.5.1-5) unstable; urgency=medium

  * Backport sway PR #8578 as debian/patches/0004 (BASED-436):
    server_fini() removes the compositor's own listeners before it
    destroys the backend and the display. 0.5.1 is sway 1.10.1
    underneath and segfaulted on every system poweroff, jumping through
    a stale listener in wlr_backend_destroy. The same patch took sway
    1.10.1-2+based2 from three crashes in three poweroffs to a clean
    exit. swayfx 0.5.2 has the fix upstream but needs wlroots 0.19,
    which trixie cannot build.

 -- Clay Risser <clayrisser@gmail.com>  Tue, 22 Sep 2026 05:59:05 +0000

swayfx (0.5.1-4) unstable; urgency=medium

  * debian/rules: strip -Wl,-Bsymbolic-functions from LDFLAGS
    (BASED-260). Ubuntu's dpkg-buildflags adds it and Debian's does
    not, so swayfx now links with the same flags on every base. The
    flag only affects a shared library's own symbol binding and is
    inert on this executable; the crash BASED-260 found was fixed
    where it lives, in the wlroots library build
    (basedlinux.com/debian/wlroots 0.18.2-3~based2 for noble).
    Ubuntu's own wlroots carries the flag, so any future swayfx line
    on an Ubuntu base needs a wlroots rebuilt without it as well.
  * Ubuntu 26.04 (resolute) stays disabled, verified on Launchpad
    2026-09-13: resolute ships wlroots 0.19.2-1 and no
    libwlroots-0.18-dev, and this 0.5.1 + scenefx 0.3 line needs
    wlroots 0.18 (0.5.2/0.5.3 + scenefx 0.4 is the wlroots 0.19 line,
    which trixie cannot build). One debian/unstable source cannot
    serve both bases (BASED-275).

 -- Clay Risser <clayrisser@gmail.com>  Sun, 13 Sep 2026 07:21:02 +0000

swayfx (0.5.1-3) unstable; urgency=medium

  * Do not build for Ubuntu 24.04 (noble) or 26.04 (resolute) (BASED-289).
    No noble cell composes swayfx since BASED-279. On resolute this source
    cannot resolve: it needs scenefx 0.3 and wlroots 0.18, and resolute ships
    wlroots 0.19 (BASED-275). Debian 13 builds as before.

 -- Clay Risser <clayrisser@gmail.com>  Sat, 12 Sep 2026 23:25:10 +0000

swayfx (0.5.1-2) unstable; urgency=medium

  * Build for Ubuntu 24.04 (noble) as well as Debian 13 (BASED-199).
  * Drop OBS_DISABLE_REPOSITORIES: xUbuntu_24.04. The source needs no
    change: noble lacked wlroots 0.18, scenefx 0.3 and libinput >= 1.26,
    and basedlinux.com/debian/{wayland,wlroots,libinput} now supply the
    first and the third in the same OBS project. Proven by a full build
    in an ubuntu:noble container against that stack.

 -- Clay Risser <clayrisser@gmail.com>  Fri, 11 Sep 2026 09:00:17 +0000

swayfx (0.5.1-1) unstable; urgency=medium

  * Initial release.
  * Pinned to upstream tag 0.5.1, which is the newest SwayFX that targets
    wlroots >=0.18.0 <0.19.0 and scenefx-0.3. Debian trixie ships wlroots
    0.18.2, so later releases do not apply: 0.5.2/0.5.3 need wlroots 0.19
    and scenefx-0.4, and 0.6 needs wlroots 0.20 and scenefx-0.5.
  * 0.5.1 is rebased on sway 1.10.1 (upstream's `original_version`), which is
    exactly the sway trixie ships, so config and IPC compatibility is exact.
  * Declared Provides/Conflicts/Replaces on sway so this is a drop-in swap
    rather than a parallel install; see the rationale in debian/control.
  * Built with -Ddefault-wallpaper=false to leave sway-backgrounds
    co-installable, and carried the three Debian-parity patches src:sway
    applies (zsh completion directory, default config wallpaper line,
    DesktopNames in sway.desktop).
  * Shipped /etc/sway/config.d/50-systemd-user.conf and the xdg-desktop-portal
    preference file from src:sway, so replacing sway does not silently drop
    systemd user-session and portal integration.

 -- Clay Risser <clayrisser@gmail.com>  Thu, 13 Aug 2026 07:23:01 +0100
