GNU bug report logs - #71787
[PATCH 00/12] Update and unbundle ghostscript and mupdf

Previous Next

Package: guix-patches;

Reported by: David Elsing <david.elsing <at> posteo.net>

Date: Wed, 26 Jun 2024 19:26:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: David Elsing <david.elsing <at> posteo.net>
To: 71787 <at> debbugs.gnu.org
Cc: David Elsing <david.elsing <at> posteo.net>
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





This bug report was last modified 359 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.