pkgsrc/inputmethod/ibus-chewing/patches/patch-Modules_ManageTranslation.cmake
obache 37e309e2bc Update ibus-chewing to 1.4.12.
* Thu Dec 11 2014 Ding-Yi Chen <dchen at redhat.com> - 1.4.12
- Fix the GitHub download link

* Thu Dec 11 2014 Ding-Yi Chen <dchen at redhat.com> - 1.4.11.1
- Resolves Bug 1013977 - Slow focus change with ibus-chewing
- Resolves Bug 1062133 - ibus-chewing may not handle key event after focus change
- Resolves Bug 1073797 - Cannot identify input mode for Chinese IME (ibus-chewing)
- Fixed Bug 902866 - ibus-chewing uses dconf but still installs gconf schemas
  (Also listed as GitHub ibus-chewing #36)
- MakerDialog GUI is only loaded when setting dialog is invoked.
- Setting is removed from ibus-properties because it can be launched
  from either:
  + Executable ibus-setup-chewing: Usually under /usr/libexec
  + Input method preference in IBus preference.
- Fixed github issue #43: First space not able to input
    Thanks FreedomKnight.
- Fixed github issue #44: Update input-events (for libchewing-0.4.0)
    Thanks hiunnhue.
- Fixed github issue #45: Optimize properties handling.
    Thanks Ueno.
- github is now hosting the ibus-chewing tarballs.
2014-12-13 06:33:15 +00:00

26 lines
967 B
CMake

$NetBSD: patch-Modules_ManageTranslation.cmake,v 1.4 2014/12/13 06:33:15 obache Exp $
* PKGLOCALEDIR support
* `-printf' option of find(1) is not portable.
--- Modules/ManageTranslation.cmake.orig 2014-10-28 05:05:31.000000000 +0000
+++ Modules/ManageTranslation.cmake
@@ -353,7 +353,7 @@ FUNCTION(MANAGE_POT_FILE potFile)
IF(NOT "${moDir}" STREQUAL "")
## MO file
- SET(_moDir "${DATA_DIR}/locale/${_l}/LC_MESSAGES")
+ SET(_moDir "${LOCALE_DIR}/${_l}/LC_MESSAGES")
SET(_gmoFile "${moDir}/${_l}.gmo")
ADD_CUSTOM_COMMAND(OUTPUT ${_gmoFile}
COMMAND ${MSGFMT_EXECUTABLE}
@@ -393,8 +393,7 @@ FUNCTION(MANAGE_GETTEXT_LOCALES localeLi
ELSE()
## LOCALES is not specified, detect now
EXECUTE_PROCESS(
- COMMAND find ${poDir} -name "*.po" -printf "%f\n"
- COMMAND sed -e "s/.po//g"
+ COMMAND find ${poDir} -name "*.po" -exec basename {} .po \;
COMMAND sort -u
COMMAND xargs
COMMAND sed -e "s/ /;/g"