[poppler] glib/CMakeLists.txt glib/Makefile.am

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sat Feb 4 03:16:20 PST 2012


 glib/CMakeLists.txt |    2 +-
 glib/Makefile.am    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit df89de61b7d01f0f816e773cdb809faa3053e962
Author: Hib Eris <hib at hiberis.nl>
Date:   Tue Jan 31 20:01:30 2012 +0100

    glib: Exclude poppler-private.h from introspection files
    
    Fixes bug #45455.

diff --git a/glib/CMakeLists.txt b/glib/CMakeLists.txt
index bc46b4d..0addd86 100644
--- a/glib/CMakeLists.txt
+++ b/glib/CMakeLists.txt
@@ -106,7 +106,7 @@ if (HAVE_INTROSPECTION)
   set(INTROSPECTION_SCANNER_ARGS "--add-include-path=${CMAKE_CURRENT_SOURCE_DIR}")
   set(INTROSPECTION_COMPILER_ARGS "--includedir=${CMAKE_CURRENT_SOURCE_DIR}")
 
-  set(introspection_files ${poppler_glib_SRCS} ${poppler_glib_public_headers} poppler-private.h)
+  set(introspection_files ${poppler_glib_SRCS} ${poppler_glib_public_headers})
   set(Poppler_0_18_gir "poppler-glib")
   set(Poppler_0_18_gir_INCLUDES GObject-2.0 cairo-1.0)
   get_directory_property(_tmp_includes INCLUDE_DIRECTORIES)
diff --git a/glib/Makefile.am b/glib/Makefile.am
index 5c357bc..8aa2724 100644
--- a/glib/Makefile.am
+++ b/glib/Makefile.am
@@ -91,7 +91,7 @@ INTROSPECTION_GIRS =
 INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir)
 INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir)
 
-introspection_files = $(libpoppler_glib_la_SOURCES) $(poppler_glib_include_HEADERS) $(nodist_poppler_glib_include_HEADERS)
+introspection_files = $(filter-out poppler-private.h, $(libpoppler_glib_la_SOURCES)) $(poppler_glib_include_HEADERS) $(nodist_poppler_glib_include_HEADERS)
 Poppler-0.18.gir: libpoppler-glib.la
 Poppler_0_18_gir_INCLUDES = GObject-2.0 cairo-1.0
 Poppler_0_18_gir_CFLAGS = $(INCLUDES) -I$(top_builddir)


More information about the poppler mailing list