summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMatthieu Sozeau <mattam@gentoo.org>2004-01-22 22:27:48 +0000
committerMatthieu Sozeau <mattam@gentoo.org>2004-01-22 22:27:48 +0000
commit4a36b312ed7f05cacd92a0d825b6c67ca67b33ec (patch)
tree903225567950ab8e4269dd462ae6c0c178337001 /dev-ml
parentLablgtk-2 ebuild. (diff)
downloadgentoo-2-4a36b312ed7f05cacd92a0d825b6c67ca67b33ec.tar.gz
gentoo-2-4a36b312ed7f05cacd92a0d825b6c67ca67b33ec.tar.bz2
gentoo-2-4a36b312ed7f05cacd92a0d825b6c67ca67b33ec.zip
Lablgtk-2 ebuild.
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/lablgtk/ChangeLog11
-rw-r--r--dev-ml/lablgtk/Manifest11
-rw-r--r--dev-ml/lablgtk/files/digest-lablgtk-2.2.01
-rw-r--r--dev-ml/lablgtk/lablgtk-1.2.3.ebuild6
-rw-r--r--dev-ml/lablgtk/lablgtk-2.2.0.ebuild55
-rw-r--r--dev-ml/lablgtk/metadata.xml5
6 files changed, 79 insertions, 10 deletions
diff --git a/dev-ml/lablgtk/ChangeLog b/dev-ml/lablgtk/ChangeLog
index 7143aff49bdc..d8e6b96b4b93 100644
--- a/dev-ml/lablgtk/ChangeLog
+++ b/dev-ml/lablgtk/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ml/lablgtk
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.7 2003/12/26 14:09:00 weeve Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.8 2004/01/22 22:27:38 mattam Exp $
+
+*lablgtk-2.2.0 (22 Jan 2004)
+
+ 22 Jan 2004; Matthieu Sozeau <mattam@gentoo.org> 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 <weeve@gentoo.org> lablgtk-1.2.5.ebuild:
Marked stable on sparc to fix broken net-misc/unison dependencies.
diff --git a/dev-ml/lablgtk/Manifest b/dev-ml/lablgtk/Manifest
index 70426f3fa07e..e73111314c58 100644
--- a/dev-ml/lablgtk/Manifest
+++ b/dev-ml/lablgtk/Manifest
@@ -1,8 +1,9 @@
-MD5 7ebb60a7ca5ca3cc3278483f526d035d ChangeLog 1104
-MD5 49f7922ada11b5337f820adbe81e4db5 lablgtk-1.2.3.ebuild 1235
+MD5 8b350f19c06fcabf1053b0421b7c3f5a metadata.xml 155
MD5 35f18449cbf7fa91db96609de79c0437 lablgtk-1.2.5.ebuild 1250
-MD5 ccc65fc1384da8e56dfeb3eb1e9f37fe lablgtk-2.2.0.ebuild 1529
+MD5 cdb98eafda959b3b5cd491fb7c2e612c lablgtk-2.2.0.ebuild 1627
+MD5 b82c96254965c4ee8bd025b03eadb988 lablgtk-1.2.3.ebuild 1241
+MD5 6972473c5f229d2184e20866c4f49152 ChangeLog 1366
+MD5 b5ae3dc8963ec992c47b24ec7b529377 files/digest-lablgtk-2.2.0 65
+MD5 58e497f72394c82abd2991deb196cb5d files/digest-lablgtk-1.2.5 65
MD5 424e314fd7cced60c111d5e2a220392b files/LablGTK-1.2.3-Makefile-destdir.patch 2124
MD5 172783889b6b57cecf07de247ba7dcde files/digest-lablgtk-1.2.3 65
-MD5 58e497f72394c82abd2991deb196cb5d files/digest-lablgtk-1.2.5 65
-MD5 b5ae3dc8963ec992c47b24ec7b529377 files/digest-lablgtk-2.2.0 65
diff --git a/dev-ml/lablgtk/files/digest-lablgtk-2.2.0 b/dev-ml/lablgtk/files/digest-lablgtk-2.2.0
new file mode 100644
index 000000000000..3d90040c1429
--- /dev/null
+++ b/dev-ml/lablgtk/files/digest-lablgtk-2.2.0
@@ -0,0 +1 @@
+MD5 88206d11c197cb103adb3a3dd6bfb2dd lablgtk-2.2.0.tar.gz 587981
diff --git a/dev-ml/lablgtk/lablgtk-1.2.3.ebuild b/dev-ml/lablgtk/lablgtk-1.2.3.ebuild
index fe826001f1bd..e484912238be 100644
--- a/dev-ml/lablgtk/lablgtk-1.2.3.ebuild
+++ b/dev-ml/lablgtk/lablgtk-1.2.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-1.2.3.ebuild,v 1.7 2003/11/25 01:08:48 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-1.2.3.ebuild,v 1.8 2004/01/22 22:27:38 mattam Exp $
IUSE="gnome opengl"
@@ -17,7 +17,7 @@ DEPEND=">=x11-libs/gtk+-1.2.10-r7
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-${PV}.tar.gz"
S=${WORKDIR}/${P}
SLOT="1"
-KEYWORDS="x86 ~sparc"
+KEYWORDS="x86 ~sparc ~ppc"
Name="LablGTK"
diff --git a/dev-ml/lablgtk/lablgtk-2.2.0.ebuild b/dev-ml/lablgtk/lablgtk-2.2.0.ebuild
new file mode 100644
index 000000000000..9820882a08ad
--- /dev/null
+++ b/dev-ml/lablgtk/lablgtk-2.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.2.0.ebuild,v 1.1 2004/01/22 22:27:38 mattam Exp $
+
+IUSE="gnome opengl debug glade 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"
+
+DEPEND="=x11-libs/gtk+-2.2*
+ >=dev-lang/ocaml-3.07
+ svg? ( >=gnome-base/librsvg-2.2* )
+ glade? ( >=gnome-base/libglade-2.0.1 )
+ gnome? ( >=gnome-base/libgnomecanvas-2.2
+ >=gnome-base/gnome-panel-2.4.0
+ >=gnome-base/libgnomeui-2.4.0
+ media-libs/gdk-pixbuf )
+ opengl? ( >=dev-ml/lablgl-0.98
+ >=x11-libs/gtkglarea-1.9* )"
+
+SLOT="2"
+KEYWORDS="~x86 ~ppc"
+
+src_compile() {
+ use gnome || myconf="$myconf
+ --without-gnomecanvas --without-gnomeui
+ --without-panel"
+ use opengl || myconf="$myconf --without-gl"
+ use svg || myconf="$myconf --without-rsvg"
+ use glade || myconf="$myconf --without-glade"
+ use debug && myconf="$myconf --enable-debug"
+
+ econf $myconf || die "configure failed"
+ make all opt || die "make failed"
+}
+
+install_examples() {
+ examples=/usr/share/doc/${P}/examples
+ dodir $examples
+ insinto $examples
+ doins examples/*.ml examples/*.rgb
+}
+
+src_install () {
+ make install DESTDIR=${D} || die
+ dodoc CHANGES COPYING README
+ use doc && install_examples
+}
+
+pkg_postinst () {
+ use doc && einfo "To run the examples you can use the lablgtk2 toplevel."
+ use doc && einfo "e.g: lablgtk2 /usr/share/doc/${P}/examples/testgtk.ml"
+}
diff --git a/dev-ml/lablgtk/metadata.xml b/dev-ml/lablgtk/metadata.xml
new file mode 100644
index 000000000000..2193d772e351
--- /dev/null
+++ b/dev-ml/lablgtk/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ml</herd>
+</pkgmetadata>