ChangeLog

# ChangeLog for dev-haskell/haxml
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/ChangeLog,v 1.28 2007/12/30 20:27:06 kolmodin Exp $

*haxml-1.13.3 (30 Dec 2007)

30 Dec 2007; Lennart Kolmodin +haxml-1.13.3.ebuild:
Version bump. Mostly fixes to the build system, which we have to patch
anyway. This fixes bug #203800.

13 Dec 2007; Duncan Coutts haxml-1.13.2.ebuild:
Fixes for compatability with cabal-1.2 and ghc-6.8.

12 Dec 2007; Duncan Coutts haxml-1.13-r1.ebuild:
Remove unnecessary blocker.

31 Oct 2007; Duncan Coutts haxml-1.12.ebuild,
haxml-1.13-r1.ebuild, haxml-1.13.2.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc

11 Aug 2007; Steve Dibb haxml-1.13.2.ebuild:
amd64 stable, bug 186849

30 Jul 2007; Markus Rothe haxml-1.13.2.ebuild:
Stable on ppc64; bug #186849

30 Jul 2007; Ferris McCormick haxml-1.13.2.ebuild:
Sparc stable --- Bug #186849 --- good on sparc since October, 2006.

28 Jul 2007; nixnut haxml-1.13.2.ebuild:
Stable on ppc wrt bug 186849

14 Oct 2006; haxml-1.13-r1.ebuild:
Make haxml-1.13-r1 support profiling

12 Oct 2006; Duncan Coutts haxml-1.12.ebuild,
haxml-1.13-r1.ebuild:
Block older versions on ghc-6.6, latest version is fine.

*haxml-1.13.2 (11 Oct 2006)

11 Oct 2006; Duncan Coutts +haxml-1.13.2.ebuild:
New minor version to fix compatability with ghc-6.6

05 Oct 2006; Chris Parrott haxml-1.13-r1.ebuild:
marked stable for amd64 (bug 144678)

04 Oct 2006; Joshua Jackson haxml-1.13-r1.ebuild:
Stable x86; bug #144678

