Bug 197115

Summary: chinese/libpinyin: update to 1.1.0
Product: Ports & Packages Reporter: Xin LI <delphij>
Component: Individual Port(s)Assignee: Xin LI <delphij>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: delphij, henry.hu.sh, lantw44, lichray
Priority: --- Flags: bugzilla: maintainer-feedback? (lichray)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 198700    
Bug Blocks: 197116, 198701    
Attachments:
Description Flags
Proposed patch
none
update libpinyin to 1.0.0
none
Prpoposed patch to update chinese/libpinyin to 1.1.0. none

Description Xin LI freebsd_committer freebsd_triage 2015-01-26 23:35:52 UTC
Created attachment 152219 [details]
Proposed patch

This is an update of libpinyin.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-26 23:35:52 UTC
Maintainer CC'd
Comment 2 lichray 2015-01-27 23:15:26 UTC
(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.
Comment 3 Xin LI freebsd_committer freebsd_triage 2015-01-28 00:53:01 UTC
(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...
Comment 4 lichray 2015-01-29 16:57:07 UTC
(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.
Comment 5 Henry Hu 2015-02-07 18:22:16 UTC
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.
Comment 6 Ting-Wei Lan 2015-03-16 16:07:17 UTC
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'
Comment 7 Xin LI freebsd_committer freebsd_triage 2015-03-19 07:43:36 UTC
Created attachment 154505 [details]
Prpoposed patch to update chinese/libpinyin to 1.1.0.
Comment 8 Ting-Wei Lan 2015-03-21 16:11:47 UTC
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.
Comment 9 Xin LI freebsd_committer freebsd_triage 2015-03-31 07:10:51 UTC
Superseded.

*** This bug has been marked as a duplicate of bug 198700 ***