New commits:
commit e354746b8723732bd9afc0ec06e2fb4130bdc41d
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
Revert "poppler - new build process"
This reverts commit afb0ba7b7c81224301de14b847167922225923a6.
Stop adding extra dependencies which aren't really needed to build
poppler.
I'm tired of your forcing of rc branches of the spells, and now you wanna
make
me install everything I don't really need to build something. So I
_don't_ need
cmake to build poppler. If you use KDE that doesn't mean everyone else
shold do
the same. I don't wanna see my box overbloated by the useless spells.
[23:50'50] --- You are now talking on #poppler
[23:50'50] --- Topic for #poppler is Poppler 0.10.2 is out, test it! http://poppler.freedesktop.org
[23:50'50] --- Topic for #poppler set by tsdgeos at Wed Dec 10 02:37:12
2008
[23:50'50] --- Channel #poppler modes: +sn
[23:50'57] Stealth> hello
[23:51'11] Stealth> is cmake a preffered build system for poppler?
[23:56'04] tsdgeos> it's a buildsystem you can use
The keyword is _can_.
diff --git a/graphics-libs/poppler/BUILD b/graphics-libs/poppler/BUILD
index f8344d7..0031aed 100755
--- a/graphics-libs/poppler/BUILD
+++ b/graphics-libs/poppler/BUILD
@@ -1,4 +1,15 @@
-if is_depends_enabled $SPELL qt4;then
- export CMAKE_PREFIX_PATH=$INSTALL_ROOT/usr/bin/qt4
-fi&&
-cmake_build
+if [[ $A4PAPER == y ]]; then
+ OPTS="$OPTS --enable-a4-paper"
+fi &&
+
+if [[ $PSOPI == y ]]; then
+ OPTS="$OPTS --enable-opi"
+fi &&
+
+OPTS="--disable-utils --enable-xpdf-headers $OPTS" &&
+
+if is_depends_enabled $SPELL qt4; then
+ export PATH="$INSTALL_ROOT/usr/bin/qt4:$PATH"
+fi &&
+
+default_build
diff --git a/graphics-libs/poppler/CONFIGURE b/graphics-libs/poppler/CONFIGURE
new file mode 100755
index 0000000..7586280
--- /dev/null
+++ b/graphics-libs/poppler/CONFIGURE
@@ -0,0 +1,2 @@
+config_query A4PAPER "Set A4 as the paper size instead of Letter for
PostScript?" n &&
+config_query PSOPI "Include support for OPI postscript comments?" n
diff --git a/graphics-libs/poppler/DEPENDS b/graphics-libs/poppler/DEPENDS
index 423a4f4..db20592 100755
--- a/graphics-libs/poppler/DEPENDS
+++ b/graphics-libs/poppler/DEPENDS
@@ -1,18 +1,47 @@
depends g++ &&
-depends cmake &&
-depends libxml2 &&
-depends freetype2 &&
depends fontconfig &&
depends poppler-data &&