From: Hyunsoo, Park Date: Tue, 22 Mar 2016 07:35:26 +0000 (+0900) Subject: update ini path 'usr/etc' to '%{_sysconfdir}/multimedia' X-Git-Tag: accepted/tizen/common/20160401.075536^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F31%2F63131%2F2;p=platform%2Fcore%2Fmultimedia%2Flibmm-wfd.git update ini path 'usr/etc' to '%{_sysconfdir}/multimedia' Change-Id: I22bf456fe5dc03a12872cd0e23699f210625d19e Signed-off-by: Hyunsoo, Park --- diff --git a/common/include/mm_wfd_sink_ini.h b/common/include/mm_wfd_sink_ini.h index eea43df..0c5e8fc 100755 --- a/common/include/mm_wfd_sink_ini.h +++ b/common/include/mm_wfd_sink_ini.h @@ -41,7 +41,7 @@ enum WFDSinkINIProbeFlags WFD_SINK_INI_PROBE_BUFFER_DURATION = (1 << 3), }; -#define MM_WFD_SINK_INI_DEFAULT_PATH tzplatform_mkpath(TZ_SYS_RO_ETC, "mmfw_wfd_sink.ini") +#define MM_WFD_SINK_INI_DEFAULT_PATH tzplatform_mkpath(TZ_SYS_RO_ETC, "/multimedia/mmfw_wfd_sink.ini") #define WFD_SINK_INI_MAX_STRLEN 256 #define WFD_SINK_INI_MAX_ELEMENT 10 diff --git a/config/Makefile.am b/config/Makefile.am index 5843bdc..bface61 100755 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -1,2 +1,2 @@ -installconfiguredir=$(TZ_SYS_RO_ETC) +installconfiguredir=$(TZ_SYS_RO_ETC)/multimedia installconfigure_DATA=mmfw_wfd_sink.ini diff --git a/packaging/libmm-wfd.spec b/packaging/libmm-wfd.spec index cf46769..367ef2e 100755 --- a/packaging/libmm-wfd.spec +++ b/packaging/libmm-wfd.spec @@ -66,8 +66,8 @@ mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/dbus-1/services/ mkdir -p %{buildroot}/%{_datadir}/license cp -rf %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 %{buildroot}%{_datadir}/license/%{name} -mkdir -p %{buildroot}/%{TZ_SYS_RO_ETC} -cp -rf config/mmfw_wfd_sink.ini %{buildroot}/%{TZ_SYS_RO_ETC}/mmfw_wfd_sink.ini +mkdir -p %{buildroot}/%{TZ_SYS_RO_ETC}/multimedia +cp -rf config/mmfw_wfd_sink.ini %{buildroot}/%{TZ_SYS_RO_ETC}/multimedia/mmfw_wfd_sink.ini %clean rm -rf %{buildroot} @@ -81,7 +81,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/license/%{name} -%{TZ_SYS_RO_ETC}/mmfw_wfd_sink.ini +%{TZ_SYS_RO_ETC}/multimedia/mmfw_wfd_sink.ini %{_libdir}/*.so.* %manifest libmm-wfd.manifest