pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

unpaper: remove, imported to pkgsrc/graphics



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Mon Nov 2 20:52:49 2026 +0100
Changeset:	222203231f466a82b9d9846ed0649b81ea48f883

Modified Files:
	Makefile
Removed Files:
	unpaper/DESCR
	unpaper/Makefile
	unpaper/PLIST
	unpaper/distinfo
	unpaper/patches/patch-unpaper.c

Log Message:
unpaper: remove, imported to pkgsrc/graphics

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=222203231f466a82b9d9846ed0649b81ea48f883

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  1 -
 unpaper/DESCR                   |  4 ----
 unpaper/Makefile                | 23 -----------------------
 unpaper/PLIST                   |  3 ---
 unpaper/distinfo                |  6 ------
 unpaper/patches/patch-unpaper.c | 15 ---------------
 6 files changed, 52 deletions(-)

diffs:
diff --git a/Makefile b/Makefile
index 756630fb3b..419cf77c1e 100644
--- a/Makefile
+++ b/Makefile
@@ -5959,7 +5959,6 @@ SUBDIR+=	universalcodegrep
 SUBDIR+=	unix2tcp
 SUBDIR+=	unmo3
 SUBDIR+=	unnethack
-SUBDIR+=	unpaper
 SUBDIR+=	unrealtournament-server
 SUBDIR+=	up
 SUBDIR+=	uperf
diff --git a/unpaper/DESCR b/unpaper/DESCR
deleted file mode 100644
index 095d709f32..0000000000
--- a/unpaper/DESCR
+++ /dev/null
@@ -1,4 +0,0 @@
-unpaper is a post-processing tool for scanned sheets of paper,
-especially for book-pages scanned from previously created photocopies.
-unpaper tries to remove dark edges, corrects the rotation ("deskew"),
-and aligns the centering of pages.
diff --git a/unpaper/Makefile b/unpaper/Makefile
deleted file mode 100644
index f3ff555eb4..0000000000
--- a/unpaper/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.3 2012/11/12 16:26:52 othyro Exp $
-
-DISTNAME=	unpaper-7.0.0
-CATEGORIES=	textproc
-MASTER_SITES=	https://www.flameeyes.eu/files/
-EXTRACT_SUFX=	.tar.xz
-
-MAINTAINER=	kamelderouiche%yahoo.com@localhost
-HOMEPAGE=	https://www.flameeyes.eu/projects/unpaper
-COMMENT=	Post-processing scanned and photocopied book pages
-LICENSE=	gnu-gpl-v2
-
-TOOL_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
-
-USE_TOOLS+=	pkg-config
-
-pre-configure:
-	${LN} -s ${PREFIX}/bin/sphinx-build-${PYVERSSUFFIX} ${TOOLS_DIR}/bin/sphinx-build
-
-.include "../../devel/meson/build.mk"
-.include "../../lang/python/tool.mk"
-.include "../../multimedia/ffmpeg8/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/unpaper/PLIST b/unpaper/PLIST
deleted file mode 100644
index 221bde5df9..0000000000
--- a/unpaper/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD$
-bin/unpaper
-man/man1/unpaper.1
diff --git a/unpaper/distinfo b/unpaper/distinfo
deleted file mode 100644
index 35210c3a0f..0000000000
--- a/unpaper/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD$
-
-BLAKE2s (unpaper-7.0.0.tar.xz) = 43744fffacaa08d2507c760c725e1918f1469110cf04984e2444cdfb50837179
-SHA512 (unpaper-7.0.0.tar.xz) = 58da969e773bf16ffee98b96f903ac5347f66d9a93c63bdb9131f5d45f4d7973c09f364ac2f27f8cb61f75de0421c6b01aa248fa9619fbdbde30fcebc76aa484
-Size (unpaper-7.0.0.tar.xz) = 4430572 bytes
-SHA1 (patch-unpaper.c) = e8b25f519ebe4da132edf35f3d203a00f4ce9e8e
diff --git a/unpaper/patches/patch-unpaper.c b/unpaper/patches/patch-unpaper.c
deleted file mode 100644
index 714e816559..0000000000
--- a/unpaper/patches/patch-unpaper.c
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD$
-
-NetBSD does not provide getopt_long_only.
-
---- unpaper.c.orig	2026-10-29 16:55:42.846529708 +0000
-+++ unpaper.c
-@@ -357,7 +357,7 @@ int main(int argc, char *argv[]) {
-         {"interpolate", required_argument, NULL, 0xcd},
-         {NULL, no_argument, NULL, 0}};
- 
--    c = getopt_long_only(argc, argv, "hVl:S:x::n::M:s:z:p:m:W:B:w:b:Tt:qv",
-+    c = getopt_long(argc, argv, "hVl:S:x::n::M:s:z:p:m:W:B:w:b:Tt:qv",
-                          long_options, &option_index);
-     if (c == -1)
-       break;


Home | Main Index | Thread Index | Old Index