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

noreply at tizen.org noreply at tizen.org
Mon May 20 11:40:22 GMT 2013


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

Thank You,

[This message was auto-generated]

---

Request: #6224

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


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: Add build config option to break circular dep
Git project: platform/core/appfw/aul-1
Tag: submit/tizen/20130518.042508
Commit: 583008d Updating changelog for new release

State:   accepted   2013-05-18T18:48:49 nashif
Comment: Please add a comment

History: new        2013-05-18T15:44:31 tizenrobot
changes files:
--------------

++++++ new changes file:
--- aul.changes
+++ aul.changes
@@ -0,0 +1,3 @@
+* Fri May 17 2013 Rusty Lynch <rusty.lynch at intel.com> submit/tizen/20130517.044802 at 0b6f9c5
+- Add build time config for privacy-manager support
+

new:
----
  aul.changes

spec files:
-----------
--- aul.spec
+++ aul.spec
@@ -1,8 +1,10 @@
+%bcond_with privacy-manager-client
+
 Name:       aul
 Summary:    App utility library
 Version:    0.0.266
 Release:    1
-VCS:        platform/core/appfw/aul-1#submit/tizen/20130517.044802-0-gf92b7c9
+VCS:        platform/core/appfw/aul-1#submit/tizen/20130518.042508-0-g583008d
 Group:      System/Libraries
 License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -35,8 +37,9 @@
 BuildRequires:  pkgconfig(pkgmgr-info)
 BuildRequires:  pkgconfig(libsmack)
 BuildRequires:	pkgconfig(app2sd)
+%if %{with privacy-manager-client}
 BuildRequires:  pkgconfig(privacy-manager-client)
-
+%endif
 
 %description
 Application utility library
@@ -54,7 +57,11 @@
 %setup -q
 
 %build
-%cmake .
+%if %{with privacy-manger-client}
+%cmake . -DENABLE_PRIVACY_MANAGER=On
+%else
+%cmake . -DENABLE_PRIVACY_MANAGER=Off
+%endif
 
 make %{?jobs:-j%jobs}
 

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

++++++ aul-0.0.266.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -20,7 +20,13 @@
 # Set required packages
 INCLUDE(FindPkgConfig)
 
-pkg_check_modules(pkgs REQUIRED dlog ecore x11 libprivilege-control app-checker rua glib-2.0 ecore-x ecore-input evas vconf pkgmgr-info app2sd privacy-manager-client)
+OPTION(ENABLE_PRIVACY_MANAGER "Enable privacy manager support" ON)
+IF(ENABLE_PRIVACY_MANAGER)
+    ADD_DEFINITIONS("-DPRIVACY_MANAGER")
+    pkg_check_modules(pkgs REQUIRED dlog ecore x11 libprivilege-control app-checker rua glib-2.0 ecore-x ecore-input evas vconf pkgmgr-info app2sd privacy-manager-client)
+ELSE(ENABLE_PRIVACY_MANAGER)
+    pkg_check_modules(pkgs REQUIRED dlog ecore x11 libprivilege-control app-checker rua glib-2.0 ecore-x ecore-input evas vconf pkgmgr-info app2sd)
+ENDIF(ENABLE_PRIVACY_MANAGER)
 pkg_check_modules(libpkgs REQUIRED dlog bundle dbus-glib-1 ail xdgmime app-checker libsmack)
 PKG_CHECK_MODULES(PKGS REQUIRED glib-2.0 gio-2.0 dlog bundle)
 
--- am_daemon/amd_launch.c
+++ am_daemon/amd_launch.c
@@ -30,7 +30,9 @@
 #include <app2ext_interface.h>
 #include <sys/prctl.h>
 #include <pkgmgr-info.h>
+#ifdef PRIVACY_MANAGER

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


More information about the Tizen-submit mailing list