{"id":13764780,"url":"https://github.com/buggins/coolreader","last_synced_at":"2026-03-13T01:36:47.066Z","repository":{"id":38451700,"uuid":"60676184","full_name":"buggins/coolreader","owner":"buggins","description":"Official site of CoolReader project. Sourceforge repository is obsolete.","archived":false,"fork":false,"pushed_at":"2024-10-22T16:14:13.000Z","size":50245,"stargazers_count":469,"open_issues_count":84,"forks_count":112,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-03-10T04:17:35.836Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buggins.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-06-08T07:02:17.000Z","updated_at":"2026-03-07T02:48:51.000Z","dependencies_parsed_at":"2023-01-29T19:30:15.034Z","dependency_job_id":"490aa3f1-c8b7-4c1e-bb86-8226bb170b5d","html_url":"https://github.com/buggins/coolreader","commit_stats":null,"previous_names":[],"tags_count":440,"template":false,"template_full_name":null,"purl":"pkg:github/buggins/coolreader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggins%2Fcoolreader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggins%2Fcoolreader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggins%2Fcoolreader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggins%2Fcoolreader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buggins","download_url":"https://codeload.github.com/buggins/coolreader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buggins%2Fcoolreader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30453988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T21:31:01.033Z","status":"ssl_error","status_checked_at":"2026-03-12T21:30:43.161Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T16:00:28.622Z","updated_at":"2026-03-13T01:36:47.030Z","avatar_url":"https://github.com/buggins.png","language":"C++","funding_links":[],"categories":["Book readers","C++"],"sub_categories":[],"readme":"CoolReader 3 - cross platform open source e-book reader\n=======================================================\n\n(c) Vadim Lopatin, 1998-2018\n\n\n\n\nDevelopment is moved to GitHub\n------------------------------\n\n\n        https://github.com/buggins/coolreader\n\n\nSourceforge repository will be used as a mirror\n\n        git clone git://crengine.git.sourceforge.net/gitroot/crengine/crengine\n\n\n[![Join the chat at https://gitter.im/coolreader/Lobby](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/coolreader/Lobby)\n\n\n\nThis program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.\n\n\n\nDirectories\n-----------\n\n        crengine   - CREngine (DOM/XML/CSS ebook rendering library) sources\n        cr3gui     - CR3 with CR3GUI for e-ink devices sources\n        cr3qt      - CR3 with Qt based GUI\n        cr3wx      - CR3 with wxWidgets based GUI\n        thirdparty - third party libraries, to use if not found in system (zlib, libpng, libjpeg, freetype, etc...)\n        thirdparty_repo - repository for third party libraries deployments\n        thirdparty_unman - unmanaged third party libraries\n        tinydict   - small library for .dict file format support\n        tools      - miscellaneous configuration files\n        android    - Android frontend\n\nExternal dependencies\n---------------------\n\n        common: zlib, libpng, libjpeg, freetype, harfbuzz, fribidi, libunibreak, utf8proc, zstd\n        cr3gui/xcb: libxcb, fontconfig\n        cr3gui/nanoX: libnanoX\n        cr3/Qt: fontconfig, qt5-base, qt5-tools\n        cr3/wx: fontconfig, wxWidgets 3.0\n\ne.g., for Ubuntu you may use\n\n        $ sudo apt install build-essential git cmake curl pkg-config zlib1g-dev libpng-dev libjpeg-dev libfreetype6-dev libfontconfig1-dev libharfbuzz-dev libfribidi-dev libunibreak-dev libzstd-dev libutf8proc-dev\n\nTo build Qt frontend:\n\n        $ sudo apt install qtbase5-dev qttools5-dev\n\nTo build wxWidgets frontend:\n\n        $ sudo apt install libwxgtk3.0-gtk3-dev\n\n\nEmbedded Third Party Components\n-------------------------------\n* antiword (GPLv2+)\n* chmlib (LGPLv2.1+)\n* nanosvg (ZLib)\n* qimagescale (imlib2, GPLv2, LGPLv3+)\n* xxhash (BSD-2)\n* coffeecatch (BSD-2)\n* Some hyphenation patterns from http://www.hyphenation.org (only patterns under Unlicense, MIT, BSD, MPL, GPLv2, LGPLv2.1)\n* Russian hyphenation patterns - https://github.com/laboratory50/russian-spellpack (LGPL)\n\n\nPackaging\n---------\n\nDebian based packages included to project:\n\n        packages/ubuntu -- debian package for Ubuntu, with Qt frontend\n        packages/openinkpot -- debian package for OpenInkpot, with XCB frontend\n\nTo build debian package, copy one of package descriptions from packages directory:\n\n        cp -r packages/ubuntu/debian debian\n        Then, package can be built using `debuild` command.\n\n\nAndroid Build Instructions\n--------------------------\n\n* Deploy/update third party libraries: in terminal call script thirdparty-deploy.sh\n\nIn Windows can be used git bash terminal\n\n        $ ./thirdparty-deploy.sh\n\n* Use Android Studio - open subdirectory \"android\" as Android Studio project\n\nEnsure that you have Android SDK and NDK installed\n\n\n\nCMake Build Instructions (Linux)\n------------------------\n\nIn case the installed libraries are outdated, run the `thirdparty-deploy.sh` script to download libraries sources of the recommended versions. In this case, the build system will build static libraries that were not found in the system.\n\n        $ ./thirdparty-deploy.sh\n\nBuilding Qt version (qtbase5-dev, qttools5-dev should be installed)\n\n        mkdir qtbuild\n        cd qtbuild\n        cmake -D GUI=QT5 -D CMAKE_BUILD_TYPE=Release -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 -D CMAKE_INSTALL_PREFIX=/usr ..\n        make\n        sudo make install\n\n\nBuilding Qt version, in DEBUG mode\n\n        mkdir qtbuild\n        cd qtbuild\n        cmake -D GUI=QT5 -D CMAKE_BUILD_TYPE=Debug -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 -D CMAKE_INSTALL_PREFIX=/usr ..\n        make\n        sudo make install\n\nBuilding wxWidgets version (libwxgtk3.0-gtk3-dev should be installed)\n\n        mkdir wxbuild\n        cd wxbuild\n        cmake -D GUI=WX -D CMAKE_BUILD_TYPE=Release -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 -D CMAKE_INSTALL_PREFIX=/usr ..\n        make\n\n\nQt Build under Windows (Using MSYS2)\n======================\n\n- Download and install msys2 from https://www.msys2.org/\n- Update MSYS2:\n\nRun \"MSYS2 MSYS\" from start menu\n\n        $ pacman -Sy\n        $ pacman -Su\n\nRun \"MSYS2 MSYS\" from Start menu again.\u003cbr/\u003e\nUpdate the rest of the base packages:\n\n        $ pacman -Su\n\n- Install build tools \u0026 dependencies:\n\nRun \"MSYS2 MSYS\" from start menu.\u003cbr/\u003e\nUsing pacman package manager install required packages:\n\n        $ pacman -S --needed base-devel mingw-w64-x86_64-toolchain\n        $ pacman -S git curl\n        $ pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-pkgconf mingw-w64-x86_64-zlib mingw-w64-x86_64-libpng mingw-w64-x86_64-libjpeg-turbo mingw-w64-x86_64-freetype mingw-w64-x86_64-fontconfig mingw-w64-x86_64-harfbuzz mingw-w64-x86_64-fribidi mingw-w64-x86_64-zstd\n\n        To build Qt frontend:\n\n        $ pacman -S mingw-w64-x86_64-qt5\n\n- Prepare:\n\nRun \"MSYS2 MinGW 64-bit\" from start menu\n\n        $ git clone https://github.com/buggins/coolreader.git\n        $ cd coolreader\n\nSince package libunibreak not exists in MSYS2, we must build static version of this library, to do this, we need to call the script thirdparty-deploy.sh to download sources:\n\n        $ ./thirdparty-deploy.sh\n\nBuild system will build static libraries that were not found in the system.\n\n- Compile:\n\nNow we can build program:\n\n        $ mkdir qtbuild\n        $ cd qtbuild\n        $ cmake -G \"MSYS Makefiles\" -D CMAKE_BUILD_TYPE=Release -D GUI=QT5 -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 -D CMAKE_INSTALL_PREFIX=dist ..\n        $ make\n        $ make install\n\nNow in qtbuild/dist directory we have CoolReader binary \u0026 data.\u003cbr/\u003e\nTo add Qt runtime libraries, call:\n\n        $ cd dist\n        $ windeployqt --compiler-runtime --no-webkit2 --no-angle --no-opengl-sw --no-quick-import .\n\nTo add thirdparty runtime libraries, call:\n\n        $ cp -pv /mingw64/bin/{libfontconfig-1.dll,libexpat-1.dll,libfreetype-6.dll,libbz2-1.dll,libbrotlidec.dll,libbrotlicommon.dll,libharfbuzz-0.dll,libglib-2.0-0.dll,libintl-8.dll,libiconv-2.dll,libpcre-1.dll,libgraphite2.dll,libpng16-16.dll,zlib1.dll,libfribidi-0.dll,libjpeg-8.dll,libutf8proc.dll,libzstd.dll,libdouble-conversion.dll,libicuin68.dll,libicuuc68.dll,libicudt68.dll,libpcre2-16-0.dll} .\n\nAfter updating any library in MSYS 2, this list may need to be corrected. If after that the program does not start with an error about the missing dll, then you need to copy this library from `/mingw64/bin/` to `qtbuild/dist`.\n\nQt Build under Windows (Using Qt SDK, obsolete)\n======================\n\n    Using Qt SDK\n\nEnvironment setup:\n\n- Download and install Qt SDK, git, cmake, msys\n- Copy contents of git and cmake dirs to QT/mingw/\n- Copy make.exe from msys/bin to QT/mingw/bin\n\nRun Qt SDK / Qt Command Prompt. Execute:\n\n        \u003e sh\n        \u003e git clone https://github.com/buggins/coolreader.git\n        \u003e cd coolreader\n        \u003e mkdir qtbuild\n        \u003e cd qtbuild\n        \u003e cmake -D GUI=QT -D CMAKE_BUILD_TYPE=Release -G \"MSYS Makefiles\" -D USE_QT_ZLIB=1 -D CMAKE_INSTALL_PREFIX=dist ..\n        \u003e make\n        \u003e make install\n\n        cmake -D GUI=QT -D CMAKE_BUILD_TYPE=Release -G \"Visual Studio 9 2008\" -D USE_QT_ZLIB=1 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1500000 -D CMAKE_INSTALL_PREFIX=dist ..\n        cmake -D GUI=QT -D CMAKE_BUILD_TYPE=Release -G \"Visual Studio 10\" -D USE_QT_ZLIB=1  -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1500000 -D CMAKE_INSTALL_PREFIX=dist ..\n\nto disable console, use /SUBSYSTEM:WINDOWS linker option instead of /SUBSYSTEM:CONSOLE\n\nFor Qt5, use GUI=QT5 instead of GUI=QT\n\nFor building Qt5 app from QtCreator remove -G (generator) parameter:\n\n\tRelease build:\n\n\t\t-D GUI=QT5 -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dist ..\n\n\tDebug build:\n\n\t\t-D GUI=QT5 -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=dist ..\n\nIt will put built cr3.exe and all necessary distribution files to directory qtbuild/dist.\n\nYou need also add following DLLs to this directory in order to get cr3.exe working:\n\n        - mingwm10.dll\n        - QtCore4.dll\n        - QtGui4.dll\n        - libz.dll\n\nCMake Build Instructions (obsolete)\n------------------------\n\n        # Building ARM version on OpenInkpot:\n        mkdir armbuild\n        cd armbuild\n        cmake -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-oi.cmake -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Release -D GUI=CRGUI_XCB -D USE_EXTERNAL_EDICT_DICTIONARY=1 ..\n        make\n\n        # Building i386 version, Qt backend V3 simulation:\n        mkdir qt-v3\n        cd qt-v3\n        cmake -D DEVICE_NAME=v3 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Debug -D USE_STATIC_ZLIB=1 -Wdev -D ENABLE_ANTIWORD=1 -D CMAKE_INSTALL_PREFIX=dest -D GUI=CRGUI_QT -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x500000 ..\n        make\n\n        # Building i386 version (for OpenInkpot), V3 simulation:\n        mkdir xcb-v3\n        cd xcb-v3\n        cmake -D DEVICE_NAME=v3 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Debug -D USE_STATIC_ZLIB=1 -Wdev -D ENABLE_ANTIWORD=1 -D CMAKE_INSTALL_PREFIX=/usr -D GUI=CRGUI_XCB -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x500000 ..\n        make\n\n        # Building i386 version (for OpenInkpot), n516/azbooka simulation:\n        mkdir xcb-n516\n        cd xcb-n516\n        cmake -D DEVICE_NAME=n516 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Debug  -D CMAKE_INSTALL_PREFIX=/usr -D GUI=CRGUI_XCB ..\n        make\n\n        # Building Jinke/LBook V3 viewer plugin (libfb2.so):\n        mkdir v3build\n        cd v3build\n        mkdir dest\n        cmake -D DEVICE_NAME=v3 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-v3.cmake -D GUI=CRGUI_JINKE_PLUGIN -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest ..\n        make\n\n        # Building Jinke/LBook V3 viewer plugin (libfb2.so), new SDK:\n        mkdir v3build\n        cd v3build\n        mkdir dest\n        cmake -D DEVICE_NAME=v3 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-linux-gnueabi.cmake -D GUI=CRGUI_JINKE_PLUGIN -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest ..\n        make\n\n        # Building Jinke/LBook V3 fb2props plugin for Bookshelf (libfb2props.so) i386:\n        mkdir fb2props386\n        cd fb2props386\n        mkdir dest\n        cmake -D GUI=FB2PROPS -D CMAKE_BUILD_TYPE=Debug -D CMAKE_INSTALL_PREFIX=dest ..\n        make\n\n        # Building Jinke/LBook V3 fb2props plugin for Bookshelf (libfb2props.so):\n        mkdir v3fb2propsbuild\n        cd v3fb2propsbuild\n        mkdir dest\n        cmake -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-v3.cmake -D GUI=FB2PROPS -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest ..\n        make\n\n        # Building Jinke/LBook V3 fb2props plugin for Bookshelf NEW SDK (libfb2props.so):\n        mkdir v3newfb2propsbuild\n        cd v3newfb2propsbuild\n        mkdir dest\n        cmake -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-linux-gnueabi.cmake -D GUI=FB2PROPS -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest ..\n        make\n\n        # Building Jinke/LBook V3 new SDK viewer app (cr3):\n        mkdir v3app\n        cd v3app\n        #cmake -D DEVICE_NAME=v3 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-linux-gnueabi.cmake -D MAX_IMAGE_SCALE_MUL=2 -D GUI=CRGUI_NANOX -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x500000 -D BIG_PAGE_MARGINS=1 ..\n        cmake -D DEVICE_NAME=v3 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-linux-gnueabi.cmake -D MAX_IMAGE_SCALE_MUL=2 -D GUI=CRGUI_NANOX -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x500000 ..\n        make\n\n        # Building Jinke/LBook V5 viewer app (cr3):\n        mkdir v5build\n        cd v5build\n        cmake -D DEVICE_NAME=v5 -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-v5.cmake -D GUI=CRGUI_NANOX -D GRAY_BACKBUFFER_BITS=3 -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x580000 ..\n        #cmake -D DEVICE_NAME=v5 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-v5.cmake -D GUI=CRGUI_NANOX -D GRAY_BACKBUFFER_BITS=3 -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest ..\n\n        make\n\n        # Building Jinke/LBook V3+ viewer app (cr3):\n        mkdir v3abuild\n        cd v3abuild\n        cmake -D DEVICE_NAME=v3a -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-v5.cmake -D GUI=CRGUI_NANOX -D CR3_PNG=1 -D CR3_JPEG=1 -D CR3_FREETYPE=1 -D GRAY_BACKBUFFER_BITS=4 -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest -D RAM_COMPRESSED_BUFFER_ENABLED=0 -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x1000000 ..\n        make\n\n        # Building ARM version for PocketBook:\n        mkdir pb360\n        cd pb360\n        cmake -D DEVICE_NAME=pb360 -D CMAKE_INSTALL_PREFIX=/usr/local/pocketbook/mnt/ext1 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-pocketbook.cmake -D CMAKE_CXX_FLAGS_RELEASE:STRING=\"-fomit-frame-pointer -O1\" -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Release -D GUI=CRGUI_PB -D ENABLE_CHM=1 -D ENABLE_ANTIWORD=1 ..\n        make\n\n        # Building ARM version for PocketBook Pro\n        mkdir pbPro\n        cd pbPro\n        cmake -D DEVICE_NAME=pb360 -D CMAKE_INSTALL_PREFIX=/usr/local/pocketbook/mnt/ext1 -D CMAKE_TOOLCHAIN_FILE=../tools/toolchain-arm-gnu-eabi-pocketbook.cmake -D MAX_IMAGE_SCALE_MUL=2 -D CMAKE_BUILD_TYPE=Release -D ENABLE_CHM=1 -D ENABLE_ANTIWORD=1 -D GUI=CRGUI_PB -D POCKETBOOK_PRO=1 ..\n\n        # Building Jinke/LBook V3+ simulator for Win32 (cr3):\n        mkdir v3win32\n        cd v3win32\n        cmake -D DEVICE_NAME=v3a -G \"Visual Studio 10\" -D MAX_IMAGE_SCALE_MUL=2 -D GUI=CRGUI_WIN32 -D GRAY_BACKBUFFER_BITS=4 -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=dest -D DOC_DATA_COMPRESSION_LEVEL=1 -D DOC_BUFFER_SIZE=0x800000 ..\n        make\n\n\nQt Build under Mac OSX (obsolete)\n======================\n\n        #configure and make Qt as static libraries\n        #Inside Qt source root:\n        ./configure -prefix /Developer/Qt -opensource -static -release -arch x86 -arch x86_64 \\\n        -no-accessibility -no-stl -no-qt3support -qt-zlib -no-gif -no-libtiff -qt-libpng -qt-freetype -no-libmng -qt-libjpeg -no-nis -no-cups -no-iconv -no-pch -no-dbus -no-opengl -no-fontconfig \\\n        -no-xmlpatterns -no-multimedia -no-phonon -no-phonon-backend -no-audio-backend -no-openssl \\\n        -no-gtkstyle -no-svg -no-webkit -no-javascript-jit -no-script -no-scripttools -no-declarative \n        #make Core and GUI libraries\n        make sub-src\n        #make symlinks from `pad` to /Developer/Qt for bin, include, lib, src dirs\n\n        #inside cr3 directory\n        #configure using cmake\n        mkdir macbuild\n        cd macbuild\n        cmake -G \"Unix Makefiles\" -D GUI=QT -D CMAKE_OSX_ARCHITECTURES=\"i386 x86_64\" -D QT_QMAKE_EXECUTABLE=/Developer/Qt/bin/qmake -D CMAKE_BUILD_TYPE=Release -D MAX_IMAGE_SCALE_MUL=2 -D DOC_DATA_COMPRESSION_LEVEL=3 -D DOC_BUFFER_SIZE=0x1400000 -D CMAKE_INSTALL_PREFIX=cr3.app ..\n        make\n        make install\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuggins%2Fcoolreader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuggins%2Fcoolreader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuggins%2Fcoolreader/lists"}