mirror of
https://github.com/termux/termux-packages.git
synced 2025-01-31 21:22:27 +00:00
606c265a4c
Use new patches from http://archive.ubuntu.com/ubuntu/pool/universe/k/k2pdfopt/. Added ghostscript as dependency as it is required according to readme if OCR support is not compiled in. Closes https://github.com/termux/termux-packages/issues/11089
36 lines
967 B
Diff
36 lines
967 B
Diff
From 2fe647c08ace77f13bf1a25bca66bec74b527b16 Mon Sep 17 00:00:00 2001
|
|
From: yangfl <yangfl@users.noreply.github.com>
|
|
Date: Mon, 7 Jan 2019 16:48:40 +0800
|
|
Subject: [PATCH 03/10] CMakeLists.txt: no detect ghostscript at compile time
|
|
|
|
---
|
|
CMakeLists.txt | 12 +-----------
|
|
1 file changed, 1 insertion(+), 11 deletions(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index d4b21f3..06c8406 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -59,17 +59,7 @@ if(JASPER_FOUND)
|
|
set(HAVE_JASPER_LIB 1)
|
|
endif(JASPER_FOUND)
|
|
|
|
-# paths from willuslib/wgs.c
|
|
-find_program(GHOSTSCRIPT_EXECUTABLE gs
|
|
-# PATHS /usr/bin /usr/share/gs /usr/local/gs /opt/gs
|
|
-# /usr/share/gs* /usr/local/gs* /opt/gs*
|
|
-)
|
|
-if(GHOSTSCRIPT_EXECUTABLE)
|
|
- set(HAVE_GHOSTSCRIPT 1)
|
|
- message(STATUS "Found ghostscript executable")
|
|
-else()
|
|
- message(STATUS "Could NOT find ghostscript executable")
|
|
-endif(GHOSTSCRIPT_EXECUTABLE)
|
|
+set(HAVE_GHOSTSCRIPT 1)
|
|
|
|
# willus.h
|
|
# HAVE_GSL_LIB
|
|
--
|
|
2.28.0
|
|
|