diff options
author | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 09:19:48 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2011-01-24 09:19:48 +0000 |
commit | 92de6a47a3203336b6ad8e34b9a9e9ce77228c00 (patch) | |
tree | d72c320c24058d13aa48eab159b710df8fa8e44c | |
parent | remove old (diff) | |
download | historical-92de6a47a3203336b6ad8e34b9a9e9ce77228c00.tar.gz historical-92de6a47a3203336b6ad8e34b9a9e9ce77228c00.tar.bz2 historical-92de6a47a3203336b6ad8e34b9a9e9ce77228c00.zip |
remove old
Package-Manager: portage-2.2.0_alpha19/cvs/Linux x86_64
-rw-r--r-- | dev-ml/fieldslib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-ml/fieldslib/fieldslib-0.1.0.ebuild | 37 | ||||
-rw-r--r-- | dev-ml/findlib/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ml/findlib/findlib-1.2.3.ebuild | 76 | ||||
-rw-r--r-- | dev-ml/findlib/findlib-1.2.5.ebuild | 77 | ||||
-rw-r--r-- | dev-ml/lablgtk/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ml/lablgtk/files/lablgtk-2.12.0-libgnomeui.patch | 11 | ||||
-rw-r--r-- | dev-ml/lablgtk/files/lablgtk-2.14.1-ocaml312.patch | 237 | ||||
-rw-r--r-- | dev-ml/lablgtk/lablgtk-2.12.0.ebuild | 85 | ||||
-rw-r--r-- | dev-ml/lablgtk/lablgtk-2.14.1.ebuild | 85 |
10 files changed, 15 insertions, 611 deletions
diff --git a/dev-ml/fieldslib/ChangeLog b/dev-ml/fieldslib/ChangeLog index 98a725a6f8a6..dfa0bcaf9daf 100644 --- a/dev-ml/fieldslib/ChangeLog +++ b/dev-ml/fieldslib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-ml/fieldslib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/ChangeLog,v 1.2 2011/01/20 19:53:13 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/ChangeLog,v 1.3 2011/01/24 09:19:48 aballier Exp $ + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> -fieldslib-0.1.0.ebuild: + remove old *fieldslib-0.1.1 (20 Jan 2011) diff --git a/dev-ml/fieldslib/fieldslib-0.1.0.ebuild b/dev-ml/fieldslib/fieldslib-0.1.0.ebuild deleted file mode 100644 index debe76940430..000000000000 --- a/dev-ml/fieldslib/fieldslib-0.1.0.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/fieldslib/fieldslib-0.1.0.ebuild,v 1.1 2009/10/27 12:08:13 aballier Exp $ - -EAPI="2" -inherit findlib - -DESCRIPTION="Folding over record fields" -HOMEPAGE="http://www.janestreet.com/ocaml" -SRC_URI="http://www.janestreet.com/ocaml/${P}.tgz" - -LICENSE="LGPL-2.1-linking-exception" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -DEPEND=">=dev-lang/ocaml-3.10.2[ocamlopt] - dev-ml/type-conv" -RDEPEND="${DEPEND}" - -S=${WORKDIR}/${P}/lib - -src_compile() { - emake -j1 || die -} - -src_test() { - cd "${WORKDIR}/${P}/sample" - emake || die - ./test.exe || die -} - -src_install() { - findlib_src_preinst - emake install || die "make install failed" - dodoc ../README -} diff --git a/dev-ml/findlib/ChangeLog b/dev-ml/findlib/ChangeLog index db66ade632d0..a11435a9e1d7 100644 --- a/dev-ml/findlib/ChangeLog +++ b/dev-ml/findlib/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ml/findlib # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.72 2011/01/22 23:01:40 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/ChangeLog,v 1.73 2011/01/24 09:15:55 aballier Exp $ + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> -findlib-1.2.3.ebuild, + -findlib-1.2.5.ebuild: + remove old 22 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> findlib-1.2.6.ebuild: ppc64 stable wrt #349633 diff --git a/dev-ml/findlib/findlib-1.2.3.ebuild b/dev-ml/findlib/findlib-1.2.3.ebuild deleted file mode 100644 index 3d4e49a34114..000000000000 --- a/dev-ml/findlib/findlib-1.2.3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.2.3.ebuild,v 1.8 2010/02/11 15:07:16 ulm Exp $ - -EAPI=2 - -inherit multilib - -RESTRICT="installsources" - -DESCRIPTION="OCaml tool to find/use non-standard packages." -HOMEPAGE="http://projects.camlcity.org/projects/findlib.html" -SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" -IUSE="doc +ocamlopt tk" - -LICENSE="MIT" - -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" - -DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?,tk?]" - -ocamlfind_destdir="/usr/$(get_libdir)/ocaml/site-packages" -stublibs="${ocamlfind_destdir}/stublibs" - -src_configure() { - local myconf - use tk && myconf="-with-toolbox" - ./configure -bindir /usr/bin -mandir /usr/share/man \ - -sitelib ${ocamlfind_destdir} \ - -config ${ocamlfind_destdir}/findlib/findlib.conf \ - ${myconf} || die "configure failed" -} - -src_compile() { - emake all || die - if use ocamlopt; then - emake opt || die # optimized code - else - # If using bytecode we dont want to strip the binary as it would remove the - # bytecode and only leave ocamlrun... - export STRIP_MASK="*/bin/*" - fi -} - -src_install() { - dodir `ocamlc -where` - - emake prefix="${D}" install || die - - dodir "${stublibs}" - - cd "${S}/doc" - dodoc QUICKSTART README DOCINFO - use doc && dohtml -r ref-html guide-html -} - -check_stublibs() { - local ocaml_stdlib=`ocamlc -where` - local ldconf="${ocaml_stdlib}/ld.conf" - - if [ ! -e ${ldconf} ] - then - echo "${ocaml_stdlib}" > ${ldconf} - echo "${ocaml_stdlib}/stublibs" >> ${ldconf} - fi - - if [ -z `grep -e ${stublibs} ${ldconf}` ] - then - echo ${stublibs} >> ${ldconf} - fi -} - -pkg_postinst() { - check_stublibs -} diff --git a/dev-ml/findlib/findlib-1.2.5.ebuild b/dev-ml/findlib/findlib-1.2.5.ebuild deleted file mode 100644 index f4ce36d79474..000000000000 --- a/dev-ml/findlib/findlib-1.2.5.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/findlib/findlib-1.2.5.ebuild,v 1.8 2010/12/04 17:44:32 armin76 Exp $ - -EAPI=2 - -inherit multilib - -RESTRICT="installsources" - -DESCRIPTION="OCaml tool to find/use non-standard packages." -HOMEPAGE="http://projects.camlcity.org/projects/findlib.html" -SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" -IUSE="doc +ocamlopt tk" - -LICENSE="MIT" - -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd" - -DEPEND=">=dev-lang/ocaml-3.10[ocamlopt?,tk?]" -RDEPEND="${DEPEND}" - -ocamlfind_destdir="/usr/$(get_libdir)/ocaml" -stublibs="${ocamlfind_destdir}/stublibs" - -src_configure() { - local myconf - use tk && myconf="-with-toolbox" - ./configure -bindir /usr/bin -mandir /usr/share/man \ - -sitelib ${ocamlfind_destdir} \ - -config ${ocamlfind_destdir}/findlib/findlib.conf \ - ${myconf} || die "configure failed" -} - -src_compile() { - emake all || die - if use ocamlopt; then - emake opt || die # optimized code - else - # If using bytecode we dont want to strip the binary as it would remove the - # bytecode and only leave ocamlrun... - export STRIP_MASK="*/bin/*" - fi -} - -src_install() { - dodir `ocamlc -where` - - emake prefix="${D}" install || die - - dodir "${stublibs}" - - cd "${S}/doc" - dodoc QUICKSTART README DOCINFO - use doc && dohtml -r ref-html guide-html -} - -check_stublibs() { - local ocaml_stdlib=`ocamlc -where` - local ldconf="${ocaml_stdlib}/ld.conf" - - if [ ! -e ${ldconf} ] - then - echo "${ocaml_stdlib}" > ${ldconf} - echo "${ocaml_stdlib}/stublibs" >> ${ldconf} - fi - - if [ -z `grep -e ${stublibs} ${ldconf}` ] - then - echo ${stublibs} >> ${ldconf} - fi -} - -pkg_postinst() { - check_stublibs -} diff --git a/dev-ml/lablgtk/ChangeLog b/dev-ml/lablgtk/ChangeLog index 8e3b6e2d912a..5b6230d7b689 100644 --- a/dev-ml/lablgtk/ChangeLog +++ b/dev-ml/lablgtk/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ml/lablgtk # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.89 2011/01/22 23:03:51 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.90 2011/01/24 09:14:18 aballier Exp $ + + 24 Jan 2011; Alexis Ballier <aballier@gentoo.org> -lablgtk-2.12.0.ebuild, + -files/lablgtk-2.12.0-libgnomeui.patch, -lablgtk-2.14.1.ebuild, + -files/lablgtk-2.14.1-ocaml312.patch: + remove old 22 Jan 2011; Kacper Kowalik <xarthisius@gentoo.org> lablgtk-2.14.2.ebuild: ppc stable wrt #343751 diff --git a/dev-ml/lablgtk/files/lablgtk-2.12.0-libgnomeui.patch b/dev-ml/lablgtk/files/lablgtk-2.12.0-libgnomeui.patch deleted file mode 100644 index fa3ad69775f1..000000000000 --- a/dev-ml/lablgtk/files/lablgtk-2.12.0-libgnomeui.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -ur lablgtk-2.12.0.orig/src/ml_panel.c lablgtk-2.12.0/src/ml_panel.c ---- lablgtk-2.12.0.orig/src/ml_panel.c 2007-06-20 08:40:34.000000000 +0100 -+++ lablgtk-2.12.0/src/ml_panel.c 2009-02-06 11:46:19.000000000 +0000 -@@ -23,6 +23,7 @@ - #include <string.h> - - #include <libgnomeui/gnome-client.h> -+#include <libgnomeui/gnome-ui-init.h> - #include <panel-applet.h> - - #include <caml/mlvalues.h> diff --git a/dev-ml/lablgtk/files/lablgtk-2.14.1-ocaml312.patch b/dev-ml/lablgtk/files/lablgtk-2.14.1-ocaml312.patch deleted file mode 100644 index 1b960138f33f..000000000000 --- a/dev-ml/lablgtk/files/lablgtk-2.14.1-ocaml312.patch +++ /dev/null @@ -1,237 +0,0 @@ -Index: src/gWindow.mli -=================================================================== ---- src/gWindow.mli (revision 1514) -+++ src/gWindow.mli (revision 1515) -@@ -191,9 +191,10 @@ - - (** Create popup windows - @gtkdoc gtk GtkDialog *) --class ['a] dialog_ext : [> Gtk.dialog] obj -> -+class ['a] dialog_ext : ([> Gtk.dialog] as 'b) obj -> - object - inherit ['a] dialog_skel -+ val obj : 'b obj - method add_button : string -> 'a -> unit - method add_button_stock : GtkStock.id -> 'a -> unit - end -@@ -203,6 +204,7 @@ - class ['a] dialog : [> Gtk.dialog] obj -> - object - inherit ['a] dialog_ext -+ val obj : Gtk.dialog obj - method connect : 'a dialog_signals - end - -Index: src/gButton.mli -=================================================================== ---- src/gButton.mli (revision 1514) -+++ src/gButton.mli (revision 1515) -@@ -357,9 +357,10 @@ - (** @gtkdoc gtk GtkToolItem - @since GTK 2.4 *) - class tool_item : -- [> Gtk.tool_item] obj -> -+ ([> Gtk.tool_item] as 'a) obj -> - object - inherit tool_item_skel -+ val obj : 'a obj - method connect : GContainer.container_signals - end - -@@ -423,9 +424,10 @@ - (** @gtkdoc gtk GtkToolButton - @since GTK 2.4 *) - class tool_button : -- [> Gtk.tool_button] obj -> -+ ([> Gtk.tool_button] as 'a) obj -> - object - inherit tool_button_skel -+ val obj : 'a obj - method connect : tool_button_signals - end - -Index: src/gAction.mli -=================================================================== ---- src/gAction.mli (revision 1514) -+++ src/gAction.mli (revision 1515) -@@ -20,6 +20,10 @@ - (* *) - (**************************************************************************) - -+(* $Id: lablgtk-2.14.1-ocaml312.patch,v 1.1 2010/08/03 20:38:29 aballier Exp $ *) -+ -+open Gobject -+ - (** Action-based menus and toolbars *) - - (** {3 GtkAction} *) -@@ -27,9 +31,9 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkAction *) - class action_signals : -- ([> Gtk.action ] as 'b) Gobject.obj -> -+ ([> Gtk.action ] as 'b) obj -> - object ('a) -- val obj : 'b Gobject.obj -+ val obj : 'b obj - val after : bool - method after : < after : 'a; .. > as 'a - method activate : callback:(unit -> unit) -> GtkSignal.id -@@ -38,10 +42,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkAction *) - class action_skel : -- ([> Gtk.action ] as 'a) Gobject.obj -> -+ ([> Gtk.action ] as 'a) obj -> - object -- val obj : 'a Gobject.obj -- method as_action : Gtk.action Gobject.obj -+ val obj : 'a obj -+ method as_action : Gtk.action obj - - (** Properties *) - -@@ -88,10 +92,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkAction *) - class action : -- ([> Gtk.action ] as 'a) Gobject.obj -> -+ ([> Gtk.action ] as 'a) obj -> - object - inherit action_skel -- val obj : 'a Gobject.obj -+ val obj : 'a obj - method connect : action_signals - end - -@@ -103,20 +107,20 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkToggleAction *) - class toggle_action_signals : -- ([> Gtk.toggle_action ] as 'b) Gobject.obj -> -+ ([> Gtk.toggle_action ] as 'b) obj -> - object - inherit action_signals -- val obj : 'b Gobject.obj -+ val obj : 'b obj - method toggled : callback:(unit -> unit) -> GtkSignal.id - end - - (** @since GTK 2.4 - @gtkdoc gtk GtkToggleAction *) - class toggle_action_skel : -- ([> Gtk.toggle_action ] as 'a) Gobject.obj -> -+ ([> Gtk.toggle_action ] as 'a) obj -> - object - inherit action_skel -- val obj : 'a Gobject.obj -+ val obj : 'a obj - method draw_as_radio : bool - method get_active : bool - method set_active : bool -> unit -@@ -127,9 +131,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkToggleAction *) - class toggle_action : -- ([> Gtk.toggle_action ] as 'a) Gobject.obj -> -+ ([> Gtk.toggle_action ] as 'a) obj -> - object - inherit toggle_action_skel -+ val obj : 'a obj - method connect : toggle_action_signals - end - -@@ -140,10 +145,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkRadioAction *) - class radio_action_signals : -- ([> Gtk.radio_action] as 'b) Gobject.obj -> -+ ([> Gtk.radio_action] as 'b) obj -> - object - inherit toggle_action_signals -- val obj : 'b Gobject.obj -+ val obj : 'b obj - method changed : - callback:(int -> unit) -> GtkSignal.id - end -@@ -151,12 +156,12 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkRadioAction *) - class radio_action : -- ([> Gtk.radio_action] as 'a) Gobject.obj -> -+ ([> Gtk.radio_action] as 'a) obj -> - object - inherit toggle_action_skel -- val obj : 'a Gobject.obj -+ val obj : 'a obj - method connect : radio_action_signals -- method as_radio_action : Gtk.radio_action Gobject.obj -+ method as_radio_action : Gtk.radio_action obj - method get_current_value : int - method set_group : Gtk.radio_action Gtk.group -> unit - method set_value : int -> unit -@@ -172,10 +177,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkActionGroup *) - class action_group_signals : -- ([> Gtk.action_group ] as 'b) Gobject.obj -> -+ ([> Gtk.action_group ] as 'b) obj -> - object ('a) - val after : bool -- val obj : 'b Gobject.obj -+ val obj : 'b obj - method after : 'a - method connect_proxy : callback:(action -> GObj.widget -> unit) -> GtkSignal.id - method disconnect_proxy : callback:(action -> GObj.widget -> unit) -> GtkSignal.id -@@ -186,10 +191,10 @@ - (** @since GTK 2.4 - @gtkdoc gtk GtkActionGroup *) - class action_group : -- ([> Gtk.action_group ] as 'a) Gobject.obj -> -+ ([> Gtk.action_group ] as 'a) obj -> - object -- val obj : 'a Gobject.obj -- method as_group : Gtk.action_group Gobject.obj -+ val obj : 'a obj -+ method as_group : Gtk.action_group obj - method connect : action_group_signals - method sensitive : bool - method set_sensitive : bool -> unit -Index: src/gnoCanvas.mli -=================================================================== ---- src/gnoCanvas.mli (revision 1514) -+++ src/gnoCanvas.mli (revision 1515) -@@ -180,9 +180,10 @@ - end - - (** @gtkdoc libgnomecanvas GnomeCanvasItem *) --class ['p] item : [> GnomeCanvas.item] Gtk.obj -> -+class ['p] item : ([> GnomeCanvas.item] as 'a) Gtk.obj -> - object - inherit base_item -+ val obj : 'a Gtk.obj - constraint 'p = [< items_properties] - method set : 'p list -> unit - end -Index: src/gWindow.ml -=================================================================== ---- src/gWindow.ml (revision 1514) -+++ src/gWindow.ml (revision 1515) -@@ -171,7 +171,7 @@ - end - - class ['a] dialog obj = object (self) -- inherit ['a] dialog_ext obj -+ inherit ['a] dialog_ext (obj :> Gtk.dialog obj) - method connect : 'a dialog_signals = new dialog_signals obj (self#decode) - end - -@@ -193,7 +193,7 @@ - type any_response = [GtkEnums.response | `OTHER of int] - - class dialog_any obj = object (self) -- inherit [any_response] dialog_base obj -+ inherit [any_response] dialog_base (obj :> Gtk.dialog obj) - method private encode = function - `OTHER n -> n - | #GtkEnums.response as v -> Dialog.std_response v diff --git a/dev-ml/lablgtk/lablgtk-2.12.0.ebuild b/dev-ml/lablgtk/lablgtk-2.12.0.ebuild deleted file mode 100644 index 4cce91b5df75..000000000000 --- a/dev-ml/lablgtk/lablgtk-2.12.0.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.12.0.ebuild,v 1.8 2010/07/20 15:17:23 jer Exp $ - -EAPI="2" - -inherit eutils multilib - -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.10[ocamlopt?] - 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 ia64 ppc sparc x86 ~x86-fbsd" - -src_prepare() { - epatch "${FILESDIR}/${P}-libgnomeui.patch" -} - -src_configure() { - 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) -} - -src_compile() { - 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" -} diff --git a/dev-ml/lablgtk/lablgtk-2.14.1.ebuild b/dev-ml/lablgtk/lablgtk-2.14.1.ebuild deleted file mode 100644 index 7a6c457f8c17..000000000000 --- a/dev-ml/lablgtk/lablgtk-2.14.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.14.1.ebuild,v 1.3 2010/08/03 20:38:28 aballier Exp $ - -EAPI="2" - -inherit multilib eutils - -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.10[ocamlopt?] - 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:2.0 ) - " -DEPEND="${RDEPEND} - dev-util/pkgconfig" - -SLOT="2" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd ~x86-linux" - -src_prepare() { - epatch "${FILESDIR}/${P}-ocaml312.patch" -} - -src_configure() { - 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) \ - --without-gtksourceview \ - $(use_with sourceview gtksourceview2) \ - $(use_with gnomecanvas) -} - -src_compile() { - 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 - 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" -} |