Fixed FTBFS due to missing linked libraries.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/25/head
Michele Calgaro 5 years ago
parent 53f3b3207b
commit 86504f1214
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -30,6 +30,7 @@ endif( )
# freetype2
##### check for fontconfig ######################
if( BUILD_KDVI OR BUILD_KPDF OR BUILD_KSVG )
pkg_search_module( FREETYPE freetype2 )
if( FREETYPE_FOUND )
@ -38,3 +39,14 @@ if( BUILD_KDVI OR BUILD_KPDF OR BUILD_KSVG )
tde_message_fatal( "freetype2 is required, but was not found on your system" )
endif( )
endif( )
##### check for fontconfig ######################
if( BUILD_KPDF OR BUILD_KSVG )
pkg_search_module( FONTCONFIG fontconfig )
if( FONTCONFIG_FOUND )
set( HAVE_FONTCONFIG 1 CACHE INTERNAL "" FORCE )
else( )
message(FATAL_ERROR "fontconfig is required, but not found on your system" )
endif( )
endif( )

@ -51,7 +51,8 @@ tde_add_kpart( libkpdfpart AUTOMOC
LINK
kpdfconf-static kpdfui-static kpdfcore-static generatorkimgio-static
generatorpdf-static xpdf-static goo-static splash-static fofi-static
tdeutils-shared tdeprint-shared tdeparts-shared ${PAPER_LIBRARY} ${XFT_LIBRARIES}
tdeutils-shared tdeprint-shared tdeparts-shared
${PAPER_LIBRARY} ${XFT_LIBRARIES} ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
DEPENDENCIES kpdfconf-static
DESTINATION ${PLUGIN_INSTALL_DIR}
)

@ -29,4 +29,5 @@ tde_add_library( splash STATIC_PIC
SplashPath.cc SplashPattern.cc SplashScreen.cc SplashState.cc
SplashT1Font.cc SplashT1FontEngine.cc SplashT1FontFile.cc
SplashXPath.cc SplashXPathScanner.cc
LINK ${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
)

@ -33,4 +33,5 @@ tde_add_library( xpdf STATIC_PIC
Parser.cc PSOutputDev.cc SecurityHandler.cc SplashOutputDev.cc
Stream.cc JPXStream.cc TextOutputDev.cc UnicodeMap.cc
UnicodeTypeTable.cc XRef.cc
LINK ${FONTCONFIG_LIBRARIES}
)

@ -112,7 +112,7 @@ tde_add_library( kpovmodeler SHARED AUTOMOC
pmlibraryiconview.cpp pmlibraryobjectsearch.cpp pmpluginmanager.cpp
pmpartiface.skel
VERSION 0.0.0
LINK tdeparts-shared ${GLU_LIBRARIES} ${XMU_LIBRARIES}
LINK tdeparts-shared ${GLU_LIBRARIES} ${XMU_LIBRARIES} ${FREETYPE_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

@ -39,5 +39,6 @@ tde_add_library( ksvg SHARED
ksvgxrgbrender-static text2path-static ksvgart-static
LINK
tdehtml-shared ${LCMS_LIBRARY} ${ART_LIBRARIES} ${FRIBIDI_LIBRARIES}
${FREETYPE_LIBRARIES} ${FONTCONFIG_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

@ -53,12 +53,3 @@ else( )
tde_message_fatal( "fribidi is required, but was not found on your system" )
endif( )
##### check for fontconfig ######################
pkg_search_module( FONTCONFIG fontconfig )
if( NOT FONTCONFIG_FOUND )
message(FATAL_ERROR "\nfontconfig are required, but not found on your system" )
endif( NOT FONTCONFIG_FOUND )
set( HAVE_FONTCONFIG 1 CACHE INTERNAL "" FORCE )

@ -89,4 +89,5 @@ tde_add_library( ksvgdomimpl STATIC_PIC AUTOMOC
SVGFontFaceUriElementImpl.cc SVGDefinitionSrcElementImpl.cc
SVGHKernElementImpl.cc SVGVKernElementImpl.cc SVGMetadataElementImpl.cc
SVGForeignObjectElementImpl.cc svgpathparser.cc
LINK kjs-shared
)

Loading…
Cancel
Save