Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@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: Thu, 04 Nov 2021 17:23:20
Message-Id: 1636046588.283868e52a50f0e39478a5a16b94758fee0f8c33.polynomial-c@gentoo
1 commit: 283868e52a50f0e39478a5a16b94758fee0f8c33
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 4 17:22:54 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 4 17:23:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=283868e5
7
8 dev-libs/libgpg-error: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 dev-libs/libgpg-error/Manifest | 3 -
13 .../files/libgpg-error-1.38-cross_compile.patch | 40 -------------
14 dev-libs/libgpg-error/libgpg-error-1.38.ebuild | 68 ----------------------
15 dev-libs/libgpg-error/libgpg-error-1.41.ebuild | 65 ---------------------
16 4 files changed, 176 deletions(-)
17
18 diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest
19 index fd3a84d69f8..5ddde2c0447 100644
20 --- a/dev-libs/libgpg-error/Manifest
21 +++ b/dev-libs/libgpg-error/Manifest
22 @@ -1,5 +1,2 @@
23 -DIST gen-lock-obj-1.38.sh 2643 BLAKE2B 5040b027a95f10bac4a0ba463c8bb8387514ca9136e019fc647183456593df27473eb79af1d79e803984dd2b93166c286809b376968584cc320679de95fcfbba SHA512 d60999a08f70f5bcf1b66099c5d7b5f715dbd881bd0d75dbdde3a8932e9b064166f0524a45ae88b5b182c620aee526e14095ffdee68403b5d3b087b4dc4c0c2c
24 -DIST libgpg-error-1.38.tar.bz2 957637 BLAKE2B 9532402466748503805366b94c82c9adfe5b448f885c26b33ebf7ba9957161ca046b4057f5ca862224accb9f2af731652a55d20e7a4ab69107190a58c8e11ad6 SHA512 b936a4738c2cee111d855b1ba3ec433da8c77799a87d1f71275f974f871ebfa593c9db06ea53f0490b6cd6b94bef34f6052a587a4d13d839ec0128500c2dd9de
25 -DIST libgpg-error-1.41.tar.bz2 967117 BLAKE2B 9dc95bc09f55915d904e0f956ecf9281615028b8b8d876dbc786b752068fefea56adfb5dd5db65bad656ab664d567e56541e44a584c7f8672c30537ed05c4db0 SHA512 578d1d8090b9f6e6cbe59d9aeebec7df81aae492f75ec343f8df530950d30866fa0a7903ca050bf7bf721413f7b2708abe34f7467e2b208cc1447ffc9bd5b9a5
26 DIST libgpg-error-1.42.tar.bz2 973996 BLAKE2B eb3381ec7106cfe5dca333391f473e97b03df83f247d3067e9f933ed7206f826e59d2b74b8c28d41e785ffe1c2980b680470064eb2fa2ff1ee3d8fa8be5b81a8 SHA512 f6d95712a874edefc39a7746062c8037a62801a550560c5b2eab08b5b86987c1de5be60eba5fcb56d35a37db109aa32d07b7eff2bb99800c1c47d2227421a8f4
27 DIST libgpg-error-1.43.tar.bz2 999006 BLAKE2B 22c5491ebd43b8010cdd4e82a58443fb8d19d51de9a033d0bb44634a82f033916d5d9fcfe47eb47e64a513521b01ff088838a8979f488cde74e5944c28dec0aa SHA512 36769a62d0b4b219a6d58195bed692e34d3b0313f628b1036055ca34b69332edbe6bcdace9855a60d06e7be5998dc13bf1305d0b2bb211a4d8f701e85040961c
28
29 diff --git a/dev-libs/libgpg-error/files/libgpg-error-1.38-cross_compile.patch b/dev-libs/libgpg-error/files/libgpg-error-1.38-cross_compile.patch
30 deleted file mode 100644
31 index 7ddd51f9a57..00000000000
32 --- a/dev-libs/libgpg-error/files/libgpg-error-1.38-cross_compile.patch
33 +++ /dev/null
34 @@ -1,40 +0,0 @@
35 -From: David Michael <fedora.dm0@×××××.com>
36 -Date: Mon, 1 Jun 2020 14:24:53 +0000 (-0400)
37 -Subject: build: Fix cross-compiling into a separate build dir.
38 -X-Git-Url: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commitdiff_plain;h=013720333c6ec1d38791689bc49ba039d98e16b3
39 -
40 -build: Fix cross-compiling into a separate build dir.
41 -
42 -* configure.ac: Create the src directory before writing into it.
43 -* src/Makefile.am (EXTRA_DIST): Add gen-lock-obj.sh.
44 -
45 ---
46 -
47 -Signed-off-by: David Michael <fedora.dm0@×××××.com>
48 ----
49 -
50 -diff --git a/configure.ac b/configure.ac
51 -index 6bd634b..1dd6489 100644
52 ---- a/configure.ac
53 -+++ b/configure.ac
54 -@@ -598,6 +598,7 @@ if test x$cross_compiling = xyes; then
55 - case $host in
56 - *-*-linux*)
57 - lock_obj_h_generated=yes
58 -+ mkdir src
59 - LOCK_ABI_VERSION=1 host=$host host_alias=$host_alias \
60 - CC=$CC OBJDUMP=$host_alias-objdump \
61 - ac_ext=$ac_ext ac_objext=$ac_objext \
62 -diff --git a/src/Makefile.am b/src/Makefile.am
63 -index 7e36d69..b2bffd2 100644
64 ---- a/src/Makefile.am
65 -+++ b/src/Makefile.am
66 -@@ -102,7 +102,7 @@ EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
67 - gpg-error.vers gpg-error.def.in \
68 - versioninfo.rc.in gpg-error.w32-manifest.in \
69 - gpg-error-config-test.sh gpg-error.pc.in \
70 -- $(lock_obj_pub)
71 -+ gen-lock-obj.sh $(lock_obj_pub)
72 -
73 - BUILT_SOURCES = $(srcdir)/err-sources.h $(srcdir)/err-codes.h \
74 - code-to-errno.h code-from-errno.h \
75
76 diff --git a/dev-libs/libgpg-error/libgpg-error-1.38.ebuild b/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
77 deleted file mode 100644
78 index e5d788d1421..00000000000
79 --- a/dev-libs/libgpg-error/libgpg-error-1.38.ebuild
80 +++ /dev/null
81 @@ -1,68 +0,0 @@
82 -# Copyright 1999-2021 Gentoo Authors
83 -# Distributed under the terms of the GNU General Public License v2
84 -
85 -EAPI=7
86 -
87 -inherit autotools multilib-minimal toolchain-funcs prefix
88 -
89 -DESCRIPTION="Contains error handling functions used by GnuPG software"
90 -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error"
91 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2
92 - https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=blob_plain;f=src/gen-lock-obj.sh;hb=libgpg-error-1.38 -> gen-lock-obj-1.38.sh"
93 -
94 -LICENSE="GPL-2 LGPL-2.1"
95 -SLOT="0"
96 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
97 -IUSE="common-lisp nls static-libs"
98 -
99 -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
100 -DEPEND="${RDEPEND}"
101 -BDEPEND="nls? ( sys-devel/gettext )"
102 -
103 -MULTILIB_CHOST_TOOLS=(
104 - /usr/bin/gpg-error-config
105 -)
106 -MULTILIB_WRAPPED_HEADERS=(
107 - /usr/include/gpg-error.h
108 - /usr/include/gpgrt.h
109 -)
110 -
111 -PATCHES=(
112 - "${FILESDIR}/${PN}-1.37-remove_broken_check.patch"
113 - "${FILESDIR}/${P}-cross_compile.patch" #726520
114 -)
115 -
116 -src_unpack() {
117 - [[ ${PV} == 1.38 ]] || die "Please remove gen-lock-obj.sh from SRC_URI and drop src_unpack"
118 - unpack ${P}.tar.bz2
119 - cp "${DISTDIR}"/gen-lock-obj-1.38.sh "${S}"/src/gen-lock-obj.sh || die
120 - chmod +x "${S}"/src/gen-lock-obj.sh || die
121 -}
122 -
123 -src_prepare() {
124 - default
125 - # only necessary for as long as we run eautoreconf, configure.ac
126 - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is
127 - # not a pure /bin/sh script, so it fails on some hosts
128 - hprefixify -w 1 autogen.sh
129 - eautoreconf
130 -}
131 -
132 -multilib_src_configure() {
133 - local myeconfargs=(
134 - $(multilib_is_native_abi || echo --disable-languages)
135 - $(use_enable common-lisp languages)
136 - $(use_enable nls)
137 - # required for sys-power/suspend[crypt], bug 751568
138 - $(use_enable static-libs static)
139 - --enable-threads
140 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
141 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
142 - )
143 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
144 -}
145 -
146 -multilib_src_install_all() {
147 - einstalldocs
148 - find "${ED}" -type f -name '*.la' -delete || die
149 -}
150
151 diff --git a/dev-libs/libgpg-error/libgpg-error-1.41.ebuild b/dev-libs/libgpg-error/libgpg-error-1.41.ebuild
152 deleted file mode 100644
153 index b83de2c2f4a..00000000000
154 --- a/dev-libs/libgpg-error/libgpg-error-1.41.ebuild
155 +++ /dev/null
156 @@ -1,65 +0,0 @@
157 -# Copyright 1999-2021 Gentoo Authors
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI=7
161 -
162 -inherit autotools multilib-minimal toolchain-funcs prefix
163 -
164 -DESCRIPTION="Contains error handling functions used by GnuPG software"
165 -HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error"
166 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
167 -
168 -LICENSE="GPL-2 LGPL-2.1"
169 -SLOT="0"
170 -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"
171 -IUSE="common-lisp nls static-libs"
172 -
173 -RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
174 -DEPEND="${RDEPEND}"
175 -BDEPEND="nls? ( sys-devel/gettext )"
176 -
177 -MULTILIB_CHOST_TOOLS=(
178 - /usr/bin/gpg-error-config
179 -)
180 -MULTILIB_WRAPPED_HEADERS=(
181 - /usr/include/gpg-error.h
182 - /usr/include/gpgrt.h
183 -)
184 -
185 -PATCHES=(
186 - "${FILESDIR}/${PN}-1.37-remove_broken_check.patch"
187 -)
188 -
189 -src_prepare() {
190 - default
191 -
192 - if use prefix ; then
193 - # don't hardcode /usr/xpg4/bin/sh as shell on Solaris
194 - sed -i -e 's/solaris\*/disabled/' configure.ac || die
195 - fi
196 -
197 - # only necessary for as long as we run eautoreconf, configure.ac
198 - # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is
199 - # not a pure /bin/sh script, so it fails on some hosts
200 - hprefixify -w 1 autogen.sh
201 - eautoreconf
202 -}
203 -
204 -multilib_src_configure() {
205 - local myeconfargs=(
206 - $(multilib_is_native_abi || echo --disable-languages)
207 - $(use_enable common-lisp languages)
208 - $(use_enable nls)
209 - # required for sys-power/suspend[crypt], bug 751568
210 - $(use_enable static-libs static)
211 - --enable-threads
212 - CC_FOR_BUILD="$(tc-getBUILD_CC)"
213 - $("${S}/configure" --help | grep -o -- '--without-.*-prefix')
214 - )
215 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
216 -}
217 -
218 -multilib_src_install_all() {
219 - einstalldocs
220 - find "${ED}" -type f -name '*.la' -delete || die
221 -}