Bug 256715

Summary: [new port] japanese/qolibri: EPWING dictionary viewer
Product: Ports & Packages Reporter: Osamu Matsuda <omatsuda000>
Component: Individual Port(s)Assignee: Li-Wen Hsu <lwhsu>
Status: Closed FIXED    
Severity: Affects Only Me CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/ludios/qolibri
Attachments:
Description Flags
qolibri 2.1.3
none
Updated patch
none
updated patch with better cmake fix none

Description Osamu Matsuda 2021-06-19 11:57:56 UTC
Created attachment 225930 [details]
qolibri 2.1.3

qolibri is a viewer for electronic dictionaries in EPWING format.
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2021-06-24 16:22:28 UTC
Created attachment 226038 [details]
Updated patch

This is the updated patch with some style fixes and adding missing dependencies.  Please check and test it. Thanks!

BTW, I somehow feel directly patching CMakeLists.txt to add:
  link_directories(/usr/lib /usr/local/lib)
is not the best approach, but I currently don't know that's the better way.
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-06-24 19:38:06 UTC
Created attachment 226040 [details]
updated patch with better cmake fix

This is a better fix from adridg@
Comment 3 Osamu Matsuda 2021-06-25 00:31:51 UTC
(In reply to Li-Wen Hsu from comment #2)
Thank you for the updated patch (attachment 226040 [details]).
It looks nicer and works perfectly.
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2021-06-25 00:58:32 UTC
Committed.  Please help upstream these patches. Thanks!
Comment 5 commit-hook freebsd_committer freebsd_triage 2021-06-25 00:58:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=17d313fe9d47b937e92f313631a4e72d34c90552

commit 17d313fe9d47b937e92f313631a4e72d34c90552
Author:     Osamu Matsuda <omatsuda000@gmail.com>
AuthorDate: 2021-06-24 16:00:53 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-06-25 00:56:31 +0000

    japanese/qolibri: (New) EPWING dictionary viewer

    PR:             256715

 japanese/Makefile                                  |  1 +
 japanese/qolibri/Makefile (new)                    | 24 ++++++++++++++++++++++
 japanese/qolibri/distinfo (new)                    |  3 +++
 japanese/qolibri/files/patch-CMakeLists.txt (new)  | 19 +++++++++++++++++
 .../qolibri/files/patch-src_searchpage.cpp (new)   | 11 ++++++++++
 japanese/qolibri/pkg-descr (new)                   |  3 +++
 6 files changed, 61 insertions(+)