[PATCH i-g-t 0/3] Remove viral glib dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



An adventure that started from a reported build error that was easy to
see why it happened, but not as easy to see why it didn't happen on my
end.

A user attempted to build IGT with a cairo that was built without
glib. That revealed a spot of code that unconditionally used glib
headers, making everything in IGT depend on glib headers. Why
everything worked was because glib's cflags come with cairo's cflags
typically [citation needed]. Fixing that revealed a couple of missing
includes that glib.h ended up providing.

Petri Latvala (3):
  kms_atomic_interruptible: Add missing #include
  gem_exec_schedule: Add missing #include
  lib: Reduce dependency on glib

 lib/Makefile.sources             |  1 +
 lib/igt_chamelium.c              |  1 +
 lib/igt_core.c                   |  3 +++
 lib/igt_core.h                   |  2 --
 lib/igt_rc.h                     | 34 ++++++++++++++++++++++++++++++++++
 lib/meson.build                  |  1 +
 tests/gem_exec_schedule.c        |  1 +
 tests/kms_atomic_interruptible.c |  2 ++
 8 files changed, 43 insertions(+), 2 deletions(-)
 create mode 100644 lib/igt_rc.h

-- 
2.14.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux