ChangeLog

# ChangeLog for dev-ml/lablgtk
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.66 2008/07/31 13:28:02 pchrist Exp $

31 Jul 2008; Panagiotis Christopoulos metadata.xml:
Update metadata.xml to include USE flag descriptions. Entries taken from
profiles/use.local.desc

13 Apr 2008; Alexis Ballier lablgtk-2.10.1.ebuild:
pkgconfig is only a build dep, bug #217278

06 Apr 2008; Alexis Ballier -lablgtk-2.6.0.ebuild:
remove old

06 Apr 2008; Markus Meier lablgtk-2.10.1.ebuild:
amd64 stable, bug #215750

03 Apr 2008; Raúl Porcel lablgtk-2.10.1.ebuild:
ia64/sparc/x86 stable wrt #215750

03 Apr 2008; Brent Baude lablgtk-2.10.1.ebuild:
stable ppc, bug 215750

02 Apr 2008; Tobias Klausmann lablgtk-2.10.1.ebuild:
Stable on alpha, bug #215750

02 Apr 2008; Jeroen Roovers lablgtk-2.10.1.ebuild:
Stable for HPPA (bug #215750).

01 Apr 2008; Alexis Ballier
-files/lablgtk-2.4.0-gcc34.patch, -lablgtk-2.4.0.ebuild,
-lablgtk-2.10.0.ebuild:
remove old versions

*lablgtk-2.10.1 (26 Feb 2008)

26 Feb 2008; Alexis Ballier +lablgtk-2.10.1.ebuild:
version bump

02 Jan 2008; Alexis Ballier lablgtk-2.10.0.ebuild:
Install all examples, controlled by examples useflag, thanks to
gmalecha@gmail.com, bug #203990

02 Jan 2008; Alexis Ballier lablgtk-2.10.0.ebuild:
Add support to not build with ocamlopt

*lablgtk-2.10.0 (30 Oct 2007)

30 Oct 2007; Alexis Ballier +lablgtk-2.10.0.ebuild:
version bump

30 Aug 2007; Christian Heim metadata.xml:
Removing mattam from metadata due to his retirement (see #30021 for reference).

07 Aug 2007; Roy Marples lablgtk-2.6.0.ebuild:
Keyworded ~x86-fbsd

26 May 2007; Raúl Porcel lablgtk-2.6.0.ebuild:
alpha stable wrt #143311

28 Jan 2007; Marius Mauch lablgtk-2.4.0.ebuild,
lablgtk-2.6.0.ebuild:
Replacing einfo with elog

21 Dec 2006; Saleem Abdulrasool
-lablgtk-1.2.5.ebuild, -lablgtk-1.2.6.ebuild, -lablgtk-1.2.7.ebuild:
gnome-1.x removal

31 Oct 2006; Alexandre Buisse lablgtk-2.4.0.ebuild,
lablgtk-2.6.0.ebuild:
Added missing pkgconfig dep to lablgtk-2.[46] (bug #151735).

26 Sep 2006; Gustavo Zacarias lablgtk-2.6.0.ebuild:
Stable on hppa wrt #143311

05 Sep 2006; Gustavo Zacarias lablgtk-2.6.0.ebuild:
Stable on sparc wrt #143311

30 Aug 2006; Tobias Scherbaum
lablgtk-2.6.0.ebuild:
ppc stable, bug #143311

28 Aug 2006; Matthieu Sozeau lablgtk-2.6.0.ebuild:
Mark stable on x86 and amd64 (bug #143311).

10 Mar 2006; Aron Griffis lablgtk-2.6.0.ebuild:
Mark 2.6.0 stable on ia64

04 Feb 2006; Matthieu Sozeau lablgtk-2.4.0.ebuild,
lablgtk-2.6.0.ebuild:
Added ocamlfind support for 2.* versions. Fixes bug #97344.

04 Feb 2006; Matthieu Sozeau -lablgtk-2.2.0.ebuild:
Remove old, unused version.

*lablgtk-2.6.0 (14 Nov 2005)

14 Nov 2005; Matthieu Sozeau +lablgtk-2.6.0.ebuild:
Version bump.

10 Sep 2005; Aron Griffis lablgtk-2.4.0.ebuild:
Mark 2.4.0 stable on alpha

08 Sep 2005; Karol Wojtaszek lablgtk-2.4.0.ebuild:
Fixed configure problem on amd64 caused by wrong PKG_CONFIG_PATH variable,
bug #100912

02 Aug 2005; Gustavo Zacarias lablgtk-2.4.0.ebuild:
Stable on sparc

25 Jul 2005; Matthieu Sozeau lablgtk-2.4.0.ebuild:
Use new gnomecanvas USE flag (fixes bug #87426).

25 Jul 2005; Matthieu Sozeau lablgtk-2.4.0.ebuild:
Added use_with code for optional features so that users get all control over
what is installed (fixes bugs #87426 and #100164). Also added needed `aclocal`
call after unpack and before reconfigure.

24 Jul 2005; Herbie Hopkins lablgtk-1.2.7.ebuild:
Fix multilib-strict issue, bug 99800. Marked stable on amd64.

23 Jul 2005; +files/lablgtk-2.4.0-gcc34.patch,
lablgtk-2.4.0.ebuild:
Fixed problems with gcc-3.4, bug #94816

13 Jul 2005; Matthieu Sozeau lablgtk-1.2.7.ebuild,
lablgtk-2.4.0.ebuild:
Versions 1.2.7 and 2.4.0 stable on x86 and ppc

06 May 2005; Sven Wegener lablgtk-2.2.0.ebuild,
lablgtk-2.4.0.ebuild:
Removed * postfix from <, <=, >= and > dependencies.

06 Apr 2005; Matthieu Sozeau lablgtk-2.2.0.ebuild,
lablgtk-2.4.0.ebuild:
Use autodetection instead of adding --without-* flags. Fixes bug #87246.

01 Apr 2005; Aron Griffis lablgtk-2.4.0.ebuild:
stable on ia64

14 Mar 2005; Matthieu Sozeau lablgtk-2.2.0.ebuild,
lablgtk-2.4.0.ebuild:
Remove invalid dependancy on gdk-pixbuf (fixes bug #84965).

29 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

23 Aug 2004; Matthieu Sozeau lablgtk-1.2.5.ebuild,
lablgtk-1.2.6.ebuild:
Compiles perfectly fine with ocaml-3.08

13 Aug 2004; Jason Wever lablgtk-2.4.0.ebuild:
Added ~sparc keyword.

*lablgtk-2.4.0 (08 Aug 2004)

08 Aug 2004; Matthieu Sozeau lablgtk-1.2.5.ebuild,
lablgtk-1.2.6.ebuild, lablgtk-2.2.0.ebuild, +lablgtk-2.4.0.ebuild:
Prepare for ocaml-3.08 bump, add latest version for gtk+2.

*lablgtk-1.2.7 (08 Aug 2004)

08 Aug 2004; Matthieu Sozeau -lablgtk-1.2.3.ebuild,
+lablgtk-1.2.7.ebuild:
Remove old versions, add lablgtk-1.2.7.

13 Jul 2004; Travis Tilley lablgtk-1.2.6.ebuild:
added back ~amd64 keyword

08 Jun 2004; Bryan Østergaard lablgtk-1.2.6.ebuild:
Stable on alpha.

03 Jun 2004; Aron Griffis lablgtk-1.2.3.ebuild:
Fix use invocation

28 May 2004; Danny van Dyk lablgtk-1.2.3.ebuild,
lablgtk-1.2.5.ebuild, lablgtk-1.2.6.ebuild, lablgtk-2.2.0.ebuild:
Marked -amd64 as dependencies aren't fulfilled anymore.

11 May 2004; Guy Martin :
Marked stable on hppa.

17 Apr 2004; Travis Tilley lablgtk-1.2.3.ebuild,
lablgtk-1.2.5.ebuild, lablgtk-1.2.6.ebuild, lablgtk-2.2.0.ebuild:
added ~amd64 keyword

22 Mar 2004; Matthieu Sozeau lablgtk-1.2.5.ebuild:
Put 1.2.5 into stable on ppc.

20 Mar 2004; Matthieu Sozeau lablgtk-1.2.6.ebuild:
Update lablgl dependency (fix bug #45109).

17 Feb 2004; Aron Griffis lablgtk-1.2.5.ebuild,
lablgtk-1.2.6.ebuild, lablgtk-2.2.0.ebuild:
add ~alpha and ~ia64

*lablgtk-1.2.6 (03 Feb 2004)

03 Feb 2004; Matthieu Sozeau lablgtk-1.2.6.ebuild,
lablgtk-2.2.0.ebuild:
1.2.6 version bump, all arches ~ keyworded. Fix depend in 2.2.0 to allow
>gtk-2.2 versions to be linked with lablgl (bug #31854).

22 Jan 2004; Matthieu Sozeau lablgtk-1.2.3.ebuild:
Forgot to say i added ~ppc keywords to 1.2.3 and 2.2.0.

*lablgtk-2.2.0 (22 Jan 2004)

22 Jan 2004; Matthieu Sozeau lablgtk-1.2.3.ebuild,
lablgtk-2.2.0.ebuild, metadata.xml:
New version for gtk+2, incompatible with lablgtk 1 but the two can coexist
peacefully. Also added metadata file.

26 Dec 2003; Jason Wever lablgtk-1.2.5.ebuild:
Marked stable on sparc to fix broken net-misc/unison dependencies.

24 Nov 2003; Jason Wever lablgtk-1.2.3.ebuild,
lablgtk-1.2.5.ebuild:
Added ~sparc keyword.

*lablgtk-1.2.5 (25 Oct 2002)

15 Mar 2003; Alastair Tse lablgtk-1.2.5.ebuild:
gdk-pixbuf added to deps. thanks to ska-fan. resolves #17531.

28 Jan 2003; Jon Nall lablgtk-1.2.5.ebuild :
added ~ppc

25 Oct 2002; foser lablgtk-1.2.5.ebuild :

New version. Ebuild by Jeffrey Palmer (bug #9609)

*lablgtk-1.2.3 (28 Jun 2002)

28 Jun 2002; G Shapovalov all :

initial release
from the README:
LablGTK : an interface to the GIMP Tool Kit

ebuild submitted by Bardur Arantsson

Manifest

DIST lablgtk-2.10.1.tar.gz 768508 RMD160 5dda1a7d5438ae57fb8c170b6459393c4af872a2 SHA1 6c6f273951059fc86b89337a5b10dfb866ca5f87 SHA256 e80c1db579cec89072fdaed755a179e26849c5eec51b2aa5627edda6173da886
EBUILD lablgtk-2.10.1.ebuild 3106 RMD160 033e4f3ed5e168ffb6daa79dc8ecc1fdd52b8b7e SHA1 315b304da5a69d74dddd62bcb34eaa7cc9fe240a SHA256 5bb049f2a6c69498beb2b2cc0bf144fd0c01a263ed115d46dbf6db8a27b0230e
MISC ChangeLog 8647 RMD160 c4daec2e84b16b3ba74fbc15cf400ba57cfd894f SHA1 1796e71e43859bbe01b76bd3b2fcd4b0038467ae SHA256 cb0bf4bf6df704f505b46c93e5046aa59a5e072c17a80e208f32c38711acc5f4
MISC metadata.xml 372 RMD160 9c49a617a7f4b6fc76c6f894e70d401c3488def5 SHA1 396f45fb7ab62109c7ed9978d7af14b9e528679b SHA256 ae0b87241d6b64bb768c0c3e482efd98d2e904ab09f4c49020e19c5896bf93e2

lablgtk-2.10.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.10.1.ebuild,v 1.7 2008/04/13 21:18:32 aballier Exp $

inherit eutils multilib

EAPI="1"

IUSE="debug examples glade gnome gnomecanvas sourceview +ocamlopt opengl spell svg"

DESCRIPTION="Objective CAML interface for Gtk+2"
HOMEPAGE="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html"
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/${P}.tar.gz"
LICENSE="LGPL-2.1 as-is"

RDEPEND=">=x11-libs/gtk+-2.10
>=dev-lang/ocaml-3.07
svg? ( >=gnome-base/librsvg-2.2 )
glade? ( >=gnome-base/libglade-2.0.1 )
gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
gnome? ( >=gnome-base/gnome-panel-2.4.0
>=gnome-base/libgnomeui-2.4.0 )
opengl? ( >=dev-ml/lablgl-0.98
>=x11-libs/gtkglarea-1.9 )
spell? ( app-text/gtkspell )
sourceview? ( =x11-libs/gtksourceview-1* )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig"

SLOT="2"
KEYWORDS="alpha amd64 hppa ia64 ppc sparc x86 ~x86-fbsd"

pkg_setup() {
if use ocamlopt && ! built_with_use --missing true dev-lang/ocaml ocamlopt; then
eerror "In order to build ${PN} with native code support from ocaml"
eerror "You first need to have a native code ocaml compiler."
eerror "You need to install dev-lang/ocaml with ocamlopt useflag on."
die "Please install ocaml with ocamlopt useflag"
fi
}

src_compile() {
econf $(use_enable debug) \
$(use_with svg rsvg) \
$(use_with glade) \
$(use_with gnome gnomeui) \
$(use_with gnome panel) \
$(use_with opengl gl) \
$(use_with spell gtkspell) \
$(use_with sourceview gtksourceview) \
$(use_with gnomecanvas) \
|| die "configure failed"

emake -j1 all || die "make failed"
if use ocamlopt; then
emake -j1 opt || die "Compiling native code failed"
fi
}

install_examples() {
insinto /usr/share/doc/${P}/examples
doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm

# Install examples for optional components
use gnomecanvas && insinto /usr/share/doc/${P}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
use svg && insinto /usr/share/doc/${P}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
use glade && insinto /usr/share/doc/${P}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
use sourceview && insinto /usr/share/doc/${P}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
use opengl && insinto /usr/share/doc/${P}/examples/GL && doins examples/GL/*.ml
use gnome && insinto /usr/share/doc/${P}/examples/panel && doins examples/panel/*
}

src_install () {
emake install DESTDIR="${D}" || die

# ocamlfind support
dosym /usr/$(get_libdir)/ocaml/lablgtk2 /usr/$(get_libdir)/ocaml/site-packages/lablgtk2
insinto /usr/$(get_libdir)/ocaml/lablgtk2
doins META

dodoc CHANGES README CHANGES.API
use examples && install_examples
}

pkg_postinst () {
use examples && elog "To run the examples you can use the lablgtk2 toplevel."
use examples && elog "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml"
}

metadata.xml




ml

Enable libglade bindings compilation.
Enable libgnomecanvas bindings compilation.
Enable GtkSourceView support