Rename config-parser.h to libweston/config-parser.h
It is a public installed header used by libweston.h. See "Rename compositor.h to libweston/libweston.h" for rationale. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
#include "shared/cairo-util.h"
|
#include "shared/cairo-util.h"
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/xalloc.h"
|
#include "shared/xalloc.h"
|
||||||
#include "shared/zalloc.h"
|
#include "shared/zalloc.h"
|
||||||
|
|||||||
+1
-1
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
|
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/xalloc.h"
|
#include "shared/xalloc.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@
|
|||||||
#include <wayland-cursor.h>
|
#include <wayland-cursor.h>
|
||||||
#include <wayland-client-protocol.h>
|
#include <wayland-client-protocol.h>
|
||||||
#include "shared/cairo-util.h"
|
#include "shared/cairo-util.h"
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/os-compatibility.h"
|
#include "shared/os-compatibility.h"
|
||||||
#include "shared/xalloc.h"
|
#include "shared/xalloc.h"
|
||||||
|
|||||||
+1
-1
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
|
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/xalloc.h"
|
#include "shared/xalloc.h"
|
||||||
#include "window.h"
|
#include "window.h"
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@
|
|||||||
#include <xkbcommon/xkbcommon.h>
|
#include <xkbcommon/xkbcommon.h>
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/zalloc.h"
|
#include "shared/zalloc.h"
|
||||||
#include "shared/platform.h"
|
#include "shared/platform.h"
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#include "shell.h"
|
#include "shell.h"
|
||||||
#include "compositor/weston.h"
|
#include "compositor/weston.h"
|
||||||
#include "weston-desktop-shell-server-protocol.h"
|
#include "weston-desktop-shell-server-protocol.h"
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/timespec-util.h"
|
#include "shared/timespec-util.h"
|
||||||
#include "libweston-desktop/libweston-desktop.h"
|
#include "libweston-desktop/libweston-desktop.h"
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ extern "C" {
|
|||||||
#include <wayland-server.h>
|
#include <wayland-server.h>
|
||||||
|
|
||||||
#include <libweston/matrix.h>
|
#include <libweston/matrix.h>
|
||||||
#include "config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "zalloc.h"
|
#include "zalloc.h"
|
||||||
#include <libweston/timeline-object.h>
|
#include <libweston/timeline-object.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
install_headers(
|
install_headers(
|
||||||
|
'config-parser.h',
|
||||||
'libweston.h',
|
'libweston.h',
|
||||||
'matrix.h',
|
'matrix.h',
|
||||||
'plugin-registry.h',
|
'plugin-registry.h',
|
||||||
|
|||||||
@@ -52,7 +52,6 @@
|
|||||||
|
|
||||||
#include <libweston/libweston.h>
|
#include <libweston/libweston.h>
|
||||||
#include <libweston/backend-x11.h>
|
#include <libweston/backend-x11.h>
|
||||||
#include "shared/config-parser.h"
|
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/image-loader.h"
|
#include "shared/image-loader.h"
|
||||||
#include "shared/timespec-util.h"
|
#include "shared/timespec-util.h"
|
||||||
|
|||||||
@@ -57,7 +57,6 @@ srcs_libweston = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
install_headers(
|
install_headers(
|
||||||
'../shared/config-parser.h',
|
|
||||||
'../shared/zalloc.h',
|
'../shared/zalloc.h',
|
||||||
subdir: dir_include_libweston
|
subdir: dir_include_libweston
|
||||||
)
|
)
|
||||||
|
|||||||
+2
-2
@@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "image-loader.h"
|
#include "image-loader.h"
|
||||||
#include "config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
|
|
||||||
#ifdef HAVE_PANGO
|
#ifdef HAVE_PANGO
|
||||||
#include <pango/pangocairo.h>
|
#include <pango/pangocairo.h>
|
||||||
@@ -543,7 +543,7 @@ theme_render_frame(struct theme *t,
|
|||||||
text_height = logical.height;
|
text_height = logical.height;
|
||||||
if (text_width < logical.width)
|
if (text_width < logical.width)
|
||||||
pango_layout_set_width (title_layout, text_width * PANGO_SCALE);
|
pango_layout_set_width (title_layout, text_width * PANGO_SCALE);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
cairo_text_extents_t extents;
|
cairo_text_extents_t extents;
|
||||||
cairo_font_extents_t font_extents;
|
cairo_font_extents_t font_extents;
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <wayland-util.h>
|
#include <wayland-util.h>
|
||||||
#include "config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "helpers.h"
|
#include "helpers.h"
|
||||||
#include "string-helpers.h"
|
#include "string-helpers.h"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ deps_libshared = dep_wayland_client
|
|||||||
lib_libshared = static_library(
|
lib_libshared = static_library(
|
||||||
'shared',
|
'shared',
|
||||||
srcs_libshared,
|
srcs_libshared,
|
||||||
include_directories: include_directories('..'),
|
include_directories: [ include_directories('..'), public_inc ],
|
||||||
dependencies: deps_libshared,
|
dependencies: deps_libshared,
|
||||||
pic: true,
|
pic: true,
|
||||||
install: false
|
install: false
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "string-helpers.h"
|
#include "string-helpers.h"
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
|
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "zunitc/zunitc.h"
|
#include "zunitc/zunitc.h"
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include "compositor/weston.h"
|
#include "compositor/weston.h"
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "libweston-desktop/libweston-desktop.h"
|
#include "libweston-desktop/libweston-desktop.h"
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#include "zuc_event_listener.h"
|
#include "zuc_event_listener.h"
|
||||||
#include "zuc_junit_reporter.h"
|
#include "zuc_junit_reporter.h"
|
||||||
|
|
||||||
#include "shared/config-parser.h"
|
#include <libweston/config-parser.h>
|
||||||
#include "shared/helpers.h"
|
#include "shared/helpers.h"
|
||||||
#include "shared/zalloc.h"
|
#include "shared/zalloc.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user