Be more restrictive in requiring pdfopt

This commit is contained in:
Mario Ceresa 2013-04-19 20:58:22 +02:00
parent 883629f393
commit 52c1ce9df3

View File

@ -29,7 +29,6 @@ BuildRequires: expat-devel
BuildRequires: fontconfig-devel
BuildRequires: graphviz
BuildRequires: gl2ps-devel
BuildRequires: ghostscript
BuildRequires: libogg-devel
BuildRequires: libtheora-devel
BuildRequires: libuuid-devel
@ -39,6 +38,7 @@ BuildRequires: mysql-devel
BuildRequires: openssl-devel
BuildRequires: openjpeg-devel
BuildRequires: /usr/bin/pdflatex
BuildRequires: /usr/bin/pdfopt
BuildRequires: poppler-devel
BuildRequires: python2-devel
BuildRequires: postgresql-devel
@ -133,7 +133,8 @@ rm -rf Utilities/wxWidgets
-DGDCM_USE_SYSTEM_OPENSSL=ON \
-DGDCM_USE_JPEGLS=ON \
-DGDCM_USE_SYSTEM_JPEGLS=ON \
-DGDCM_USE_SYSTEM_POPPLER=ON .
-DGDCM_USE_SYSTEM_POPPLER=ON \
-DGDCM_PDFOPT_EXECUTABLE=/usr/bin/pdfopt .
#Cannot build wrap_java:
# -DGDCM_VTK_JAVA_JAR:PATH=/usr/share/java/vtk.jar no found!