summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2016-01-26 09:57:29 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2016-01-26 10:20:45 +0900
commitc35ab7be6a5fb12c34407c00af8b9890433d7b19 (patch)
treebf0f51df6b094ee318868bcb33fc9c591c9ebe67
parent9c1f1a5880717f205e4ab49963bce98fe19dd60b (diff)
downloadlaunchpad-c35ab7be6a5fb12c34407c00af8b9890433d7b19.tar.gz
launchpad-c35ab7be6a5fb12c34407c00af8b9890433d7b19.tar.bz2
launchpad-c35ab7be6a5fb12c34407c00af8b9890433d7b19.zip
Change-Id: If46f6ee4d469a7d78d9a7e28a00dec0d0adff229 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
-rwxr-xr-xCMakeLists.txt4
-rw-r--r--packaging/launchpad.spec1
-rw-r--r--packaging/preload_list.txt4
-rw-r--r--packaging/preload_list.txt.in4
4 files changed, 9 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9e71ec..8dec658 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,6 +101,9 @@ SET_TARGET_PROPERTIES(${LAUNCHPAD_PROCESS_POOL}
) # remove rpath option that is automatically generated by cmake.
INSTALL(TARGETS ${LAUNCHPAD_PROCESS_POOL} DESTINATION bin)
+
+CONFIGURE_FILE(packaging/preload_list.txt.in packaging/preload_list.txt @ONLY)
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/preload_list.txt DESTINATION share/aul)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/packaging/launchpad-process-pool-preload-list.txt DESTINATION share/aul)
# liblaunchpad
@@ -113,6 +116,7 @@ SET_TARGET_PROPERTIES(${LAUNCHPAD_LIB} PROPERTIES SOVERSION ${VERSION_MAJOR})
SET_TARGET_PROPERTIES(${LAUNCHPAD_LIB} PROPERTIES VERSION ${VERSION})
SET_TARGET_PROPERTIES(${LAUNCHPAD_LIB} PROPERTIES COMPILE_FLAGS ${EXTRA_CFLAGS_lib})
TARGET_LINK_LIBRARIES(${LAUNCHPAD_LIB} ${${this_target_lib}_LDFLAGS} "-ldl")
+
INSTALL(TARGETS ${LAUNCHPAD_LIB} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/inc/launchpad.h DESTINATION include/launchpad)
CONFIGURE_FILE(launchpad.pc.in launchpad.pc @ONLY)
diff --git a/packaging/launchpad.spec b/packaging/launchpad.spec
index d2331da..c40f277 100644
--- a/packaging/launchpad.spec
+++ b/packaging/launchpad.spec
@@ -76,6 +76,7 @@ cp %{_builddir}/%{name}-%{version}/LICENSE %{buildroot}/usr/share/license/%{nam
%files
%manifest launchpad.manifest
%{_prefix}/share/license/%{name}
+%{_prefix}/share/aul/preload_list.txt
%{_prefix}/share/aul/launchpad-process-pool-preload-list.txt
%{_unitdir_user}/launchpad-process-pool.service
%{_unitdir_user}/launchpad-process-pool.socket
diff --git a/packaging/preload_list.txt b/packaging/preload_list.txt
deleted file mode 100644
index 3ccda07..0000000
--- a/packaging/preload_list.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-/usr/lib/libappcore-efl.so.1
-/usr/lib/libappcore-common.so.1
-/usr/lib/libcapi-appfw-application.so.0
-/usr/lib/ecore/immodules/libisf-imf-module.so
diff --git a/packaging/preload_list.txt.in b/packaging/preload_list.txt.in
new file mode 100644
index 0000000..fa29fb6
--- /dev/null
+++ b/packaging/preload_list.txt.in
@@ -0,0 +1,4 @@
+@LIB_INSTALL_DIR@/libappcore-efl.so.1
+@LIB_INSTALL_DIR@/libappcore-common.so.1
+@LIB_INSTALL_DIR@/libcapi-appfw-application.so.0
+@LIB_INSTALL_DIR@/ecore_imf/modules/wayland/v-1.16/libwltextinputmodule.so