[Tizen-submit] 8227: Changes to Tizen/bluetooth-frwk

noreply at tizen.org noreply at tizen.org
Thu Aug 22 09:32:36 GMT 2013


Hi,
Wu Zheng have made the following changes to bluetooth-frwk in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8227

  submit:       Tizen:build/bluetooth-frwk(cleanup) -> Tizen


Message:
Submitter: Wu Zheng <wu.zheng at intel.com>
Comments: Start bt-service with systemd user with multi-user option
Git project: platform/core/connectivity/bluetooth-frwk
Tag: submit/tizen/20130822.094138
Commit: 2304f1c6bdc00a7db00eed1d325c061d7fd4f611 Start bt-service with systemd user with multi-user option

State:   new        2013-08-22T02:29:14 tizenrobot
Comment: <no comment>
changes files:
--------------
--- bluetooth-frwk.changes
+++ bluetooth-frwk.changes
@@ -0,0 +1,3 @@
+* Wed Aug 21 2013 Victor Hakoun <victor.hakoun at eurogiciel.fr> submit/tizen/20130809.082724 at 2a3c24d
+- Start bt-service with systemd user with multi-user option
+

spec files:
-----------
--- bluetooth-frwk.spec
+++ bluetooth-frwk.spec
@@ -1,9 +1,10 @@
 %bcond_with bluetooth_frwk_libnotify
+%bcond_with multi_user
 Name:       bluetooth-frwk
 Summary:    Bluetooth framework for BlueZ and Obexd
 Version:    0.2.57
 Release:    1
-VCS:        platform/core/connectivity/bluetooth-frwk#submit/tizen/20130809.082724-0-g12ceaf09c6ccc9578f8235951d22b4fea1a52cd1
+VCS:        platform/core/connectivity/bluetooth-frwk#submit/tizen/20130822.094138-0-g2304f1c6bdc00a7db00eed1d325c061d7fd4f611
 Group:      Connectivity/Bluetooth
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -85,6 +86,11 @@
 export LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--unresolved-symbols=ignore-in-shared-libs -pie"
 %endif
 %cmake . \
+%if %{with multi_user}
+	-DMULTI_USER_SUPPORT=On \
+%else
+	-DMULTI_USER_SUPPORT=Off \
+%endif
 %if %{with bluetooth_frwk_libnotify}
  -DLIBNOTIFY_SUPPORT=On
 %else
@@ -96,11 +102,14 @@
 %install
 rm -rf %{buildroot}
 %make_install
-
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
-mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
-ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
-ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
+%if !%{with multi_user}
+	mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d/
+	mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc5.d/
+	ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
+	ln -s %{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
+%else
+	mv %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service_user.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d/bluetooth-frwk-service.conf
+%endif
 
 mkdir -p %{buildroot}%{_unitdir_user}
 mkdir -p %{buildroot}%{_unitdir_user}/tizen-middleware.target.wants
@@ -141,10 +150,12 @@
 %files service
 %manifest %{name}.manifest
 %defattr(-, root, root)
-%{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service
-%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
-%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
-%{_datadir}/dbus-1/system-services/org.projectx.bt.service
+%if !%{with multi_user}
+	%{_datadir}/dbus-1/system-services/org.projectx.bt.service
+	%{_sysconfdir}/rc.d/init.d/bluetooth-frwk-service
+	%{_sysconfdir}/rc.d/rc3.d/S80bluetooth-frwk-service
+	%{_sysconfdir}/rc.d/rc5.d/S80bluetooth-frwk-service
+%endif
 %{_bindir}/bt-service
 %{_unitdir_user}/tizen-middleware.target.wants/bluetooth-frwk-service.service
 %{_unitdir_user}/bluetooth-frwk-service.service

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

++++++ bluetooth-frwk-0.2.57.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -3,6 +3,10 @@
 IF(LIBNOTIFY_SUPPORT)
     ADD_DEFINITIONS("-DLIBNOTIFY_SUPPORT")
 ENDIF(LIBNOTIFY_SUPPORT)
+OPTION(MULTI_USER_SUPPORT "Enable multi-user support" OFF)

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


More information about the Tizen-submit mailing list