diff options
author | SeungYeup Kim <sy2004.kim@samsung.com> | 2012-09-07 17:22:03 +0900 |
---|---|---|
committer | SeungYeup Kim <sy2004.kim@samsung.com> | 2012-09-07 17:22:03 +0900 |
commit | 61b9315d0f7318be8988b3ffae8f40d97839a7e1 (patch) | |
tree | 582bc4693a20097e8c3f3276e19ac3383e677de5 | |
parent | 49608c6dd64595b6dff715cf6cbf58b5c7d094ab (diff) | |
download | vconf-61b9315d0f7318be8988b3ffae8f40d97839a7e1.tar.gz vconf-61b9315d0f7318be8988b3ffae8f40d97839a7e1.tar.bz2 vconf-61b9315d0f7318be8988b3ffae8f40d97839a7e1.zip |
vconf cb debugging info addsubmit/tizen/20130517.015400submit/master/20120920.151041accepted/tizen/20130520.1027322.0_alphamaster2.0alpha
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | vconf-kdb.c | 2 | ||||
-rwxr-xr-x | vconf.spec | 89 |
3 files changed, 91 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index c8aaeef..8ab83db 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ SET(EXEC_PREFIX "\${prefix}") SET(LIBDIR "\${exec_prefix}/lib") SET(INCLUDEDIR "\${prefix}/include/${PROJECT_NAME}") SET(VERSION_MAJOR 0) -SET(VERSION "${VERSION_MAJOR}.2.12") +SET(VERSION "${VERSION_MAJOR}.2.28") set(CMAKE_SKIP_BUILD_RPATH true) diff --git a/vconf-kdb.c b/vconf-kdb.c index fa895f8..f30cc4e 100755 --- a/vconf-kdb.c +++ b/vconf-kdb.c @@ -242,7 +242,7 @@ _vconf_kdb_add_notify(const char *keyname, vconf_callback_fn cb, void *data) ERR("g_list_append fail"); } - INFO("cb is added for %s. tot cb cnt : %d\n", n->keyname, g_list_length(g_notilist)); + INFO("cb(%p) is added for %s. tot cb cnt : %d\n", cb, n->keyname, g_list_length(g_notilist)); out_func: pthread_mutex_unlock(&_kdb_g_ns_mutex); diff --git a/vconf.spec b/vconf.spec new file mode 100755 index 0000000..21489aa --- /dev/null +++ b/vconf.spec @@ -0,0 +1,89 @@ +Name: vconf +Summary: Configuration system library +Version: 0.2.28 +Release: 0 +Group: System/Libraries +License: Apache License, Version 2.0 +Source0: %{name}-%{version}.tar.gz +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig +BuildRequires: cmake +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(dlog) +BuildRequires: pkgconfig(vconf-internal-keys) + +%description +Configuration system library + +%package devel +Summary: vconf (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig(glib-2.0) +Requires: vconf = %{version}-%{release} +Requires: vconf-keys-devel = %{version}-%{release} + +%description devel +Vconf library (devel) + +%package keys-devel +Summary: vconf (devel) +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: vconf = %{version}-%{release} +Requires: vconf-internal-keys-devel + +%description keys-devel +Vconf key management header files + +%prep +%setup -q -n %{name}-%{version} + +%build +cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} + +make %{?jobs:-j%jobs} + +%install +rm -rf %{buildroot} +%make_install + +mkdir -p %{buildroot}/etc/rc.d/rc3.d +mkdir -p %{buildroot}/etc/rc.d/rc4.d +ln -sf /etc/rc.d/init.d/vconf-init %{buildroot}/etc/rc.d/rc3.d/S04vconf-init +ln -sf /etc/rc.d/init.d/vconf-init %{buildroot}/etc/rc.d/rc4.d/S04vconf-init + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%attr(755,root,root) %{_sysconfdir}/rc.d/init.d/vconf-init +%{_sysconfdir}/rc.d/rc3.d/S04vconf-init +%{_sysconfdir}/rc.d/rc4.d/S04vconf-init +%{_bindir}/vconftool +%attr(644, root, root) /opt/var/kdb/kdb_first_boot +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/vconf/vconf.h +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so + +%files keys-devel +%defattr(-,root,root,-) +%{_includedir}/vconf/vconf-keys.h + +%changelog +* Tue Aug 28 2012 - SeungYeup Kim <sy2004.kim@samsung.com> +- Remove memory leak +- Remove use after free + +* Tue Aug 14 2012 - Hyungdeuk Kim <hd3.kim@samsung.com> +- Fix issues related prevent +- Fix warning msg at build time + +* Mon Jul 23 2012 - SeungYeup Kim <sy2004.kim@samsung.com> +- Enable -f option for force update |