Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37580845
en ru br
ALT Linux repositórios
S:4.04-alt1
5.0: 3.02-alt4
4.1: 3.02-alt4.M41.1
4.0: 3.02-alt3
3.0: 3.00-alt5pl3
+backports:3.01-alt0.M30.2

Group :: Escritórios
RPM: xpdf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: xpdf-automagic.patch
Download


--- xpdf-4.01.orig/cmake-config.txt	2019-02-18 21:24:19.000000000 +0300
+++ xpdf-4.01/cmake-config.txt	2019-03-10 20:59:59.769610445 +0300
@@ -93,6 +93,10 @@
   option(XPDFWIDGET_PRINTING "include printing support in XpdfWidget" ON)
 endif ()
 
+#--- disable lib dep automagick ---
+option(WITH_LIBPAPER "Enable libpaper support for getting paper size preferences" ON)
+option(WITH_LIBPNG "Enable png support via libpng" ON)
+
 #--- check for various library functions
 check_function_exists(mkstemp HAVE_MKSTEMP)
 check_function_exists(mkstemps HAVE_MKSTEMPS)
@@ -182,7 +186,9 @@
 find_package(ZLIB)
 
 #--- look for libpng
+if (WITH_LIBPNG)
 find_package(PNG)
+endif ()
 
 
 
@@ -239,10 +245,12 @@
 endif()
 
 #--- look for libpaper
+if (WITH_LIBPAPER)
 find_library(PAPER_LIBRARY
              NAMES paper libpaper
              PATH_SUFFIXES lib64 lib
 )
+endif ()
 if (PAPER_LIBRARY)
   set(HAVE_PAPER_H TRUE)
 else ()
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009