# xf86-input-mouse - X.Org mouse input driver
#
# Phase 2 Task 4 (M3): the VUID /dev/mouse backend (src/mouse.c /
# src/sun_mouse.c) is already upstream. One local patch reorders the
# DEVICE_ON/DEVICE_OFF/DEVICE_CLOSE handling in src/mouse.c so the
# /dev/mouse fd is opened once (at first DEVICE_ON) and closed only at
# DEVICE_CLOSE, instead of being closed/reopened on every console mode
# switch (see patches/01-6892799-mouse-fd-persist.patch). That same patch
# also defines a local `sign()` macro fallback in src/mouse.c: this old
# (2019-era) driver relies on the X server's misc.h `sign()` macro, which
# the XLibre 25.1.8 SDK no longer provides - an SDK-drift build failure
# unrelated to the VUID port itself, found on first alpha10 build attempt.

[package]
name = "xf86-input-mouse"
version = "1.9.5"
release = 1
description = "X.Org mouse input driver (illumos /dev/mouse VUID backend)"
url = "https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse"
license = "MIT"
maintainer = "Chris Tusa <chris.tusa@leafscale.com>"
arch = "x86_64"

[dependencies]
runtime = ["xlibre-xserver-xorg"]
build = ["xlibre-xserver-xorg", "util-macros"]

[[source]]
file = "xf86-input-mouse-1.9.5.tar.gz"
urls = ["https://www.x.org/archive/individual/driver/xf86-input-mouse-1.9.5.tar.gz"]
checksum = "dc75c9e97f269b5edf80b3bb17ecac7f31c093cd27f74b5220b9d07ee63e0b25"
extract = true

[build]
parallel = true
