Commit 1ed3506b authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

libweston: export weston_config API

Make it official that libweston will export the weston_config API, as requested
in wayland/weston!29


There is no other way third party helper clients could access the API.

The autotools build has been accidentally exporting it all the time, but the
Meson build needed fixing.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 7261edfe
Pipeline #17871 passed with stage
in 3 minutes and 53 seconds
......@@ -88,6 +88,13 @@ Libweston was first introduced in Weston 1.12, and is expected to
continue evolving through many Weston releases before it achieves a
stable API and feature completeness.
Libweston's primary purpose is exporting an API for creating Wayland
compositors. Libweston's secondary purpose is to export the weston_config API
so that third party plugins and helper programs can read `weston.ini` if they
want to. However, these two scopes are orthogonal and independent. At no point
will the compositor functionality use or depend on the weston_config
API/ABI (in)stability and parallel installability
......@@ -30,7 +30,7 @@ if get_option('shell-ivi')
include_directories: include_directories('..', '../shared'),
dependencies: dep_libweston,
dependencies: [ dep_libweston, dep_libshared ],
name_prefix: '',
install: true,
install_dir: dir_module_weston
......@@ -4,7 +4,6 @@ deps_libweston = [
srcs_libweston = [
......@@ -75,6 +74,7 @@ lib_weston = shared_library(
link_args: [ '-export-dynamic' ],
install: true,
version: '0.0.@0@'.format(libweston_revision),
link_whole: lib_libshared,
dependencies: deps_libweston
......@@ -12,6 +12,7 @@ lib_libshared = static_library(
include_directories: include_directories('..'),
dependencies: deps_libshared,
pic: true,
install: false
dep_libshared = declare_dependency(
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment