Date: Wed, 17 Feb 2021 18:00:07 +0000 (UTC) From: Neel Chauhan <nc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565542 - in head/deskutils: . coolreader coolreader/files Message-ID: <202102171800.11HI07xR075749@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nc Date: Wed Feb 17 18:00:07 2021 New Revision: 565542 URL: https://svnweb.freebsd.org/changeset/ports/565542 Log: New port: deskutils/coolreader A legendary FB2/EPUB reader PR: 252697 Submitted by: Olga Smirnova <mistresssilvara AT hotmail DOT com> Added: head/deskutils/coolreader/ head/deskutils/coolreader/Makefile (contents, props changed) head/deskutils/coolreader/distinfo (contents, props changed) head/deskutils/coolreader/files/ head/deskutils/coolreader/files/patch-Greek-code.patch (contents, props changed) head/deskutils/coolreader/pkg-descr (contents, props changed) head/deskutils/coolreader/pkg-plist (contents, props changed) Modified: head/deskutils/Makefile Modified: head/deskutils/Makefile ============================================================================== --- head/deskutils/Makefile Wed Feb 17 17:53:42 2021 (r565541) +++ head/deskutils/Makefile Wed Feb 17 18:00:07 2021 (r565542) @@ -38,6 +38,7 @@ SUBDIR += clipmenu SUBDIR += clipnotify SUBDIR += conkyforecast + SUBDIR += coolreader SUBDIR += copyq SUBDIR += countdown SUBDIR += dailystrips Added: head/deskutils/coolreader/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/coolreader/Makefile Wed Feb 17 18:00:07 2021 (r565542) @@ -0,0 +1,37 @@ +# $FreeBSD$ + +PORTNAME= coolreader +DISTVERSIONPREFIX= cr +DISTVERSION= 3.2.53 +CATEGORIES= deskutils + +MAINTAINER= mistresssilvara@hotmail.com +COMMENT= E-book reader + +LICENSE= GPLv2 LGPL21+ BSD2CLAUSE +LICENSE_COMB= multi +LICENSE_FILE_GPLv2= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libfreetype.so:print/freetype2 \ + libharfbuzz.so:print/harfbuzz \ + libpng16.so:graphics/png \ + libfribidi.so:converters/fribidi \ + libunibreak.so:textproc/libunibreak \ + libfontconfig.so:x11-fonts/fontconfig + +USES= qt:5 cmake:,noninja desktop-file-utils jpeg + +USE_GITHUB= yes +GH_ACCOUNT= buggins + +USE_QT= core buildtools_build gui widgets linguisttools_build + +CMAKE_ARGS= -D GUI=QT5 -D MAX_IMAGE_SCALE_MUL=2 \ + -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 +CXXFLAGS+= -D CR_EMULATE_GETTEXT=1 \ + -I${WRKSRC}/thirdparty_unman/nanosvg/src + +OPTIONS_DEFINE= DOCS NLS +OPTIONS_SUB= yes + +.include <bsd.port.mk> Added: head/deskutils/coolreader/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/coolreader/distinfo Wed Feb 17 18:00:07 2021 (r565542) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613518870 +SHA256 (buggins-coolreader-cr3.2.53_GH0.tar.gz) = 0c9fff8e892b3f4e0facd6fc68e2230825ac23ea4228a611dfb2daa82c656a14 +SIZE (buggins-coolreader-cr3.2.53_GH0.tar.gz) = 12550563 Added: head/deskutils/coolreader/files/patch-Greek-code.patch ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/coolreader/files/patch-Greek-code.patch Wed Feb 17 18:00:07 2021 (r565542) @@ -0,0 +1,26 @@ +--- crengine/src/cp_stats.cpp.orig 2021-02-01 20:29:51 UTC ++++ crengine/src/cp_stats.cpp +@@ -2266,8 +2266,8 @@ cp_stat_t cp_stat_table[] = { + {ch_stat_cp850_es2,dbl_ch_stat_cp850_es2,"cp850","es"}, + {ch_stat_utf8_ee1,dbl_ch_stat_utf8_ee1,"utf8","ee"}, + {ch_stat_cp775_ee1,dbl_ch_stat_cp775_ee1,"cp775","ee"}, +-{ch_stat_cp1253_gr1,dbl_ch_stat_cp1253_gr1,"cp1253","gr"}, +-{ch_stat_cp737_gr1,dbl_ch_stat_cp737_gr1,"cp737","gr"}, ++{ch_stat_cp1253_gr1,dbl_ch_stat_cp1253_gr1,"cp1253","el"}, ++{ch_stat_cp737_gr1,dbl_ch_stat_cp737_gr1,"cp737","el"}, + {ch_stat_cp1257_lit1,dbl_ch_stat_cp1257_lit1,"cp1257","lit"}, + {ch_stat_cp1257_lat1,dbl_ch_stat_cp1257_lat1,"cp1257","lat"}, + {ch_stat_cp1250_sr1,dbl_ch_stat_cp1250_sr1,"cp1250","sr"}, +--- crengine/Tools/langstat/langstat.cpp.orig 2021-02-01 20:29:51 UTC ++++ crengine/Tools/langstat/langstat.cpp +@@ -71,8 +71,8 @@ void MakeStats() + MakeStatsForFile( BASE_DIR "es2-utf8.txt", "utf8", "ee", 2, f, list ); + MakeStatsForFile( BASE_DIR "ee3-cp775.txt", "cp775", "ee", 1, f, list ); + MakeStatsForFile( BASE_DIR "es3-cp1257.txt", "cp1257", "ee", 2, f, list ); +- MakeStatsForFile( BASE_DIR "gr1-cp1253.txt", "cp1253", "gr", 1, f, list ); +- MakeStatsForFile( BASE_DIR "gr1-cp737.txt", "cp737", "gr", 1, f, list ); ++ MakeStatsForFile( BASE_DIR "gr1-cp1253.txt", "cp1253", "el", 1, f, list ); ++ MakeStatsForFile( BASE_DIR "gr1-cp737.txt", "cp737", "el", 1, f, list ); + MakeStatsForFile( BASE_DIR "lit1-cp1257.txt", "cp1257", "lit", 1, f, list ); + MakeStatsForFile( BASE_DIR "lat1-cp1257.txt", "cp1257", "lat", 1, f, list ); + Added: head/deskutils/coolreader/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/coolreader/pkg-descr Wed Feb 17 18:00:07 2021 (r565542) @@ -0,0 +1,3 @@ +A cross platform open source e-book reader. + +WWW: https://github.com/buggins/coolreader Added: head/deskutils/coolreader/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/deskutils/coolreader/pkg-plist Wed Feb 17 18:00:07 2021 (r565542) @@ -0,0 +1,77 @@ +bin/cr3 +share/applications/cr3.desktop +share/cr3/backgrounds/bg_paper1.jpg +share/cr3/backgrounds/bg_paper1_dark.jpg +share/cr3/chm.css +share/cr3/doc.css +share/cr3/docx.css +share/cr3/epub.css +share/cr3/fb2.css +share/cr3/fb3.css +share/cr3/htm.css +share/cr3/hyph/Armenian.pattern +share/cr3/hyph/Basque.pattern +share/cr3/hyph/Bulgarian.pattern +share/cr3/hyph/Catalan.pattern +share/cr3/hyph/Croatian.pattern +share/cr3/hyph/Czech.pattern +share/cr3/hyph/Danish.pattern +share/cr3/hyph/Dutch.pattern +share/cr3/hyph/English_GB.pattern +share/cr3/hyph/English_US.pattern +share/cr3/hyph/Esperanto.pattern +share/cr3/hyph/Estonian.pattern +share/cr3/hyph/Finnish.pattern +share/cr3/hyph/French.pattern +share/cr3/hyph/Friulian.pattern +share/cr3/hyph/Galician.pattern +share/cr3/hyph/Georgian.pattern +share/cr3/hyph/German.pattern +share/cr3/hyph/Greek.pattern +share/cr3/hyph/Hungarian.pattern +share/cr3/hyph/Icelandic.pattern +share/cr3/hyph/Irish.pattern +share/cr3/hyph/Italian.pattern +share/cr3/hyph/Latin.pattern +share/cr3/hyph/Latin_liturgical.pattern +share/cr3/hyph/Latvian.pattern +share/cr3/hyph/Lithuanian.pattern +share/cr3/hyph/Macedonian.pattern +share/cr3/hyph/Norwegian.pattern +share/cr3/hyph/Occitan.pattern +share/cr3/hyph/Piedmontese.pattern +share/cr3/hyph/Polish.pattern +share/cr3/hyph/Portuguese.pattern +share/cr3/hyph/Portuguese_BR.pattern +share/cr3/hyph/Romanian.pattern +share/cr3/hyph/Romansh.pattern +share/cr3/hyph/Russian.pattern +share/cr3/hyph/Russian_EnGB.pattern +share/cr3/hyph/Russian_EnUS.pattern +share/cr3/hyph/Serbian.pattern +share/cr3/hyph/Slovak.pattern +share/cr3/hyph/Slovenian.pattern +share/cr3/hyph/Spanish.pattern +share/cr3/hyph/Swedish.pattern +share/cr3/hyph/Turkish.pattern +share/cr3/hyph/Ukrainian.pattern +share/cr3/hyph/Welsh.pattern +share/cr3/hyph/Zulu.pattern +%%NLS%%share/cr3/i18n/cr3_bg.qm +%%NLS%%share/cr3/i18n/cr3_cs.qm +%%NLS%%share/cr3/i18n/cr3_de.qm +%%NLS%%share/cr3/i18n/cr3_es.qm +%%NLS%%share/cr3/i18n/cr3_hu.qm +%%NLS%%share/cr3/i18n/cr3_pl.qm +%%NLS%%share/cr3/i18n/cr3_ru.qm +%%NLS%%share/cr3/i18n/cr3_uk.qm +share/cr3/rtf.css +share/cr3/textures/tx_fabric.jpg +share/cr3/textures/tx_fabric_dark.jpg +share/cr3/textures/tx_sand.jpg +share/cr3/textures/tx_sand_dark.jpg +share/cr3/txt.css +%%DOCS%%share/doc/cr3/changelog.gz +share/man/man1/cr3.1.gz +share/pixmaps/cr3.png +share/pixmaps/cr3.xpm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102171800.11HI07xR075749>