Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/rarian/
Date: Fri, 30 Sep 2016 21:47:30
Message-Id: 1475272038.8eb8edc7566fcab7b19f136338c06f6bd0f5b64e.eva@gentoo
1 commit: 8eb8edc7566fcab7b19f136338c06f6bd0f5b64e
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 30 21:44:25 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 30 21:47:18 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8eb8edc7
7
8 app-text/rarian: unbundle tinyxml, apply patches from other distros
9
10 Project is most certainly dead nowadays but a surprising number of
11 patches from Redhat, Debian and Ubuntu are lying around waiting to be
12 collected. Since unbundling tinyxml produced a patch too big for
13 repoman to accept, these are provided via a tarball in dev space.
14
15 Bump ebuild to EAPI6.
16
17 Gentoo-bug: 252920
18
19 Package-Manager: portage-2.3.1
20
21 app-text/rarian/Manifest | 1 +
22 app-text/rarian/rarian-0.8.1-r3.ebuild | 66 ++++++++++++++++++++++++++++++++++
23 2 files changed, 67 insertions(+)
24
25 diff --git a/app-text/rarian/Manifest b/app-text/rarian/Manifest
26 index b54bb63..a62f574 100644
27 --- a/app-text/rarian/Manifest
28 +++ b/app-text/rarian/Manifest
29 @@ -1 +1,2 @@
30 +DIST rarian-0.8.1-r3-patches.tar.xz 33508 SHA256 204f4f57724bc4c6f914df5cecea0b799b0f0f166f12e6462ea3762c76c6f234 SHA512 a6a258803ce165854047aacd1ffef32d8d5c271cad3e6b74fb3c694ca6a0de9a8f253c89f9ff53279e7228ae401fad06721f10a6374a03a51bad76b2ef969000 WHIRLPOOL 1824c7e537e9d10e126e3bf8b0b6ed388394ac47b29ea5c5cb4685557572b9a61c663a0337fea34f982782e625c559f549b371934b2f125b4eec1cbf4ee258ad
31 DIST rarian-0.8.1.tar.gz 459461 SHA256 b410d9581dddfabe93e29f9e235a9f9d04d33d8eb12afd0f5ad3bd238c55adef SHA512 ddc640e1ac210e9dc3fcdde6bbff6e21dabe97b160b531cac68d47d1b831dec71b7c4aced9819cfafd8f89f290920c4e33550b8e29d9872a1c1a202d6fe8e3eb WHIRLPOOL bd11206a4701e1771ebd5d82123d299c1c3cbb7ecfa6e00654372494d07b8f47cdfc6e88dc8ea6a405acdae0f57b12ae8c927a952f42d55cdab8f1214f0ac237
32
33 diff --git a/app-text/rarian/rarian-0.8.1-r3.ebuild b/app-text/rarian/rarian-0.8.1-r3.ebuild
34 new file mode 100644
35 index 00000000..ae24e00
36 --- /dev/null
37 +++ b/app-text/rarian/rarian-0.8.1-r3.ebuild
38 @@ -0,0 +1,66 @@
39 +# Copyright 1999-2016 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +# $Id$
42 +
43 +EAPI=6
44 +
45 +inherit autotools eutils
46 +
47 +DESCRIPTION="A documentation metadata library"
48 +HOMEPAGE="https://rarian.freedesktop.org/"
49 +SRC_URI="https://${PN}.freedesktop.org/Releases/${P}.tar.gz
50 + https://dev.gentoo.org/~eva/distfiles/${PN}/${P}-r3-patches.tar.xz"
51 +
52 +LICENSE="LGPL-2.1"
53 +SLOT="0"
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
55 +IUSE="static-libs"
56 +
57 +RDEPEND="
58 + dev-libs/libxslt
59 + dev-libs/tinyxml
60 + || (
61 + sys-apps/util-linux
62 + app-misc/getopt )
63 +"
64 +DEPEND="${RDEPEND}
65 + !<app-text/scrollkeeper-9999
66 +"
67 +
68 +DOCS=( ChangeLog NEWS README )
69 +
70 +PATCHES=(
71 + "${WORKDIR}"/0001-Fix-uri-of-omf-files-produced-by-rarian-sk-preinstal.patch
72 + "${WORKDIR}"/0002-Allow-building-against-system-copy-of-tinyxml.patch
73 + "${WORKDIR}"/0003-Allow-to-specify-only-the-prefix-of-an-info-page-e.g.patch
74 + "${WORKDIR}"/0004-Fix-a-crash-when-opening-files-without-dots-in-their.patch
75 + "${WORKDIR}"/0005-Make-librarian-obey-to-LC_MESSAGES.patch
76 + "${WORKDIR}"/0006-Fix-m4-syntax-so-that-autoreconf-doesn-t-break.patch
77 + "${WORKDIR}"/0007-Remove-the-nonexistent-dist-gzip-Automake-option.patch
78 + "${WORKDIR}"/0008-Fix-OMF-category-parsing.patch
79 + "${WORKDIR}"/0009-Allow-the-getopt-command-to-be-customized-at-configu.patch
80 +)
81 +
82 +src_prepare() {
83 + default
84 + eautoreconf
85 +}
86 +
87 +src_configure() {
88 + local myconf=()
89 + # https://bugs.gentoo.org/show_bug.cgi?id=409811
90 + # https://bugs.freedesktop.org/show_bug.cgi?id=53264
91 + if ! has_version sys-apps/util-linux; then
92 + myconf=( --with-getopt=getopt-long )
93 + fi
94 +
95 + econf \
96 + --localstatedir="${EPREFIX}"/var \
97 + $(use_enable static-libs static) \
98 + ${myconf[@]}
99 +}
100 +
101 +src_install() {
102 + default
103 + prune_libtool_files --all
104 +}