mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 13:00:08 +00:00
recorded cmake build options for fontforge and poppler turn off options not used by pdf2htmlEX
This commit is contained in:
parent
06a47baaeb
commit
d27f7d3a8b
@ -18,12 +18,33 @@ cd build
|
|||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX \
|
-DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX \
|
||||||
|
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
||||||
-DENABLE_GUI:BOOL=OFF \
|
-DENABLE_GUI:BOOL=OFF \
|
||||||
-DENABLE_X11:BOOL=OFF \
|
-DENABLE_X11:BOOL=OFF \
|
||||||
|
-DENABLE_NATIVE_SCRIPTING:BOOL=ON \
|
||||||
-DENABLE_PYTHON_SCRIPTING:BOOL=OFF \
|
-DENABLE_PYTHON_SCRIPTING:BOOL=OFF \
|
||||||
-DENABLE_PYTHON_EXTENSION:AUTO=OFF \
|
-DENABLE_PYTHON_EXTENSION:AUTO=OFF \
|
||||||
|
-DENABLE_LIBSPIRO:BOOL=ON \
|
||||||
|
-DENABLE_LIBUNINAMESLIST:BOOL=ON \
|
||||||
|
-DENABLE_LIBGIF:AUTO=OFF \
|
||||||
|
-DENABLE_LIBJPEG:AUTO=ON \
|
||||||
|
-DENABLE_LIBPNG:AUTO=ON \
|
||||||
|
-DENABLE_LIBREADLINE:AUTO=OFF \
|
||||||
|
-DENABLE_LIBTIFF:AUTO=OFF \
|
||||||
|
-DENABLE_WOFF2:AUTO=OFF \
|
||||||
|
-DENABLE_DOCS:AUTO=OFF \
|
||||||
|
-DENABLE_CODE_COVERAGE:BOOL=OFF \
|
||||||
|
-DENABLE_DEBUG_RAW_POINTS:BOOL=OFF \
|
||||||
|
-DENABLE_FONTFORGE_EXTRAS:BOOL=OFF \
|
||||||
|
-DENABLE_MAINTAINER_TOOLS:BOOL=OFF \
|
||||||
|
-DENABLE_TILE_PATH:BOOL=OFF \
|
||||||
|
-DENABLE_WRITE_PFM:BOOL=OFF \
|
||||||
|
-DENABLE_SANITIZER:ENUM="none" \
|
||||||
|
-DENABLE_FREETYPE_DEBUGGER:PATH="" \
|
||||||
|
-DSPHINX_USE_VENV:BOOL=OFF \
|
||||||
|
-DREAL_TYPE:ENUM="double" \
|
||||||
|
-DTHEME:ENUM="tango" \
|
||||||
..
|
..
|
||||||
|
|
||||||
# Apply any patches required for fontforge raw sources before we make
|
# Apply any patches required for fontforge raw sources before we make
|
||||||
@ -36,3 +57,33 @@ cmake \
|
|||||||
|
|
||||||
make $MAKE_PARALLEL
|
make $MAKE_PARALLEL
|
||||||
|
|
||||||
|
##########################################################
|
||||||
|
# FontForge CMakeLists.txt build options (2020/05/31):
|
||||||
|
|
||||||
|
# BUILD_SHARED_LIBS:BOOL=OFF "Build libfontforge as a shared library")
|
||||||
|
# ENABLE_GUI:BOOL=OFF "Build FontForge with GUI support")
|
||||||
|
# ENABLE_X11:BOOL=OFF "Build the GUI using the X backend INSTEAD of the GDK backend" "ENABLE_GUI")
|
||||||
|
# ENABLE_NATIVE_SCRIPTING:BOOL=ON "Enables FontForge's native scripting support")
|
||||||
|
# ENABLE_PYTHON_SCRIPTING:BOOL=OFF "Enables FontForge's Python scripting support")
|
||||||
|
# ENABLE_PYTHON_EXTENSION:AUTO=OFF "Builds the Python models for use with system python")
|
||||||
|
# ENABLE_LIBSPIRO:BOOL=ON "Enables libspiro support")
|
||||||
|
# ENABLE_LIBUNINAMESLIST:BOOL=ON "Enables libuninameslist support")
|
||||||
|
# ENABLE_LIBGIF:AUTO=OFF "Enables GIF support")
|
||||||
|
# ENABLE_LIBJPEG:AUTO=ON "Enables JPEG support")
|
||||||
|
# ENABLE_LIBPNG:AUTO=ON "Enables PNG support")
|
||||||
|
# ENABLE_LIBREADLINE:AUTO=OFF "Enables Readline support")
|
||||||
|
# ENABLE_LIBTIFF:AUTO=OFF "Enables TIFF support")
|
||||||
|
# ENABLE_WOFF2:AUTO=OFF "Enables WOFF2 support")
|
||||||
|
# ENABLE_DOCS:AUTO=OFF "Enables building and installing documentation. Sphinx is required to build it.")
|
||||||
|
# ENABLE_CODE_COVERAGE:BOOL=OFF "Build with code coverage support")
|
||||||
|
# ENABLE_DEBUG_RAW_POINTS:BOOL=OFF "Add a raw mode to the points window of the debugger")
|
||||||
|
# ENABLE_FONTFORGE_EXTRAS:BOOL=OFF "Builds programs from the contrib directory")
|
||||||
|
# ENABLE_MAINTAINER_TOOLS:BOOL=OFF "Build programs normally only used by FontForge maintainers and developers")
|
||||||
|
# ENABLE_TILE_PATH:BOOL=OFF "Enable a 'tile path' command (a variant of 'expand stroke')")
|
||||||
|
# ENABLE_WRITE_PFM:BOOL=OFF "Add the ability to save a PFM file without creating the associated font file")
|
||||||
|
# ENABLE_SANITIZER:ENUM="none" "Enables a sanitizer. Requires support from the compiler."
|
||||||
|
# ENABLE_FREETYPE_DEBUGGER:PATH="" "Use FreeTypes internal debugger within FontForge."
|
||||||
|
# SPHINX_USE_VENV:BOOL=OFF "If building documentation and Sphinx is not installed, try to install and use it from a python3 venv."
|
||||||
|
# REAL_TYPE:ENUM="double" "Sets the floating point type used." "double" "float")
|
||||||
|
# THEME:ENUM="tango" "Sets the GUI theme." "tango" "2012")
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
echo "BUILDING Poppler"
|
echo "BUILDING Poppler (using CMake)"
|
||||||
echo "-------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
@ -13,8 +13,81 @@ mkdir build
|
|||||||
cd build
|
cd build
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DBUILD_SHARED_LIBS:BOOL=OFF \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX \
|
-DCMAKE_INSTALL_PREFIX=$PDF2HTMLEX_PREFIX \
|
||||||
-DENABLE_LIBOPENJPEG=none \
|
-DENABLE_UNSTABLE_API_ABI_HEADERS=OFF \
|
||||||
|
-DBUILD_GTK_TESTS=OFF \
|
||||||
|
-DBUILD_QT5_TESTS=OFF \
|
||||||
|
-DBUILD_CPP_TESTS=OFF \
|
||||||
|
-DENABLE_SPLASH=ON \
|
||||||
|
-DENABLE_UTILS=OFF \
|
||||||
|
-DENABLE_CPP=ON \
|
||||||
|
-DENABLE_GLIB=ON \
|
||||||
|
-DENABLE_GOBJECT_INTROSPECTION=ON \
|
||||||
|
-DENABLE_GTK_DOC=OFF \
|
||||||
|
-DENABLE_QT5=OFF \
|
||||||
|
-DENABLE_LIBOPENJPEG="none" \
|
||||||
|
-DENABLE_CMS="lcms2" \
|
||||||
|
-DENABLE_DCTDECODER="libjpeg" \
|
||||||
|
-DENABLE_LIBCURL=OFF \
|
||||||
|
-DENABLE_ZLIB=ON \
|
||||||
|
-DENABLE_ZLIB_UNCOMPRESS=OFF \
|
||||||
|
-DUSE_FLOAT=OFF \
|
||||||
|
-DBUILD_SHARED_LIBS=OFF \
|
||||||
|
-DRUN_GPERF_IF_PRESENT=OFF \
|
||||||
|
-DEXTRA_WARN=OFF \
|
||||||
..
|
..
|
||||||
|
|
||||||
make $MAKE_PARALLEL
|
make $MAKE_PARALLEL
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################
|
||||||
|
# Poppler CMakeLists.text build options (2020/05/31):
|
||||||
|
|
||||||
|
# ENABLE_UNSTABLE_API_ABI_HEADERS=OFF "Install API/ABI unstable xpdf headers."
|
||||||
|
# BUILD_GTK_TESTS=OFF "Whether to compile the GTK+ test programs."
|
||||||
|
# BUILD_QT5_TESTS=OFF "Whether to compile the Qt5 test programs."
|
||||||
|
# BUILD_CPP_TESTS=OFF "Whether to compile the CPP test programs."
|
||||||
|
# ENABLE_SPLASH=ON "Build the Splash graphics backend."
|
||||||
|
# ENABLE_UTILS=OFF "Compile poppler command line utils."
|
||||||
|
# ENABLE_CPP=ON "Compile poppler cpp wrapper."
|
||||||
|
# ENABLE_GLIB=ON "Compile poppler glib wrapper."
|
||||||
|
# ENABLE_GOBJECT_INTROSPECTION=ON "Whether to generate GObject introspection."
|
||||||
|
# ENABLE_GTK_DOC=OFF "Whether to generate glib API documentation."
|
||||||
|
# ENABLE_QT5=OFF "Compile poppler qt5 wrapper."
|
||||||
|
#
|
||||||
|
# ENABLE_LIBOPENJPEG="none"
|
||||||
|
#
|
||||||
|
# "Use libopenjpeg for JPX streams. Possible values: openjpeg2,
|
||||||
|
# unmaintained, none. 'unmaintained' gives you the internal unmaintained
|
||||||
|
# decoder. Use at your own risk. 'none' compiles no JPX decoder at all.
|
||||||
|
# Default: openjpeg2"
|
||||||
|
#
|
||||||
|
# ENABLE_CMS="lcms2"
|
||||||
|
#
|
||||||
|
# "Use color management system. Possible values: lcms2, none. 'none'
|
||||||
|
# disables color management system."
|
||||||
|
#
|
||||||
|
# ENABLE_DCTDECODER="libjpeg"
|
||||||
|
#
|
||||||
|
# "Use libjpeg for DCT streams. Possible values: libjpeg, unmaintained,
|
||||||
|
# none. will use libjpeg if available or fail if not. 'unmaintained' gives
|
||||||
|
# you the internal unmaintained decoder. Use at your own risk. 'none'
|
||||||
|
# compiles no DCT decoder at all. Default: libjpeg"
|
||||||
|
#
|
||||||
|
# ENABLE_LIBCURL=OFF "Build libcurl based HTTP support."
|
||||||
|
# ENABLE_ZLIB=ON "Build with zlib."
|
||||||
|
# ENABLE_ZLIB_UNCOMPRESS=OFF "Use zlib to uncompress flate streams (not totally safe)."
|
||||||
|
# USE_FLOAT=OFF "Use single precision arithmetic in the Splash backend"
|
||||||
|
# BUILD_SHARED_LIBS=OFF "Build poppler as a shared library"
|
||||||
|
# RUN_GPERF_IF_PRESENT=OFF "Run gperf if it is found"
|
||||||
|
# EXTRA_WARN=OFF "Enable extra compile warnings"
|
||||||
|
|
||||||
|
# The following packages are optional and only used if found:
|
||||||
|
# JPEG is required by pdf2htmlEX
|
||||||
|
# PNG is required by pdf2htmlEX
|
||||||
|
# TIFF is not used by pdf2htmlEX
|
||||||
|
# NSS3 is not used by pdf2htmlEX?
|
||||||
|
# CAIRO is required by pdf2htmlEX
|
||||||
|
# GLIB is requrired by pdf2htmlEX
|
||||||
|
# GObjectIntrospection is not needed by pdf2htmlEX?
|
||||||
|
# Iconv is only used if ENABLE_CPP
|
||||||
|
Loading…
Reference in New Issue
Block a user