From edb82f3c723bb81bf3738958cfacc4333aa47c94 Mon Sep 17 00:00:00 2001 From: "minje.ahn" Date: Tue, 20 Feb 2024 08:25:39 +0900 Subject: [PATCH] Remove gio-2.0 dependency Change-Id: I4fc42b89c8e50c5b3298e237650ead714261da51 Signed-off-by: minje.ahn --- gif/CMakeLists.txt | 2 +- gif/mm_util_gif.c | 2 +- gif/unittest/CMakeLists.txt | 1 - imgcv/unittest/CMakeLists.txt | 1 - imgp/unittest/CMakeLists.txt | 1 - jpeg/unittest/CMakeLists.txt | 1 - magick/unittest/CMakeLists.txt | 1 - packaging/libmm-utility.spec | 1 - 8 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gif/CMakeLists.txt b/gif/CMakeLists.txt index 65b6da1..64e42ac 100644 --- a/gif/CMakeLists.txt +++ b/gif/CMakeLists.txt @@ -15,7 +15,7 @@ INCLUDE_DIRECTORIES(${INC_DIR} ../common/include ) -SET(dependents "dlog glib-2.0 gio-2.0") +SET(dependents "dlog glib-2.0") INCLUDE(FindPkgConfig) pkg_check_modules(${fw_name} REQUIRED ${dependents}) diff --git a/gif/mm_util_gif.c b/gif/mm_util_gif.c index e0f2991..7fe732c 100644 --- a/gif/mm_util_gif.c +++ b/gif/mm_util_gif.c @@ -20,7 +20,7 @@ */ #include -#include +#include #include #include "mm_util_gif.h" diff --git a/gif/unittest/CMakeLists.txt b/gif/unittest/CMakeLists.txt index 9aa2454..682957e 100644 --- a/gif/unittest/CMakeLists.txt +++ b/gif/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ ADD_DEFINITIONS("-DUSE_DLOG") SET(REQUIRES_LIST ${REQUIRES_LIST} glib-2.0 - gio-2.0 gmock dlog libtzplatform-config diff --git a/imgcv/unittest/CMakeLists.txt b/imgcv/unittest/CMakeLists.txt index 1a70eaf..0045001 100644 --- a/imgcv/unittest/CMakeLists.txt +++ b/imgcv/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ ADD_DEFINITIONS("-DUSE_DLOG") SET(REQUIRES_LIST ${REQUIRES_LIST} glib-2.0 - gio-2.0 gmock dlog libtzplatform-config diff --git a/imgp/unittest/CMakeLists.txt b/imgp/unittest/CMakeLists.txt index c03eb88..6e80333 100644 --- a/imgp/unittest/CMakeLists.txt +++ b/imgp/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ ADD_DEFINITIONS("-DUSE_DLOG") SET(REQUIRES_LIST ${REQUIRES_LIST} glib-2.0 - gio-2.0 gmock dlog libtzplatform-config diff --git a/jpeg/unittest/CMakeLists.txt b/jpeg/unittest/CMakeLists.txt index 9b65909..f09ac5b 100644 --- a/jpeg/unittest/CMakeLists.txt +++ b/jpeg/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ ADD_DEFINITIONS("-DUSE_DLOG") SET(REQUIRES_LIST ${REQUIRES_LIST} glib-2.0 - gio-2.0 gmock dlog libtzplatform-config diff --git a/magick/unittest/CMakeLists.txt b/magick/unittest/CMakeLists.txt index cc5329f..e8b29fb 100644 --- a/magick/unittest/CMakeLists.txt +++ b/magick/unittest/CMakeLists.txt @@ -6,7 +6,6 @@ ADD_DEFINITIONS("-DUSE_DLOG") SET(REQUIRES_LIST ${REQUIRES_LIST} glib-2.0 - gio-2.0 gmock dlog libtzplatform-config diff --git a/packaging/libmm-utility.spec b/packaging/libmm-utility.spec index 811f551..bbf5dc3 100644 --- a/packaging/libmm-utility.spec +++ b/packaging/libmm-utility.spec @@ -13,7 +13,6 @@ Requires: libmm-imgp-gstcs BuildRequires: cmake BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(iniparser) BuildRequires: libjpeg-turbo-devel BuildRequires: pkgconfig(libtzplatform-config) -- 2.7.4