[PATCH weston 0/6] Create the libweston library

Giulio Camuffo giuliocamuffo at gmail.com
Tue May 24 16:59:04 UTC 2016


Hi,
this patch series creates the libweston library, and makes it usable by
other compositors. To enable that some changes are needed to make sure
that libweston doesn't call functions that are implemented in the weston
executable, and some functions that are needed by compositors are
exported.
Some patches i believe could go in by themselves, such as 1, 3 and 4 if
the ones actually dealing with the .so need to be changed.

Cheers,
Giulio


Giulio Camuffo (6):
  Export weston_compositor_xkb_init, as required for libweston users
  Split the modules and include files between weston and libweston
  Move the functions launching clients to main.c
  Move part of screenshooter.c to weston-screenshooter.c
  allow compositors to define the logging behavior
  Create a libweston-0.so

 Makefile.am                    |  67 ++++++----
 configure.ac                   |   3 +
 desktop-shell/shell.c          |   1 +
 ivi-shell/hmi-controller.c     |   1 +
 ivi-shell/ivi-layout.c         |   3 +-
 src/compositor.c               | 146 +---------------------
 src/compositor.h               |  35 ++----
 src/input.c                    |   4 +-
 src/libweston.pc.in            |  11 ++
 src/log.c                      |  74 ++---------
 src/main.c                     | 272 ++++++++++++++++++++++++++++++++++++++++-
 src/screenshooter.c            | 187 +++-------------------------
 src/text-backend.c             |   1 +
 src/weston-screenshooter.c     | 191 +++++++++++++++++++++++++++++
 src/weston.h                   |  67 ++++++++++
 src/weston.pc.in               |   2 +-
 tests/ivi_layout-test-plugin.c |   1 +
 tests/weston-test.c            |   1 +
 xwayland/xwayland.h            |   1 +
 19 files changed, 632 insertions(+), 436 deletions(-)
 create mode 100644 src/libweston.pc.in
 create mode 100644 src/weston-screenshooter.c
 create mode 100644 src/weston.h

-- 
2.8.3



More information about the wayland-devel mailing list