summaryrefslogtreecommitdiff
path: root/poppler-21.01.0-glib-introspection.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-04 11:55:05 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-04 11:55:05 +0000
commit771d8006ba97b0d6d8cc0e11c70d4510d905eb3b (patch)
tree272ba40b5a0e4cd755b8c9d65f4dfca72c3d46be /poppler-21.01.0-glib-introspection.patch
parent89ee12ce6c850256d87ee377a924808f5c8e5783 (diff)
automatic import of poppler
Diffstat (limited to 'poppler-21.01.0-glib-introspection.patch')
-rw-r--r--poppler-21.01.0-glib-introspection.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/poppler-21.01.0-glib-introspection.patch b/poppler-21.01.0-glib-introspection.patch
new file mode 100644
index 0000000..6b82738
--- /dev/null
+++ b/poppler-21.01.0-glib-introspection.patch
@@ -0,0 +1,11 @@
+--- poppler-21.01.0/glib/CMakeLists.txt
++++ poppler-21.01.0/glib/CMakeLists.txt
+@@ -121,7 +121,7 @@ if (HAVE_INTROSPECTION AND BUILD_SHARED_
+
+ # General gir: Reset object-list for introspection & load tool args
+ set(INTROSPECTION_GIRS)
+- set(INTROSPECTION_SCANNER_ARGS "--add-include-path=${CMAKE_CURRENT_SOURCE_DIR}" "--warn-all")
++ set(INTROSPECTION_SCANNER_ARGS "--add-include-path=${CMAKE_CURRENT_SOURCE_DIR}" "--warn-all" "--sources-top-dirs=${CMAKE_SOURCE_DIR}" "--sources-top-dirs=${CMAKE_BINARY_DIR}")
+ set(INTROSPECTION_COMPILER_ARGS ${INTROSPECTION_COMPILER_ARGS} "--includedir=${CMAKE_CURRENT_SOURCE_DIR}")
+
+ # Poppler: Assign package to gir & export keys