From: Corentin Lecouvey Date: Wed, 22 Jan 2014 12:59:41 +0000 (+0100) Subject: install missing tag_parser_list.txt file X-Git-Tag: accepted/tizen/ivi/20140123.173134 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Faccepted%2Ftizen%2Fivi%2F20140123.173134;p=platform%2Fcore%2Fappfw%2Fpkgmgr-info.git install missing tag_parser_list.txt file It allows to load some pkgmgr plugins (listed below) when installing an app. - shortcut-list - livebox - account - notifications - privileges - ime - font For example, when installing Settings widget with wrt-installer, pkgmgr-parser can now load privileges plugin from privacy-manager. The consequence is that Settings app privacy is inserted in privacy database. At runtime, Web API access is granted after checking privileges and privacy in corresponding databases. Bug-Tizen : TIVI-2617, TIVI-2504/part Change-Id: If28b0fe6f4041d47b382595a4dd747a9a6203c1c Signed-off-by: Corentin Lecouvey --- diff --git a/CMakeLists.txt b/CMakeLists.txt index bd24c9c..41c1f9f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/pkgmgr-info.pc.in ${CMAKE_BINARY_DIR}/pkgmgr- configure_file(parser_path.conf.in parser_path.conf @ONLY) configure_file(mdparser_list.txt.in mdparser_list.txt @ONLY) configure_file(category_parser_list.txt.in category_parser_list.txt @ONLY) +configure_file(tag_parser_list.txt.in tag_parser_list.txt @ONLY) INSTALL(TARGETS pkgmgr-info DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/pkgmgr-info.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) @@ -64,3 +65,4 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/include/pkgmgr-info.h DESTINATION incl INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/parser_path.conf DESTINATION ${SYSCONFDIR}/package-manager/) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/mdparser_list.txt DESTINATION ${SYSCONFDIR}/package-manager/parserlib/metadata) INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/category_parser_list.txt DESTINATION ${SYSCONFDIR}/package-manager/parserlib/category) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/tag_parser_list.txt DESTINATION ${SYSCONFDIR}/package-manager/parserlib) diff --git a/packaging/pkgmgr-info.spec b/packaging/pkgmgr-info.spec index 2301544..b0bc5dd 100755 --- a/packaging/pkgmgr-info.spec +++ b/packaging/pkgmgr-info.spec @@ -88,6 +88,7 @@ mkdir -p %{buildroot}/opt/share/packages/ %{_sysconfdir}/package-manager/parser_path.conf %{_sysconfdir}/package-manager/parserlib/metadata/mdparser_list.txt %{_sysconfdir}/package-manager/parserlib/category/category_parser_list.txt +%{_sysconfdir}/package-manager/parserlib/tag_parser_list.txt %files parser-devel %manifest %{name}.manifest