View | Details | Raw Unified | Return to bug 256715 | Differences between
and this patch

Collapse All | Expand All

(-)b/japanese/Makefile (+1 lines)
Lines 213-218 Link Here
213
    SUBDIR += prn
213
    SUBDIR += prn
214
    SUBDIR += py-jaconv
214
    SUBDIR += py-jaconv
215
    SUBDIR += qkc
215
    SUBDIR += qkc
216
    SUBDIR += qolibri
216
    SUBDIR += quit
217
    SUBDIR += quit
217
    SUBDIR += roget-fpw
218
    SUBDIR += roget-fpw
218
    SUBDIR += rogue_s
219
    SUBDIR += rogue_s
(-)b/japanese/qolibri/Makefile (+24 lines)
Added Link Here
1
# created by: Osamu Matsuda <omatsuda000@gmail.com>
2
3
PORTNAME=	qolibri
4
DISTVERSION=	2.1.3
5
CATEGORIES=	japanese
6
7
MAINTAINER=	omatsuda000@gmail.com
8
COMMENT=	EPWING dictionary viewer
9
10
LICENSE=	GPLv2
11
12
LIB_DEPENDS=	libeb.so:japanese/eb
13
14
USES=		cmake qt:5
15
USE_QT=		buildtools core declarative gui linguisttools location \
16
		multimedia network printsupport qmake webchannel webengine \
17
		widgets
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	ludios
21
22
PLIST_FILES=	bin/qolibri
23
24
.include <bsd.port.mk>
(-)b/japanese/qolibri/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1624181574
2
SHA256 (ludios-qolibri-2.1.3_GH0.tar.gz) = 6954b9e86cbc70026361927b22bc9b0bd58a188646e35c4da68f99790790367e
3
SIZE (ludios-qolibri-2.1.3_GH0.tar.gz) = 252092
(-)b/japanese/qolibri/files/patch-CMakeLists.txt (+19 lines)
Added Link Here
1
--- CMakeLists.txt.orig	2020-02-28 16:02:25 UTC
2
+++ CMakeLists.txt
3
@@ -16,6 +16,8 @@ set(CMAKE_AUTOUIC ON)
4
 set(CMAKE_AUTORCC ON)
5
 
6
 find_package(Qt5 COMPONENTS LinguistTools Multimedia Network WebEngine WebEngineWidgets Widgets REQUIRED)
7
+find_library(EB_LIBRARY eb)
8
+find_library(Z_LIBRARY z)
9
 
10
 add_executable(qolibri MACOSX_BUNDLE WIN32
11
     images/qolibri.icns
12
@@ -154,6 +156,6 @@ set_source_files_properties(${TS_FILES} PROPERTIES OUT
13
 qt5_add_translation(QM_FILES ${TS_FILES})
14
 target_sources(qolibri PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/translations/translations.qrc" ${QM_FILES} ${TS_FILES})
15
 
16
-target_link_libraries(qolibri Qt5::Multimedia Qt5::Network Qt5::WebEngine Qt5::WebEngineWidgets Qt5::Widgets eb z)
17
+target_link_libraries(qolibri Qt5::Multimedia Qt5::Network Qt5::WebEngine Qt5::WebEngineWidgets Qt5::Widgets ${EB_LIBRARY} ${Z_LIBRARY})
18
 
19
 install(TARGETS qolibri DESTINATION "${CMAKE_INSTALL_BINDIR}")
(-)b/japanese/qolibri/files/patch-src_searchpage.cpp (+11 lines)
Added Link Here
1
--- src/searchpage.cpp.orig	2020-02-28 16:02:25 UTC
2
+++ src/searchpage.cpp
3
@@ -17,7 +17,7 @@ RET_SEARCH SearchPage::search(const Query& query)
4
     switch (query.method.direction) {
5
     case ExactWordSearch:
6
     case ForwardSearch:
7
-        queries << stemWords(query.query);
8
+/*        queries << stemWords(query.query);   */
9
         break;
10
     default:
11
         break;
(-)b/japanese/qolibri/pkg-descr (-1 / +3 lines)
Added Link Here
0
- 
1
EPWING dictionary reader originally developed at http://qolibri.osdn.jp/
2
3
WWW: https://github.com/ludios/qolibri/

Return to bug 256715