Add buildrequires: db-util, remove unused header: sys/smack.h 77/45877/1 accepted/tizen/mobile/20150812.110745 accepted/tizen/tv/20150812.110754 accepted/tizen/wearable/20150812.110806 submit/tizen/20150812.075328
authorSangyoon Jang <s89.jang@samsung.com>
Wed, 12 Aug 2015 06:44:51 +0000 (15:44 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Wed, 12 Aug 2015 06:44:51 +0000 (15:44 +0900)
Change-Id: I1923f73e4e1b3046b414ff6b741e3765110894e6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
CMakeLists.txt
packaging/libmedia-thumbnail.spec
src/media-thumb-internal.c

index b871878..6f74a89 100644 (file)
@@ -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}")
index 6659e24..f953bed 100644 (file)
@@ -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.
index 04c92c4..f3a8246 100755 (executable)
@@ -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)