Show
Ignore:
Timestamp:
29.06.2018 21:59:19 (21 months ago)
Author:
ak19
Message:

Tried to compile xpdf-tools up statically with CMake, but still not successful. For now committing modifications necessary (including the new additional packages) for compiling xpdf-tools agains dynamically linked libs of libpng and zlib and freetype. Although these 3 packages have been introduced and are successfully compiled up (and I can even get the CMake configure stage of xpdf-tools to 'see' them), the xpdftools binaries upon successful compilation are shown by ldd to still refer to system versions of zlib, libpng and freetype. Some modifications to a single file in the xpdftools src package were necessary to get things to compile again with these changes, so recommitting the xpdftools src package with modications using the usual gs- prefix and a readme.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/xpdf-tools/trunk/src/packages/CASCADE-MAKE/CMAKE.sh

    r32227 r32228  
    3232 
    3333# Only compile if necessary - we don't edit these source files. 
    34 if type -p cmake; then 
    35   echo "found cmake in PATH" 
    36   _CMAKE=cmake 
    37 elif [[ -x "$GEXTXPDFTOOLS_INSTALLED/linux/bin/cmake" ]]; then 
    38 ##if [[ -x "$GEXTXPDFTOOLS_INSTALLED/linux/bin/cmake" ]]; then 
     34#if type -p cmake; then 
     35#  echo "found cmake in PATH" 
     36#  _CMAKE=cmake 
     37#elif [[ -x "$GEXTXPDFTOOLS_INSTALLED/linux/bin/cmake" ]]; then 
     38# NO. Rather, only compile up OUR cmake if we haven't already got OUR cmake 
     39# But don't use any system cmake: xpdf-tools is dependent on cmake version (>= 2.8.8) 
     40if [[ -x "$GEXTXPDFTOOLS_INSTALLED/linux/bin/cmake" ]]; then 
    3941  echo "found cmake in $GEXTXPDFTOOLS_INSTALLED/linux/bin" 
    4042  _CMAKE="$GEXTXPDFTOOLS_INSTALLED/linux/bin/cmake"