mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/libabigail: drop 2.0-r1
Closes: https://bugs.gentoo.org/868189 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
DIST libabigail-2.0.tar.gz 286383045 BLAKE2B 2ba6f59bcd7a1484c4a60c6c9f212ad76af239a552d2cc9e47748e0db52363afadd7a99ef3e123c263de34b416f71b9d679bf2a5c542c419bb38ee75f3d5c57b SHA512 288f63f3495f0cd38258c50b78f30a573e43ab60494fefa22c8cba6d6776c5f94742ffea26297a232b78d25f6804f1b3f51febd59ec487733e6ef683cef2c180
|
||||
DIST libabigail-2.1-docs.tar.xz 45532 BLAKE2B e59198a4ecdc6e0eef2b53ce62daa7a313e3dd3f28b71bc7184ec44745b165fab05bb08d22aa9a5e7f886c3b9156f0713737aa2899b579555b18daf8894e6a43 SHA512 078639bd08fdf190b8e71fe147495e0b6b14c7947e82d7aa5f5943ba00cf02763dc8c63a7d39189958a6cfb5175efff6a87cd74938fb3df8f7e123c5586605a6
|
||||
DIST libabigail-2.1.tar.gz 405861148 BLAKE2B 28c8c7cfc33b5002d10b94e2eb9e16ef403dcce73c1404b8af011d8bf71b142b62a5079154af078a479b4528f8464c420322b814e75bb3127a09992e7ca8f84f SHA512 4fe1d3323f078a76a7529c15a809d0c0d3ac43cabd5ab4bb5c2d03992cbbb61bae3ec858e40796bf9f65029cbc779d258ae4559455178fb95cb8b53bf92bcc9a
|
||||
DIST libabigail-2.2-docs.tar.xz 46776 BLAKE2B 469981ea9879b202bcfd68dfa1d71c25470c6c9b9a8058ff29923a4cb7ecd5cb652b239bf6faa05c6b7e479b425e2fd4327a0d6e1703f3622299d743b72e8b5c SHA512 c06bfa95957390ca7abd1e47a79e2da813fd3bdfb8dcaf23bf81da697c77b67d9cd5457010291e2753fcc74f55803a1c81234aa3b8cb27c6b1ce3991f6ab60ab
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -143,6 +143,7 @@
|
||||
dnl *************************************************
|
||||
|
||||
AC_PROG_CXX
|
||||
+AC_CANONICAL_HOST
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
AC_PROG_INSTALL
|
||||
|
||||
@@ -201,6 +202,12 @@
|
||||
[CFLAGS="$CFLAGS -DBAD_FTS=1",
|
||||
CXXFLAGS="$CXXFLAGS -DBAD_FTS=1"])
|
||||
|
||||
+dnl On musl, we need to find fts-standalone
|
||||
+AS_CASE(
|
||||
+ [${host_os}], [*-musl*], [
|
||||
+ PKG_CHECK_MODULES([FTS], [fts-standalone])
|
||||
+])
|
||||
+
|
||||
dnl Check for dependency: libelf, libdw, libebl (elfutils)
|
||||
dnl Note that we need to use at least elfutils 0.159 but
|
||||
dnl at that time elfutils didnt have pkgconfig capabilities
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -41,12 +41,12 @@
|
||||
abg-symtab-reader.cc \
|
||||
$(VIZ_SOURCES)
|
||||
|
||||
-libabigail_la_LIBADD = $(DEPS_LIBS)
|
||||
+libabigail_la_LIBADD = $(DEPS_LIBS) $(FTS_LIBS)
|
||||
libabigail_la_LDFLAGS = -lpthread -Wl,--as-needed -no-undefined
|
||||
|
||||
CUSTOM_MACROS = -DABIGAIL_ROOT_SYSTEM_LIBDIR=\"${libdir}\"
|
||||
|
||||
AM_CPPFLAGS=\
|
||||
-$(CUSTOM_MACROS) $(DEPS_CPPFLAGS) \
|
||||
+$(CUSTOM_MACROS) $(DEPS_CPPFLAGS) $(FTS_CFLAGS) \
|
||||
-Wall -I$(abs_top_srcdir) -I$(abs_top_srcdir)/include \
|
||||
-I$(abs_top_builddir)/include -I$(abs_top_builddir)
|
||||
--- a/tools/abisym.cc
|
||||
+++ b/tools/abisym.cc
|
||||
@@ -11,6 +11,7 @@
|
||||
/// in its symbol tables and report what it sees.
|
||||
|
||||
#include <elf.h>
|
||||
+#include <libgen.h>
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
--- a/tools/kmidiff.cc
|
||||
+++ b/tools/kmidiff.cc
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <dirent.h>
|
||||
-#include <fts.h>
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -37,7 +37,8 @@
|
||||
|
||||
abipkgdiff_SOURCES = abipkgdiff.cc
|
||||
abipkgdiffdir = $(bindir)
|
||||
-abipkgdiff_LDADD = $(abs_top_builddir)/src/libabigail.la
|
||||
+abipkgdiff_CPPFLAGS = $(FTS_CFLAGS)
|
||||
+abipkgdiff_LDADD = $(abs_top_builddir)/src/libabigail.la $(FTS_LIBS)
|
||||
abipkgdiff_LDFLAGS = -pthread
|
||||
|
||||
kmidiff_SOURCES = kmidiff.cc
|
||||
@@ -1,85 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools bash-completion-r1 python-any-r1 out-of-source
|
||||
|
||||
DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
|
||||
HOMEPAGE="https://sourceware.org/libabigail/"
|
||||
SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/elfutils
|
||||
dev-libs/libxml2:2
|
||||
elibc_musl? ( sys-libs/fts-standalone )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-python/sphinx
|
||||
sys-apps/texinfo
|
||||
)
|
||||
test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-musl.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# need to run our autotools, due to ltmain.sh including Redhat calls:
|
||||
# cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
my_src_configure() {
|
||||
econf \
|
||||
--disable-deb \
|
||||
--disable-fedabipkgdiff \
|
||||
--disable-rpm \
|
||||
--disable-rpm415 \
|
||||
--disable-static \
|
||||
--enable-bash-completion \
|
||||
--enable-python3 \
|
||||
$(use_enable doc apidoc) \
|
||||
$(use_enable doc manual)
|
||||
}
|
||||
|
||||
my_src_compile() {
|
||||
default
|
||||
use doc && emake doc
|
||||
}
|
||||
|
||||
my_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if use doc; then
|
||||
doman doc/manuals/man/*
|
||||
doinfo doc/manuals/texinfo/abigail.info
|
||||
|
||||
dodoc -r doc/manuals/html
|
||||
|
||||
docinto html/api
|
||||
dodoc -r doc/api/html/.
|
||||
fi
|
||||
}
|
||||
|
||||
my_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
local file
|
||||
for file in abicompat abidiff abidw abilint abinilint abipkgdiff abisym fedabipkgdiff ; do
|
||||
dobashcomp bash-completion/${file}
|
||||
done
|
||||
|
||||
# no static archives
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user