summaryrefslogtreecommitdiffstats
path: root/redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
committerFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch')
-rw-r--r--redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch b/redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch
new file mode 100644
index 000000000..39a151d64
--- /dev/null
+++ b/redhat/tdegraphics/kdegraphics-3.5.13-fix_poppler_support.patch
@@ -0,0 +1,27 @@
+--- kdegraphics/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake.ORI 2012-05-06 19:23:47.668667462 +0200
++++ kdegraphics/kfile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake 2012-05-06 19:21:43.311268611 +0200
+@@ -1,3 +1,13 @@
++# Poppler
++if( BUILD_KPDF )
++ pkg_search_module( POPPLER poppler )
++ if( POPPLER_FOUND )
++ set( HAVE_POPPLER 1 )
++ else( )
++ tde_message_fatal( "poppler is required, but was not found on your system" )
++ endif( )
++endif( )
++
+ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+ set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS})
+ set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} "-lpoppler" )
+--- kdegraphics/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt.ORI 2012-05-06 19:24:31.405752482 +0200
++++ kdegraphics/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt 2012-05-06 19:22:12.544657204 +0200
+@@ -21,7 +21,7 @@
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/kfile-plugins/dependencies/poppler-tqt
+- /usr/include/poppler
++ ${POPPLER_INCLUDE_DIRS}
+ )
+
+ link_directories(