[Tizen-submit] 21236: Changes to Tizen:Mobile/wrt-commons

noreply at tizen.org noreply at tizen.org
Thu Feb 13 08:15:52 GMT 2014


Hi,
Baptiste DURAND have made the following changes to wrt-commons in project Tizen:Mobile. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #21236

  submit:       Tizen:Mobile:build/wrt-commons(cleanup) -> Tizen:Mobile


Message:
Submitter: Baptiste DURAND <baptiste.durand at open.eurogiciel.org>
Comments: Add build option to allow 'pure wayland' build
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20140213.081519
Commit: a560386f384df90907150b436655098361ba6cef Add option to build with or without x

State:   new        2014-02-13T08:14:13 tizenrobot
Comment: <no comment>
changes files:
--------------

spec files:
-----------
--- wrt-commons.spec
+++ wrt-commons.spec
@@ -1,5 +1,6 @@
+%bcond_with x
 Name:       wrt-commons
-VCS:        platform/framework/web/wrt-commons#64583b2013cd0d1e09a0cd62945085bd1b7eabb0
+VCS:        platform/framework/web/wrt-commons#a560386f384df90907150b436655098361ba6cef
 Summary:    Wrt common library
 Version:    0.2.160
 Release:    1
@@ -63,6 +64,11 @@
         -DDPL_LOG="OFF"      \
         -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
         %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS} \
+%if %{with x}
+         -DX11_SUPPORT=On \
+%else
+         -DX11_SUPPORT=Off \
+%endif
         %{?WITH_CHILD:-DWITH_CHILD=%WITH_CHILD}
 make %{?jobs:-j%jobs}
 

other changes:
--------------

++++++ wrt-commons-0.2.160.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -48,6 +48,12 @@
 OPTION(WITH_TESTS "Build tests" OFF)
 OPTION(WITH_CHILD "Build additional test subdirectory. WITH_TEST must be ON" OFF)
 
+OPTION(X11_SUPPORT "Enable X11" ON)
+IF(X11_SUPPORT)
+    ADD_DEFINITIONS("-DX11")
+ENDIF(X11_SUPPORT)
+
+
 # Compiler flags
 SET(CMAKE_C_FLAGS_PROFILING    "-O2")
 SET(CMAKE_CXX_FLAGS_PROFILING  "-O2 -std=c++0x")
--- modules/core/include/dpl/framework_efl.h
+++ modules/core/include/dpl/framework_efl.h
@@ -22,4 +22,7 @@
 #pragma GCC system_header
 #include <Ecore.h>
 #include <Elementary.h>
+
+#ifdef X11
 #include <Ecore_X.h>
+#endif
--- packaging/wrt-commons.spec
+++ packaging/wrt-commons.spec
@@ -1,3 +1,4 @@
+%bcond_with x
 Name:       wrt-commons
 Summary:    Wrt common library
 Version:    0.2.160
@@ -62,6 +63,11 @@
         -DDPL_LOG="OFF"      \
         -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
         %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS} \
+%if %{with x}
+         -DX11_SUPPORT=On \
+%else
+         -DX11_SUPPORT=Off \
+%endif
         %{?WITH_CHILD:-DWITH_CHILD=%WITH_CHILD}
 make %{?jobs:-j%jobs}
 


More information about the Tizen-submit mailing list