On Sun, Oct 22, 2017 at 02:00:00AM +0000, Stuart Henderson wrote:
> On 2017/10/21 22:41, Matthias Kilian wrote:
> > Hi,
> > 
> > Here's an update to xpdf-4.00.
> > 
> > Now uses Qt instead of Motif :-(
> > 
> > Tests and comments are welcome.
> 
> I see some offsets in the patches, is that expected?
> 
> Build fails on my workstation:
> 
> xpdf/CMakeFiles/xpdf_objs.dir/GlobalParams.cc.o: In function 
> `GlobalParams::GlobalParams(char const*)':
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc04): 
> undefined reference to `paperinit'
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc09): 
> undefined reference to `systempapername'
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc16): 
> undefined reference to `paperinfo'
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc21): 
> undefined reference to `paperpswidth'
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc32): 
> undefined reference to `paperpsheight'
> /usr/obj/ports/xpdf-4.00/xpdf-4.00/xpdf/GlobalParams.cc:(.text+0xc6a): 
> undefined reference to `paperdone'

Looks like it picked up print/libpaper


> 
> cmake output looks like this:
> 
> ===>  Configuring for xpdf-4.00
> -- The C compiler identification is Clang 5.0.0
> -- The CXX compiler identification is Clang 5.0.0
> -- Check for working C compiler: /usr/obj/ports/xpdf-4.00/bin/cc
> -- Check for working C compiler: /usr/obj/ports/xpdf-4.00/bin/cc -- works
> -- Detecting C compiler ABI info
> -- Detecting C compiler ABI info - done
> -- Detecting C compile features
> -- Detecting C compile features - done
> -- Check for working CXX compiler: /usr/obj/ports/xpdf-4.00/bin/c++
> -- Check for working CXX compiler: /usr/obj/ports/xpdf-4.00/bin/c++ -- works
> -- Detecting CXX compiler ABI info
> -- Detecting CXX compiler ABI info - done
> -- Detecting CXX compile features
> -- Detecting CXX compile features - done
> -- Looking for mkstemp
> -- Looking for mkstemp - found
> -- Looking for mkstemps
> -- Looking for mkstemps - found
> -- Looking for popen
> -- Looking for popen - found
> -- Performing Test HAVE_STD_SORT
> -- Performing Test HAVE_STD_SORT - Success
> -- Looking for fseeko
> -- Looking for fseeko - found
> -- Looking for fseek64
> -- Looking for fseek64 - not found
> -- Looking for _fseeki64
> -- Looking for _fseeki64 - not found
> -- Found FreeType (old-style includes): /usr/X11R6/lib/libfreetype.so.28.1
> -- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3") 
> -- Found PNG: /usr/local/lib/libpng.so.17.5 (found version "1.6.32") 
> -- Found JPEG: /usr/local/lib/libjpeg.so.68.1  
> -- Found TIFF: /usr/local/lib/libtiff.so.40.1 (found version "4.0.8") 
> -- lcms2 not found
> -- Qt5 found
> CMake Deprecation Warning at cmake-config.txt:263 (cmake_policy):
>   The OLD behavior for policy CMP0020 will be removed from a future version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> Call Stack (most recent call first):
>   CMakeLists.txt:15 (include)
> 
> 
> -- Looking for pthread.h
> -- Looking for pthread.h - found
> -- Looking for pthread_create
> -- Looking for pthread_create - not found
> -- Looking for pthread_create in pthreads
> -- Looking for pthread_create in pthreads - not found
> -- Looking for pthread_create in pthread
> -- Looking for pthread_create in pthread - found
> -- Found Threads: TRUE  
> CMake Deprecation Warning at xpdf-qt/CMakeLists.txt:27 (cmake_policy):
>   The OLD behavior for policy CMP0020 will be removed from a future version
>   of CMake.
> 
>   The cmake-policies(7) manual explains that the OLD behaviors of all
>   policies are deprecated and that a policy should be set to OLD only under
>   specific short-term circumstances.  Projects should be ported to the NEW
>   behavior and not rely on setting a policy to OLD.
> 
> 
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /usr/obj/ports/xpdf-4.00/build-amd64
> 

-- 
Antoine

Reply via email to