[Lunar-commits] <moonbase> poppler: DEPENDS update and new CONFIGURE

Duncan Gibson engelsman at lunar-linux.org
Tue Jan 11 21:42:21 CET 2011


commit 0638d7332417f169e43bbcf3e0c8a8c71d44bca6
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date:   Tue Jan 11 21:42:21 2011 +0100

    poppler: DEPENDS update and new CONFIGURE
    
    changed lcms and cairo to opt deps and added missing opt deps
    
    the recommendations in DEPENDS are directly from popplers configure script
    
    I couldn't figure out, whether the options I included in CONFIGURE
    have dependencies. if so, please move them to the DEPENDS script.
    
    I toyed a little with the options to maybe figure out how to build
    epdfview, but haven't succeeded. maybe someone else finds out and adds
    a comment to the right options or so, would be nice.
---
 libs/poppler/CONFIGURE |   19 ++++++++++++
 libs/poppler/DEPENDS   |   73 ++++++++++++++++++++++++++++++++----------------
 2 files changed, 68 insertions(+), 24 deletions(-)

diff --git a/libs/poppler/CONFIGURE b/libs/poppler/CONFIGURE
new file mode 100644
index 0000000..930533a
--- /dev/null
+++ b/libs/poppler/CONFIGURE
@@ -0,0 +1,19 @@
+mquery SPLASH      "Build Splash graphics backend?"  \
+                   n                                 \
+                   "--enable-splash-output"          \
+                   "--disable-splash-output"
+
+mquery ABIWORD     "Build Abiword backend?"          \
+                   n                                 \
+                   "--enable-abiword-output"         \
+                   "--disable-abiword-output"
+
+mquery CPPWRAPPER  "Build poppler cpp wrapper?"      \
+                   n                                 \
+                   "--enable-poppler-cpp"            \
+                   "--disable-poppler-cpp"
+
+mquery UTILS       "Build command line utils?"       \
+                   n                                 \
+                   "--enable-utils"                  \
+                   "--disable-utils"
diff --git a/libs/poppler/DEPENDS b/libs/poppler/DEPENDS
index 3ed80a5..40e7a9c 100644
--- a/libs/poppler/DEPENDS
+++ b/libs/poppler/DEPENDS
@@ -1,32 +1,57 @@
-depends  cairo
-depends  lcms
+depends fontconfig
 
-optional_depends  "zlib"            \
-                  "--enable-zlib"   \
-                  "--disable-zlib"  \
-                  "for zlib compression support"
 
-optional_depends  "poppler-data" \
-                  ""             \
-                  ""             \
+optional_depends  "curl"                                            \
+                  "--enable-libcurl"                                \
+                  "--disable-libcurl"                               \
+                  "for curl based HTTP support"
+
+optional_depends  "zlib"                                            \
+                  "--enable-zlib"                                   \
+                  "--disable-zlib"                                  \
+                  "for zlib compression support (not totally safe)"
+
+optional_depends  "%JPEG"                                           \
+                  "--enable-libjpeg"                                \
+                  "--disable-libjpeg"                               \
+                  "for JPEG image support (recommended)"
+
+optional_depends  "openjpeg"                                        \
+                  "--enable-libopenjpeg"                            \
+                  "--disable-libopenjpeg"                           \
+                  "for JPEG 2000 image support (recommended)"
+
+optional_depends  "libpng"                                          \
+                  "--enable-libpng"                                 \
+                  "--disable-libpng"                                \
+                  "for PNG image support"
+
+optional_depends  "lcms"                                            \
+                  "--enable-cms"                                    \
+                  "--disable-cms"                                   \
+                  "for the color management system"
+
+optional_depends  "poppler-data"                                    \
+                  ""                                                \
+                  ""                                                \
                   "for support of additional file encodings"
 
-optional_depends  "qt4"                    \
-                   ""                      \
-                   "--disable-poppler-qt4" \
+optional_depends  "cairo"                                           \
+                  "--enable-cairo-output"                           \
+                  "--disable-cairo-output"                          \
+                  "for the cairo graphics backend"
+
+optional_depends  "qt4"                                             \
+                   "--enable-poppler-qt4"                           \
+                   "--disable-poppler-qt4"                          \
                    "for Qt4 wrapper support"
 
-optional_depends  "gtk+-2" \
-                  ""       \
-                  "--disable-gdk"  \
+optional_depends  "gtk+-2"                                          \
+                  "--enable-gdk"                                    \
+                  "--disable-gdk"                                   \
                   "for GTK wrapper support"
 
-optional_depends  "gobject-introspection" \
-                  ""  \
-                  "--enable-introspection=no"  \
-                  "for GTK introspection support"
-
-optional_depends  "curl"              \
-                  "--enable-libcurl"  \
-                  "--disable-libcurl" \
-                  "for curl support"
+optional_depends  "gobject-introspection"                           \
+                  "--enable-introspection"                          \
+                  "--disable-introspection"                         \
+                  "for introspection support"


More information about the Lunar-commits mailing list