27 Aug 2006; Stephanie Lockwood-Childs
haxml-1.13-r1.ebuild:
stable on ppc (Bug #144678)

25 Aug 2006; Ferris McCormick haxml-1.13-r1.ebuild:
Stable on sparc --- Bug #144678 --- no problems.

24 Aug 2006; Markus Rothe haxml-1.13-r1.ebuild:
Stable on ppc64; bug #144678

03 May 2006; Duncan Coutts -haxml-1.13.ebuild,
haxml-1.13-r1.ebuild:
Add fix for building uing cabal-1.1.4. Remove old revision.

27 Mar 2006; Duncan Coutts haxml-1.13-r1.ebuild:
Marked ~ia64

01 Mar 2006; Markus Rothe haxml-1.13-r1.ebuild:
Added ~ppc64; bug #124469

*haxml-1.13-r1 (28 Feb 2006)

28 Feb 2006; Duncan Coutts haxml-1.13.ebuild,
+haxml-1.13-r1.ebuild:
Patch the build system so it builds the HaXml tools (fixes bug #124382).

27 Feb 2006; Duncan Coutts haxml-1.12.ebuild,
haxml-1.13.ebuild:
Add ~sparc to KEYWORDS

*haxml-1.13 (21 Feb 2006)

21 Feb 2006; metadata.xml, +haxml-1.13.ebuild:
Added new version. It now builds using cabal.

17 Feb 2006; haxml-1.12.ebuild:
Marked ~amd64. (closing bug #110727 thanks to Chris Parrott)

29 Jun 2005; Andres Loeh metadata.xml:
Fixed metadata.

10 May 2005; Andres Loeh files/HaXml-1.12.cabal,
haxml-1.12.ebuild:
Package description for ghc-6.4 was incomplete.

04 May 2005; David Holm haxml-1.12.ebuild:
Added to ~ppc.

05 Apr 2005; Andres Loeh files/HaXml-1.12.cabal,
haxml-1.12.ebuild:
Fixed DESCRIPTION spelling mistake. Made HaXml package exposed by default
with ghc-6.4.

*haxml-1.12 (05 Apr 2005)

05 Apr 2005; Andres Loeh +metadata.xml,
+files/HaXml-1.12.cabal, +haxml-1.12.ebuild:
Initial import. Thanks to Lennart Kolmodin for
submitting a first version (bug #83189).

Manifest

AUX HaXml-1.12.cabal 1144 RMD160 52358eebfecc174965d665d2a121fffa214d025d SHA1 c3766298d49d8504f0552965e91750af44b04e0a SHA256 84e118a6c2206079d2a6c287e23fa271bd5455d0f9a25851ca4dceb6f5e40c3e
DIST HaXml-1.12.tar.gz 433384 RMD160 2d055cd524f299886e6a39f18d81c8bbbfec0979 SHA1 c44443d8804987d922f8485db29d162a6064b3fc SHA256 513560e934ab46609aa0449b8f3c9386ad2b2b853511775c659dd90cf2d28c74
DIST HaXml-1.13.2.tar.gz 472348 RMD160 151ccd653bc48e1f9c01d9b8651a4a618c8ab5fb SHA1 de41d2ce88d1d0672fd50f2e6669dc5bfc403da4 SHA256 a4473977f76a3c2514c1456fb2d4eceb4b73a64104d9a0635f10b33c98a58aa1
DIST HaXml-1.13.3.tar.gz 472660 RMD160 4ea350b7d1af47188bc2839d9635297db01475e0 SHA1 d20ab3caadca4ad9fdc1fb3e748220ae18ad2210 SHA256 60872bc3684f6884e4b8fdfca95adf455072e8dc1f74105a33a6a69781e7a921
DIST HaXml-1.13.tar.gz 435809 RMD160 df1c371cf8727baf4286a550e43de22c14d2db00 SHA1 404a7144ca8131ec069dc57145a32d938783fc50 SHA256 28af11504085e7a03a66f9e29feb2c141b19d9a067d74d5b41b509938a255f57
EBUILD haxml-1.12.ebuild 1869 RMD160 2f8dc45d245d8fb6fb209d9a1d3d20c8426c1d9b SHA1 0f1538609fc10e7def83052a38a797ddfeddbbad SHA256 035775b81707e99ad7bb30541f0d6bf3d5e2b023b2f2c38cfddbc398a396c065
EBUILD haxml-1.13-r1.ebuild 1519 RMD160 6c4c9789ebb8fe01675f2602446ccb70b06528da SHA1 14b569bcb0978f454032d2f76c70a797e12febca SHA256 95f3703adde21ae12b25101546de713b5d6c1229bf028ea3a6720616ec783e27
EBUILD haxml-1.13.2.ebuild 1276 RMD160 9c2f52f1ad89c9e5c864dca834c02832fc7b1f77 SHA1 5ea4364dc9c4faa64c3951f36455692a33d322bd SHA256 e30f668ffc535cd4491df183cfd375b1572e372ef0adee8aa89c8d646011b459
EBUILD haxml-1.13.3.ebuild 1102 RMD160 310a8f149622124612f0f63c2d9eded4ea4f253d SHA1 a7dfb3940f5ea8db99e0bfcfbd39a726a5aece96 SHA256 24c6de75ce2f1a83b0ca77e97026c74f7c6e23126fa70a2fe6e06ed500c262ea
MISC ChangeLog 3894 RMD160 5d4a3d1e387b5835251730400e9d7e3a9cafcdef SHA1 1e121bf7b7acb4120725374adcf53c57abb70532 SHA256 9e57b8b661e9e873a87c7cd93eca2091d00470c9aa75aca992ebfef3f44903f7
MISC metadata.xml 223 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 SHA1 7b962c77f2e38479a9d1621ec8d307ca9f761753 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508

files

haxml-1.12.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.12.ebuild,v 1.10 2007/12/13 00:47:17 dcoutts Exp $

inherit ghc-package fixheadtails

MY_PN=HaXml
MY_P=${MY_PN}-${PV}

DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents"
HOMEPAGE="http://www.haskell.org/HaXml/"
SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

KEYWORDS="~amd64 ~ppc ~sparc ~x86"

IUSE="doc"

# actually, >=ghc-5.02 should be ok
# hugs and nhc98 are ok too, somebody might want to add support for them
DEPEND=">=dev-lang/ghc-6.0
!>=dev-lang/ghc-6.6
doc? ( >=dev-haskell/haddock-0.6-r2 )"

S=${WORKDIR}/${MY_P}

src_unpack() {
unpack ${A}
ht_fix_file "${S}/configure"
}

src_compile() {

./configure --prefix="${D}/usr/bin" \
|| die "./configure failed"
# we only support ghc currently; overrides auto-detection
echo ghc > "${S}/obj/compilers"

emake -j1 || die "make failed"

# create documentation if requested
if use doc; then
emake -j1 haddock || die "make doc failed"
fi

# prepare installation of the pkg.conf-file
if $(ghc-cabal); then
ghc-setup-pkg
$(ghc-getghcpkg) -f "${S}/$(ghc-localpkgconf)" --force register "${FILESDIR}/${MY_P}.cabal"
else
ghc-setup-pkg "${S}/obj/ghc/pkg.conf"
fi
# make sure the libdir is correct
ghc-fixlibpath '$libdir'
}

src_install() {
# fix so it installs into image dir
echo "${D}/$(ghc-libdir) > "${S}/obj/ghc/ghclibdir"
echo "${D}/$(ghc-libdir)/imports > "${S}/obj/ghc/ghcincdir"
# make sure all installation directories are there
mkdir -p "${D}/$(ghc-libdir)/imports"

emake -j1 install-filesonly || die "make install failed"

if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi

ghc-install-pkg
}

haxml-1.13-r1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13-r1.ebuild,v 1.14 2007/12/13 00:47:17 dcoutts Exp $

CABAL_FEATURES="lib bin profile haddock"
inherit base haskell-cabal

MY_PN=HaXml
MY_P=${MY_PN}-${PV}

DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents"
HOMEPAGE="http://www.haskell.org/HaXml/"
SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"

IUSE=""

# actually, >=ghc-5.02 should be ok (if not using cabal)
# hugs and nhc98 are ok too, somebody might want to add support for them
DEPEND=" >=dev-haskell/cabal-1.1.3-r1"

S=${WORKDIR}/${MY_P}

src_unpack() {
base_src_unpack

# Text.PrettyPrint is already provided by ghc and produces a conflict
rm -rf "${S}/src/Text/PrettyPrint"

# The HaXml.cabal file doesn't build the tools, so we add them in:
for binary in Canonicalise DtdToHaskell MkOneOf Validate Xtract; do
echo >> "${S}/HaXml.cabal"
echo "executable: ${binary}" >> "${S}/HaXml.cabal"
echo "main-is: ${binary}.hs" >> "${S}/HaXml.cabal"
echo "hs-source-dirs: src/tools src">> "${S}/HaXml.cabal"
echo "extensions: CPP" >> "${S}/HaXml.cabal"
done
}

src_install() {
cabal_src_install

if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi
}

haxml-1.13.2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.2.ebuild,v 1.9 2007/12/13 17:57:57 dcoutts Exp $

CABAL_FEATURES="lib bin profile haddock"
inherit base haskell-cabal versionator

MY_PN=HaXml
MY_P=${MY_PN}-${PV}

DESCRIPTION="Haskell utilities for parsing, filtering, transforming and generating XML documents"
HOMEPAGE="http://www.haskell.org/HaXml/"
SRC_URI="http://www.haskell.org/HaXml/${MY_P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

KEYWORDS="amd64 ~ia64 ppc ppc64 sparc x86"

IUSE=""

# actually, >=ghc-5.02 should be ok (if not using cabal)
# hugs and nhc98 are ok too, somebody might want to add support for them
DEPEND=">=dev-lang/ghc-6.2
>=dev-haskell/cabal-1.1.3-r1"

S=${WORKDIR}/${MY_P}

src_unpack() {
base_src_unpack

# Don't warn so much, and don't compile with -O2
sed -i 's/GHC-Options: -Wall -O2/GHC-Options: -O/' "${S}/HaXml.cabal"

# Add in the extra split-base deps
if version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e '/build-depends:/a \
, pretty, containers' \
"${S}/HaXml.cabal"
fi
}

src_install() {
cabal_src_install

if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi
}

haxml-1.13.3.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haxml/haxml-1.13.3.ebuild,v 1.1 2007/12/30 20:27:06 kolmodin Exp $

CABAL_FEATURES="lib bin profile haddock"
inherit haskell-cabal versionator

MY_PN="HaXml"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Utilities for manipulating XML documents"
HOMEPAGE="http://www.cs.york.ac.uk/fp/HaXml/"
SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"

IUSE=""

DEPEND=">=dev-lang/ghc-6.2"

S="${WORKDIR}/${MY_P}"

src_unpack() {
unpack "${A}"

# Don't warn so much, and don't compile with -O2
sed -i 's/GHC-Options: -Wall -O2/GHC-Options: -O/' "${S}/HaXml.cabal"

# Unless ghc 6.8, remove the new packages
if ! version_is_at_least "6.8" "$(ghc-version)"; then
sed -i -e 's/, pretty, containers//' \
"${S}/HaXml.cabal"
fi
}

src_install() {
cabal_src_install

if use doc; then
dohtml -r docs/*
dodoc docs/icfp99.dvi docs/icfp99.ps.gz
fi
}

metadata.xml




haskell

haskell@gentoo.org