summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <s89.jang@samsung.com>2015-08-12 06:44:51 (GMT)
committerSangyoon Jang <s89.jang@samsung.com>2015-08-12 06:44:51 (GMT)
commit82be84757b2b156b477391816506aa63ab7e0211 (patch)
treea691de5790fc3274aa62d5c9f1e640b88e60d3bc
parent7adbb6954d7f05fd02b9cded3741ce6ed2c9226b (diff)
downloadlibmedia-thumbnail-82be84757b2b156b477391816506aa63ab7e0211.zip
libmedia-thumbnail-82be84757b2b156b477391816506aa63ab7e0211.tar.gz
libmedia-thumbnail-82be84757b2b156b477391816506aa63ab7e0211.tar.bz2
Change-Id: I1923f73e4e1b3046b414ff6b741e3765110894e6 Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/libmedia-thumbnail.spec1
-rwxr-xr-xsrc/media-thumb-internal.c1
3 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b871878..6f74a89 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,7 +39,7 @@ MESSAGE("Build type: ${CMAKE_BUILD_TYPE}")
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src/include ${CMAKE_SOURCE_DIR}/src/include/util ${CMAKE_SOURCE_DIR}/src/include/codec ${CMAKE_SOURCE_DIR}/src/include/util ${CMAKE_SOURCE_DIR}/src/include/ipc ${CMAKE_SOURCE_DIR}/server/include ${CMAKE_SOURCE_DIR}/md5)
INCLUDE(FindPkgConfig)
- pkg_check_modules(pkgs REQUIRED glib-2.0 gthread-2.0 dlog sqlite3 mm-fileinfo aul libexif ecore-evas evas mmutil-imgp mmutil-jpeg libmedia-utils vconf libtzplatform-config)
+ pkg_check_modules(pkgs REQUIRED glib-2.0 gthread-2.0 dlog sqlite3 mm-fileinfo aul libexif ecore-evas evas mmutil-imgp mmutil-jpeg libmedia-utils vconf libtzplatform-config db-util)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
diff --git a/packaging/libmedia-thumbnail.spec b/packaging/libmedia-thumbnail.spec
index 6659e24..f953bed 100644
--- a/packaging/libmedia-thumbnail.spec
+++ b/packaging/libmedia-thumbnail.spec
@@ -23,6 +23,7 @@ BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(libmedia-utils)
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(db-util)
%description
Description: Media thumbnail service library for multimedia applications.
diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c
index 04c92c4..f3a8246 100755
--- a/src/media-thumb-internal.c
+++ b/src/media-thumb-internal.c
@@ -47,7 +47,6 @@
#include <sys/stat.h>
#include <grp.h>
#include <pwd.h>
-#include <sys/smack.h>
#define GLOBAL_USER 0 //#define tzplatform_getenv(TZ_GLOBAL) //TODO
#define MEDIA_THUMB_ROUND_UP_8(num) (((num)+7)&~7)