Gentoo Archives: gentoo-commits

From: Andrey Grozin <grozin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/getxbook/, app-text/getxbook/files/
Date: Sat, 29 Feb 2020 05:57:50
Message-Id: 1582955847.16daf60feaef9c029118c2e9896f8addf274420b.grozin@gentoo
1 commit: 16daf60feaef9c029118c2e9896f8addf274420b
2 Author: Andrey Grozin <grozin <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 29 05:57:27 2020 +0000
4 Commit: Andrey Grozin <grozin <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 29 05:57:27 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16daf60f
7
8 app-text/getxbook: clean old, drop myself as a maintainer
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Andrey Grozin <grozin <AT> gentoo.org>
12
13 app-text/getxbook/Manifest | 1 -
14 app-text/getxbook/files/getxbook-1.0.patch | 42 ----------------------------
15 app-text/getxbook/getxbook-1.0-r1.ebuild | 45 ------------------------------
16 app-text/getxbook/metadata.xml | 5 +---
17 4 files changed, 1 insertion(+), 92 deletions(-)
18
19 diff --git a/app-text/getxbook/Manifest b/app-text/getxbook/Manifest
20 index 57b8d5959cd..735a008f4bd 100644
21 --- a/app-text/getxbook/Manifest
22 +++ b/app-text/getxbook/Manifest
23 @@ -1,2 +1 @@
24 -DIST getxbook-1.0.tar.bz2 22314 BLAKE2B cc3b652d4c580c8a5f41a0fc58c2d7cfc9e783fe2c159fb871c0a89d8246f65f9601265e8a7b51c593ef27a726b07faa84a9d2333f2d448b1661d1dad2e48e0f SHA512 df912e67ddd823e4b1ce1539522ef0804f74758aa27baa0c568790859fac97d40dbc8f574be936fdf3ba8a1135bcc3d9af1bedf0205353d7a12f8993393fe941
25 DIST getxbook-1.2.tar.xz 23776 BLAKE2B 327a35a73a5e29eefcf3f87cd8ba1237da5d045e3ef009d3ae708797fa78e6d844baa4cba2e8ff021d71951ca100e087d69a98dac3ddce953afa549b63e7e1f8 SHA512 fec397d4fd979421658f7ef9535f3c25369c8bd4ea2f9adcd719f760fd01265ed789f9eca34374b245c24acd485b951c91fa92a36d5b6401a0e0bf4db746788d
26
27 diff --git a/app-text/getxbook/files/getxbook-1.0.patch b/app-text/getxbook/files/getxbook-1.0.patch
28 deleted file mode 100644
29 index 50da6328bf8..00000000000
30 --- a/app-text/getxbook/files/getxbook-1.0.patch
31 +++ /dev/null
32 @@ -1,42 +0,0 @@
33 - Makefile | 17 ++++++++++++-----
34 - 1 file changed, 12 insertions(+), 5 deletions(-)
35 -
36 -diff --git a/Makefile b/Makefile
37 -index f6507b5..d080f2b 100644
38 ---- a/Makefile
39 -+++ b/Makefile
40 -@@ -1,5 +1,12 @@
41 - # See COPYING file for copyright and license details.
42 --include config.mk
43 -+VERSION = 1.0
44 -+RELDATE = 2012-08-19
45 -+PREFIX = /usr
46 -+MANPREFIX = $(PREFIX)/share/man
47 -+CFLAGS += -std=c99 -pedantic -Wall -Wextra \
48 -+ -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
49 -+CC ?= cc
50 -+LD = $(CC)
51 -
52 - NAME = getxbook
53 -
54 -@@ -20,16 +27,16 @@ $(BIN): util.a
55 -
56 - .o:
57 - @echo LD $@
58 -- @$(LD) -o $@ $< util.a $(LDFLAGS)
59 -+ $(LD) $(LDFLAGS) -o $@ $< util.a
60 -
61 - .c.o:
62 - @echo CC $<
63 -- @$(CC) -c $(CFLAGS) $<
64 -+ $(CC) -c $(CFLAGS) $<
65 -
66 - util.a: $(LIB)
67 - @echo AR $@
68 -- @$(AR) -r -c $@ $(LIB)
69 -- @ranlib $@
70 -+ $(AR) -r -c $@ $(LIB)
71 -+ $(RANLIB) $@
72 -
73 - install: all
74 - mkdir -p $(DESTDIR)$(PREFIX)/bin
75
76 diff --git a/app-text/getxbook/getxbook-1.0-r1.ebuild b/app-text/getxbook/getxbook-1.0-r1.ebuild
77 deleted file mode 100644
78 index 575f7242613..00000000000
79 --- a/app-text/getxbook/getxbook-1.0-r1.ebuild
80 +++ /dev/null
81 @@ -1,45 +0,0 @@
82 -# Copyright 1999-2015 Gentoo Foundation
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=5
86 -
87 -inherit eutils toolchain-funcs
88 -
89 -DESCRIPTION="Download books from google, amazon, barnes and noble"
90 -HOMEPAGE="http://njw.me.uk/software/getxbook/"
91 -SRC_URI="http://njw.me.uk/software/getxbook/${P}.tar.bz2"
92 -
93 -LICENSE="ISC"
94 -SLOT="0"
95 -KEYWORDS="~amd64 ~x86"
96 -IUSE="pdf djvu ocr tk"
97 -
98 -DEPEND=""
99 -RDEPEND="
100 - djvu? ( app-text/djvu )
101 - pdf? ( media-gfx/imagemagick )
102 - ocr? (
103 - app-text/tesseract
104 - pdf? ( media-gfx/exact-image app-text/pdftk )
105 - )
106 - tk? ( dev-lang/tk:0= )"
107 -
108 -src_prepare() {
109 - epatch "${FILESDIR}"/${P}.patch
110 - tc-export CC AR RANLIB
111 -}
112 -
113 -src_install() {
114 - DOCS=( README LEGAL )
115 - default
116 -
117 - use pdf && dobin extras/mkpdf.sh
118 - use djvu && dobin extras/mkdjvu.sh
119 -
120 - if use ocr; then
121 - dobin extras/mkocrtxt.sh
122 - use pdf && dobin extras/mkocrpdf.sh
123 - use djvu && dobin extras/mkocrdjvu.sh
124 - fi
125 - use tk && dobin getxbookgui.tcl
126 -}
127
128 diff --git a/app-text/getxbook/metadata.xml b/app-text/getxbook/metadata.xml
129 index 3b5c78cf814..b214e7e03b4 100644
130 --- a/app-text/getxbook/metadata.xml
131 +++ b/app-text/getxbook/metadata.xml
132 @@ -1,10 +1,7 @@
133 <?xml version="1.0" encoding="UTF-8"?>
134 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
135 <pkgmetadata>
136 - <maintainer type="person">
137 - <email>grozin@g.o</email>
138 - <name>Andrey Grozin</name>
139 - </maintainer>
140 + <!-- maintainer-needed -->
141 <longdescription lang="en">
142 A collection of tools to download books from
143 google books' "book preview",