Remove sqlite3 add vconf, dlog requires to pc file 45/45845/1 submit/tizen_mobile/20150812.025625
authorSangyoon Jang <s89.jang@samsung.com>
Wed, 12 Aug 2015 02:25:43 +0000 (11:25 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Wed, 12 Aug 2015 02:25:43 +0000 (11:25 +0900)
remove mida.h

Change-Id: I20017c5e3b0d4a27eb1efc4c77f0a01d41d88253
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
am_session_agent/agent.c
aul.pc.in
include/mida.h [deleted file]
packaging/aul.spec

index d0efcf1..42cd475 100644 (file)
@@ -50,7 +50,6 @@
 #include "aul_util.h"
 #include "sigchild.h"
 
-#include <sqlite3.h>
 #include <rua.h>
 
 #define _static_ static inline
@@ -718,7 +717,6 @@ _static_ void __agent_main_loop(int main_fd)
                free(pkt);
 
        if (initialized > AUL_POLL_CNT) {
-               sqlite3_release_memory(SQLITE_FLUSH_MAX);
                malloc_trim(0);
                initialized = 1;
        }
index 85a346e..a27876d 100644 (file)
--- a/aul.pc.in
+++ b/aul.pc.in
@@ -8,6 +8,6 @@ includedir=@INCLUDE_INSTALL_DIR@
 Name: libaul
 Description: new application utility library 
 Version: @VERSION@
-Requires: sqlite3 bundle glib-2.0 xdgmime
+Requires: bundle glib-2.0 xdgmime vconf dlog
 Libs: -L${libdir} -laul
 Cflags: -I${includedir} -I${includedir}/aul
diff --git a/include/mida.h b/include/mida.h
deleted file mode 100644 (file)
index 271f951..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- *  aul
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Jayoun Lee <airjany@samsung.com>, Sewook Park <sewook7.park@samsung.com>, Jaeho Lee <jaeho81.lee@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-
-#ifndef __MIDA_H__
-#define __MIDA_H__
-
-#include <sqlite3.h>
-#include <time.h>
-#include <sys/types.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-int mida_clear(void);
-int mida_delete_with_pkgname(const char *pkg_name);
-int mida_delete_with_mimetype(const char *mime_type);
-int mida_add_app(const char *mime_type, const char *pkg_name);
-char *mida_get_app(const char *mime_type);
-
-int svc_clear(void);
-int svc_delete_with_pkgname(const char *pkg_name);
-int svc_delete_with_svcname(const char *svc_name);
-int svc_add_app(const char *svc_name, const char *pkg_name);
-char *svc_get_app(const char *svc_name);
-
-int is_supported_svc(const char *svc_name);
-#ifdef __cplusplus
-}
-#endif
-#endif                         /*__MIDA_H__ */
-
index be867d5..3c4c2e9 100644 (file)
@@ -23,7 +23,6 @@ Requires(preun):  /usr/bin/systemctl
 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dbus-glib-1)
-BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(bundle)
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  xdgmime-devel, pkgconfig(xdgmime)