trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] kpdf/xpdf

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 17 Aug 2012 14:46:18 -0500
On 08/17/2012 01:05 PM, Darrell Anderson wrote:

> * Does compiling kpdf use an existing installed xpdf from the distro or does
> the build process only use the xpdf code that is in the kpdf source tree?
> 
> * If the latter, then should we be patching the Trinity version of xpdf? Or
> updating to the latest release of xpdf?
> 
> * If the latter, what is needed to change the build process to use an
> existing installed xpdf rather than the stale version in the Trinity
> sources?
> 
> Darrell
> 

It's definitely building xpdf from the GIT tree. We need to apply all patches or
pull the latest xpdf code. Note the numerous deprecation warnings associated
with xpdf as well:

[ 32%] Built target kooka
make -f kpdf/xpdf/goo/CMakeFiles/goo-static.dir/build.make
kpdf/xpdf/goo/CMakeFiles/goo-static.dir/depend
make[2]: Entering directory `/build/src/build'
cd /build/src/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles"
/build/src/tdegraphics /build/src/tdegraphics/kpdf/xpdf/goo /build/src/build
/build/src/build/kpdf/xpdf/goo
/build/src/build/kpdf/xpdf/goo/CMakeFiles/goo-static.dir/DependInfo.cmake --color=
<snip>
[ 32%] Building CXX object kpdf/xpdf/fofi/CMakeFiles/fofi-static.dir/FoFiBase.cc.o
cd /build/src/build/kpdf/xpdf/fofi && /usr/bin/c++   -DHAVE_CONFIG_H
-fpermissive  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-I/build/src/tdegraphics/kpdf/xpdf/fofi/..
-I/build/src/tdegraphics/kpdf/xpdf/fofi/../goo -I/build/src/build
-I/opt/qt3/include -I/usr/include/tqt    -fPIC -o
CMakeFiles/fofi-static.dir/FoFiBase.cc.o -c
/build/src/tdegraphics/kpdf/xpdf/fofi/FoFiBase.cc
/usr/bin/cmake -E cmake_progress_report /build/src/build/CMakeFiles
[ 32%] Building CXX object
kpdf/xpdf/fofi/CMakeFiles/fofi-static.dir/FoFiEncodings.cc.o
cd /build/src/build/kpdf/xpdf/fofi && /usr/bin/c++   -DHAVE_CONFIG_H
-fpermissive  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
-I/build/src/tdegraphics/kpdf/xpdf/fofi/..
-I/build/src/tdegraphics/kpdf/xpdf/fofi/../goo -I/build/src/build
-I/opt/qt3/include -I/usr/include/tqt    -fPIC -o
CMakeFiles/fofi-static.dir/FoFiEncodings.cc.o -c
/build/src/tdegraphics/kpdf/xpdf/fofi/FoFiEncodings.cc
/build/src/tdegraphics/kpdf/xpdf/fofi/FoFiEncodings.cc:279:1: warning:
deprecated conversion from string constant to 'char*' [-Wwrite-strings]
<snip more deprecation warning>

The CMake files could probably be changed to use xpdf libraries instead of the
statically built xpdf libraries from the GIT tree. Well above my coding grade...

-- 
David C. Rankin, J.D.,P.E.