Printing version log in client lib is also changed.
[Version] 0.3.0
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
Name: espp-service
Summary: ESPP service package which contains client lib. and daemon binary
-Version: 0.2.6
+Version: 0.3.0
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0
--libdir=%{_lib_dir} \
--datadir=%{_datadir} \
-Dversion=%{version} \
- -Dsock-path=/run/espp_service.sock \
+ -Dsock-path=/tmp/espp_service.sock \
%if "%{use_service_app}" == "1"
-Dservice-app=true \
%endif
USER_SRCS = ./src/daemon/*.c ./src/common/*.c
# User Defines
-USER_DEFS = USE_DLOG USE_SERVICE_APP ESPP_SERVICE_VERSION="0.2.6" ESPP_SERVICE_SOCK_PATH=/run/espp_service.sock
+USER_DEFS = USE_DLOG USE_SERVICE_APP ESPP_SERVICE_VERSION="0.3.0" ESPP_SERVICE_SOCK_PATH=/tmp/espp_service.sock
# User Includes
USER_INC_DIRS = ./src/daemon ./src/common ./inc ./inc/esplusplayer_capi
USER_LIBS = esplusplayer
# Linker Flags
-USER_LFLAGS = -Xlinker --allow-shlib-undefined
+USER_LFLAGS = -Xlinker --allow-shlib-undefined -Xlinker -rpath='/usr/lib'
# User Library Path
USER_LIB_DIRS = ./libs
RET_VAL_IF(!espp, ESPP_CLIENT_ERROR_INVALID_PARAMETER, "espp is NULL");
+ LOG_WARNING("version[%s]", ESPP_SVC_VERSION);
+
_espp = g_new0(espp_s, 1);
_espp->fd = -1;
_espp->event_fd = -1;
*espp = _espp;
- LOG_INFO("espp[%p] is created, version[%s]", *espp, ESPP_SVC_VERSION);
+ LOG_INFO("espp[%p] is created", *espp);
return ESPP_CLIENT_ERROR_NONE;
}
if (bind(fd, (struct sockaddr *)&addr_un, sizeof(addr_un))) {
int errsv = errno;
strerror_r(errsv, str_error, sizeof(str_error));
- LOG_ERROR("failed to bind(), err: %s", str_error);
+ LOG_ERROR("failed to bind(), path[%s], err: %s", ESPP_SERVICE_SOCK, str_error);
if (errsv == EADDRINUSE) {
unlink(ESPP_SERVICE_SOCK);
LOG_DEBUG("unlink socket and bind again...");
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<manifest xmlns="http://tizen.org/ns/packages" api-version="7.0" package="com.samsung.tizen.espp-service" version="0.2.6">
+<manifest xmlns="http://tizen.org/ns/packages" api-version="7.0" package="com.samsung.tizen.espp-service" version="0.3.0">
<profile name="mobile"/>
<description>espp-service</description>
<service-application appid="com.samsung.tizen.espp-service" auto-restart="false" exec="espp-service" multiple="false" nodisplay="false" on-boot="false" taskmanage="false" type="capp">