From 5e61ce1ff8606986e24edb6a91c0eb9a175c305f Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Tue, 16 Apr 2024 15:46:46 -0700 Subject: [PATCH] Enable `smithay/renderer_pixman` feature This enables support for using Pixman for cursor planes. --- Cargo.lock | 19 +++++++++++++++++++ Cargo.toml | 1 + debian/control | 1 + 3 files changed, 21 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index ba6c6020..ec126bf9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3766,6 +3766,24 @@ dependencies = [ "futures-io", ] +[[package]] +name = "pixman" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d24a24da0bec14f4e43a495c1837a3c358b87532e7fe66bd75c348b89f0451b6" +dependencies = [ + "drm-fourcc", + "paste", + "pixman-sys", + "thiserror", +] + +[[package]] +name = "pixman-sys" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a1a0483e89e81d7915defe83c51f23f6800594d64f6f4a21253ce87fd8444ada" + [[package]] name = "pkg-config" version = "0.3.29" @@ -4531,6 +4549,7 @@ dependencies = [ "libloading 0.8.1", "libseat", "once_cell", + "pixman", "pkg-config", "profiling", "rand", diff --git a/Cargo.toml b/Cargo.toml index a5ec225c..10a83907 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -79,6 +79,7 @@ features = [ "use_system_lib", "renderer_glow", "renderer_multi", + "renderer_pixman", "wayland_frontend", "xwayland", ] diff --git a/debian/control b/debian/control index 4ac55e22..14def338 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Build-Depends: libfontconfig-dev, libgbm-dev, libinput-dev, + libpixman-1-dev, libseat-dev, libsystemd-dev, libudev-dev,