summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-12-11 14:08:27 +0100
committerMichał Górny <mgorny@gentoo.org>2018-12-11 14:10:06 +0100
commitd8003b83c429344543fd08e79275d149718da26f (patch)
tree8bec60e66204ea83f970a3c4abcbeca34d5ce76e /app-text
parentapp-misc/fujiplay: Remove last-rited pkg (diff)
downloadgentoo-d8003b83c429344543fd08e79275d149718da26f.tar.gz
gentoo-d8003b83c429344543fd08e79275d149718da26f.tar.bz2
gentoo-d8003b83c429344543fd08e79275d149718da26f.zip
app-text/clara: Remove last-rited pkg
Closes: https://bugs.gentoo.org/665046 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/clara/Manifest1
-rw-r--r--app-text/clara/clara-20031214-r1.ebuild54
-rw-r--r--app-text/clara/clara-20031214.ebuild55
-rw-r--r--app-text/clara/files/clara-20031214-debian-vararg.patch90
-rw-r--r--app-text/clara/files/clara_open_mode.patch20
-rw-r--r--app-text/clara/metadata.xml5
6 files changed, 0 insertions, 225 deletions
diff --git a/app-text/clara/Manifest b/app-text/clara/Manifest
deleted file mode 100644
index 869d2b4637d5..000000000000
--- a/app-text/clara/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST clara-20031214.tar.gz 451539 BLAKE2B beed8b3a199825a8d8699c10b6a08c4d71fbafa3f3d2ebbbff6b13eafa35b4f38bacca35209039a93f0d31a993987a8773371b43440a1a0fbd61c40c455ec1f9 SHA512 260d710132a3903d71b6c4c0885ac1709b60d520861e3dcd5e4b75a3bf5627549c94423670be08245e7a9db6a870a93a9526c8d318fadaddcce00cbf02985f49
diff --git a/app-text/clara/clara-20031214-r1.ebuild b/app-text/clara/clara-20031214-r1.ebuild
deleted file mode 100644
index 758415dfd6af..000000000000
--- a/app-text/clara/clara-20031214-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="An OCR (Optical Character Recognition) program"
-SRC_URI="mirror://gentoo/${P}.tar.gz"
-HOMEPAGE="http://www.claraocr.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86 ~ppc-macos ~sparc-solaris"
-IUSE=""
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-# The test provided by clara doesn't seem to make any sense. It just
-# calls the binary with an unsupported option, which results in an
-# error.
-RESTRICT="test"
-
-src_prepare() {
- sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
- epatch "${FILESDIR}/${PN}_open_mode.patch"
- epatch "${FILESDIR}/${P}-debian-vararg.patch"
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die
- emake doc || die
-}
-
-src_install() {
- dobin ${PN} selthresh
- doman doc/${PN}*.1 selthresh.1
-
- dodoc ANNOUNCE CHANGELOG doc/FAQ
- insinto /usr/share/doc/${P}
- doins imre.pbm
-
- dohtml doc/*.html
-}
-
-pkg_postinst() {
- elog
- elog "Please note that Clara OCR has to be trained to recognize text,"
- elog "without a training session it simply won't work. Have a look at"
- elog "the docs in /usr/share/doc/${P}/html/ to get more "
- elog "info about the training procedure."
- elog
-}
diff --git a/app-text/clara/clara-20031214.ebuild b/app-text/clara/clara-20031214.ebuild
deleted file mode 100644
index e1143a5a99b2..000000000000
--- a/app-text/clara/clara-20031214.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=0
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="An OCR (Optical Character Recognition) program"
-SRC_URI="mirror://gentoo/clara-20031214.tar.gz"
-HOMEPAGE="http://www.claraocr.org/"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86 ~ppc-macos ~sparc-solaris"
-IUSE=""
-
-RDEPEND="x11-libs/libX11"
-DEPEND="${RDEPEND}"
-
-# The test provided by clara doesn't seem to make any sense. It just
-# calls the binary with an unsupported option, which results in an
-# error.
-RESTRICT="test"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i -re "s/(C|LD)FLAGS =/\1FLAGS +=/" Makefile
- epatch "${FILESDIR}/clara_open_mode.patch"
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" || die
- emake doc || die
-}
-
-src_install() {
- dobin clara selthresh
- doman doc/clara*.1 selthresh.1
-
- dodoc ANNOUNCE CHANGELOG doc/FAQ
- insinto /usr/share/doc/${P}
- doins imre.pbm
-
- dohtml doc/*.html
-}
-
-pkg_postinst() {
- elog
- elog "Please note that Clara OCR has to be trained to recognize text,"
- elog "without a training session it simply won't work. Have a look at"
- elog "the docs in /usr/share/doc/${P}/html/ to get more "
- elog "info about the training procedure."
- elog
-}
diff --git a/app-text/clara/files/clara-20031214-debian-vararg.patch b/app-text/clara/files/clara-20031214-debian-vararg.patch
deleted file mode 100644
index 570bc4018993..000000000000
--- a/app-text/clara/files/clara-20031214-debian-vararg.patch
+++ /dev/null
@@ -1,90 +0,0 @@
---- clara-20031214.orig/clara.c
-+++ clara-20031214/clara.c
-@@ -751,11 +751,12 @@
- s[128] = 0;
- logmsg(s);
-
-- if (!trace)
-- return;
-- va_start(args,m);
-- vfprintf(stderr,m,args);
-- fprintf(stderr,"\n");
-+ if (trace) {
-+ vfprintf(stderr,m,args);
-+ fprintf(stderr,"\n");
-+ }
-+
-+ va_end(args);
- }
-
- /*
-@@ -775,10 +776,12 @@
- logmsg(s);
-
- /* send to stderr if requested */
-- if (!debug)
-- return;
-- vfprintf(stderr,m,args);
-- fprintf(stderr,"\n");
-+ if (debug) {
-+ vfprintf(stderr,m,args);
-+ fprintf(stderr,"\n");
-+ }
-+
-+ va_end(args);
- }
-
- /*
-@@ -797,9 +800,10 @@
- s[128] = 0;
- logmsg(s);
-
-- va_start(args,m);
- vfprintf(stderr,m,args);
- fprintf(stderr,"\n");
-+
-+ va_end(args);
- }
-
- /* (devel)
---- clara-20031214.orig/event.c
-+++ clara-20031214/event.c
-@@ -638,6 +638,8 @@
- }
- }
-
-+ va_end(args);
-+
- /*
- printf("request (priority %d, mclip=%d, redraw=%d) to draw the message \"%s\"\n",f,mclip,redraw_stline,s);
- */
---- clara-20031214.orig/html.c
-+++ clara-20031214/html.c
-@@ -1548,11 +1548,12 @@
- va_list args;
- int n=0,f;
-
-- va_start(args, fmt);
- for (f=0; f==0; ) {
-
- /* try to write */
-+ va_start(args, fmt);
- n = vsnprintf(*t+*top+1,*sz-*top-1,fmt,args);
-+ va_end(args);
-
- /*
- Some implementations of vsnprintf return -1 when
-@@ -1589,11 +1590,12 @@
- va_list args;
- int n=0,f;
-
-- va_start(args, fmt);
- for (f=0; f==0; ) {
-
- /* try to write */
-+ va_start(args, fmt);
- n = vsnprintf(text+topt+1,textsz-topt-1,fmt,args);
-+ va_end(args);
-
- /*
- Some implementations of vsnprintf return -1 when
diff --git a/app-text/clara/files/clara_open_mode.patch b/app-text/clara/files/clara_open_mode.patch
deleted file mode 100644
index 3f73f466ab8c..000000000000
--- a/app-text/clara/files/clara_open_mode.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- pgmblock.c 2002-04-29 14:26:13.000000000 +0000
-+++ pgmblock.c 2009-03-05 02:51:43.000000000 +0000
-@@ -161,7 +161,7 @@
-
- printf("%d rare pixels (%1.4f)\n",t,((float)t)/(w*h));
-
-- F = open("map",O_WRONLY|O_CREAT);
-+ F = open("map",O_WRONLY|O_CREAT, 0644);
- write(F,m,h*bpl);
- write(F,map,256);
- close(F);
-@@ -197,7 +197,7 @@
- {
- int i,j,F;
-
-- F = open("map",O_RDONLY|O_CREAT);
-+ F = open("map",O_RDONLY|O_CREAT, 0644);
- read(F,m,h*bpl);
- read(F,map,256);
- close(F);
diff --git a/app-text/clara/metadata.xml b/app-text/clara/metadata.xml
deleted file mode 100644
index 6f49eba8f496..000000000000
--- a/app-text/clara/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>