[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71787] [PATCH 06/12] gnu: Add ghostscript/tesseract.
From: |
David Elsing |
Subject: |
[bug#71787] [PATCH 06/12] gnu: Add ghostscript/tesseract. |
Date: |
Wed, 26 Jun 2024 19:26:59 +0000 |
* gnu/packages/ghostscript.scm (ghostscript/tesseract): New variable.
---
gnu/packages/ghostscript.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/ghostscript.scm b/gnu/packages/ghostscript.scm
index 2bc168db68..8c4cccb06e 100644
--- a/gnu/packages/ghostscript.scm
+++ b/gnu/packages/ghostscript.scm
@@ -36,6 +36,7 @@ (define-module (gnu packages ghostscript)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages image)
#:use-module (gnu packages man)
+ #:use-module (gnu packages ocr)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -428,6 +429,12 @@ (define-public ghostscript/cups
(inputs (modify-inputs (package-inputs ghostscript)
(prepend cups-minimal)))))
+(define-public ghostscript/tesseract
+ (package/inherit ghostscript
+ (name (string-append (package-name ghostscript) "-with-tesseract"))
+ (inputs (modify-inputs (package-inputs ghostscript)
+ (prepend tesseract-ocr)))))
+
(define-public ijs
(package
(name "ijs")
--
2.45.1
- [bug#71787] [PATCH 01/12] gnu: Add lcms2mt., (continued)
- [bug#71787] [PATCH 01/12] gnu: Add lcms2mt., David Elsing, 2024/06/26
- [bug#71787] [PATCH 10/12] gnu: Add python-svglib., David Elsing, 2024/06/26
- [bug#71787] [PATCH 04/12] gnu: ijs: Remove unneeded files and build shared library., David Elsing, 2024/06/26
- [bug#71787] [PATCH 09/12] gnu: Add python-pymupdf., David Elsing, 2024/06/26
- [bug#71787] [PATCH 05/12] gnu: ghostscript: Unbundle dependencies and remove non-free parts., David Elsing, 2024/06/26
- [bug#71787] [PATCH 02/12] gnu: Add memento., David Elsing, 2024/06/26
- [bug#71787] [PATCH 08/12] gnu: Add mupdf/tesseract., David Elsing, 2024/06/26
- [bug#71787] [PATCH 11/12] gnu: Add python-rst2pdf., David Elsing, 2024/06/26
- [bug#71787] [PATCH 03/12] gnu: Add extract., David Elsing, 2024/06/26
- [bug#71787] [PATCH 07/12] gnu: mupdf: Update to 1.24.4 and unbundle remaining dependencies., David Elsing, 2024/06/26
- [bug#71787] [PATCH 06/12] gnu: Add ghostscript/tesseract.,
David Elsing <=
- [bug#71787] [PATCH 12/12] gnu: Add ghostscript-documentation., David Elsing, 2024/06/26