ChangeLog

# ChangeLog for app-text/htmltidy
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/ChangeLog,v 1.44 2007/05/30 16:33:34 armin76 Exp $

30 May 2007; Raúl Porcel htmltidy-5.10.26-r2.ebuild:
alpha stable wrt #155327

12 Apr 2007; Fabian Groffen htmltidy-4.8.6.ebuild,
htmltidy-5.10.26-r2.ebuild:
Dropped ppc-macos keyword, see you in prefix

12 Mar 2007; Leonardo Boshell metadata.xml,
-htmltidy-3.10.29.ebuild, -htmltidy-5.10.26-r1.ebuild:
Replacing text-markup herd with the new sgml herd. Pruning old ebuilds.

10 Mar 2007; Alexander H. Færøy
htmltidy-5.10.26-r2.ebuild:
Stable on MIPS.

04 Feb 2007; Steve Dibb htmltidy-5.10.26-r2.ebuild:
amd64 stable, bug 155327

31 Jan 2007; Markus Rothe htmltidy-5.10.26-r2.ebuild:
Stable on ppc64; bug #155327

29 Jan 2007; Gustavo Zacarias
htmltidy-5.10.26-r2.ebuild:
Stable on sparc wrt #155327

27 Jan 2007; Jeroen Roovers htmltidy-5.10.26-r2.ebuild:
Stable for HPPA (bug #155327).

27 Jan 2007; Joseph Jezak htmltidy-5.10.26-r2.ebuild:
Marked ppc stable for bug #155327.

27 Jan 2007; Raúl Porcel htmltidy-5.10.26-r2.ebuild:
x86 stable wrt bug 155327

*htmltidy-5.10.26-r2 (23 Sep 2006)

23 Sep 2006; Alexandre Buisse htmltidy-4.8.6.ebuild,
+htmltidy-5.10.26-r2.ebuild:
Corrected autotools usage (bug #148759).

30 Jul 2006; htmltidy-4.8.6.ebuild:
stable on mips

*htmltidy-5.10.26-r1 (08 May 2006)

08 May 2006; Martin Ehmsen -htmltidy-5.10.26.ebuild,
+htmltidy-5.10.26-r1.ebuild:
Added man page and quickref doc, bug #132429.

22 Apr 2006; Diego Pettenò
htmltidy-5.10.26.ebuild:
Add ~x86-fbsd keyword.

*htmltidy-5.10.26 (13 Feb 2006)

13 Feb 2006; Martin Ehmsen
+files/htmltidy-5.10.26-strip-O2-flag.patch,
+files/05-htmltidy-docbook.patch, +htmltidy-5.10.26.ebuild:
Version bump thanks to Jesse Adelman , bug #106142.

07 Nov 2004; Markus Rothe htmltidy-4.8.6.ebuild:
Stable on ppc64; bug #60442

03 Nov 2004; Bret Curtis htmltidy-4.8.6.ebuild:
added to ~mips for testing

11 Oct 2004; Tom Martin htmltidy-4.8.6.ebuild:
Stable on amd64.

11 Oct 2004; Guy Martin htmltidy-4.8.6.ebuild:
Marked stable on hppa.

04 Oct 2004; Gustavo Zacarias htmltidy-4.8.6.ebuild:
Stable on sparc

03 Oct 2004; Mamoru KOMACHI
-files/htmltidy-dbpatch.diff, -htmltidy-0.8.4.ebuild,
-htmltidy-2.7.18-r1.ebuild, -htmltidy-2.7.18-r2.ebuild,
htmltidy-4.8.6.ebuild:
Removed old ebuilds. Marked 4.8.6 stable on x86, alpha, ppc and ppc-macos.

28 Sep 2004; Tom Gall htmltidy-4.8.6.ebuild:
added ~ppc64, bug #64229

13 Sep 2004; Mamoru KOMACHI htmltidy-2.7.18-r2.ebuild,
htmltidy-3.10.29.ebuild, htmltidy-4.8.6.ebuild:
Changed to use dated tarball. This closes bug #63805.

*htmltidy-4.8.6 (18 Aug 2004)

18 Aug 2004; Mamoru KOMACHI
+files/04-htmltidy-docbook.patch, +htmltidy-4.8.6.ebuild:
Version bumped. This closes bug #57509.

24 Jul 2004; Mamoru KOMACHI htmltidy-3.10.29.ebuild:
Added to macos. This closes bug #58076

28 Feb 2004; Mamoru KOMACHI htmltidy-3.10.29.ebuild:
Added WANT_AUTO{MAKE,CONF} to fix configure error, closing bug #42796

21 Feb 2004; Mamoru KOMACHI htmltidy-3.10.29.ebuild:
Added WANT_AUTOMAKE=1.5 and WANT_AUTOCONF=2.5 to make sure it updates
Makefile correctly, closing bug #42020

20 Jan 2004; Jon Portnoy htmltidy-3.10.29.ebuild :
AMD64 keywords.

09 Jan 2004; Aron Griffis htmltidy-3.10.29.ebuild:
stable on alpha

07 Jan 2004; Ciaran McCreesh htmltidy-3.10.29.ebuild:
Stable on sparc

*htmltidy-2.7.18-r2 (20 Dec 2003)

20 Dec 2003; Mike Gardiner htmltidy-2.7.18-r2.ebuild:
New revision with docs, see bug #34775

16 Dec 2003; Mike Gardiner htmltidy-3.10.29.ebuild:
Marked 3.10.29 stable for x86

*htmltidy-3.10.29 (08 Nov 2003)

08 Nov 2003; Mike Gardiner htmltidy-2.7.18.ebuild,
htmltidy-3.10.29.ebuild, files/03-html2db-null.patch,
files/03-htmltidy-docbook.patch:
New version, 3.10.29, includes XML and html2db support if USE=xml. Version
2.7.18 has been removed in favour of 2.7.18-r1. Closes bug #32836

18 Jun 2003; Seemant Kulleen
files/htmltidy-dbpatch.diff:
htmltidy patch fix by: Matthew Gatto in bug #22210
reported by: keanu

29 May 2003; Aron Griffis htmltidy-2.7.18-r1.ebuild:
Mark stable on alpha. Remove deprecated sgml USE flag.

*htmltidy-2.7.18-r1 (03 Jan 2003)

01 Feb 2003; Jason Shoemaker : Fixed broken source link.
Resolves #7151.

03 Jan 2003; Matthew Turk : Added dbpatch to convert HTML
to either Docbook/XML or Docbook/SGML. Thanks to Ferdy
for the patch.

06 Dec 2002; Rodney Rees : changed sparc ~sparc keywords

*htmltidy-2.7.18 (25 Jul 2002)

25 July 2002; Sascha Schwabbauer ChangeLog :
Updated to the newest version, 2.7.18.


*htmltidy-0.8.4 (01 Feb 2002)

01 Feb 2002; G.Bevin ChangeLog : Added initial ChangeLog
which should be updated whenever the package is updated in any way. This
changelog is targetted to users. This means that the comments should well
explained and written in clean English. The details about writing correct
changelogs are explained in the skel.ChangeLog file which you can find in
the root directory of the portage repository.

Manifest

AUX 03-html2db-null.patch 4249 RMD160 6e798c5cd5a2c9eda0c4ed8b9ef3c39c74df8ed6 SHA1 b9d961e40225b8eed18c3e5bb6a8c1623382f495 SHA256 9a8544d4070d7794ae65a3b75cb398e37c447c3cd5ec5e89306fab765d85cbb5
AUX 03-htmltidy-docbook.patch 2948 RMD160 75e14983a769f2a2cf06f1c8a4152af4b3ccfe77 SHA1 695850be86d67ff037e6ab205884390031bce5e9 SHA256 5279fcc00d26c35f7bbbac6e513cf4d3dcb71411da9dd76793b71c069eb3fde9
AUX 04-htmltidy-docbook.patch 2975 RMD160 2f04472d478fc587546fab768c681ce93d4f0681 SHA1 832396516a98d048a9bb36a918dc2ae8e0ed2683 SHA256 ed90c549513c04a62da53f8bb72de131b1d08ac4fc0a74709f12820d8264a430
AUX 05-htmltidy-docbook.patch 3039 RMD160 9afbf7e653db20d31bc0811c5e5c9ee3565356cb SHA1 9bb811de849f07ef03fe6937b0745d99928be925 SHA256 6b4f6562dc1e5e5425368e3bec533ae0e9866e2cf216b8c284d3f3fca706089f
AUX htmltidy-5.10.26-strip-O2-flag.patch 370 RMD160 1e531a13a61c80053cfb886a29cf2b4bafe45400 SHA1 f2b029ec14aede67b520c2376af27e594e9685dd SHA256 6acd356327faa4043a0b4cf5f242a5249d32c136fc39594701aca67ad70f353b
DIST html2db.tar.gz 6028 RMD160 811a291e4824fa643d87aefafeddf5eaab728dda SHA1 75084557e670e6c7a2327072766b9effba614cd5 SHA256 c2e68347b5cc78caacc1ab8135b60e1074a24b977c6ea08dfe30e2ef1ab12357
DIST htmltidy-5.10.26-doc.tar.bz2 12636 RMD160 f9123e37fd274afe9828a81d5edc2b7ac1a3afee SHA1 4f3d748bae6879e051379d79b52a3ad9c7a2c1d0 SHA256 c51ffd8045eda8d63efc99fa690a3726cf7f68aa6241648bb3dc44d16ad03c18
DIST tidy_docs_040810.tgz 153044 RMD160 65f31c49074098e7bd071ef693bd9399693c17a9 SHA1 c8665ede43f58d1b4dad5921f0b520ec863eb416 SHA256 c9373469306b9bf40ddef297c1b36548edacf4d22766a5b7f4186c46c1d66302
DIST tidy_docs_051020.tgz 150402 RMD160 63f033560af9a53393d9a3f656f26bb12bf505b6 SHA1 04988d51267566db6899e8061d9f2e5b58fbeec4 SHA256 8afdf165e7d5ce13cd64af4a5d0961627e006dbb3697fef97d378c94f052e35c
DIST tidy_src_040806.tgz 244076 RMD160 5cff3fe361d9d9fe9d789d8d087b90efba0546f4 SHA1 477bcdb7b3b75281e41580e962e3f939d9eba8fa SHA256 1158e148ce6e1749baf46cc422e53609b8c7a0423a0e03d14911cc13d031bd3e
DIST tidy_src_051026.tgz 256131 RMD160 0cae41f8c0cec51d4600d1bf2aac338cf60aa6b9 SHA1 53be36945344af0c4080c34ebc95728bf8617f1c SHA256 538aadc6f06e988cca932bfecae00313063ce01e62f4d395cf84736fca41bbfd
EBUILD htmltidy-4.8.6.ebuild 2513 RMD160 858dbcdebd82252fcdc0d8be732e7db75e016f06 SHA1 43112c6cdfee2a35f54c54108d27a0a0a229fb04 SHA256 2166bc63eb59970cbe594464263e3c749df6cb7120f7eb10107ec0e7b461d250
EBUILD htmltidy-5.10.26-r2.ebuild 2752 RMD160 1851ed267050a65a3ddc87f4006819b7712a62ea SHA1 4bb17a6d6350a6e4766406221ac54c0b0764a893 SHA256 e8d7b464edbb8f237590e667d980fcd6cc7876f75198beac822ef7779704a975
MISC ChangeLog 6127 RMD160 a0cf042c725ef43f05d8c316b4b652cc151fa887 SHA1 75a3e55a4f0718476ef74d2eaeb4a5591543fcb8 SHA256 cbfdce2a451007ee828d3a32de1159b922e2421a0bd3ffb765739dfa6f0b97c4
MISC metadata.xml 159 RMD160 a94e7b2c191d1593b8bc416d266571e001c2f673 SHA1 3c1d0831d8acacef390234d20d7711cabded861a SHA256 52cf1b9dda72e2d61fef95515c8a124ac9f1196e5509e5636e269f396fcba8a3

files

htmltidy-4.8.6.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-4.8.6.ebuild,v 1.22 2007/06/26 01:44:05 mr_bones_ Exp $

WANT_AUTOMAKE=1.5
WANT_AUTOCONF=2.5

inherit eutils autotools

# Convert gentoo version number x.y.z to date xyz for
# tidy's source numbering by date
parts=(${PV//./ })
dates=$(printf "%02d%02d%02d" ${parts[0]} ${parts[1]} ${parts[2]})
MY_P=tidy_src_${dates}
S=${WORKDIR}/tidy

DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents"
HOMEPAGE="http://tidy.sourceforge.net/"
SRC_URI="http://tidy.sourceforge.net/src/old/${MY_P}.tgz
http://tidy.sourceforge.net/docs/tidy_docs_040810.tgz
xml? ( http://www.cise.ufl.edu/~ppadala/tidy/html2db.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86"
IUSE="debug doc xml"

DEPEND="virtual/libc"
RDEPEND="virtual/libc"

src_unpack() {
unpack ${A}
cd ${S}
# Required to setup the source dist for autotools
einfo "Setting up autotools for source build"
export WANT_AUTOMAKE=1.5 WANT_AUTOCONF=2.5
/bin/sh ./build/gnuauto/setup.sh > /dev/null

# Stop tidy from appending -O2 to our CFLAGS
sed -e "/save_cflags/s/\ \-O2//" configure.in > ${T}/configure.in &&
mv ${T}/configure.in configure.in || die "sed configure.in failed"

if use xml ; then
# Apply the docbook patch to tidy sources
epatch ${FILESDIR}/04-${PN}-docbook.patch

# And the null -> NULL patch to html2db sources
cd ${WORKDIR}
epatch ${FILESDIR}/03-html2db-null.patch

# Point to the tidy source in the html2db Makefile
sed -e "/TIDYDIR\=/s:\.\.:${S}:" \
-e "/LIBDIR\=/s:lib:src\/\.libs\/:" \
${WORKDIR}/html2db/Makefile > ${T}/Makefile &&
mv ${T}/Makefile ${WORKDIR}/html2db/Makefile || die "sed Makefile failed"
fi
}

src_compile() {
export WANT_AUTOMAKE=1.5 WANT_AUTOCONF=2.5
econf `use_enable debug` || die
emake || die

if use xml ; then
cd ${WORKDIR}/html2db
emake || die
fi
}

src_install() {
make DESTDIR=${D} install || die
use xml && dobin ${WORKDIR}/html2db/html2db

cd ${S}/htmldoc
# It seems the manual page installation in the Makefile's
# is commented out, so we need to install manually
# for the moment. Please check this on updates.
mv man_page.txt tidy.1
doman tidy.1

# Install basic html documentation
dohtml *.html *.gif *.css
# If use 'doc' is set, then we also want to install the
# api documentation
use doc && dohtml -r api
}

htmltidy-5.10.26-r2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/htmltidy/htmltidy-5.10.26-r2.ebuild,v 1.12 2007/06/26 01:44:05 mr_bones_ Exp $

WANT_AUTOMAKE=1.5
WANT_AUTOCONF=2.5

inherit eutils autotools

# Convert gentoo version number x.y.z to date xyz for
# tidy's source numbering by date
parts=(${PV//./ })
dates=$(printf "%02d%02d%02d" ${parts[0]} ${parts[1]} ${parts[2]})
MY_P=tidy_src_${dates}
S=${WORKDIR}/tidy

DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents"
HOMEPAGE="http://tidy.sourceforge.net/"
SRC_URI="http://tidy.sourceforge.net/src/${MY_P}.tgz
http://tidy.sourceforge.net/docs/tidy_docs_051020.tgz
mirror://gentoo/${P}-doc.tar.bz2
xml? ( http://www.cise.ufl.edu/~ppadala/tidy/html2db.tar.gz )"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
IUSE="debug doc xml"

DEPEND=""

src_unpack() {
unpack ${A}
cd "${S}"
# Required to setup the source dist for autotools
einfo "Setting up autotools for source build"
export WANT_AUTOMAKE=1.5 WANT_AUTOCONF=2.5
/bin/sh ./build/gnuauto/setup.sh > /dev/null

# Stop tidy from appending -O2 to our CFLAGS
epatch ${FILESDIR}/htmltidy-5.10.26-strip-O2-flag.patch || die

if use xml ; then
# Apply the docbook patch to tidy sources
epatch ${FILESDIR}/05-${PN}-docbook.patch || die

# And the null -> NULL patch to html2db sources
EPATCH_OPTS="-d ${WORKDIR}" epatch ${FILESDIR}/03-html2db-null.patch || die

# Point to the tidy source in the html2db Makefile
sed -e "/TIDYDIR\=/s:\.\.:${S}:" \
-e "/LIBDIR\=/s:lib:src\/\.libs\/:" \
${WORKDIR}/html2db/Makefile > ${T}/Makefile &&
mv ${T}/Makefile ${WORKDIR}/html2db/Makefile || die "sed Makefile failed"
fi
}

src_compile() {
export WANT_AUTOMAKE=1.5 WANT_AUTOCONF=2.5
econf `use_enable debug` || die
emake || die

if use xml ; then
cd ${WORKDIR}/html2db
emake || die
fi
}

src_install() {
make DESTDIR=${D} install || die
use xml && dobin ${WORKDIR}/html2db/html2db

cd ${S}/htmldoc
# It seems the manual page installation in the Makefile's
# is commented out, so we need to install manually
# for the moment. Please check this on updates.
# mv man_page.txt tidy.1
# doman tidy.1
#
# Update:
# Now the man page is provided as an xsl file, which
# we can't use until htmltidy is merged.
# I have generated the man page and quickref which is on
# the mirrors. (bug #132429)
doman "${WORKDIR}/${P}-doc/tidy.1"

# Install basic html documentation
dohtml *.html *.css *.gif "${WORKDIR}/${P}-doc/quickref.html"

# If use 'doc' is set, then we also want to install the
# api documentation
use doc && dohtml -r api
}

metadata.xml




sgml