[poppler] 5 commits - CMakeLists.txt glib/CMakeLists.txt qt4/src test/CMakeLists.txt utils/CMakeLists.txt

Albert Astals Cid aacid at kemper.freedesktop.org
Sun Jan 24 16:52:10 PST 2010


 CMakeLists.txt       |    9 +++++++++
 glib/CMakeLists.txt  |    9 +++++----
 qt4/src/Makefile.am  |    6 +++---
 test/CMakeLists.txt  |    4 ++--
 utils/CMakeLists.txt |    7 +++++++
 5 files changed, 26 insertions(+), 9 deletions(-)

New commits:
commit dea5aa37de079196fa916b1db9af782cf25045f9
Author: Maciej Mrozowski <reavertm at gmail.com>
Date:   Mon Jan 25 00:51:20 2010 +0000

    Install some more goo files

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5986611..a7ff535 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -361,8 +361,14 @@ if(ENABLE_XPDF_HEADERS)
     goo/gmem.h
     goo/gfile.h
     goo/FixedPoint.h
+    goo/ImgWriter.h
     goo/gstrtod.h
     DESTINATION include/poppler/goo)
+  if(PNG_FOUND)
+    install(FILES
+      goo/PNGWriter.h
+      DESTINATION include/poppler/goo)
+  endif(PNG_FOUND)
   install(FILES
     fofi/FoFiBase.h
     fofi/FoFiEncodings.h
@@ -374,6 +380,9 @@ if(ENABLE_XPDF_HEADERS)
     install(FILES
       poppler/JPEG2000Stream.h
       DESTINATION include/poppler)
+    install(FILES
+      goo/JpegWriter.h
+      DESTINATION include/poppler/goo)
   else(LIBOPENJPEG_FOUND)
     install(FILES
       poppler/JPXStream.h
commit 671a971c45a1e8ce8f6daade82117a9a137034d6
Author: Maciej Mrozowski <reavertm at gmail.com>
Date:   Mon Jan 25 00:48:31 2010 +0000

    do not install a private header

diff --git a/qt4/src/Makefile.am b/qt4/src/Makefile.am
index 7e982e7..c78f4ba 100644
--- a/qt4/src/Makefile.am
+++ b/qt4/src/Makefile.am
@@ -16,8 +16,7 @@ poppler_include_HEADERS =			\
 	poppler-form.h				\
 	poppler-optcontent.h			\
 	poppler-export.h			\
-	poppler-page-transition.h		\
-	poppler-page-transition-private.h
+	poppler-page-transition.h
 
 lib_LTLIBRARIES = libpoppler-qt4.la
 
@@ -49,7 +48,8 @@ libpoppler_qt4_la_SOURCES =			\
 	poppler-qiodeviceoutstream-private.h	\
 	poppler-optcontent-private.h		\
 	poppler-export.h			\
-	poppler-private.h
+	poppler-private.h			\
+	poppler-page-transition-private.h
 
 libpoppler_qt4_la_LIBADD = 			\
 	$(top_builddir)/poppler/libpoppler.la	\
commit 54c86e53a143a8f9d196e4bef2a733c6f00f6026
Author: Maciej Mrozowski <reavertm at gmail.com>
Date:   Mon Jan 25 00:33:07 2010 +0000

    Only build tests if told to

diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 478cb31..2c6ec36 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -10,7 +10,7 @@ if (ENABLE_SPLASH)
 
 endif (ENABLE_SPLASH)
 
-if (GTK_FOUND)
+if (GTK_FOUND AND BUILD_GTK_TESTS)
 
   add_definitions(${GTK2_CFLAGS})
 
@@ -41,7 +41,7 @@ if (GTK_FOUND)
 
   endif (HAVE_CAIRO)
 
-endif (GTK_FOUND)
+endif (GTK_FOUND AND BUILD_GTK_TESTS)
 
 set (pdf_fullrewrite_SRCS
   pdf-fullrewrite.cc
commit eb082274694aadb80dd16caea65d7f0a1adf8b46
Author: Maciej Mrozowski <reavertm at gmail.com>
Date:   Mon Jan 25 00:29:55 2010 +0000

    Only build demos and test if told so. Install poppler-layer.h

diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index 28cc1ab..206610b 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -14,9 +14,9 @@ endif (GDK_FOUND)
 
 configure_file(poppler-features.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/poppler-features.h @ONLY)
 
-if (GTK_FOUND)
+if (GTK_FOUND AND BUILD_GTK_TESTS)
   add_subdirectory(demo)
-endif (GTK_FOUND)
+endif (GTK_FOUND AND BUILD_GTK_TESTS)
 
 set(poppler_glib_public_headers
   poppler-action.h
@@ -26,6 +26,7 @@ set(poppler_glib_public_headers
   poppler-attachment.h
   poppler-form-field.h
   poppler-annot.h
+  poppler-layer.h
   poppler.h
 )
 
@@ -97,11 +98,11 @@ install(FILES
   DESTINATION include/poppler/glib)
 
 
-if (GDK_FOUND)
+if (GDK_FOUND AND BUILD_GTK_TESTS)
   set(test_poppler_glib_SRCS
     test-poppler-glib.cc
   )
   poppler_add_test(test-poppler-glib BUILD_GTK_TESTS ${test_poppler_glib_SRCS})
   target_link_libraries(test-poppler-glib poppler-glib ${GDK2_LIBRARIES})
-endif (GDK_FOUND)
+endif (GDK_FOUND AND BUILD_GTK_TESTS)
 
commit 73fcc310cd7d6ef435b453485c1c99a33f77212a
Author: Maciej Mrozowski <reavertm at gmail.com>
Date:   Mon Jan 25 00:29:09 2010 +0000

    install man pages

diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index f5d4911..111fc3b 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -17,6 +17,7 @@ if (ENABLE_SPLASH)
   add_executable(pdftoppm ${pdftoppm_SOURCES})
   target_link_libraries(pdftoppm ${common_libs})
   install(TARGETS pdftoppm DESTINATION bin)
+  install(FILES pdftoppm.1 DESTINATION share/man/man1)
 endif (ENABLE_SPLASH)
 
 # pdffonts
@@ -26,6 +27,7 @@ set(pdffonts_SOURCES ${common_srcs}
 add_executable(pdffonts ${pdffonts_SOURCES})
 target_link_libraries(pdffonts ${common_libs})
 install(TARGETS pdffonts DESTINATION bin)
+install(FILES pdffonts.1 DESTINATION share/man/man1)
 
 # pdfimages
 set(pdfimages_SOURCES ${common_srcs}
@@ -36,6 +38,7 @@ set(pdfimages_SOURCES ${common_srcs}
 add_executable(pdfimages ${pdfimages_SOURCES})
 target_link_libraries(pdfimages ${common_libs})
 install(TARGETS pdfimages DESTINATION bin)
+install(FILES pdfimages.1 DESTINATION share/man/man1)
 
 # pdfinfo
 set(pdfinfo_SOURCES ${common_srcs}
@@ -44,6 +47,7 @@ set(pdfinfo_SOURCES ${common_srcs}
 add_executable(pdfinfo ${pdfinfo_SOURCES})
 target_link_libraries(pdfinfo ${common_libs})
 install(TARGETS pdfinfo DESTINATION bin)
+install(FILES pdfinfo.1 DESTINATION share/man/man1)
 
 # pdftops
 set(pdftops_SOURCES ${common_srcs}
@@ -52,6 +56,7 @@ set(pdftops_SOURCES ${common_srcs}
 add_executable(pdftops ${pdftops_SOURCES})
 target_link_libraries(pdftops ${common_libs})
 install(TARGETS pdftops DESTINATION bin)
+install(FILES pdftops.1 DESTINATION share/man/man1)
 
 # pdftotext
 set(pdftotext_SOURCES ${common_srcs}
@@ -60,6 +65,7 @@ set(pdftotext_SOURCES ${common_srcs}
 add_executable(pdftotext ${pdftotext_SOURCES})
 target_link_libraries(pdftotext ${common_libs})
 install(TARGETS pdftotext DESTINATION bin)
+install(FILES pdftotext.1 DESTINATION share/man/man1)
 
 # pdftohtml
 set(pdftohtml_SOURCES ${common_srcs}
@@ -71,6 +77,7 @@ set(pdftohtml_SOURCES ${common_srcs}
 add_executable(pdftohtml ${pdftohtml_SOURCES})
 target_link_libraries(pdftohtml ${common_libs})
 install(TARGETS pdftohtml DESTINATION bin)
+install(FILES pdftohtml.1 DESTINATION share/man/man1)
 
 if (ENABLE_ABIWORD)
   # pdftoabw


More information about the poppler mailing list