public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <kamil.konieczny@linux.intel.com>, <krzysztof.karas@intel.com>,
	"Sebastian Brzezinka" <sebastian.brzezinka@intel.com>
Subject: [PATCH v2 i-g-t 0/4] meson/tools: split lightweight igt core and reduce tool dependencies
Date: Wed, 18 Feb 2026 13:33:55 +0100	[thread overview]
Message-ID: <cover.1771248283.git.sebastian.brzezinka@intel.com> (raw)

This patch series continues the effort to reduce unnecessary build-time
and runtime dependencies in IGT tools by clearly separating a lightweight
core subset from the full IGT library and by making tool dependencies
explicit in Meson.

The primary motivation is to allow simple utilities (such as lsgpu) to
build and run without pulling in heavyweight graphical dependencies
(Cairo, Pixman, X11, etc.), while improving maintainability and clarity
of the Meson build files.

Sebastian Brzezinka (4):
  tools/meson: make per-tool dependencies instead of using global deps
  lib/igt_tools_stub: Add igt_load_igtrc() stub implementation
  lib/meson: build core sources as per-file static libs with minimal
    deps
  tools/lsgpu: drop cairo and switch to igt_core

 lib/igt_tools_stub.c |  43 +++++++++++++++
 lib/meson.build      |  42 +++++++++++++++
 tools/lsgpu.c        |   3 +-
 tools/meson.build    | 121 ++++++++++++++++++++-----------------------
 4 files changed, 143 insertions(+), 66 deletions(-)

-- 
2.52.0


             reply	other threads:[~2026-02-18 12:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-18 12:33 Sebastian Brzezinka [this message]
2026-02-18 12:33 ` [PATCH v2 i-g-t 1/4] tools/meson: make per-tool dependencies instead of using global deps Sebastian Brzezinka
2026-02-18 12:33 ` [PATCH v2 i-g-t 2/4] lib/igt_tools_stub: Add igt_load_igtrc() stub implementation Sebastian Brzezinka
2026-02-18 12:33 ` [PATCH v2 i-g-t 3/4] lib/meson: build core sources as per-file static libs with minimal deps Sebastian Brzezinka
2026-02-18 12:33 ` [PATCH v2 i-g-t 4/4] tools/lsgpu: drop cairo and switch to igt_core Sebastian Brzezinka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1771248283.git.sebastian.brzezinka@intel.com \
    --to=sebastian.brzezinka@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    --cc=krzysztof.karas@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox