diff --git a/japanese/Makefile b/japanese/Makefile index 94afb19f7021..16d5df16bc83 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -1,285 +1,286 @@ COMMENT = Japanese support SUBDIR += ASCIIdates98-fpw SUBDIR += CGdic-fpw SUBDIR += FreeWnn-lib SUBDIR += FreeWnn-server SUBDIR += R-cran-zipangu SUBDIR += Wnn6-lib SUBDIR += Wnn7-lib SUBDIR += a2ps SUBDIR += ack SUBDIR += ajaxzip2-core SUBDIR += ajaxzip2-data SUBDIR += alias-fonts SUBDIR += another-htmllint SUBDIR += anthy SUBDIR += awffull SUBDIR += bible_names-fpw SUBDIR += boiled-mozc SUBDIR += bookview SUBDIR += bugzilla44 SUBDIR += bugzilla50 SUBDIR += canna-lib SUBDIR += canna-server SUBDIR += cannadic SUBDIR += cdrom2 SUBDIR += celrw SUBDIR += chasen-base SUBDIR += cmigemo SUBDIR += cmigemo-dict SUBDIR += cp5022x-el SUBDIR += csrd SUBDIR += ctags SUBDIR += dams SUBDIR += dbskkd-cdb SUBDIR += ddskk SUBDIR += devil-fpw SUBDIR += dvi2tty SUBDIR += e2ps SUBDIR += eb SUBDIR += ebd-fpw SUBDIR += eblook SUBDIR += ebnetd SUBDIR += ebview-gtk2 SUBDIR += edict SUBDIR += edict-fpw SUBDIR += edyvalue SUBDIR += eijiro-fpw SUBDIR += epwutil SUBDIR += esecanna SUBDIR += esecanna-module-vje25 SUBDIR += esecanna-module-vje30 SUBDIR += esecanna-module-wnn6 SUBDIR += eterm SUBDIR += fcitx-anthy SUBDIR += fcitx-mozc SUBDIR += fcitx-skk SUBDIR += fcitx5-anthy SUBDIR += flower-fpw SUBDIR += foldoc-fpw SUBDIR += font-aozoramincho SUBDIR += font-ayu18 SUBDIR += font-ayu20 SUBDIR += font-cica SUBDIR += font-elisa10 SUBDIR += font-elisa8 SUBDIR += font-genjyuugothic SUBDIR += font-genshingothic SUBDIR += font-hackgen SUBDIR += font-hackgen-nerd SUBDIR += font-ipa SUBDIR += font-ipa-uigothic SUBDIR += font-ipaex SUBDIR += font-ipamjm SUBDIR += font-jisx0213 SUBDIR += font-kaname12 SUBDIR += font-kanji18 SUBDIR += font-kanji26 SUBDIR += font-kappa20 SUBDIR += font-kochi SUBDIR += font-koruri SUBDIR += font-marumoji SUBDIR += font-mgenplus SUBDIR += font-migmix SUBDIR += font-migu SUBDIR += font-mikachan SUBDIR += font-mona SUBDIR += font-mona-ipa SUBDIR += font-mona-ttf SUBDIR += font-motoya-al SUBDIR += font-mplus-bitmap SUBDIR += font-mplus-ipa SUBDIR += font-mplus-outline SUBDIR += font-myrica SUBDIR += font-myricam SUBDIR += font-naga10 SUBDIR += font-nasu SUBDIR += font-ricty SUBDIR += font-ricty-discord SUBDIR += font-rounded-mgenplus SUBDIR += font-sazanami SUBDIR += font-shinonome SUBDIR += font-std SUBDIR += font-takao SUBDIR += font-ume SUBDIR += font-vlgothic SUBDIR += freepwing SUBDIR += fumeikai-fpw SUBDIR += gawk SUBDIR += gd SUBDIR += gedy SUBDIR += groff SUBDIR += gskk SUBDIR += gsuica SUBDIR += hns SUBDIR += ibus-anthy SUBDIR += ibus-mozc SUBDIR += ibus-skk SUBDIR += icanna SUBDIR += im-ja SUBDIR += ipadic SUBDIR += jacode.pl SUBDIR += japana SUBDIR += japaneseAFM SUBDIR += jargon-fpw SUBDIR += jcode.pl SUBDIR += jed SUBDIR += jishyo SUBDIR += jls SUBDIR += jvim3 SUBDIR += kakasi SUBDIR += kasumi SUBDIR += kbanner SUBDIR += kcc SUBDIR += kcode SUBDIR += kdrill SUBDIR += kinput2 SUBDIR += kiten SUBDIR += kon2-14dot SUBDIR += kon2-16dot SUBDIR += kterm SUBDIR += latex-jlisting SUBDIR += leafrogue SUBDIR += less SUBDIR += libreoffice SUBDIR += libskk SUBDIR += libslang SUBDIR += libtomoe-gtk SUBDIR += lipsf SUBDIR += lookup SUBDIR += lsd-fpw SUBDIR += lynx SUBDIR += lynx-current SUBDIR += man SUBDIR += man-doc SUBDIR += mecab SUBDIR += mecab-ipadic SUBDIR += mecab-ipadic-eucjp SUBDIR += mecab-ipadic-sjis SUBDIR += mecab-ipadic-utf8 SUBDIR += mh SUBDIR += migemo SUBDIR += migemo.el SUBDIR += mime_pls SUBDIR += mozc-el SUBDIR += mozc-server SUBDIR += mozc-tool SUBDIR += mutt-devel SUBDIR += mypaedia-fpw-package SUBDIR += namazu SUBDIR += namazu2 SUBDIR += navi2ch SUBDIR += ne SUBDIR += nethack34 SUBDIR += newosaka SUBDIR += ng SUBDIR += ng-canna SUBDIR += ng-devel SUBDIR += ngraph-fonts SUBDIR += nkf SUBDIR += onew SUBDIR += p5-2chproxy SUBDIR += p5-Date-Japanese-Era SUBDIR += p5-Date-Japanese-Holiday SUBDIR += p5-DateTime-Calendar-Japanese-Era SUBDIR += p5-DateTime-Format-Japanese SUBDIR += p5-Encode-EUCJPASCII SUBDIR += p5-Encode-EUCJPMS SUBDIR += p5-Encode-ISO2022 SUBDIR += p5-Encode-JP-Emoji SUBDIR += p5-Encode-JP-Mobile SUBDIR += p5-HTML-MobileJp SUBDIR += p5-Jcode SUBDIR += p5-Lingua-JA-Kana SUBDIR += p5-Lingua-JA-Moji SUBDIR += p5-Lingua-JA-Numbers SUBDIR += p5-Lingua-JA-Regular-Unicode SUBDIR += p5-Lingua-JA-Romanize-Japanese SUBDIR += p5-Lingua-JA-Summarize-Extract SUBDIR += p5-MeCab SUBDIR += p5-Number-Phone-JP SUBDIR += p5-PDFJ SUBDIR += p5-Text-ChaSen SUBDIR += p5-Text-Kakasi SUBDIR += p5-Text-MeCab SUBDIR += p5-Unicode-Japanese SUBDIR += p5-WWW-2ch SUBDIR += p5-WWW-MobileCarrierJP SUBDIR += p5-nkf SUBDIR += pejv-fpw SUBDIR += plain2 SUBDIR += plan SUBDIR += prn SUBDIR += py-jaconv SUBDIR += qkc + SUBDIR += qolibri SUBDIR += quit SUBDIR += roget-fpw SUBDIR += rogue_s SUBDIR += ruby-romkan SUBDIR += ruby-uconv SUBDIR += rubygem-jpmobile-ipaddresses SUBDIR += rubygem-jpmobile-terminfo SUBDIR += rubygem-jpmobile4 SUBDIR += rubygem-mail-iso-2022-jp SUBDIR += rubygem-myrurema SUBDIR += ryaku-fpw SUBDIR += scim-anthy SUBDIR += scim-canna SUBDIR += scim-honoka SUBDIR += scim-honoka-plugin-romkan SUBDIR += scim-honoka-plugin-wnn SUBDIR += scim-skk SUBDIR += scim-tables SUBDIR += scim-tomoe SUBDIR += scim-uim SUBDIR += seaside SUBDIR += sj3-lib SUBDIR += sj3-server SUBDIR += skk SUBDIR += skk-jisyo SUBDIR += skk-jisyo-cdb SUBDIR += skk-tools SUBDIR += skkinput SUBDIR += skkinput3 SUBDIR += skkserv SUBDIR += slimeforest SUBDIR += slrn SUBDIR += sourcehansans-otf SUBDIR += sourcehanserif-otf SUBDIR += spoqahansans-ttf SUBDIR += srd-fpw-package SUBDIR += suicavalue SUBDIR += tdiary SUBDIR += tegaki-zinnia-japanese SUBDIR += tex-ptex SUBDIR += tgif SUBDIR += tiarra SUBDIR += timidity++-slang SUBDIR += today SUBDIR += tomoe SUBDIR += uim-anthy SUBDIR += uim-mozc SUBDIR += uim-tomoe-gtk SUBDIR += vera-fpw SUBDIR += vftool SUBDIR += w3m SUBDIR += w3m-img SUBDIR += waeijiro-fpw SUBDIR += wdic-fpw SUBDIR += web1913-fpw SUBDIR += webalizer SUBDIR += wnn7egg SUBDIR += wordnet-fpw SUBDIR += wordpress SUBDIR += wwasw-fpw SUBDIR += xpdf SUBDIR += xshodou SUBDIR += xtr SUBDIR += xv SUBDIR += yc.el SUBDIR += zinnia SUBDIR += zinnia-tomoe SUBDIR += zipcodes .include diff --git a/japanese/qolibri/Makefile b/japanese/qolibri/Makefile new file mode 100644 index 000000000000..81426a8b171b --- /dev/null +++ b/japanese/qolibri/Makefile @@ -0,0 +1,24 @@ +# created by: Osamu Matsuda + +PORTNAME= qolibri +DISTVERSION= 2.1.3 +CATEGORIES= japanese + +MAINTAINER= omatsuda000@gmail.com +COMMENT= EPWING dictionary viewer + +LICENSE= GPLv2 + +LIB_DEPENDS= libeb.so:japanese/eb + +USES= cmake qt:5 +USE_QT= buildtools core declarative gui linguisttools location \ + multimedia network printsupport qmake webchannel webengine \ + widgets + +USE_GITHUB= yes +GH_ACCOUNT= ludios + +PLIST_FILES= bin/qolibri + +.include diff --git a/japanese/qolibri/distinfo b/japanese/qolibri/distinfo new file mode 100644 index 000000000000..0a96e1f9d84b --- /dev/null +++ b/japanese/qolibri/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1624181574 +SHA256 (ludios-qolibri-2.1.3_GH0.tar.gz) = 6954b9e86cbc70026361927b22bc9b0bd58a188646e35c4da68f99790790367e +SIZE (ludios-qolibri-2.1.3_GH0.tar.gz) = 252092 diff --git a/japanese/qolibri/files/patch-CMakeLists.txt b/japanese/qolibri/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a0af8111c22e --- /dev/null +++ b/japanese/qolibri/files/patch-CMakeLists.txt @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2020-02-28 16:02:25 UTC ++++ CMakeLists.txt +@@ -16,6 +16,8 @@ set(CMAKE_AUTOUIC ON) + set(CMAKE_AUTORCC ON) + + find_package(Qt5 COMPONENTS LinguistTools Multimedia Network WebEngine WebEngineWidgets Widgets REQUIRED) ++find_library(EB_LIBRARY eb) ++find_library(Z_LIBRARY z) + + add_executable(qolibri MACOSX_BUNDLE WIN32 + images/qolibri.icns +@@ -154,6 +156,6 @@ set_source_files_properties(${TS_FILES} PROPERTIES OUT + qt5_add_translation(QM_FILES ${TS_FILES}) + target_sources(qolibri PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/translations/translations.qrc" ${QM_FILES} ${TS_FILES}) + +-target_link_libraries(qolibri Qt5::Multimedia Qt5::Network Qt5::WebEngine Qt5::WebEngineWidgets Qt5::Widgets eb z) ++target_link_libraries(qolibri Qt5::Multimedia Qt5::Network Qt5::WebEngine Qt5::WebEngineWidgets Qt5::Widgets ${EB_LIBRARY} ${Z_LIBRARY}) + + install(TARGETS qolibri DESTINATION "${CMAKE_INSTALL_BINDIR}") diff --git a/japanese/qolibri/files/patch-src_searchpage.cpp b/japanese/qolibri/files/patch-src_searchpage.cpp new file mode 100644 index 000000000000..9ce367592ab8 --- /dev/null +++ b/japanese/qolibri/files/patch-src_searchpage.cpp @@ -0,0 +1,11 @@ +--- src/searchpage.cpp.orig 2020-02-28 16:02:25 UTC ++++ src/searchpage.cpp +@@ -17,7 +17,7 @@ RET_SEARCH SearchPage::search(const Query& query) + switch (query.method.direction) { + case ExactWordSearch: + case ForwardSearch: +- queries << stemWords(query.query); ++/* queries << stemWords(query.query); */ + break; + default: + break; diff --git a/japanese/qolibri/pkg-descr b/japanese/qolibri/pkg-descr new file mode 100644 index 000000000000..088250701f6b --- /dev/null +++ b/japanese/qolibri/pkg-descr @@ -0,0 +1,3 @@ +EPWING dictionary reader originally developed at http://qolibri.osdn.jp/ + +WWW: https://github.com/ludios/qolibri/