ChangeLog

# ChangeLog for dev-haskell/gtk2hs
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/ChangeLog,v 1.48 2008/08/05 19:17:02 ulm Exp $

05 Aug 2008; Ulrich Mueller metadata.xml:
Add USE flag description to metadata wrt GLEP 56.

16 Jul 2008; Raúl Porcel gtk2hs-0.9.11.ebuild,
gtk2hs-0.9.12.ebuild, gtk2hs-0.9.12.1.ebuild:
Fix mozilla deps again, bug #230670

28 May 2008; Christian Heim metadata.xml:
Removing Duncan Coutts (dcoutts) from metadata.xml (as per #85695).

04 May 2008; Lennart Kolmodin
-files/gtk2hs-0.9.10-cflags.patch, -files/gtk2hs-0.9.10-ghc622.patch,
-files/gtk2hs-0.9.10-store.patch, gtk2hs-0.9.12.ebuild:
Remove unused patches, and fix a ebuild.minorsyn.

04 May 2008; Lennart Kolmodin
gtk2hs-0.9.12.1.ebuild:
Add Duncan Coutts' fix when using haddock 0.9.
This should close bug #220185.

17 Mar 2008; Raúl Porcel gtk2hs-0.9.11.ebuild,
gtk2hs-0.9.12.ebuild, gtk2hs-0.9.12.1.ebuild:
Fix deps for net-libs/xulrunner and www-client/mozilla-firefox

26 Jan 2008; Duncan Coutts -gtk2hs-0.9.10-r1.ebuild,
gtk2hs-0.9.12.1.ebuild:
Remove old version fixing bug #207435. Also add dev-util/pkgconfig dep,
fixing bug #206023.

20 Jan 2008; Christoph Mende gtk2hs-0.9.12.1.ebuild:
Stable on amd64 wrt bug #205272

12 Jan 2008; Markus Meier gtk2hs-0.9.12.1.ebuild:
x86 stable, bug #205357

12 Dec 2007; Duncan Coutts gtk2hs-0.9.11.ebuild,
gtk2hs-0.9.12.ebuild, gtk2hs-0.9.12.1.ebuild:
Does not work with gtksourceview 2.x. Fixes bug #201210.

*gtk2hs-0.9.12.1 (10 Nov 2007)

10 Nov 2007; Luis F. Araujo +gtk2hs-0.9.12.1.ebuild:
Adding new version

09 Nov 2007; Luis F. Araujo gtk2hs-0.9.12.ebuild:
Adding missing backslash to fix package registration

31 Oct 2007; Duncan Coutts gtk2hs-0.9.10-r1.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc

29 Oct 2007; Luis F. Araujo gtk2hs-0.9.12.ebuild:
Fix for recent glib that changes the type of the gtype typedef

12 Oct 2007; Rémi Cardona gtk2hs-0.9.10-r1.ebuild,
gtk2hs-0.9.11.ebuild, gtk2hs-0.9.12.ebuild:
update gtksourceview deps (see bug #195366)

*gtk2hs-0.9.12 (27 Jul 2007)

27 Jul 2007; Duncan Coutts gtk2hs-0.9.11.ebuild,
+gtk2hs-0.9.12.ebuild:
New version. Hopefully this fixes bug #144028.
Also allow building with xulrunner.

03 Jun 2007; Duncan Coutts gtk2hs-0.9.11.ebuild:
Fix seamonkey build, should fix bug #180682.

30 Apr 2007; Duncan Coutts gtk2hs-0.9.11.ebuild:
Add missing dep on dev-haskell/mtl

29 Apr 2007; Duncan Coutts -gtk2hs-0.9.9.ebuild,
-gtk2hs-0.9.10.ebuild, gtk2hs-0.9.10-r1.ebuild:
Remove old versions and fix deps for 0.9.10-r1

*gtk2hs-0.9.11 (29 Apr 2007)

29 Apr 2007; Duncan Coutts +gtk2hs-0.9.11.ebuild:
Added new version

06 Jan 2007; Duncan Coutts gtk2hs-0.9.9.ebuild,
gtk2hs-0.9.10.ebuild, gtk2hs-0.9.10-r1.ebuild:
Removed mozilla USE flag, fixing bug #159635. The firefox USE flag remains.
Also block on ghc-6.6, we need a new upstream release for ghc-6.6 compat.

*gtk2hs-0.9.10-r1 (07 Apr 2006)

07 Apr 2006; Luis F. Araujo
+files/gtk2hs-0.9.10-store.patch, +gtk2hs-0.9.10-r1.ebuild:
New revision with patch for the treestore.

01 Mar 2006; Markus Rothe gtk2hs-0.9.10.ebuild:
Added ~ppc64; bug #124469

23 Feb 2006; Luis F. Araujo gtk2hs-0.9.10.ebuild:
Fixed firefox useflag

20 Feb 2006; -gtk2hs-0.9.7.ebuild:
Remove old 0.9.7 version.

20 Feb 2006; +files/gtk2hs-0.9.10-ghc622.patch,
gtk2hs-0.9.10.ebuild:
Fix building with ghc-6.2.2. Fixes bug #115657.

14 Feb 2006; +files/gtk2hs-0.9.10-cflags.patch,
gtk2hs-0.9.10.ebuild:
Added a patch to fix the use of CFLAGS which was causing problems on sparc.
Marked ~sparc.

10 Feb 2006; -gtk2hs-0.9.6-r1.ebuild,
-gtk2hs-0.9.8.ebuild:
Remove old versions.

28 Jan 2006; Simon Stelling
-files/gtk2hs-0.9.7-ghc64.patch.gz, gtk2hs-0.9.7.ebuild:
move compressed patches to the mirros

14 Dec 2005; gtk2hs-0.9.10.ebuild:
Make the DEPEND include the RDEPEND.

12 Nov 2005; gtk2hs-0.9.10.ebuild:
Fix failure when USE="glade -gnome" (bug #112227)

06 Nov 2005; gtk2hs-0.9.10.ebuild:
Fix generation of cairo GHCi lib.

*gtk2hs-0.9.10 (02 Nov 2005)

02 Nov 2005; +gtk2hs-0.9.10.ebuild:
Added new version.

*gtk2hs-0.9.9 (31 Aug 2005)

31 Aug 2005; +gtk2hs-0.9.9.ebuild:
Added new version.

31 Aug 2005; gtk2hs-0.9.7.ebuild, gtk2hs-0.9.8.ebuild:
Make gtk2hs-0.9.7 and gtk2hs-0.9.8 use only haddock-0.6 since they will not
work with haddock-0.7.

30 Jun 2005; David Holm gtk2hs-0.9.8.ebuild:
Added to ~ppc.

*gtk2hs-0.9.8 (24 Jun 2005)

24 Jun 2005; gtk2hs-0.9.7.ebuild,
+gtk2hs-0.9.8.ebuild:
New version.

20 May 2005; gtk2hs-0.9.7.ebuild:
Added ~sparc to KEYWORDS.

08 May 2005; Duncan Coutts
+files/gtk2hs-0.9.7-ghc64.patch, gtk2hs-0.9.7.ebuild:
Add a patch for ghc-6.4 compatability.

23 Mar 2005; Seemant Kulleen gtk2hs-0.9.7.ebuild:
change dep from net-www/mozilla to www-client/mozilla

*gtk2hs-0.9.7 (26 Jan 2005)

26 Jan 2005; Andres Loeh +gtk2hs-0.9.7.ebuild:
New version (bug #79352).

19 Jan 2005; Andres Loeh gtk2hs-0.9.6-r1.ebuild:
Added a check of the memory requirements (see bug #62790, comment 37)

11 Nov 2004; Michael Sterrett gtk2hs-0.9.6-r1.ebuild,
gtk2hs-0.9.6.ebuild:
dep fix; fix use invocation

06 Nov 2004; Andres Loeh gtk2hs-0.9.6-r1.ebuild:
Allow Haskell optimizations during build.

*gtk2hs-0.9.6-r1 (04 Nov 2004)

04 Nov 2004; Andres Loeh +gtk2hs-0.9.6-r1.ebuild:
Make use of new ghc-package eclass.

*gtk2hs-0.9.6 (26 Oct 2004)

26 Oct 2004; Andres Loeh gtk2hs-0.9.6.ebuild:
Version bump.

*gtk2hs-0.9.5 (17 May 2004)

17 May 2004; Andres Loeh gtk2hs-0.9.5.ebuild,
metadata.xml:
Initial import (bug #50998).

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

DIST gtk2hs-0.9.11.tar.gz 980618 RMD160 c745020329fab493752d9055c4c8bca798b5d3e1 SHA1 6150312809e99ca3bcfc9f1f851d48a5253022ce SHA256 5da4c1fd7f0b66834e2aaf919d243928f63c15411e6289b2f31dfafb50848691
DIST gtk2hs-0.9.12.1.tar.gz 1004661 RMD160 cd658027ed91b9550915e686d546e36b1b371c10 SHA1 a85f8568aa072e0c55da5889b2aabff92b8da3ae SHA256 4278078b786202fc64f86881c2b2517bdd589d5248bff2e9b7e6c1ffd2361f84
DIST gtk2hs-0.9.12.tar.gz 997153 RMD160 bfc3ad81be80fdbbf1694493d93ddf863efbf6d8 SHA1 401638c5abfc357b648e4aa4b234874c116a52bb SHA256 b7427fca5d1958a829b2623715a9b16d4b08d67820df0b46ad32e5bd6e1f44d2
EBUILD gtk2hs-0.9.11.ebuild 3136 RMD160 f51e59298f166ea30909bab330f143598e52b7b8 SHA1 7e91b2a5bba0e50da02b69f3def764ef4146670f SHA256 60b7dd249123c392e7ef04bb2bffd1e02129155dab09727a8fec62375a145217
EBUILD gtk2hs-0.9.12.1.ebuild 3349 RMD160 1e7186ed50c38ad07ec494fe3ed40c35bda5182a SHA1 2e4d05bc2a6c1de0d468ccc87de94cb8c3f2b828 SHA256 1f0c320db370559a1ae89db8feaf5bb13bfe36657b0341e85bcbd859125f4e6e
EBUILD gtk2hs-0.9.12.ebuild 3364 RMD160 cb88f9f989cdd6583dd8b41209d932b5dd9fbb6a SHA1 1d6a055cca846d516524f42e88c3390558a506e7 SHA256 bf64e2f772a7cd754c16cae0ce075761bb00c648857542450310d90b4bd3ed88
MISC ChangeLog 6769 RMD160 d124bdc9726470d8d17369cf4edbfe6266bedfbb SHA1 bf498cec943425ccef438bac8e3d09b4dd7c1b91 SHA256 a8ea93004d4165942ffd6089c981ea8bb85a660f2487d83f4f1d36e2ae8ba07e
MISC metadata.xml 264 RMD160 d289d41d1d04ed1c3e574a29f53999457dbdc52c SHA1 475c909ed389f5e0508b5cd8e1373db2b96ce75b SHA256 743889dc0a1fac66b79afe2bbc2e61338d1d467aabc7b29977885d61c94a2a82
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkiYp0AACgkQOeoy/oIi7uy9nACePylw/MnkV4uHeSLgqwHhIbSQ
hE4Anj9/sMwKM3p4I2/nGSDLtrAxME+W
=zTdX
-----END PGP SIGNATURE-----

gtk2hs-0.9.11.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.11.ebuild,v 1.8 2008/07/16 11:47:06 armin76 Exp $

inherit base eutils ghc-package multilib toolchain-funcs versionator

DESCRIPTION="A GUI Library for Haskell based on Gtk+"
HOMEPAGE="http://haskell.org/gtk2hs/"
SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

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

IUSE="doc glade gnome opengl firefox seamonkey profile xulrunner"

RDEPEND=">=dev-lang/ghc-6.2
dev-haskell/mtl
>=x11-libs/gtk+-2
glade? ( >=gnome-base/libglade-2 )
gnome? ( >=gnome-base/libglade-2
>=gnome-base/gconf-2
>=gnome-base/librsvg-2.16 )
opengl? ( x11-libs/gtkglext )
xulrunner? ( =net-libs/xulrunner-1.8* )
!xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
!xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )"

DEPEND="${RDEPEND}
doc? ( >=dev-haskell/haddock-0.7 )"

src_compile() {
econf \
--enable-packager-mode \
$(version_is_at_least "4.2" "$(gcc-version)" && \
echo --disable-split-objs) \
$(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \
$(use glade || use gnome && echo --enable-libglade) \
$(use_enable gnome gconf) \
$(use_enable gnome sourceview) \
$(use_enable gnome svg) \
$(use_enable opengl opengl) \
$(use_enable seamonkey seamonkey) \
$(use_enable firefox firefox) \
$(use_enable xulrunner xulrunner) \
$(use_enable doc docs) \
$(use_enable profile profiling) \
|| die "Configure failed"

# parallel build doesn't work, so specify -j1
emake -j1 || die "Make failed"
}

src_install() {

make install \
DESTDIR="${D}" \
htmldir="/usr/share/doc/${PF}/html" \
haddockifacedir="/usr/share/doc/${PF}" \
|| die "Make install failed"

# for some reason it creates the doc dir even if it is configured
# to not generate docs, so lets remove the empty dirs in that case
# (and lets be cautious and only remove them if they're empty)
if ! use doc; then
rmdir "${D}/usr/share/doc/${PF}/html"
rmdir "${D}/usr/share/doc/${PF}"
rmdir "${D}/usr/share/doc"
rmdir "${D}/usr/share"
fi

# arrange for the packages to be registered
if ghc-cabal; then
pkgext=package.conf
else
pkgext=pkg
fi
ghc-setup-pkg \
"${D}/usr/$(get_libdir)/gtk2hs/glib.${pkgext}" \
$(has_version '>=x11-libs/gtk+-2.8' && echo \
"${D}/usr/$(get_libdir)/gtk2hs/cairo.${pkgext}") \
"${D}/usr/$(get_libdir)/gtk2hs/gtk.${pkgext}" \
"${D}/usr/$(get_libdir)/gtk2hs/soegtk.${pkgext}" \
$(use glade || use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}") \
$(use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gconf.${pkgext}" \
"${D}/usr/$(get_libdir)/gtk2hs/sourceview.${pkgext}" \
"${D}/usr/$(get_libdir)/gtk2hs/svgcairo.${pkgext}") \
$(use opengl && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gtkglext.${pkgext}") \
$(use seamonkey || use firefox || use xulrunner && echo \
"${D}/usr/$(get_libdir)/gtk2hs/mozembed.${pkgext}")
ghc-install-pkg
}

gtk2hs-0.9.12.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.12.1.ebuild,v 1.8 2008/07/16 11:47:06 armin76 Exp $

inherit base eutils ghc-package multilib toolchain-funcs versionator

DESCRIPTION="A GUI Library for Haskell based on Gtk+"
HOMEPAGE="http://haskell.org/gtk2hs/"
SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

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

IUSE="doc glade gnome opengl svg firefox seamonkey profile xulrunner"

RDEPEND=">=dev-lang/ghc-6.4
dev-haskell/mtl
>=x11-libs/gtk+-2
glade? ( >=gnome-base/libglade-2 )
gnome? ( >=gnome-base/libglade-2
>=gnome-base/gconf-2 )
svg? ( >=gnome-base/librsvg-2.16 )
opengl? ( x11-libs/gtkglext )
xulrunner? ( =net-libs/xulrunner-1.8* )
!xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
!xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )"

DEPEND="${RDEPEND}
doc? ( >=dev-haskell/haddock-0.8 )
dev-util/pkgconfig"

src_unpack() {
unpack ${A}

sed -i -e '\|docs/reference/haddock.js|d' \
-e '/$(foreach LETTER,/,+1 d' \
-e '\|\tdocs/reference/gtk2hs.haddock| s/\\//' \
"${S}/Makefile.in"
}

src_compile() {
econf \
--enable-packager-mode \
$(version_is_at_least "4.2" "$(gcc-version)" && \
echo --disable-split-objs) \
$(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \
$(use glade || use gnome && echo --enable-libglade) \
$(use_enable gnome gconf) \
$(use_enable gnome sourceview) \
$(use_enable svg svg) \
$(use_enable opengl opengl) \
$(use_enable seamonkey seamonkey) \
$(use_enable firefox firefox) \
$(use_enable xulrunner xulrunner) \
$(use_enable doc docs) \
$(use_enable profile profiling) \
|| die "Configure failed"

# parallel build doesn't work, so specify -j1
emake -j1 || die "Make failed"
}

src_install() {

make install \
DESTDIR="${D}" \
htmldir="/usr/share/doc/${PF}/html" \
haddockifacedir="/usr/share/doc/${PF}" \
|| die "Make install failed"

# for some reason it creates the doc dir even if it is configured
# to not generate docs, so lets remove the empty dirs in that case
# (and lets be cautious and only remove them if they're empty)
if ! use doc; then
rmdir "${D}/usr/share/doc/${PF}/html"
rmdir "${D}/usr/share/doc/${PF}"
rmdir "${D}/usr/share/doc"
rmdir "${D}/usr/share"
fi

# arrange for the packages to be registered
ghc-setup-pkg \
"${D}/usr/$(get_libdir)/gtk2hs/glib.package.conf" \
$(has_version '>=x11-libs/gtk+-2.8' && echo \
"${D}/usr/$(get_libdir)/gtk2hs/cairo.package.conf") \
"${D}/usr/$(get_libdir)/gtk2hs/gtk.package.conf" \
"${D}/usr/$(get_libdir)/gtk2hs/soegtk.package.conf" \
$(use glade || use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/glade.package.conf") \
$(use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gconf.package.conf" \
"${D}/usr/$(get_libdir)/gtk2hs/sourceview.package.conf" ) \
$(use svg && echo \
"${D}/usr/$(get_libdir)/gtk2hs/svgcairo.package.conf") \
$(use opengl && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gtkglext.package.conf") \
$(use seamonkey || use firefox || use xulrunner && echo \
"${D}/usr/$(get_libdir)/gtk2hs/mozembed.package.conf")
ghc-install-pkg
}

gtk2hs-0.9.12.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/gtk2hs/gtk2hs-0.9.12.ebuild,v 1.8 2008/07/16 11:47:06 armin76 Exp $

inherit base eutils ghc-package multilib toolchain-funcs versionator

DESCRIPTION="A GUI Library for Haskell based on Gtk+"
HOMEPAGE="http://haskell.org/gtk2hs/"
SRC_URI="mirror://sourceforge/gtk2hs/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"

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

IUSE="doc glade gnome opengl svg firefox seamonkey profile xulrunner"

RDEPEND=">=dev-lang/ghc-6.2
dev-haskell/mtl
>=x11-libs/gtk+-2
glade? ( >=gnome-base/libglade-2 )
gnome? ( >=gnome-base/libglade-2
>=gnome-base/gconf-2 )
svg? ( >=gnome-base/librsvg-2.16 )
opengl? ( x11-libs/gtkglext )
xulrunner? ( =net-libs/xulrunner-1.8* )
!xulrunner? ( firefox? ( =www-client/mozilla-firefox-2* ) )
!xulrunner? ( !firefox? ( seamonkey? ( =www-client/seamonkey-1* ) ) )"

DEPEND="${RDEPEND}
doc? ( >=dev-haskell/haddock-0.8 )"

src_unpack() {
unpack ${A}

# Fix for recent glib that changes the type of the gtype typedef:
sed -i -e 's/(CULong)/(CULong, CUInt)/' \
"${S}/tools/hierarchyGen/Hierarchy.chs.template"
}

src_compile() {
econf \
--enable-packager-mode \
$(version_is_at_least "4.2" "$(gcc-version)" && \
echo --disable-split-objs) \
$(has_version '>=x11-libs/gtk+-2.8' && echo --enable-cairo) \
$(use glade || use gnome && echo --enable-libglade) \
$(use_enable gnome gconf) \
$(use_enable gnome sourceview) \
$(use_enable svg svg) \
$(use_enable opengl opengl) \
$(use_enable seamonkey seamonkey) \
$(use_enable firefox firefox) \
$(use_enable xulrunner xulrunner) \
$(use_enable doc docs) \
$(use_enable profile profiling) \
|| die "Configure failed"

# parallel build doesn't work, so specify -j1
emake -j1 || die "Make failed"
}

src_install() {

make install \
DESTDIR="${D}" \
htmldir="/usr/share/doc/${PF}/html" \
haddockifacedir="/usr/share/doc/${PF}" \
|| die "Make install failed"

# for some reason it creates the doc dir even if it is configured
# to not generate docs, so lets remove the empty dirs in that case
# (and lets be cautious and only remove them if they're empty)
if ! use doc; then
rmdir "${D}/usr/share/doc/${PF}/html"
rmdir "${D}/usr/share/doc/${PF}"
rmdir "${D}/usr/share/doc"
rmdir "${D}/usr/share"
fi

# arrange for the packages to be registered
if ghc-cabal; then
pkgext=package.conf
else
pkgext=pkg
fi
ghc-setup-pkg \
"${D}/usr/$(get_libdir)/gtk2hs/glib.${pkgext}" \
$(has_version '>=x11-libs/gtk+-2.8' && echo \
"${D}/usr/$(get_libdir)/gtk2hs/cairo.${pkgext}") \
"${D}/usr/$(get_libdir)/gtk2hs/gtk.${pkgext}" \
"${D}/usr/$(get_libdir)/gtk2hs/soegtk.${pkgext}" \
$(use glade || use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/glade.${pkgext}") \
$(use gnome && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gconf.${pkgext}" \
"${D}/usr/$(get_libdir)/gtk2hs/sourceview.${pkgext}" ) \
$(use svg && echo \
"${D}/usr/$(get_libdir)/gtk2hs/svgcairo.${pkgext}") \
$(use opengl && echo \
"${D}/usr/$(get_libdir)/gtk2hs/gtkglext.${pkgext}") \
$(use seamonkey || use firefox || use xulrunner && echo \
"${D}/usr/$(get_libdir)/gtk2hs/mozembed.${pkgext}")
ghc-install-pkg
}

metadata.xml




haskell

Enable gnome-base/libglade bindings
compilation