GNU bug report logs -
#67804
[PATCH] gnu: Add unpaper.
Previous Next
Reported by: Felix Gruber <felgru <at> posteo.net>
Date: Tue, 12 Dec 2023 20:40:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Sat, 23 Dec 2023 11:15:22 +0100
with message-id <87jzp56x8l.fsf <at> gnu.org>
and subject line Re: [bug#67804] [PATCH] gnu: Add unpaper.
has caused the debbugs.gnu.org bug report #67804,
regarding [PATCH] gnu: Add unpaper.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
67804: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67804
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/pdf.scm (unpaper): New variable.
Change-Id: Ic71c5b62dabdd18e617e499417afb1c9e112520b
---
gnu/packages/pdf.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 874076effb..644a4617a6 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
;;; Copyright © 2022 Paul A. Patience <paul <at> apatience.com>
;;; Copyright © 2022 Petr Hodina <phodina <at> protonmail.com>
+;;; Copyright © 2023 Felix Gruber <felgru <at> posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -107,6 +108,7 @@ (define-module (gnu packages pdf)
#:use-module (gnu packages time)
#:use-module (gnu packages tcl)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages webkit)
#:use-module (gnu packages xdisorg)
@@ -976,6 +978,34 @@ (define-public qpdfview
SyncTeX support, and rudimentary support for annotations and forms.")
(license license:gpl2+)))
+(define-public unpaper
+ (package
+ (name "unpaper")
+ (version "7.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.flameeyes.com/files/unpaper-"
+ version ".tar.xz"))
+ (sha256
+ (base32 "103awjdl2qrzi0qc32hi8zvwf04r5ih5jaw8rg8ij9y24szznx95"))))
+ (native-inputs
+ (list pkg-config python-sphinx))
+ (inputs
+ (list discount ffmpeg))
+ (build-system meson-build-system)
+ (home-page "https://www.flameeyes.com/projects/unpaper")
+ (synopsis "post-processing tool for scanned pages")
+ (description "@command{unpaper} is a post-processing tool for
+scanned sheets of paper, especially for book pages that have been
+scanned from previously created photocopies.
+
+Its main purpose is to make scanned book pages better readable on screen
+after conversion to PDF. Additionally, unpaper might be useful to
+enhance the quality of scanned pages before performing
+@acronym{OCR, optical character recognition}.")
+ (license license:gpl2)))
+
(define-public xournal
(package
(name "xournal")
base-commit: 58bbb38c5bd2e42aab9e9408d8c9d8da3409f178
--
2.43.0
[Message part 3 (message/rfc822, inline)]
Felix Gruber <felgru <at> posteo.net> skribis:
> * gnu/packages/pdf.scm (unpaper): New variable.
>
> Change-Id: Ic71c5b62dabdd18e617e499417afb1c9e112520b
Applied, thanks!
This bug report was last modified 1 year and 152 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.