diff options
Diffstat (limited to 'app-text/rarian')
-rw-r--r-- | app-text/rarian/Manifest | 7 | ||||
-rw-r--r-- | app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch | 13 | ||||
-rw-r--r-- | app-text/rarian/metadata.xml | 8 | ||||
-rw-r--r-- | app-text/rarian/rarian-0.8.1-r3.ebuild | 65 |
4 files changed, 93 insertions, 0 deletions
diff --git a/app-text/rarian/Manifest b/app-text/rarian/Manifest new file mode 100644 index 000000000000..f8079caec635 --- /dev/null +++ b/app-text/rarian/Manifest @@ -0,0 +1,7 @@ +AUX rarian-0.8.1-fix-old-doc.patch 629 SHA256 2ac6f3d6df8f221fa36fbe4a86ee9a9c6d4d8a829d58d1d85afff1c9b959ad65 SHA512 7847e99bafccef02f2a153dea2c504ed69a2c2a19fd68496003f5ddb19c5316da03ea61711605b25fee07a04d522a99bc84c128a5a69e6c5e66a468d03b689d5 WHIRLPOOL bd62c4e33a0d1ca27dba1e440f55d205ac34cd75891bf9e2e8f15fcb73e155b56a2c44b57375885e8d0a1294cfb8f5b15e13bde918f8a0cb6bf71671683a4293 +DIST rarian-0.8.1-r3-patches.tar.xz 33508 SHA256 204f4f57724bc4c6f914df5cecea0b799b0f0f166f12e6462ea3762c76c6f234 SHA512 a6a258803ce165854047aacd1ffef32d8d5c271cad3e6b74fb3c694ca6a0de9a8f253c89f9ff53279e7228ae401fad06721f10a6374a03a51bad76b2ef969000 WHIRLPOOL 1824c7e537e9d10e126e3bf8b0b6ed388394ac47b29ea5c5cb4685557572b9a61c663a0337fea34f982782e625c559f549b371934b2f125b4eec1cbf4ee258ad +DIST rarian-0.8.1.tar.gz 459461 SHA256 b410d9581dddfabe93e29f9e235a9f9d04d33d8eb12afd0f5ad3bd238c55adef SHA512 ddc640e1ac210e9dc3fcdde6bbff6e21dabe97b160b531cac68d47d1b831dec71b7c4aced9819cfafd8f89f290920c4e33550b8e29d9872a1c1a202d6fe8e3eb WHIRLPOOL bd11206a4701e1771ebd5d82123d299c1c3cbb7ecfa6e00654372494d07b8f47cdfc6e88dc8ea6a405acdae0f57b12ae8c927a952f42d55cdab8f1214f0ac237 +EBUILD rarian-0.8.1-r3.ebuild 1851 SHA256 819994926e59c7a96e3496b81118fa2fa91588478032dea112179cb1f19bf01b SHA512 41e5bed59f5f19e871ad4fcccbbb591c22ee37c6cb574e8dc9eb7fe8e3821481bc761718e43dfe0f4a0892d24df1f52c506a4640cd64cd73a5b787d6bae74091 WHIRLPOOL 653a8d29d78f6edc5548d7e41be2e163c4ed17d146fcc894692aee59428c7905db5d6279e4ce1a9927e690819df652de4ad9fa91fca81d3d78a276c8c9e74281 +MISC ChangeLog 4088 SHA256 c93e1b2e90f0722f673cf8eb25f50b6f35fcc3f772e48e96a938dbb7a9143db8 SHA512 6705d0e6c495ea580cd9efa024ad3b85eb3e7d362c01c8a274810e40150596ae7d7d67e66697f9b3f1f341ec811e9d15690a722fb427f82e0b7aaf733f178917 WHIRLPOOL 23acb5626e544388a4178e67dd2141b9ec8787ab6e265ab5ab89b5d1325b7a888c9389c82c6331b4409149a323277906310b946cc5d4e92085d061fa9f17a0ba +MISC ChangeLog-2015 8686 SHA256 22356f0a1441149e0c30547e3bc82c62e8d447482159cd85617faae593ff1ecd SHA512 b2b2f3bb9cb9528558dd76110ecc1700ad52326b5840646b7662bf1236dcac7f9752b7b5caa02e39f4f46431ba0c9b4e360b332f0834886742fc2f69d38bb9ef WHIRLPOOL bfc9c05d1ed1932401cafef67d1b0566df8f0dd78d32effb7b9b2d338ea782fd908e454306bf6e85f782e6c03ad6a078ac9ae46a3966003d45ad45a1df0c035b +MISC metadata.xml 249 SHA256 4505b0bfeadff287958620b7dc7b7209699065a8f17139a237a5dd409a726a97 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 WHIRLPOOL 333a938ee1d2124595596c572697bf5ebad523a92ba12005cfb12e6bb6270881a94a911f0cc9c1cf2bb571559e8271e07dfd307dabe50058236dbe7103562b92 diff --git a/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch new file mode 100644 index 000000000000..f84f987d8f10 --- /dev/null +++ b/app-text/rarian/files/rarian-0.8.1-fix-old-doc.patch @@ -0,0 +1,13 @@ +--- util/rarian-sk-preinstall.cpp.old 2008-09-01 20:40:21.000000000 +0200 ++++ util/rarian-sk-preinstall.cpp 2010-01-30 11:29:39.000000000 +0100 +@@ -96,8 +96,8 @@ + } + if (i == 1) { + /* Normal path. Add file:/ to the start */ +- new_url = (char *) malloc (sizeof(char) * (strlen (input) + 7)); +- sprintf (new_url, "file:/%s", input); ++ new_url = (char *) malloc (sizeof(char) * (strlen (input) + 8)); ++ sprintf (new_url, "file://%s", input); + } else { + /* Don't know what to do. Just copy and append file: to it */ + new_url = (char *) malloc (sizeof(char) * (strlen(input) + 6)); diff --git a/app-text/rarian/metadata.xml b/app-text/rarian/metadata.xml new file mode 100644 index 000000000000..39980802b1da --- /dev/null +++ b/app-text/rarian/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +</pkgmetadata> diff --git a/app-text/rarian/rarian-0.8.1-r3.ebuild b/app-text/rarian/rarian-0.8.1-r3.ebuild new file mode 100644 index 000000000000..3352e0728408 --- /dev/null +++ b/app-text/rarian/rarian-0.8.1-r3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools eutils + +DESCRIPTION="A documentation metadata library" +HOMEPAGE="https://rarian.freedesktop.org/" +SRC_URI="https://${PN}.freedesktop.org/Releases/${P}.tar.gz + https://dev.gentoo.org/~eva/distfiles/${PN}/${P}-r3-patches.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=" + dev-libs/libxslt + dev-libs/tinyxml + || ( + sys-apps/util-linux + app-misc/getopt ) +" +DEPEND="${RDEPEND} + !<app-text/scrollkeeper-9999 +" + +DOCS=( ChangeLog NEWS README ) + +PATCHES=( + "${WORKDIR}"/0001-Fix-uri-of-omf-files-produced-by-rarian-sk-preinstal.patch + "${WORKDIR}"/0002-Allow-building-against-system-copy-of-tinyxml.patch + "${WORKDIR}"/0003-Allow-to-specify-only-the-prefix-of-an-info-page-e.g.patch + "${WORKDIR}"/0004-Fix-a-crash-when-opening-files-without-dots-in-their.patch + "${WORKDIR}"/0005-Make-librarian-obey-to-LC_MESSAGES.patch + "${WORKDIR}"/0006-Fix-m4-syntax-so-that-autoreconf-doesn-t-break.patch + "${WORKDIR}"/0007-Remove-the-nonexistent-dist-gzip-Automake-option.patch + "${WORKDIR}"/0008-Fix-OMF-category-parsing.patch + "${WORKDIR}"/0009-Allow-the-getopt-command-to-be-customized-at-configu.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myconf=() + # https://bugs.gentoo.org/show_bug.cgi?id=409811 + # https://bugs.freedesktop.org/show_bug.cgi?id=53264 + if ! has_version sys-apps/util-linux; then + myconf=( --with-getopt=getopt-long ) + fi + + econf \ + --localstatedir="${EPREFIX}"/var \ + $(use_enable static-libs static) \ + ${myconf[@]} +} + +src_install() { + default + prune_libtool_files --all +} |