Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpg-error/files/, dev-libs/libgpg-error/
Date: Fri, 23 Sep 2022 02:09:28
Message-Id: 1663898931.147747a18555b8ccbc669e40fd41b19cef2b69fa.sam@gentoo
1 commit: 147747a18555b8ccbc669e40fd41b19cef2b69fa
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 02:07:24 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 02:08:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=147747a1
7
8 dev-libs/libgpg-error: drop 1.42, 1.44
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/libgpg-error/Manifest | 2 -
13 .../libgpg-error-1.37-remove_broken_check.patch | 22 --------
14 .../files/libgpg-error-1.42-cross_compile.patch | 32 -----------
15 dev-libs/libgpg-error/libgpg-error-1.42.ebuild | 66 ----------------------
16 dev-libs/libgpg-error/libgpg-error-1.44.ebuild | 65 ---------------------
17 5 files changed, 187 deletions(-)
18
19 diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest
20 index 942639a59c70..230fc5c9a47a 100644
21 --- a/dev-libs/libgpg-error/Manifest
22 +++ b/dev-libs/libgpg-error/Manifest
23 @@ -1,3 +1 @@
24 -DIST libgpg-error-1.42.tar.bz2 973996 BLAKE2B eb3381ec7106cfe5dca333391f473e97b03df83f247d3067e9f933ed7206f826e59d2b74b8c28d41e785ffe1c2980b680470064eb2fa2ff1ee3d8fa8be5b81a8 SHA512 f6d95712a874edefc39a7746062c8037a62801a550560c5b2eab08b5b86987c1de5be60eba5fcb56d35a37db109aa32d07b7eff2bb99800c1c47d2227421a8f4
25 -DIST libgpg-error-1.44.tar.bz2 1014475 BLAKE2B dc101769510bc9edff38048216a961df8b08373a0b6d04b13c882bbcb43c4d0e05ecfdfd7788c89b5799082f4d15386efac5eb1762a48ae1ab70b554d0bfbb36 SHA512 a0eef310b9d44532d1ae6e7266226ea3e82d908aa31f775a026e56a7f8303b78adfdceb3ae5a40f7d242987635e764c539a024ce8dc0d66590e1a3fa50f6b784
26 DIST libgpg-error-1.45.tar.bz2 1015954 BLAKE2B 277892df6691ff2807335954fa786c1d452d58e6f15aa2f73bffd1ddc97b9276646afe8831c0b67107ac768e0590f046030da6d370eb2871e94154f50dabf67b SHA512 882f2dd617e89137d7a9d61b60488dac32321dd4fdb699e9687b6bd9380c056c027da502837f4482289c0fe00e7de01210e804428f05a0843ae2ca23fdcc6457
27
28 diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch b/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch
29 deleted file mode 100644
30 index 2919a9d73be0..000000000000
31 --- a/dev-libs/libgpg-error/files/libgpg-error-1.37-remove_broken_check.patch
32 +++ /dev/null
33 @@ -1,22 +0,0 @@
34 -This breaks our multilib builds:
35 -
36 - Confirm gpg-error-config works... no
37 - *** Please report to <https://bugs.gnupg.org> with gpg-error-config-test.log
38 -
39 ---- libgpg-error-1.37/src/Makefile.am
40 -+++ libgpg-error-1.37/src/Makefile.am
41 -@@ -338,14 +338,6 @@
42 - cp gpg-error.h gpgrt.h
43 -
44 - gpg-error-config: gpgrt-config gpg-error-config-old
45 -- @echo $(ECHO_N) "Confirm gpg-error-config works... $(ECHO_C)"
46 -- @if ./gpg-error-config-test.sh --old-new; then \
47 -- echo "good"; \
48 -- else \
49 -- echo "no"; \
50 -- echo "*** Please report to <https://bugs.gnupg.org> with gpg-error-config-test.log"; \
51 -- exit 1; \
52 -- fi
53 - cp gpg-error-config-old $@
54 -
55 - install-data-local:
56
57 diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch b/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch
58 deleted file mode 100644
59 index 78d98dd7b3d1..000000000000
60 --- a/dev-libs/libgpg-error/files/libgpg-error-1.42-cross_compile.patch
61 +++ /dev/null
62 @@ -1,32 +0,0 @@
63 -From 33593864cd54143db594c4237bba41e14179061c Mon Sep 17 00:00:00 2001
64 -From: David Michael <fedora.dm0@×××××.com>
65 -Date: Fri, 26 Mar 2021 16:06:50 +0900
66 -Subject: [PATCH] build: Fix generation of lock-obj-pub.native.h for cross
67 - build.
68 -
69 -* src/gen-lock-obj.sh: Capture echo output with quotes.
70 -
71 ---
72 -
73 -Fixes-commit: 99ae862a96a569724f49a604ebb7d3f6d2c2d374
74 -Signed-off-by: David Michael <fedora.dm0@×××××.com>
75 ----
76 - src/gen-lock-obj.sh | 2 +-
77 - 1 file changed, 1 insertion(+), 1 deletion(-)
78 -
79 -diff --git a/src/gen-lock-obj.sh b/src/gen-lock-obj.sh
80 -index a710f0c..258eec6 100755
81 ---- a/src/gen-lock-obj.sh
82 -+++ b/src/gen-lock-obj.sh
83 -@@ -38,7 +38,7 @@
84 - # AWK=gawk ./gen-lock-obj.sh
85 - #
86 -
87 --if test -n `echo -n`; then
88 -+if test -n "`echo -n`"; then
89 - ECHO_C='\c'
90 - ECHO_N=''
91 - else
92 ---
93 -2.11.0
94 -
95
96 diff --git a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild b/dev-libs/libgpg-error/libgpg-error-1.42.ebuild
97 deleted file mode 100644
98 index 2168705cf76b..000000000000
99 --- a/dev-libs/libgpg-error/libgpg-error-1.42.ebuild
100 +++ /dev/null
101 @@ -1,66 +0,0 @@
102 -# Copyright 1999-2021 Gentoo Authors
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=7
106 -
107 -inherit autotools multilib-minimal toolchain-funcs prefix
108 -
109 -DESCRIPTION="Contains error handling functions used by GnuPG software"
110 -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error"
111 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
112 -
113 -LICENSE="GPL-2 LGPL-2.1"
114 -SLOT="0"
115 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
116 -IUSE="common-lisp nls static-libs"
117 -
118 -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
119 -DEPEND="${RDEPEND}"
120 -BDEPEND="nls? ( sys-devel/gettext )"
121 -
122 -MULTILIB_CHOST_TOOLS=(
123 - /usr/bin/gpg-error-config
124 -)
125 -MULTILIB_WRAPPED_HEADERS=(
126 - /usr/include/gpg-error.h
127 - /usr/include/gpgrt.h
128 -)
129 -
130 -PATCHES=(
131 - "${FILESDIR}/${PN}-1.37-remove_broken_check.patch"
132 - "${FILESDIR}/${P}-cross_compile.patch"
133 -)
134 -
135 -src_prepare() {
136 - default
137 -
138 - if use prefix ; then
139 - # don't hardcode /usr/xpg4/bin/sh as shell on Solaris
140 - sed -i -e 's/solaris\*/disabled/' configure.ac || die
141 - fi
142 -
143 - # only necessary for as long as we run eautoreconf, configure.ac
144 - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is
145 - # not a pure /bin/sh script, so it fails on some hosts
146 - hprefixify -w 1 autogen.sh
147 - eautoreconf
148 -}
149 -
150 -multilib_src_configure() {
151 - local myeconfargs=(
152 - $(multilib_is_native_abi || echo --disable-languages)
153 - $(use_enable common-lisp languages)
154 - $(use_enable nls)
155 - # required for sys-power/suspend[crypt], bug 751568
156 - $(use_enable static-libs static)
157 - --enable-threads
158 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
159 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
160 - )
161 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
162 -}
163 -
164 -multilib_src_install_all() {
165 - einstalldocs
166 - find "${ED}" -type f -name '*.la' -delete || die
167 -}
168
169 diff --git a/dev-libs/libgpg-error/libgpg-error-1.44.ebuild b/dev-libs/libgpg-error/libgpg-error-1.44.ebuild
170 deleted file mode 100644
171 index 5347656622a7..000000000000
172 --- a/dev-libs/libgpg-error/libgpg-error-1.44.ebuild
173 +++ /dev/null
174 @@ -1,65 +0,0 @@
175 -# Copyright 1999-2022 Gentoo Authors
176 -# Distributed under the terms of the GNU General Public License v2
177 -
178 -EAPI=8
179 -
180 -inherit autotools multilib-minimal toolchain-funcs prefix
181 -
182 -DESCRIPTION="Contains error handling functions used by GnuPG software"
183 -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error"
184 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
185 -
186 -LICENSE="GPL-2 LGPL-2.1"
187 -SLOT="0"
188 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
189 -IUSE="common-lisp nls static-libs"
190 -
191 -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
192 -DEPEND="${RDEPEND}"
193 -BDEPEND="nls? ( sys-devel/gettext )"
194 -
195 -MULTILIB_CHOST_TOOLS=(
196 - /usr/bin/gpg-error-config
197 -)
198 -MULTILIB_WRAPPED_HEADERS=(
199 - /usr/include/gpg-error.h
200 - /usr/include/gpgrt.h
201 -)
202 -
203 -PATCHES=(
204 - "${FILESDIR}/${PN}-1.44-remove_broken_check.patch"
205 -)
206 -
207 -src_prepare() {
208 - default
209 -
210 - if use prefix ; then
211 - # don't hardcode /usr/xpg4/bin/sh as shell on Solaris
212 - sed -i -e 's/solaris\*/disabled/' configure.ac || die
213 - fi
214 -
215 - # only necessary for as long as we run eautoreconf, configure.ac
216 - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is
217 - # not a pure /bin/sh script, so it fails on some hosts
218 - hprefixify -w 1 autogen.sh
219 - eautoreconf
220 -}
221 -
222 -multilib_src_configure() {
223 - local myeconfargs=(
224 - $(multilib_is_native_abi || echo --disable-languages)
225 - $(use_enable common-lisp languages)
226 - $(use_enable nls)
227 - # required for sys-power/suspend[crypt], bug 751568
228 - $(use_enable static-libs static)
229 - --enable-threads
230 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
231 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
232 - )
233 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
234 -}
235 -
236 -multilib_src_install_all() {
237 - einstalldocs
238 - find "${ED}" -type f -name '*.la' -delete || die
239 -}