summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsunggun.jung <sunggun.jung@samsung.com>2012-11-19 17:06:03 +0900
committersunggun.jung <sunggun.jung@samsung.com>2012-11-19 17:06:03 +0900
commitf367bc6ffcf338ba017f5fc0320ae5fdbe7e782a (patch)
tree36a3b15dd744496a23bad4bfc8c793926f6e7068
parentf89652dd93c67b59542a06161402d30cddaf3f10 (diff)
downloadinstaller-f367bc6ffcf338ba017f5fc0320ae5fdbe7e782a.tar.gz
installer-f367bc6ffcf338ba017f5fc0320ae5fdbe7e782a.tar.bz2
installer-f367bc6ffcf338ba017f5fc0320ae5fdbe7e782a.zip
Build dependency modified
Change-Id: Ie00cc12e553ed29d2d5401539c26ba6d92e720fa
-rwxr-xr-xCMakeLists.txt2
-rwxr-xr-xpackaging/osp-installer.spec2
-rwxr-xr-xsrc/Util/InstallerUtil.cpp6
3 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9bcbaa..13e1293 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,7 +70,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=hidden")
SET(CMAKE_CXX_FLAGS "${OSP_DEBUG_FLAGS} ${OSP_OPT_FLAGS} ${CMAKE_CXX_FLAGS} ${EXTRA_CFLAGS} ${OSP_COMPILER_FLAGS}")
TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib/osp -losp-appfw -lxml2 -lpkgmgr_installer -lpkgmgr_parser -lglib-2.0 -lapp2ext" -Wl,--allow-shlib-undefined)
-TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib -ldrm-service-core-intel")
+#TARGET_LINK_LIBRARIES(${this_target} "-L/usr/lib -ldrm-service-core-intel")
ADD_SUBDIRECTORY(plugin)
diff --git a/packaging/osp-installer.spec b/packaging/osp-installer.spec
index a292eb0..6de225f 100755
--- a/packaging/osp-installer.spec
+++ b/packaging/osp-installer.spec
@@ -15,7 +15,7 @@ BuildRequires: pkgconfig(pkgmgr-parser)
BuildRequires: pkgconfig(app2sd)
BuildRequires: pkgconfig(libwbxml2)
BuildRequires: pkgconfig(osp-appfw)
-BuildRequires: pkgconfig(drm-service-core-intel-plugin)
+#BuildRequires: pkgconfig(drm-service-core-intel)
BuildRequires: osp-appfw-internal-devel
BuildRequires: boost-devel
diff --git a/src/Util/InstallerUtil.cpp b/src/Util/InstallerUtil.cpp
index 6b47f51..61d0eb7 100755
--- a/src/Util/InstallerUtil.cpp
+++ b/src/Util/InstallerUtil.cpp
@@ -33,7 +33,7 @@
#include "InstallerDefs.h"
#include "InstallerUtil.h"
-#include <drm-oem-intel.h>
+//#include <drm-oem-intel.h>
using namespace Osp::Base;
using namespace Osp::Base::Collection;
@@ -342,7 +342,7 @@ InstallerUtil::IsDrmFile(const Osp::Base::String& path)
pFilePath = _StringConverter::CopyToCharArrayN(path);
TryCatch(pFilePath, r = GetLastResult(), "[osp-installer] pFilePath is null");
- isDrm = drm_oem_intel_isDrmFile(pFilePath);
+// isDrm = drm_oem_intel_isDrmFile(pFilePath);
if(isDrm == 1)
{
AppLogTag(OSP_INSTALLER, "IsDrmFile() called, packagePath=%ls is drm file", path.GetPointer());
@@ -369,7 +369,7 @@ InstallerUtil::DecryptPackage(const Osp::Base::String& packagePath)
pFilePath = _StringConverter::CopyToCharArrayN(packagePath);
TryCatch(pFilePath, r = GetLastResult(), "[osp-installer] pFilePath is null");
- result = drm_oem_intel_decrypt_package(pFilePath, pFilePath);
+// result = drm_oem_intel_decrypt_package(pFilePath, pFilePath);
if(result == 1)
{
AppLogTag(OSP_INSTALLER, "DecryptPackage() called, packagePath=%ls, decrpyt success", packagePath.GetPointer());