From 52c1ce9df3a706c214e377f265c32e5c4e5d1ecc Mon Sep 17 00:00:00 2001 From: Mario Ceresa Date: Fri, 19 Apr 2013 20:58:22 +0200 Subject: [PATCH] Be more restrictive in requiring pdfopt --- gdcm.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gdcm.spec b/gdcm.spec index f31c8bd..d9a69fe 100644 --- a/gdcm.spec +++ b/gdcm.spec @@ -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!