[PATCH weston sdk v2 4/8] clients: Install to pkglibexecdir
Quentin Glidic
sardemff7+wayland at sardemff7.net
Mon Jul 1 08:03:04 PDT 2013
From: Quentin Glidic <sardemff7+git at sardemff7.net>
Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
---
clients/Makefile.am | 2 +-
src/Makefile.am | 2 +-
src/screenshooter.c | 2 +-
src/shell.c | 2 +-
src/tablet-shell.c | 2 +-
src/text-backend.c | 2 +-
src/xwayland/Makefile.am | 3 ---
7 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/clients/Makefile.am b/clients/Makefile.am
index cad0d40..7bc06f2 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -9,7 +9,7 @@ noinst_PROGRAMS = \
$(simple_clients_programs) \
$(simple_egl_clients_programs)
-libexec_PROGRAMS = \
+pkglibexec_PROGRAMS = \
$(desktop_shell) \
$(tablet_shell) \
$(screenshooter) \
diff --git a/src/Makefile.am b/src/Makefile.am
index 1459859..43279da 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,7 +5,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/shared \
-DDATADIR='"$(datadir)"' \
-DMODULEDIR='"$(moduledir)"' \
- -DLIBEXECDIR='"$(libexecdir)"' \
+ -DPKGLIBEXECDIR='"$(pkglibexecdir)"' \
-DIN_WESTON
weston_LDFLAGS = -export-dynamic
diff --git a/src/screenshooter.c b/src/screenshooter.c
index 8143202..1d30095 100644
--- a/src/screenshooter.c
+++ b/src/screenshooter.c
@@ -241,7 +241,7 @@ screenshooter_binding(struct weston_seat *seat, uint32_t time, uint32_t key,
void *data)
{
struct screenshooter *shooter = data;
- const char *screenshooter_exe = LIBEXECDIR "/weston-screenshooter";
+ const char *screenshooter_exe = PKGLIBEXECDIR "/weston-screenshooter";
if (!shooter->client)
shooter->client = weston_client_launch(shooter->ec,
diff --git a/src/shell.c b/src/shell.c
index 9869db5..0c11e22 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3583,7 +3583,7 @@ static void
launch_desktop_shell_process(void *data)
{
struct desktop_shell *shell = data;
- const char *shell_exe = LIBEXECDIR "/weston-desktop-shell";
+ const char *shell_exe = PKGLIBEXECDIR "/weston-desktop-shell";
shell->child.client = weston_client_launch(shell->compositor,
&shell->child.process,
diff --git a/src/tablet-shell.c b/src/tablet-shell.c
index 91e5110..f232b57 100644
--- a/src/tablet-shell.c
+++ b/src/tablet-shell.c
@@ -376,7 +376,7 @@ static const struct tablet_shell_interface tablet_shell_implementation = {
static void
launch_ux_daemon(struct tablet_shell *shell)
{
- const char *shell_exe = LIBEXECDIR "/weston-tablet-shell";
+ const char *shell_exe = PKGLIBEXECDIR "/weston-tablet-shell";
shell->client = weston_client_launch(shell->compositor,
&shell->process,
diff --git a/src/text-backend.c b/src/text-backend.c
index 38728e9..5815053 100644
--- a/src/text-backend.c
+++ b/src/text-backend.c
@@ -917,7 +917,7 @@ text_backend_configuration(struct text_backend *text_backend)
"input-method", NULL, NULL);
weston_config_section_get_string(section, "path",
&text_backend->input_method.path,
- LIBEXECDIR "/weston-keyboard");
+ PKGLIBEXECDIR "/weston-keyboard");
}
static void
diff --git a/src/xwayland/Makefile.am b/src/xwayland/Makefile.am
index a322cb7..941ebb5 100644
--- a/src/xwayland/Makefile.am
+++ b/src/xwayland/Makefile.am
@@ -1,9 +1,6 @@
AM_CPPFLAGS = \
-I$(top_srcdir)/shared \
-I$(top_builddir)/src \
- -DDATADIR='"$(datadir)"' \
- -DMODULEDIR='"$(moduledir)"' \
- -DLIBEXECDIR='"$(libexecdir)"' \
-DXSERVER_PATH='"@XSERVER_PATH@"'
# moduledir is defined in configure.ac
--
1.8.3.1
More information about the wayland-devel
mailing list