diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-text/html2text | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-text/html2text')
-rw-r--r-- | app-text/html2text/Manifest | 3 | ||||
-rw-r--r-- | app-text/html2text/files/html2text-1.3.2-compiler.patch | 14 | ||||
-rw-r--r-- | app-text/html2text/files/html2text-1.3.2a-compiler.patch | 13 | ||||
-rw-r--r-- | app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch | 11 | ||||
-rw-r--r-- | app-text/html2text/html2text-1.3.2a-r1.ebuild | 42 | ||||
-rw-r--r-- | app-text/html2text/html2text-1.3.2a.ebuild | 45 | ||||
-rw-r--r-- | app-text/html2text/metadata.xml | 10 |
7 files changed, 138 insertions, 0 deletions
diff --git a/app-text/html2text/Manifest b/app-text/html2text/Manifest new file mode 100644 index 000000000000..c957bd863405 --- /dev/null +++ b/app-text/html2text/Manifest @@ -0,0 +1,3 @@ +DIST html2text-1.3.2a.tar.gz 130088 SHA256 000b39d5d910b867ff7e087177b470a1e26e2819920dcffd5991c33f6d480392 SHA512 8ec2c17849615b8b78b6f7e9066e5bcfb419b293ffe98323ed0942e891993e205ef37ddfd2839eb12b6bad561989027aea0ba2d57eb7193d424715f93ded90e5 WHIRLPOOL cd0279ae362af014a6f2af5368567e86567cb0e41aad02629f43dbee02fe094bdcfef9887159304d1dfc99667907a3fb620d2e17f5a222e7ca8d139445ebd761 +DIST patch-amd64-html2text-1.3.2a.diff 2230 SHA256 b05c425ce431de104dc0c506786f07590895195911e09c9cba62a64974ca05a0 SHA512 2a421a20aec8a547bbdf54b81e30a6a1d4cf093e7ad67b27158f0c7248ca0abadd8d96ce0a27adcdd375012db6fd21f61f42a8343bfd910cd8a9720c0a043be1 WHIRLPOOL d1d40eae5b1078a17e3e276ef78cab92707aaf26c478423a321ea08bd9f884501a4faf31e9050dfaad41b8e9d68432dc0164e7e6d7c3ea00c9b599631d1b1aad +DIST patch-utf8-html2text-1.3.2a.diff 29499 SHA256 be4e90094d2854059924cb2c59ca31a5e9e0e22d2245fa5dc0c03f604798c5d1 SHA512 be31251471b221a38d291420d5f23e01d5017c20d953064c33ca3dd148543ae877ab584c16fcb01df1341abdb02494b05d08fdcf94bf70bad6b510ee8fac3376 WHIRLPOOL a512ca16db7a919fd60b3f3bf6797138df1ecfcc25e3d97cf3e800ca75b4d86860443c0a57c12e2f7ddece593e1c84c1f7a803be826ec154c9cfb2eb02712355 diff --git a/app-text/html2text/files/html2text-1.3.2-compiler.patch b/app-text/html2text/files/html2text-1.3.2-compiler.patch new file mode 100644 index 000000000000..ede0e7b57069 --- /dev/null +++ b/app-text/html2text/files/html2text-1.3.2-compiler.patch @@ -0,0 +1,14 @@ +--- configure.old 2005-10-14 16:37:15.000000000 +0200 ++++ html2text-1.3.2/configure 2005-10-14 16:41:51.000000000 +0200 +@@ -38,7 +38,10 @@ + } + EOF + CXX=unknown; +-for i in "CC" "g++" "cc" "$CC"; do ++if test "x$CC" = "x"; then ++ CC='CC' ++fi ++for i in "g++" "cc" "$CC" "CC"; do + if $i -c $tmp_file.C 2>/dev/null; then + CXX="$i"; + break; diff --git a/app-text/html2text/files/html2text-1.3.2a-compiler.patch b/app-text/html2text/files/html2text-1.3.2a-compiler.patch new file mode 100644 index 000000000000..19a1341209d4 --- /dev/null +++ b/app-text/html2text/files/html2text-1.3.2a-compiler.patch @@ -0,0 +1,13 @@ +--- a/configure ++++ b/configure +@@ -38,8 +38,8 @@ + return 0; + } + EOF +-CXX=unknown; +-for i in "CC" "g++" "cc" "$CC"; do ++CXX=${CXX-unknown} ++for i in "$CXX" "CC" "g++" "cc"; do + if $i -c $tmp_file.C 2>/dev/null; then + CXX="$i"; + break; diff --git a/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch b/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch new file mode 100644 index 000000000000..949d8958a449 --- /dev/null +++ b/app-text/html2text/files/html2text-1.3.2a-urlistream-get.patch @@ -0,0 +1,11 @@ +--- a/urlistream.C ++++ b/urlistream.C +@@ -362,7 +362,7 @@ + int + urlistream::get() + { +- char ch; ++ unsigned char ch; + int ret = ::read(fd_, &ch, 1); + return (ret > 0 ? ch : -1); + } diff --git a/app-text/html2text/html2text-1.3.2a-r1.ebuild b/app-text/html2text/html2text-1.3.2a-r1.ebuild new file mode 100644 index 000000000000..6bc0c4778c90 --- /dev/null +++ b/app-text/html2text/html2text-1.3.2a-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="A HTML to text converter" +HOMEPAGE="http://www.mbayer.de/html2text/" +SRC_URI="http://www.mbayer.de/html2text/downloads/${P}.tar.gz + http://www.mbayer.de/html2text/downloads/patch-utf8-${P}.diff + http://www.mbayer.de/html2text/downloads/patch-amd64-${P}.diff +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + tc-export CXX + epatch \ + "${FILESDIR}/${P}-compiler.patch" \ + "${FILESDIR}/${P}-urlistream-get.patch" \ + "${DISTDIR}/patch-utf8-${P}.diff" \ + "${DISTDIR}/patch-amd64-${P}.diff" + epatch_user +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}" +} + +src_install() { + dobin html2text + doman html2text.1.gz html2textrc.5.gz + dodoc CHANGES CREDITS KNOWN_BUGS README TODO +} diff --git a/app-text/html2text/html2text-1.3.2a.ebuild b/app-text/html2text/html2text-1.3.2a.ebuild new file mode 100644 index 000000000000..47f979e2dc03 --- /dev/null +++ b/app-text/html2text/html2text-1.3.2a.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="A HTML to text converter" +HOMEPAGE="http://www.mbayer.de/html2text/" +SRC_URI="http://www.mbayer.de/html2text/downloads/${P}.tar.gz + http://www.mbayer.de/html2text/downloads/patch-utf8-${P}.diff" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DEPEND="" +RDEPEND="" + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-compiler.patch + epatch "${FILESDIR}"/${P}-urlistream-get.patch + epatch "${DISTDIR}"/patch-utf8-${P}.diff +} + +src_configure() { + tc-export CXX + default +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" DEBUG="${CXXFLAGS}" +} + +src_install() { + dobin html2text + doman html2text.1.gz html2textrc.5.gz + dodoc CHANGES CREDITS KNOWN_BUGS README TODO +} diff --git a/app-text/html2text/metadata.xml b/app-text/html2text/metadata.xml new file mode 100644 index 000000000000..7b03face72e4 --- /dev/null +++ b/app-text/html2text/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>jazzoslav@gmail.com</email> + <name>Jaroslav Rakhmatoullin</name> + <description>Proxied maintainer, assign bugs to him</description> + </maintainer> +</pkgmetadata> |