public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/clara/files/, profiles/, app-text/clara/
@ 2018-12-11 13:10 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2018-12-11 13:10 UTC (permalink / raw
  To: gentoo-commits

commit:     d8003b83c429344543fd08e79275d149718da26f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 11 13:08:27 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 13:10:06 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8003b83

app-text/clara: Remove last-rited pkg

Closes: https://bugs.gentoo.org/665046
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-text/clara/Manifest                            |  1 -
 app-text/clara/clara-20031214-r1.ebuild            | 54 -------------
 app-text/clara/clara-20031214.ebuild               | 55 -------------
 .../clara/files/clara-20031214-debian-vararg.patch | 90 ----------------------
 app-text/clara/files/clara_open_mode.patch         | 20 -----
 app-text/clara/metadata.xml                        |  5 --
 profiles/package.mask                              |  9 ---
 7 files changed, 234 deletions(-)

diff --git a/app-text/clara/Manifest b/app-text/clara/Manifest
deleted file mode 100644
index 869d2b4637d..00000000000
--- 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 758415dfd6a..00000000000
--- 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 e1143a5a99b..00000000000
--- 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 570bc401899..00000000000
--- 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 3f73f466ab8..00000000000
--- 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 6f49eba8f49..00000000000
--- 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>

diff --git a/profiles/package.mask b/profiles/package.mask
index 1228bcf469c..51e7e7741ef 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -263,11 +263,6 @@ dev-db/couchdb
 # Unkeyworded since 2008, non-installable (#664680). Removal in a month.
 sys-fs/devfsd
 
-# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
-# Orphan, no reverse deps, dead since 2003 (#665046, #521242). Removal in a
-# month.
-app-text/clara
-
 # Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
 # Merged into >=media-tv/mythtv-29, bug #665924. Removal in a month.
 media-plugins/mythplugins
@@ -282,10 +277,6 @@ dev-python/jenkins-webapi
 media-plugins/vdr-image
 media-plugins/vdr-picselshow
 
-# Pacho Ramos <pacho@gentoo.org> (11 Nov 2018)
-# Dead for years, no reverse deps (#665046). Removal in a month.
-app-text/clara
-
 # Mike Gilbert <floppym@gentoo.org> (10 Nov 2018)
 # Open bugs and no Gentoo maintainer.
 # Removal in 30 days.


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-11 13:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-11 13:10 [gentoo-commits] repo/gentoo:master commit in: app-text/clara/files/, profiles/, app-text/clara/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox