Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/libspectre/, app-text/libspectre/files/
Date: Sun, 06 Nov 2022 11:53:38
Message-Id: 1667735609.806cbeab41222287f73a11f29fa7ad899bdcea66.asturm@gentoo
1 commit: 806cbeab41222287f73a11f29fa7ad899bdcea66
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 11:44:03 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 11:53:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=806cbeab
7
8 app-text/libspectre: drop 0.2.9
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 app-text/libspectre/Manifest | 1 -
13 .../files/libspectre-0.2.0-interix.patch | 29 ------------
14 app-text/libspectre/libspectre-0.2.9.ebuild | 55 ----------------------
15 3 files changed, 85 deletions(-)
16
17 diff --git a/app-text/libspectre/Manifest b/app-text/libspectre/Manifest
18 index 5a0e02e4ad89..2670091f0b61 100644
19 --- a/app-text/libspectre/Manifest
20 +++ b/app-text/libspectre/Manifest
21 @@ -1,2 +1 @@
22 DIST libspectre-0.2.10.tar.gz 436690 BLAKE2B 8c1d25225a212b7e8d2bab7cffa4298509450cf727e38d0be22d27ed5fb161a0f838967afa3f8aa265c2bd243431bbfb92976cf51ee52ee7d3b0479000215546 SHA512 01738f452f99878beaa528b15d8df463ca22d625306d636e1a6199ade9f068d284f1def3882e954a06e5f066937343f79d0c2197fbb19ab53ef1ab0540c72f2f
23 -DIST libspectre-0.2.9.tar.gz 433384 BLAKE2B ed75a7013763a86c0f0702e0e47dcfb8401db6c957ed4851ecc85e27db6a49c8d4dae6443b302bcce5b0ae0da18dce3294a010eee5531a253020a650c19388c5 SHA512 7c24b5c83c6d356c89417d09dc76566afbe886ec189fe80d030a239c23ad25b061db071768117fa06805aa3d86f749fb232b7491bd7d467f26a40e348e74d5d2
24
25 diff --git a/app-text/libspectre/files/libspectre-0.2.0-interix.patch b/app-text/libspectre/files/libspectre-0.2.0-interix.patch
26 deleted file mode 100644
27 index 8f2956331852..000000000000
28 --- a/app-text/libspectre/files/libspectre-0.2.0-interix.patch
29 +++ /dev/null
30 @@ -1,29 +0,0 @@
31 -diff -ru libspectre/spectre-utils.c libspectre/spectre-utils.c
32 ---- a/libspectre/spectre-utils.c 2008-05-06 08:35:07 +0200
33 -+++ b/libspectre/spectre-utils.c 2008-05-06 08:49:51 +0200
34 -@@ -148,6 +148,17 @@
35 - spectre_strdup_vprintf (const char *format,
36 - va_list args)
37 - {
38 -+#ifdef __INTERIX
39 -+ /* no [v]asprintf here, so we need to do something else. */
40 -+ char * string = NULL;
41 -+ char buf[524288];
42 -+
43 -+ if(vsprintf(buf, format, args) < 0)
44 -+ return NULL;
45 -+
46 -+ string = strdup(buf);
47 -+ return string;
48 -+#else
49 - char *string = NULL;
50 - int len = vasprintf (&string, format, args);
51 -
52 -@@ -155,6 +166,7 @@
53 - string = NULL;
54 -
55 - return string;
56 -+#endif
57 - }
58 -
59 - char *
60
61 diff --git a/app-text/libspectre/libspectre-0.2.9.ebuild b/app-text/libspectre/libspectre-0.2.9.ebuild
62 deleted file mode 100644
63 index cfb66f66da8c..000000000000
64 --- a/app-text/libspectre/libspectre-0.2.9.ebuild
65 +++ /dev/null
66 @@ -1,55 +0,0 @@
67 -# Copyright 1999-2021 Gentoo Authors
68 -# Distributed under the terms of the GNU General Public License v2
69 -
70 -EAPI=7
71 -
72 -inherit autotools
73 -
74 -DESCRIPTION="Library for rendering Postscript documents"
75 -HOMEPAGE="https://www.freedesktop.org/wiki/Software/libspectre"
76 -SRC_URI="https://libspectre.freedesktop.org/releases/${P}.tar.gz"
77 -
78 -LICENSE="GPL-2"
79 -SLOT="0"
80 -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux ~x64-solaris"
81 -IUSE="debug doc"
82 -
83 -BDEPEND="
84 - virtual/pkgconfig
85 - doc? ( app-doc/doxygen )
86 -"
87 -RDEPEND=">=app-text/ghostscript-gpl-9.24:="
88 -DEPEND="${RDEPEND}"
89 -
90 -# does not actually test anything, see bug 362557
91 -RESTRICT="test"
92 -
93 -PATCHES=( "${FILESDIR}"/${PN}-0.2.0-interix.patch )
94 -
95 -src_prepare() {
96 - default
97 - eautoreconf # need new libtool for interix
98 -}
99 -
100 -src_configure() {
101 - local myeconfargs=(
102 - $(use_enable debug asserts)
103 - $(use_enable debug checks)
104 - --disable-static
105 - --disable-test
106 - )
107 - econf "${myeconfargs[@]}"
108 -}
109 -
110 -src_compile() {
111 - emake
112 - if use doc; then
113 - doxygen || die
114 - fi
115 -}
116 -
117 -src_install() {
118 - use doc && local HTML_DOCS=( doc/html/. )
119 - default
120 - find "${D}" -name '*.la' -type f -delete || die
121 -}