Created attachment 152219 [details] Proposed patch This is an update of libpinyin.
Maintainer CC'd
(In reply to Xin LI from comment #0) fcitx-libpinyin build breaks. Actually I have been using fcitx 4.2.8 and its addons for quite a long time (https://github.com/HirotoKagotani/freebsd-fcitx/), but the need for yaml-cpp breaks the ports tree, and I don't have time to produce an update to fix other ports... Maybe we can: mark new yaml conflict with the old one, or mark librime broken. I don't know.
(In reply to lichray from comment #2) Would you mind elaborating how yaml-cpp would break the ports tree and/or ask freebsd-ports@ for help? I think bapt@ may have the expertise in yaml related stuff...
(In reply to Xin LI from comment #3) yaml-cpp 0.5 has a totally different API from yaml 0.3, thus, it's actually a different library. We need a difference also in library name.
Created attachment 152685 [details] update libpinyin to 1.0.0 This is the patch in my repo. Changes include: * use install-strip as INSTALL_TARGET. This resolves the problem that stage-qa reports which says that libpinyin.so is not stripped. * Remove the patch to configure. It builds fine without this patch. * Change data installed to $(datadir), not $(libdir). This matches the old behavior. * Remove the patch which defines ENODATA. This is included now.
It will be nice if we can get 1.1.0. ibus-libpinyin fails in our GNOME JHBuild tinderbox because it needs 1.1.0. Package 'libpinyin' has version '0.7.91', required version is '>= 1.1.0'
Created attachment 154505 [details] Prpoposed patch to update chinese/libpinyin to 1.1.0.
Attachment 154505 [details] makes ibus-libpinyin successfully build, but I don't know whether it works properly because I am not an user of libpinyin.
Superseded. *** This bug has been marked as a duplicate of bug 198700 ***