[Tizen-submit] 8039: Changes to Tizen/wrt

noreply at tizen.org noreply at tizen.org
Thu Aug 1 17:26:25 GMT 2013


Hi,
Rusty Lynch have made the following changes to wrt in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8039

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


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: Fixing build for mobile and adding buildtime config for multiuser support
Git project: platform/framework/web/wrt
Tag: submit/tizen/20130801.173101
Commit: f5b96778166f7b020814083b5f3590ea6e769893 Update changelog

State:   new        2013-08-01T10:23:09 tizenrobot
Comment: <no comment>
changes files:
--------------
--- wrt.changes
+++ wrt.changes
@@ -0,0 +1,4 @@
+* Thu Aug 01 2013 Rusty Lynch <rusty.lynch at intel.com> accepted/tizen/20130716.235610 at f0f0bc7
+- Add gles dependency since wrt-client needs it when wrt-client is built with ewebkit2
+- Add build Option for multi-user support
+

new:
----
  wrt_launchpad_daemon_user.service

spec files:
-----------
--- wrt.spec
+++ wrt.spec
@@ -1,16 +1,22 @@
+%bcond_with mesa
 %bcond_with wayland
 %bcond_with decrypt
+%bcond_with multi_user
+
 Name:       wrt
 Summary:    Web runtime
 Version:    0.8.198.3
 Release:    1
-VCS:        platform/framework/web/wrt#submit/tizen/20130716.222709-0-gb3c2436615895c28d21e32d5d39ef5584510ed85
+VCS:        platform/framework/web/wrt#submit/tizen/20130801.173101-0-gf5b96778166f7b020814083b5f3590ea6e769893
 Group:      Development/Libraries
 License:    Apache-2.0
 URL:        N/A
 Source0:    %{name}-%{version}.tar.gz
 ## wrt-launchpad-daemon #######################################################
+### systemd service for mono-user mode
 Source101:  wrt_launchpad_daemon at .service
+### systemd service for multi-user mode
+Source102:  wrt_launchpad_daemon_user.service
 Source1001: 	wrt.manifest
 ###############################################################################
 
@@ -55,6 +61,12 @@
 BuildRequires:  osp-appfw-internal-devel
 Requires: osp-appfw
 %endif
+%if %{with mesa}
+BuildRequires: pkgconfig(gl)
+BuildRequires: pkgconfig(glesv2)
+%else
+BuildRequires: pkgconfig(gles20)
+%endif
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
@@ -95,6 +107,9 @@
 %cmake . -DDPL_LOG="ON"       \
 	 -DPROJECT_VERSION=%{version} \
          -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+%if %{with mesa}
+        -DUSE_MESA=On \
+%endif
 %if %{with wayland}
          -DX11_SUPPORT=Off \
 %else
@@ -105,6 +120,11 @@
 %else
          -DDECRYPT_SUPPORT=Off \
 %endif
+%if %{with multi_user}
+         -DMULTI_USER_SUPPORT=On \
+%else
+         -DMULTI_USER_SUPPORT=Off \
+%endif
 
         %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
 
@@ -125,16 +145,35 @@
 ln -sf ../../init.d/wrt_launchpad_run.sh %{buildroot}/%{_sysconfdir}/rc.d/rc4.d/S80wrt_launchpad_run
 
 #systemd
+
+%if %{with multi_user}
+mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/
+install -m 0644 %SOURCE102 %{buildroot}%{_unitdir_user}/wrt_launchpad_daemon.service
+ln -s ../wrt_launchpad_daemon.service %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants/wrt_launchpad_daemon.service

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list