Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/lowdown/, app-text/lowdown/files/
Date: Sat, 02 Apr 2022 05:25:43
Message-Id: 1648877127.2c9def4245ae7267224b122d6658cede26315300.chutzpah@gentoo
1 commit: 2c9def4245ae7267224b122d6658cede26315300
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 05:25:27 2022 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 05:25:27 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9def42
7
8 app-text/lowdown: drop 0.8.4-r1, 0.10.0-r1
9
10 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
11
12 app-text/lowdown/Manifest | 2 -
13 .../lowdown-0.10.0-dont-install-static-lib.patch | 12 -----
14 .../lowdown/files/lowdown-0.10.0-linking.patch | 42 -----------------
15 .../files/lowdown-0.10.0-shared-library.patch | 53 ----------------------
16 .../lowdown/files/lowdown-0.8.4-configure.patch | 31 -------------
17 app-text/lowdown/lowdown-0.10.0-r1.ebuild | 47 -------------------
18 app-text/lowdown/lowdown-0.8.4-r1.ebuild | 35 --------------
19 7 files changed, 222 deletions(-)
20
21 diff --git a/app-text/lowdown/Manifest b/app-text/lowdown/Manifest
22 index 126601d3a982..97723936e704 100644
23 --- a/app-text/lowdown/Manifest
24 +++ b/app-text/lowdown/Manifest
25 @@ -1,4 +1,2 @@
26 -DIST lowdown-0.10.0.tar.gz 547397 BLAKE2B 93d87e3aca2466398a625750b928062fbafd26311899e52ddd8264218675e78d30714c920f3331619fcd510a92cc6046401c946f5bd1465d6fd46f26937318ac SHA512 7454e618607628ec0a1649f44f5ec64f8778ecaa151f6aad4984935e297abfe8e84ffc321d3c93cec5d336ff14b6bf9a0ff9054e7363cc58ba708a5b60db9048
27 DIST lowdown-0.11.1.tar.gz 571320 BLAKE2B 28fe8cb4f164618be602770c602f3ce51c0f0e765fb9869b82cb29c50bdbe0fd92c09c10074d8968108eca59096d7e176531eb56cb2b40f1d9c00a3f944e3b8c SHA512 5a8ca9d731171b97daed7a9095bc4206d2bed9095fa267eb9270782770247743f1a096c5235fd301320418c37a478fbc71552ade105eba0e756ff687835d4efb
28 DIST lowdown-0.11.2.tar.gz 576599 BLAKE2B 579a5257a0c37882c1b5269d8196a974b3ac73be146ba424a129c9421091c462769f065350ede1b8437371141c17c24fa5ac4bdc65f393a92835d6e981c5b181 SHA512 f49ba1358a6de9ab792cf1fb7586e0e326b8ba9a153c234079825534cbdc2d10b6af32d5612b11490b97dbd6c0bea10a79752bf1ad7e7d8af871aa20332fed9e
29 -DIST lowdown-0.8.4.tar.gz 520735 BLAKE2B dc66b92f285b186ca83b9fad1cccfef9b395233ef56756e9ea9071b5502cd81dc6ce2d67d7ef265dab8953010af0907cd76125cd4442cfbfc2bcf8c63e097809 SHA512 cd46ead69ed038bf3ccf848b784327d66c78dd8adbc9ae4bfee660b9b1e52844ac8c7ad0377f8f38a3fee0d2e523f979a22d6b547c7964304accef0951cfca34
30
31 diff --git a/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch b/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch
32 deleted file mode 100644
33 index 4a120c32ed29..000000000000
34 --- a/app-text/lowdown/files/lowdown-0.10.0-dont-install-static-lib.patch
35 +++ /dev/null
36 @@ -1,12 +0,0 @@
37 -diff --git a/Makefile b/Makefile
38 -index f13a364..d013a1c 100644
39 ---- a/Makefile
40 -+++ b/Makefile
41 -@@ -153,7 +153,6 @@ install: all
42 - $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
43 - $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
44 - $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
45 -- $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
46 - $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
47 - $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
48 - for f in $(MANS) ; do \
49
50 diff --git a/app-text/lowdown/files/lowdown-0.10.0-linking.patch b/app-text/lowdown/files/lowdown-0.10.0-linking.patch
51 deleted file mode 100644
52 index 1581e94b7c9d..000000000000
53 --- a/app-text/lowdown/files/lowdown-0.10.0-linking.patch
54 +++ /dev/null
55 @@ -1,42 +0,0 @@
56 -diff --git a/Makefile b/Makefile
57 -index d013a1c..c9de4d4 100644
58 ---- a/Makefile
59 -+++ b/Makefile
60 -@@ -130,8 +130,8 @@ installwww: www
61 - $(INSTALL) -m 0444 lowdown.tar.gz $(WWWDIR)/snapshots
62 - $(INSTALL) -m 0444 lowdown.tar.gz.sha512 $(WWWDIR)/snapshots
63 -
64 --lowdown: liblowdown.a main.o
65 -- $(CC) -o $@ main.o liblowdown.a $(LDFLAGS) $(LDADD_MD5) -lm
66 -+lowdown: liblowdown.so main.o
67 -+ $(CC) -o $@ main.o -L. -llowdown $(LDFLAGS) $(LDADD_MD5) -lm
68 -
69 - lowdown-diff: lowdown
70 - ln -f lowdown lowdown-diff
71 -@@ -141,7 +141,8 @@ liblowdown.a: $(OBJS) $(COMPAT_OBJS)
72 -
73 -
74 - liblowdown.so: $(OBJS) $(COMPAT_OBJS)
75 -- $(CC) -shared -o $@ $(OBJS) $(COMPAT_OBJS) $(LDFLAGS)
76 -+ $(CC) -shared -o $@.1 $(OBJS) $(COMPAT_OBJS) $(LDFLAGS) -Wl,-soname,$@.1
77 -+ ln -s $@.1 $@
78 -
79 - install: all
80 - mkdir -p $(DESTDIR)$(BINDIR)
81 -@@ -153,6 +154,7 @@ install: all
82 - $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
83 - $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
84 - $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
85 -+ $(INSTALL_LIB) liblowdown.so.1 $(DESTDIR)$(LIBDIR)
86 - $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
87 - for f in $(MANS) ; do \
88 - name=`basename $$f .html` ; \
89 -@@ -271,7 +273,7 @@ main.o: lowdown.h
90 -
91 - clean:
92 - rm -f $(OBJS) $(COMPAT_OBJS) main.o
93 -- rm -f lowdown lowdown-diff liblowdown.a liblowdown.so lowdown.pc
94 -+ rm -f lowdown lowdown-diff liblowdown.a liblowdown.so liblowdown.so.1 lowdown.pc
95 - rm -f index.xml diff.xml diff.diff.xml README.xml lowdown.tar.gz.sha512 lowdown.tar.gz
96 - rm -f $(PDFS) $(HTMLS) $(THUMBS)
97 - rm -f index.latex.aux index.latex.latex index.latex.log index.latex.out
98
99 diff --git a/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch b/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch
100 deleted file mode 100644
101 index 0adfe762fb57..000000000000
102 --- a/app-text/lowdown/files/lowdown-0.10.0-shared-library.patch
103 +++ /dev/null
104 @@ -1,53 +0,0 @@
105 -commit e33536ae131e31adf77d3258c0cdd3da10868534
106 -Author: Kristaps Dz <kristaps@×××.lv>
107 -Date: Thu Nov 4 12:27:21 2021 +0000
108 -
109 - Generate a shared library as well.
110 -
111 - Earlier, the library interface was just moving too quickly. Now, I
112 - don't think I'll be changing it much---if at all, unless to add new
113 - front-ends.
114 -
115 - References https://github.com/kristapsdz/lowdown/issues/45
116 -
117 -diff --git a/Makefile b/Makefile
118 -index 475f780..f13a364 100644
119 ---- a/Makefile
120 -+++ b/Makefile
121 -@@ -118,7 +118,7 @@ REGRESS_ARGS += "--parse-no-autolink"
122 - REGRESS_ARGS += "--parse-no-cmark"
123 - REGRESS_ARGS += "--parse-no-deflists"
124 -
125 --all: lowdown lowdown-diff lowdown.pc
126 -+all: lowdown lowdown-diff liblowdown.so lowdown.pc
127 -
128 - www: $(HTMLS) $(PDFS) $(THUMBS) lowdown.tar.gz lowdown.tar.gz.sha512
129 -
130 -@@ -139,6 +139,10 @@ lowdown-diff: lowdown
131 - liblowdown.a: $(OBJS) $(COMPAT_OBJS)
132 - $(AR) rs $@ $(OBJS) $(COMPAT_OBJS)
133 -
134 -+
135 -+liblowdown.so: $(OBJS) $(COMPAT_OBJS)
136 -+ $(CC) -shared -o $@ $(OBJS) $(COMPAT_OBJS) $(LDFLAGS)
137 -+
138 - install: all
139 - mkdir -p $(DESTDIR)$(BINDIR)
140 - mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
141 -@@ -150,6 +154,7 @@ install: all
142 - $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
143 - $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
144 - $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
145 -+ $(INSTALL_LIB) liblowdown.so $(DESTDIR)$(LIBDIR)
146 - $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
147 - for f in $(MANS) ; do \
148 - name=`basename $$f .html` ; \
149 -@@ -267,7 +272,7 @@ main.o: lowdown.h
150 -
151 - clean:
152 - rm -f $(OBJS) $(COMPAT_OBJS) main.o
153 -- rm -f lowdown lowdown-diff liblowdown.a lowdown.pc
154 -+ rm -f lowdown lowdown-diff liblowdown.a liblowdown.so lowdown.pc
155 - rm -f index.xml diff.xml diff.diff.xml README.xml lowdown.tar.gz.sha512 lowdown.tar.gz
156 - rm -f $(PDFS) $(HTMLS) $(THUMBS)
157 - rm -f index.latex.aux index.latex.latex index.latex.log index.latex.out
158
159 diff --git a/app-text/lowdown/files/lowdown-0.8.4-configure.patch b/app-text/lowdown/files/lowdown-0.8.4-configure.patch
160 deleted file mode 100644
161 index ad7bcb69d631..000000000000
162 --- a/app-text/lowdown/files/lowdown-0.8.4-configure.patch
163 +++ /dev/null
164 @@ -1,31 +0,0 @@
165 -diff --git a/Makefile b/Makefile
166 -index c2e2715..4fe977f 100644
167 ---- a/Makefile
168 -+++ b/Makefile
169 -@@ -143,7 +143,6 @@ install: all
170 - $(INSTALL_DATA) lowdown.pc $(DESTDIR)$(LIBDIR)/pkgconfig
171 - $(INSTALL_PROGRAM) lowdown $(DESTDIR)$(BINDIR)
172 - $(INSTALL_PROGRAM) lowdown-diff $(DESTDIR)$(BINDIR)
173 -- $(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
174 - $(INSTALL_DATA) lowdown.h $(DESTDIR)$(INCLUDEDIR)
175 - for f in $(MANS) ; do \
176 - name=`basename $$f .html` ; \
177 -diff --git a/configure b/configure
178 -index d1c16ab..941f185 100755
179 ---- a/configure
180 -+++ b/configure
181 -@@ -92,12 +92,12 @@ LDADD_STATIC=
182 - CPPFLAGS=
183 - LDFLAGS=
184 - DESTDIR=
185 --PREFIX="/usr/local"
186 -+PREFIX="/usr"
187 - BINDIR=
188 - SBINDIR=
189 - INCLUDEDIR=
190 - LIBDIR=
191 --MANDIR=
192 -+MANDIR="/usr/share/man"
193 - SHAREDIR=
194 - INSTALL="install"
195 - INSTALL_PROGRAM=
196
197 diff --git a/app-text/lowdown/lowdown-0.10.0-r1.ebuild b/app-text/lowdown/lowdown-0.10.0-r1.ebuild
198 deleted file mode 100644
199 index c0a7c32c57ec..000000000000
200 --- a/app-text/lowdown/lowdown-0.10.0-r1.ebuild
201 +++ /dev/null
202 @@ -1,47 +0,0 @@
203 -# Copyright 2021-2022 Gentoo Authors
204 -# Distributed under the terms of the GNU General Public License v2
205 -
206 -EAPI=8
207 -
208 -inherit toolchain-funcs flag-o-matic
209 -
210 -MY_PV="VERSION_${PV//./_}"
211 -DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
212 -HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
213 -SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
214 -S="${WORKDIR}/${PN}-${MY_PV}"
215 -
216 -LICENSE="ISC"
217 -SLOT="0"
218 -KEYWORDS="~amd64 ~x86"
219 -
220 -DEPEND="virtual/libcrypt:="
221 -RDEPEND="${DEPEND}"
222 -
223 -PATCHES=(
224 - "${FILESDIR}/lowdown-0.10.0-shared-library.patch"
225 - "${FILESDIR}/lowdown-0.10.0-dont-install-static-lib.patch"
226 - "${FILESDIR}/lowdown-0.10.0-linking.patch"
227 - "${FILESDIR}/lowdown-0.10.0-pkgconfig-libmd.patch"
228 -)
229 -
230 -src_configure() {
231 - append-flags -fPIC
232 - tc-export CC AR
233 -
234 - ./configure \
235 - PREFIX="/usr" \
236 - MANDIR="/usr/share/man" \
237 - LDFLAGS="${LDFLAGS}" \
238 - CPPFLAGS="${CPPFLAGS}" \
239 - LIBDIR="/usr/$(get_libdir)" \
240 - || die "./configure failed"
241 -}
242 -
243 -src_compile() {
244 - emake $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
245 -}
246 -
247 -src_test() {
248 - emake regress
249 -}
250
251 diff --git a/app-text/lowdown/lowdown-0.8.4-r1.ebuild b/app-text/lowdown/lowdown-0.8.4-r1.ebuild
252 deleted file mode 100644
253 index b517049ebd47..000000000000
254 --- a/app-text/lowdown/lowdown-0.8.4-r1.ebuild
255 +++ /dev/null
256 @@ -1,35 +0,0 @@
257 -# Copyright 2021 Gentoo Authors
258 -# Distributed under the terms of the GNU General Public License v2
259 -
260 -EAPI=7
261 -
262 -inherit toolchain-funcs
263 -
264 -MY_PV="VERSION_${PV//./_}"
265 -DESCRIPTION="Markdown translator producing HTML5, roff documents in the ms and man formats"
266 -HOMEPAGE="https://kristaps.bsd.lv/lowdown/"
267 -SRC_URI="https://github.com/kristapsdz/lowdown/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
268 -S="${WORKDIR}/${PN}-${MY_PV}"
269 -
270 -LICENSE="ISC"
271 -SLOT="0"
272 -KEYWORDS="~amd64 ~x86"
273 -
274 -DEPEND="virtual/libcrypt:="
275 -RDEPEND="${DEPEND}"
276 -
277 -PATCHES=(
278 - "${FILESDIR}/lowdown-0.8.4-configure.patch"
279 -)
280 -
281 -src_configure() {
282 - CC="$(tc-getCC)" ./configure || die "./configure failed"
283 -}
284 -
285 -src_compile() {
286 - emake LDFLAGS="${LDFLAGS}" AR="$(tc-getAR)" $(usex elibc_musl UTF8_LOCALE=C.UTF-8 '')
287 -}
288 -
289 -src_test() {
290 - emake regress
291 -}