[Tizen-submit] 8085: Changes to Tizen/aul

noreply at tizen.org noreply at tizen.org
Thu Aug 8 17:21:00 GMT 2013

Anas Nashif have made the following changes to aul in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #8085

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

Submitter: Anas Nashif <anas.nashif at intel.com>
Comments: push to obs
Git project: platform/core/appfw/aul-1
Tag: submit/tizen/20130808.123840
Commit: 7ed78eded63310b97655538cc48e65cc8b8ebec6 Add build Option for multi-user support

State:   accepted   2013-08-08T07:10:18 nashif
Comment: Please add a comment

History: new        2013-08-08T05:34:03 tizenrobot
changes files:
--- aul.changes
+++ aul.changes
@@ -0,0 +1,3 @@
+* Fri Aug 02 2013 Baptiste DURAND <baptiste.durand at eurogiciel.fr> accepted/tizen/20130731.144156 at ab708cb
+- Add build Option for multi-user support


spec files:
--- aul.spec
+++ aul.spec
@@ -1,16 +1,19 @@
 %bcond_without privacy-manager-client
+%bcond_with multi_user
 Name:       aul
 Summary:    App utility library
 Version:    0.0.266
 Release:    1
-VCS:        platform/core/appfw/aul-1#submit/tizen/20130731.045741-0-g45342e4f415529c5b159517e4123966f21b7e206
+VCS:        platform/core/appfw/aul-1#submit/tizen/20130808.123840-0-g7ed78eded63310b97655538cc48e65cc8b8ebec6
 Group:      System/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 Source101:  launchpad-preload at .service
 Source102:  ac.service
-Source1001: 	aul.manifest
+Source103:  launchpad-preload_user.service
+Source104:  ac_user.service
+Source1001: %{name}.manifest
 Requires(post): /sbin/ldconfig
 Requires(post): /usr/bin/systemctl
@@ -59,10 +62,16 @@
 cp %{SOURCE1001} .
+%cmake . \
 %if %{with privacy-manger-client}
+%if %{with multi_user}
 make %{?jobs:-j%jobs}
@@ -82,30 +91,42 @@
 mkdir -p %{buildroot}/opt/dbspace
 sqlite3 %{buildroot}/opt/dbspace/.mida.db < %{buildroot}/usr/share/aul/mida_db.sql
 rm -rf %{buildroot}/usr/share/aul/mida_db.sql
+%if %{with multi_user}
+mkdir -p %{buildroot}/%{_unitdir_user}/tizen-middleware.target.wants
+install -m 0644 %SOURCE103 %{buildroot}/%{_unitdir_user}/launchpad-preload.service
+install -m 0644 %SOURCE104 %{buildroot}/%{_unitdir_user}/ac.service
+ln -s ../launchpad-preload.service %{buildroot}/%{_unitdir_user}/tizen-middleware.target.wants/launchpad-preload.service
+ln -s ../ac.service %{buildroot}/%{_unitdir_user}/tizen-middleware.target.wants/ac.service
 mkdir -p %{buildroot}/%{_unitdir}/graphical.target.wants
 install -m 0644 %SOURCE101 %{buildroot}/%{_unitdir}/launchpad-preload at .service
 install -m 0644 %SOURCE102 %{buildroot}/%{_unitdir}/ac.service
 ln -s ../launchpad-preload at .service %{buildroot}/%{_unitdir}/graphical.target.wants/launchpad-preload at app.service
 ln -s ../ac.service %{buildroot}/%{_unitdir}/graphical.target.wants/ac.service
 if [ $1 == 0 ]; then
+%if !%{with multi_user}
     systemctl stop launchpad-preload at app.service
     systemctl stop ac.service

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

More information about the Tizen-submit mailing list