Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/libunwind/
Date: Tue, 03 Oct 2017 18:02:35
Message-Id: 1507053737.ed51460663cc2ef7f4091421db439fcd1497e92a.dilfridge@gentoo
1 commit: ed51460663cc2ef7f4091421db439fcd1497e92a
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 3 18:01:48 2017 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 3 18:02:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed514606
7
8 sys-libs/libunwind: Remove old
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 sys-libs/libunwind/Manifest | 1 -
13 sys-libs/libunwind/libunwind-1.2_rc1.ebuild | 92 -----------------------------
14 2 files changed, 93 deletions(-)
15
16 diff --git a/sys-libs/libunwind/Manifest b/sys-libs/libunwind/Manifest
17 index bdba628ec8c..536dd4cb1a0 100644
18 --- a/sys-libs/libunwind/Manifest
19 +++ b/sys-libs/libunwind/Manifest
20 @@ -1,4 +1,3 @@
21 DIST libunwind-1.1.tar.gz 1098603 SHA256 9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a SHA512 bfe04f2bfac9f9e47c37f0b23ed2f264d8d3d3d6f1392fe9d794ee13cad216b3740979e922e4276fb65c1ccdc836fce48812cb5459ecdd2a89a621036a35d7c1 WHIRLPOOL 1a0e566edf92c0563cb5525203f2718c3454bc0be25ec8079cde8441de08b6d8951db7cbf2f0a02a4a0f1e6c350e74e551a482d9094996daefa216a79bc9d383
22 -DIST libunwind-1.2-rc1.tar.gz 1172290 SHA256 d222f186b6bc60f49dac5030516ec35a7ed0ccca675551d6cf81008112116abc SHA512 810cdcf9e1e9a33eb286a6527c2d4bfc507313c596df9cdeb46b1c7b7343ac784fec3ed7c6aa135fc25dbf3e2cd8c99d1fa51e265b63614b51fd37bd84000b08 WHIRLPOOL 655c1eb356990aa35429207f54834da79c8aa83a506b0a51f72d1dafb236095a9420c1ca2f29a0dacb93d063bc244ebbddf5e74097e189df11f0ea7ad50b9447
23 DIST libunwind-1.2.1.tar.gz 780774 SHA256 3f3ecb90e28cbe53fba7a4a27ccce7aad188d3210bb1964a923a731a27a75acb SHA512 af7c280d2a963779a4a2711887618bc96383011e4e5d52e4085aa7fb351e55e357468f6ff85e66a216f1c6826538f498335a917a5970575c93be74c96316319b WHIRLPOOL 68cd0bd09b08000b11edb0912ccb7b6b17c8a4ac73fa3c409f17eb9581ac29e7ca015a37cb13a9741725e89caba58d91fa4f5cd18995449593188aedccbddc25
24 DIST libunwind-1.2.tar.gz 747369 SHA256 1de38ffbdc88bd694d10081865871cd2bfbb02ad8ef9e1606aee18d65532b992 SHA512 985d0817944e3cafd99aaa5642862d878972e0851f7954289247e808c9319f399ca29342395f0571cb6568a1104a82bd92d585936f2ca888dda37ac796fde0d4 WHIRLPOOL d110ab7243157a617c1a9f01a5e7941cd4a63032317a7a6d372dd656aad9c1b49769909b3f37ff7dbbdb82a21f2d25dc00548cb5cac4d89c2b825b1e5e5fa634
25
26 diff --git a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild b/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
27 deleted file mode 100644
28 index debaaabe446..00000000000
29 --- a/sys-libs/libunwind/libunwind-1.2_rc1.ebuild
30 +++ /dev/null
31 @@ -1,92 +0,0 @@
32 -# Copyright 1999-2017 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="5"
36 -
37 -MY_PV=${PV/_/-}
38 -MY_P=${PN}-${MY_PV}
39 -inherit eutils libtool multilib-minimal
40 -
41 -DESCRIPTION="Portable and efficient API to determine the call-chain of a program"
42 -HOMEPAGE="https://savannah.nongnu.org/projects/libunwind"
43 -SRC_URI="mirror://nongnu/libunwind/${MY_P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="7"
47 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
48 -IUSE="debug debug-frame doc libatomic lzma +static-libs"
49 -
50 -RESTRICT="test" #461958 -- re-enable tests with >1.1 again for retesting, this is here for #461394
51 -
52 -# We just use the header from libatomic.
53 -RDEPEND="lzma? ( app-arch/xz-utils )"
54 -DEPEND="${RDEPEND}
55 - libatomic? ( dev-libs/libatomic_ops )"
56 -
57 -QA_DT_NEEDED_x86_fbsd="usr/lib/libunwind.so.7.0.0"
58 -
59 -S="${WORKDIR}/${MY_P}"
60 -
61 -MULTILIB_WRAPPED_HEADERS=(
62 - /usr/include/libunwind.h
63 -
64 - # see libunwind.h for the full list of arch-specific headers
65 - /usr/include/libunwind-aarch64.h
66 - /usr/include/libunwind-arm.h
67 - /usr/include/libunwind-hppa.h
68 - /usr/include/libunwind-ia64.h
69 - /usr/include/libunwind-mips.h
70 - /usr/include/libunwind-ppc32.h
71 - /usr/include/libunwind-ppc64.h
72 - /usr/include/libunwind-sh.h
73 - /usr/include/libunwind-tilegx.h
74 - /usr/include/libunwind-x86.h
75 - /usr/include/libunwind-x86_64.h
76 -)
77 -
78 -src_prepare() {
79 - # These tests like to fail. bleh.
80 - echo 'int main(){return 0;}' > tests/Gtest-dyn1.c
81 - echo 'int main(){return 0;}' > tests/Ltest-dyn1.c
82 -
83 - # Since we have tests disabled via RESTRICT, disable building in the subdir
84 - # entirely. This worksaround some build errors too. #484846
85 - sed -i -e '/^SUBDIRS/s:tests::' Makefile.in || die
86 -
87 - elibtoolize
88 -}
89 -
90 -multilib_src_configure() {
91 - # --enable-cxx-exceptions: always enable it, headers provide the interface
92 - # and on some archs it is disabled by default causing a mismatch between the
93 - # API and the ABI, bug #418253
94 - # conservative-checks: validate memory addresses before use; as of 1.0.1,
95 - # only x86_64 supports this, yet may be useful for debugging, couple it with
96 - # debug useflag.
97 - ECONF_SOURCE="${S}" \
98 - ac_cv_header_atomic_ops_h=$(usex libatomic) \
99 - econf \
100 - --enable-cxx-exceptions \
101 - --enable-coredump \
102 - --enable-ptrace \
103 - --enable-setjmp \
104 - $(use_enable debug-frame) \
105 - $(use_enable doc documentation) \
106 - $(use_enable lzma minidebuginfo) \
107 - $(use_enable static-libs static) \
108 - $(use_enable debug conservative_checks) \
109 - $(use_enable debug)
110 -}
111 -
112 -multilib_src_test() {
113 - # Explicitly allow parallel build of tests.
114 - # Sandbox causes some tests to freak out.
115 - SANDBOX_ON=0 emake check
116 -}
117 -
118 -multilib_src_install() {
119 - default
120 - # libunwind-ptrace.a (and libunwind-ptrace.h) is separate API and without
121 - # shared library, so we keep it in any case
122 - use static-libs || find "${ED}"usr '(' -name 'libunwind-generic.a' -o -name 'libunwind*.la' ')' -delete
123 -}