From 1e0f9c5aadd2d4f1f7f5a237c4daaafd77235e75 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 31 Mar 2015 07:08:00 +0000 Subject: Major update to libpinyin, fcitx and their add ons: - New port: chinese/brise Rime schema repository - Update chinese/fcitx to 4.2.8.5. - Update chinese/fcitx-chewing to 0.2.2. - Update chinese/fcitx-cloudpinyin to 0.3.4. - Update chinese/fcitx-configtool to 0.4.8. - Update chinese/fcitx-libpinyin to 0.3.1. - Update chinese/fcitx-rime to 0.3.1. - Update chinese/fcitx-sunpinyin to 0.4.1. - Update chinese/fcitx-table-extra to 0.3.7. - Add LICENSE and update website (mainly move off Google Code) for various ports. - Update chinese/libpinyin to 1.1.0. - Update chinese/librime to 1.1. - Update chinese/opencc to 0.4.3. - Update japanese/fcitx-anthy to 0.2.1. - New port: japanese/fcitx-skk SKK support for Fcitx - Update korean/fcitx-hangul to 0.3.0. - Update textproc/fcitx-m17n to 0.2.3. PR: ports/198743 Submitted by: maintainer, hiroto.kagotani@gmail.com, delphij --- chinese/fcitx/files/patch-cmake__FcitxMacro.cmake | 51 +++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 chinese/fcitx/files/patch-cmake__FcitxMacro.cmake (limited to 'chinese/fcitx/files/patch-cmake__FcitxMacro.cmake') diff --git a/chinese/fcitx/files/patch-cmake__FcitxMacro.cmake b/chinese/fcitx/files/patch-cmake__FcitxMacro.cmake new file mode 100644 index 000000000000..e71041bf7840 --- /dev/null +++ b/chinese/fcitx/files/patch-cmake__FcitxMacro.cmake @@ -0,0 +1,51 @@ +--- ./cmake/FcitxMacro.cmake.orig 2013-09-28 17:33:14.000000000 +0900 ++++ ./cmake/FcitxMacro.cmake 2014-03-19 13:46:27.000000000 +0900 +@@ -366,10 +366,10 @@ + add_custom_target("${target_name}" ALL) + + __fcitx_addon_config_file("${target_name}" "${FCITX_ADDON_CONF_SRC}" +- "${FCITX4_ADDON_CONFIG_INSTALL_DIR}") ++ "${FCITX4_ADDON_CONFIG_INSTALL_DESTDIR}") + foreach(im_config ${FCITX_ADDON_IM_CONFIG}) + __fcitx_addon_config_file("${target_name}" "${im_config}" +- "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR}") ++ "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR}") + endforeach() + __fcitx_add_addon_lib("${FCITX_ADDON_LIB_NAME}" ${FCITX_ADDON_SOURCES}) + if(FCITX_ADDON_LINK_LIBS) +@@ -393,7 +393,7 @@ + set_target_properties("${lib_name}" PROPERTIES PREFIX "" + COMPILE_FLAGS "-fvisibility=hidden") + add_dependencies("${lib_name}" fcitx-scan-addons.target) +- install(TARGETS "${lib_name}" DESTINATION "${FCITX4_ADDON_INSTALL_DIR}") ++ install(TARGETS "${lib_name}" DESTINATION "${FCITX4_ADDON_INSTALL_DESTDIR}") + endfunction() + + function(__fcitx_install_addon_desc target_name) +@@ -402,7 +402,7 @@ + add_custom_target("${desc_target}" DEPENDS ${descs}) + add_dependencies("${target_name}" "${desc_target}") + install(FILES ${descs} +- DESTINATION "${FCITX4_CONFIGDESC_INSTALL_DIR}") ++ DESTINATION "${FCITX4_CONFIGDESC_INSTALL_DESTDIR}") + endfunction() + + # Add additional config-desc files, the file will be added to extracte +@@ -893,7 +893,7 @@ + __FCITX_CONF_FILE_GET_UNIQUE_TARGET_NAME(fcitx_addon_conf targetname) + add_custom_target(${targetname} ALL DEPENDS ${conffilename}) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${conffilename}" +- DESTINATION "${FCITX4_ADDON_CONFIG_INSTALL_DIR}") ++ DESTINATION "${FCITX4_ADDON_CONFIG_INSTALL_DESTDIR}") + ENDMACRO(FCITX_ADD_ADDON_CONF_FILE conffilename) + + MACRO(FCITX_ADD_INPUTMETHOD_CONF_FILE conffilename) +@@ -902,7 +902,7 @@ + __FCITX_CONF_FILE_GET_UNIQUE_TARGET_NAME(fcitx_inputmethod_conf targetname) + add_custom_target(${targetname} ALL DEPENDS ${conffilename}) + install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${conffilename}" +- DESTINATION "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DIR}") ++ DESTINATION "${FCITX4_INPUTMETHOD_CONFIG_INSTALL_DESTDIR}") + ENDMACRO() + + MACRO(FCITX_ADD_CONFIGDESC_FILE) -- cgit v1.2.3