- Timestamp:
- 2018-07-09T21:14:55+12:00 (6 years ago)
- Location:
- gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/XPDFTOOLS.sh
r32248 r32249 28 28 opt_run_untar $force_untar $auto_untar $package $version 29 29 30 # patch the original tarball with our custom makefile?30 # patch the original tarball with our custom CMake configure/makefile 31 31 if [[ -d "$package$version/xpdf" && -f "gs-CMakeLists.txt" ]]; then 32 32 echo "*******************************************************************" 33 echo "Using our custom gs-CMakeLists.txt instead of the one included in $package$version"33 echo "Using our custom gs-CMakeLists.txt instead of the one included in the xpdf subfolder of $package$version" 34 34 echo "Renaming gs-CMakeLists.txt to $package$version/xpdf/CMakeLists.txt" 35 35 echo "*******************************************************************" … … 70 70 cmake -DCMAKE_BUILD_TYPE=Release \ 71 71 -DCMAKE_INSTALL_PREFIX=$prefix \ 72 -DTIFF_INCLUDE_DIR=$prefix/include \ 73 -DJPEG_INCLUDE_DIR=$prefix/include \ 72 74 -DZLIB_LIBRARY=$prefix/lib/libz.a \ 75 -DTIFF_LIBRARY=$prefix/lib/libtiff.a \ 73 76 -DPNG_LIBRARY=$prefix/lib/libpng15.a \ 77 -DJPEG_LIBRARY=$prefix/lib/libjpeg.a \ 74 78 -DFREETYPE_LIBRARY=$prefix/lib/libfreetype.a \ 75 79 -DCMAKE_DISABLE_FIND_PACKAGE_Qt4=1 \ … … 97 101 fi 98 102 103 99 104 ## If compiling statically make sure the above CMake command contains the following 100 105 ## with these values: 101 106 # -DZLIB_LIBRARY=$prefix/lib/libz.a \ 107 # -DTIFF_LIBRARY=$prefix/lib/libtiff.a \ 102 108 # -DPNG_LIBRARY=$prefix/lib/libpng15.a \ 109 # -DJPEG_LIBRARY=$prefix/lib/libjpeg.a \ 103 110 # -DFREETYPE_LIBRARY=$prefix/lib/libfreetype.a \ 104 111 # and … … 106 113 107 114 108 ## For building dynamic xpdf-tools executables, change the above to have the following instead: 115 ## For building dynamic xpdf-tools executables, change the above to have the following instead 116 ## (still unable get the .so for LIBJPEG generated, so could try JPEG_LIBRARY set same as above) 109 117 # -DZLIB_LIBRARY=$prefix/lib/libz.so.1.2.7 \ 118 # -DTIFF_LIBRARY=$prefix/lib/libtiff.so.5.2.2 \ 110 119 # -DPNG_LIBRARY=$prefix/lib/libpng15.so.15.30.0 \ 111 120 # -DFREETYPE_LIBRARY=$prefix/lib/libfreetype.so.6.3.20 \ 112 121 # (The 3rd line can alternatively be "-DFREETYPE_DIR=$prefix") 113 # And removethe following line. Don't comment it out, nor set it to "", but remove it:122 # And REMOVE the following line. Don't comment it out, nor set it to "", but remove it: 114 123 # -DGSDLFLAG_STATIC="$static_flag" \ 115 124 116 125 117 126 # If compilation was successful, then we don't need cmake binaries anymore when 118 # packaging up xpdf-tools 127 # packaging up xpdf-tools. Move them away from the distribution area: 119 128 120 129 if [ -f "$GEXTXPDFTOOLS_INSTALLED/bin/pdftohtml" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.