Merge "Migrating wrt-installer from libprivilege-control to security-manager usage...
authorCasey Schaufler <casey.schaufler@intel.com>
Tue, 27 May 2014 22:17:00 +0000 (15:17 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 27 May 2014 22:17:00 +0000 (15:17 -0700)
1  2 
packaging/wrt-installer.spec
src/CMakeLists.txt

@@@ -102,21 -90,10 +99,21 @@@ LDFLAGS="$LDFLAGS
  %else
           -DDECRYPT_SUPPORT=Off \
  %endif
 +%if %{with wayland}
 +         -DWAYLAND_SUPPORT=On \
 +%else
 +         -DWAYLAND_SUPPORT=Off \
 +%endif
 +%if %{with x}
 +         -DX11_SUPPORT=On \
 +%else
 +         -DX11_SUPPORT=Off \
 +%endif
          -DSYSCONFDIR=%{_sysconfdir} \
-         -DSMACK=Off \
+         -DSMACK=ON \
          -DDPL_LOG=ON \
          -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
 +        -DTZ_SYS_APP_PREINSTALL=%TZ_SYS_APP_PREINSTALL \
          %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
  make %{?jobs:-j%jobs}
  
@@@ -175,31 -174,9 +175,31 @@@ PKG_CHECK_MODULES(SYS_INSTALLER_STATIC_
      shortcut
      capi-appfw-app-manager
      app2sd
-     libprivilege-control
+     security-manager
      REQUIRED
  )
 +ELSE(WAYLAND_SUPPORT)
 +PKG_CHECK_MODULES(SYS_INSTALLER_STATIC_DEP
 +    appsvc
 +    libxml-2.0
 +    openssl
 +    cert-svc-vcore
 +    security-install
 +    ecore-wayland
 +    xmlsec1
 +    libidn
 +    libiri
 +    libpcrecpp
 +    ail
 +    elementary
 +    tapi
 +    shortcut
 +    capi-appfw-app-manager
 +    app2sd
 +    libprivilege-control
 +    REQUIRED
 +)
 +ENDIF(X11_SUPPORT)
  
  INCLUDE_DIRECTORIES( SYSTEM ${SYS_INSTALLER_STATIC_DEP_INCLUDE_DIRS})