* [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: drop ltprune inherit
@ 2021-07-26 22:28 Conrad Kostecki
2021-07-26 22:28 ` [gentoo-dev] [PATCH 2/2] eclass/gstreamer.eclass: " Conrad Kostecki
2021-07-27 8:29 ` [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: " Ulrich Mueller
0 siblings, 2 replies; 3+ messages in thread
From: Conrad Kostecki @ 2021-07-26 22:28 UTC (permalink / raw
To: gentoo-dev
No ebuilds remaining to call directly prune_libtool_files,
so we could drop the ltprune inherit in eutils.
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
---
eclass/eutils.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 207d05e7f97..8a7cb6bde53 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -25,7 +25,7 @@ _EUTILS_ECLASS=1
# implicitly inherited (now split) eclasses
case ${EAPI} in
5|6)
- inherit desktop edos2unix epatch estack ltprune multilib \
+ inherit desktop edos2unix epatch estack multilib \
preserve-libs strip-linguas toolchain-funcs vcs-clean wrapper
;;
7) inherit edos2unix strip-linguas wrapper ;;
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-dev] [PATCH 2/2] eclass/gstreamer.eclass: drop ltprune inherit
2021-07-26 22:28 [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: drop ltprune inherit Conrad Kostecki
@ 2021-07-26 22:28 ` Conrad Kostecki
2021-07-27 8:29 ` [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: " Ulrich Mueller
1 sibling, 0 replies; 3+ messages in thread
From: Conrad Kostecki @ 2021-07-26 22:28 UTC (permalink / raw
To: gentoo-dev
Dropping ltprune eclass and replacing it with
a simple find command, as suggested alternatively.
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
---
eclass/gstreamer.eclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/eclass/gstreamer.eclass b/eclass/gstreamer.eclass
index 301d0874106..d5adb8f6423 100644
--- a/eclass/gstreamer.eclass
+++ b/eclass/gstreamer.eclass
@@ -23,7 +23,7 @@
# plugin, consider adding media-plugins/gst-plugins-meta dependency, but
# also list any packages that provide explicitly requested plugins.
-inherit eutils ltprune multilib multilib-minimal toolchain-funcs versionator xdg-utils
+inherit eutils multilib multilib-minimal toolchain-funcs versionator xdg-utils
case "${EAPI:-0}" in
5|6)
@@ -264,5 +264,5 @@ gstreamer_multilib_src_install_all() {
[[ -e ${dir}/README ]] && dodoc "${dir}"/README
done
- prune_libtool_files --modules
+ find "${ED}" -name '*.la' -delete || die
}
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: drop ltprune inherit
2021-07-26 22:28 [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: drop ltprune inherit Conrad Kostecki
2021-07-26 22:28 ` [gentoo-dev] [PATCH 2/2] eclass/gstreamer.eclass: " Conrad Kostecki
@ 2021-07-27 8:29 ` Ulrich Mueller
1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Mueller @ 2021-07-27 8:29 UTC (permalink / raw
To: Conrad Kostecki; +Cc: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
>>>>> On Tue, 27 Jul 2021, Conrad Kostecki wrote:
> No ebuilds remaining to call directly prune_libtool_files,
> so we could drop the ltprune inherit in eutils.
I see very little benefit, because a) the indirect inherit is limited to
EAPIs 5 and 6, and b) eutils is deprecated. OTOH, there's some risk of
(silent) breakage, because one can assume that eutils is still widely
used in overlays.
Ulrich
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-27 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-26 22:28 [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: drop ltprune inherit Conrad Kostecki
2021-07-26 22:28 ` [gentoo-dev] [PATCH 2/2] eclass/gstreamer.eclass: " Conrad Kostecki
2021-07-27 8:29 ` [gentoo-dev] [PATCH 1/2] eclass/eutils.eclass: " Ulrich Mueller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox