summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2015-02-02 11:37:14 +0000
committerAlexis Ballier <aballier@gentoo.org>2015-02-02 11:37:14 +0000
commit3c86c11c23656faae72d9a9c52b6a0d99c5a7712 (patch)
tree0e8f3f09d0fad90f5e41bd21df6e5286c15f5889 /dev-ml/obrowser
parentAdd forgotten `doc' USE flag to IUSE flags. Fix bug 538480. (diff)
downloadgentoo-2-3c86c11c23656faae72d9a9c52b6a0d99c5a7712.tar.gz
gentoo-2-3c86c11c23656faae72d9a9c52b6a0d99c5a7712.tar.bz2
gentoo-2-3c86c11c23656faae72d9a9c52b6a0d99c5a7712.zip
remove obrowser
Diffstat (limited to 'dev-ml/obrowser')
-rw-r--r--dev-ml/obrowser/ChangeLog45
-rw-r--r--dev-ml/obrowser/Manifest16
-rw-r--r--dev-ml/obrowser/files/obrowser-1.1.1-ocaml4.patch61
-rw-r--r--dev-ml/obrowser/files/obrowser-1.1.1-ocaml41.patch215
-rw-r--r--dev-ml/obrowser/metadata.xml5
-rw-r--r--dev-ml/obrowser/obrowser-1.1.1.ebuild37
6 files changed, 0 insertions, 379 deletions
diff --git a/dev-ml/obrowser/ChangeLog b/dev-ml/obrowser/ChangeLog
deleted file mode 100644
index 93145c6f3d86..000000000000
--- a/dev-ml/obrowser/ChangeLog
+++ /dev/null
@@ -1,45 +0,0 @@
-# ChangeLog for dev-ml/obrowser
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/obrowser/ChangeLog,v 1.11 2013/08/19 20:54:42 aballier Exp $
-
- 19 Aug 2013; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild,
- +files/obrowser-1.1.1-ocaml41.patch:
- fix build with ocaml 4.01
-
- 10 Mar 2013; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild:
- define subslot for real this time
-
- 10 Mar 2013; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild:
- eapi5: define subslot, slot dep on ocaml packages, remove useless || die
-
- 10 Oct 2012; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild,
- +files/obrowser-1.1.1-ocaml4.patch:
- fix build with ocaml-4
-
- 04 May 2012; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild:
- depend on lwt, by Sergey Kishchenko in bug #413885
-
- 26 Jun 2011; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.1.ebuild:
- inhibit the ocaml version check so that it builds with 3.12.1rc1
-
- 28 Apr 2011; Alexis Ballier <aballier@gentoo.org> -obrowser-1.1.ebuild,
- -files/obrowser-1.1-ocaml312.patch:
- remove old
-
-*obrowser-1.1.1 (28 Apr 2011)
-
- 28 Apr 2011; Alexis Ballier <aballier@gentoo.org> +obrowser-1.1.1.ebuild:
- version bump
-
- 15 Feb 2011; Thomas Kahle <tomka@gentoo.org> obrowser-1.1.ebuild:
- ~x86 per bug 352299
-
- 20 Jan 2011; Alexis Ballier <aballier@gentoo.org> obrowser-1.1.ebuild,
- +files/obrowser-1.1-ocaml312.patch:
- Fix pervasives conflict with ocaml 3.12
-
-*obrowser-1.1 (07 Nov 2010)
-
- 07 Nov 2010; Alexis Ballier <aballier@gentoo.org> +obrowser-1.1.ebuild,
- +metadata.xml:
- initial import, ebuild by me
diff --git a/dev-ml/obrowser/Manifest b/dev-ml/obrowser/Manifest
deleted file mode 100644
index 55bc018fba83..000000000000
--- a/dev-ml/obrowser/Manifest
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
-AUX obrowser-1.1.1-ocaml4.patch 3206 SHA256 fb42b4a5b48a416a4198d93eacf7517c7d51d18005f8505e4a1008eb73503d3d SHA512 dd3ef51cfbe0cf3c2b1fd0bbe40f7df637b17f5f1b3ab3a19055fb6b02f2157d15a84108b5798a89c1d014d82261de031a7804c147d91928a2e47ae37bc03a09 WHIRLPOOL 55a23b23b7824bd0281641489aafeb9097870768c1827e1d6656c12a2717c194ef9f22ce80e395b7127b6b8cb12557d2b8775eb6949711154fa033d17f8ad02a
-AUX obrowser-1.1.1-ocaml41.patch 7211 SHA256 38938db92b936d351240810f899b1a9c872cfd919eb9e0d9b3ffca5cd9c93132 SHA512 be332d30b6fad46134237ccd789128f065cfe472564843745f6e7bfe0c9a784960c8d00ca9d2b5a88bf0cc7f794789e7efff1e4f3fb84c58fd9fe45a50a735e4 WHIRLPOOL 194e256ef6aa59a9d7c16eb524db6cb5533b26c8d6fa42810bcf86d951326422c5001b1008ad83312fa6dd0e67dada1dc2669335bc584887b7fc18959847ce96
-DIST obrowser-1.1.1.tar.gz 1374221 SHA256 9372518f675b71084c440aa98a8ff94aacae67458873dcf82682e235a90b0dce SHA512 1e3097e9ec210585f51c7da8f458e057edc0a32d38caab15188ba1c01170cf515b5cb9b626242ce752c9c5e08c2516f1a945a0c2b2fcfbdaa0b46d12868b286b WHIRLPOOL 3e4e991c486fac5bbd6781738c44ac349ae5cc520cde71c3c935d836b11731de4a9914ed19a582de942d43feefc0470f93b8ac3a57c525905eb657156d1ae690
-EBUILD obrowser-1.1.1.ebuild 978 SHA256 a484d56ac9afc3ffe7555c477f980777831beff96ee3cffc9bce1d952d5a75c4 SHA512 25cba786d40c66c0888921e365c5c12943fe610541e5ce3c3d78c6e12cecd869ad27b6bb407b4c4bb804051052fcd650ac162bc1ba5a60a4647ea68bd1eb65f5 WHIRLPOOL 666b67cadf266833d78ee850f327c7fe1be8e17a121ee8dc5252429a23db1bd0e3bd13319324b8d038ff08bc014b8ec66e345cf0b1c82e5096a58eae1a037c01
-MISC ChangeLog 1668 SHA256 f23befea4a28f6c8b2e3e9abf5adfb927272026ceb74d473be09bc665d573cd8 SHA512 b1388097124d3239ae24dd474681b82a5f5eef0b6e5e7787929b2cf8aae8c4e10d792a7b5f47940beaf8fab0c24a37704de941a8d6954bc25d7b917d787ac64b WHIRLPOOL 0ee2097f8bb55cbd6b60106c5ffaf0f1e097a7b1009fb5efbb0a0f005ed9b529cb283f49d52cb549c9b70133f4fea06cd833e55cbe50243f3013b99c684c5239
-MISC metadata.xml 155 SHA256 118048376ebb76f57628b0819f3de4856e73959c2578c88715d37ea2d1e0af81 SHA512 a525f91dd332fc144c42d1437bdae9c889cbcece6294c2d2f4baf6a532ac2e13492736e75b41c83fac31033a9ae53c37deb96286a5ab8575611136617640952c WHIRLPOOL 71a9c7aaf4e268c65c0d1e30e343911ccbcf99ef8c23773abc2b3af8d58d9f7d5c09632805d8ba9050c09eef629f2b340db9eb9ba8b9cd2e5d655fce3f91fcb6
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iEYEAREIAAYFAlIShhMACgkQvFcC4BYPU0pMyACfY2+uXMhF8tff1y6DORpNI6nV
-zNoAoLCngjnqeXF6XCFZdNQR4OQ2WUBZ
-=YJxx
------END PGP SIGNATURE-----
diff --git a/dev-ml/obrowser/files/obrowser-1.1.1-ocaml4.patch b/dev-ml/obrowser/files/obrowser-1.1.1-ocaml4.patch
deleted file mode 100644
index 634255247a57..000000000000
--- a/dev-ml/obrowser/files/obrowser-1.1.1-ocaml4.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-Index: obrowser-1.1.1/rt/caml/pervasives.ml
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/pervasives.ml
-+++ obrowser-1.1.1/rt/caml/pervasives.ml
-@@ -91,6 +90,8 @@ external acos : float -> float = "caml_a
- external asin : float -> float = "caml_asin_float" "asin" "float"
- external atan : float -> float = "caml_atan_float" "atan" "float"
- external atan2 : float -> float -> float = "caml_atan2_float" "atan2" "float"
-+external hypot : float -> float -> float
-+ = "caml_hypot_float" "caml_hypot" "float"
- external cos : float -> float = "caml_cos_float" "cos" "float"
- external cosh : float -> float = "caml_cosh_float" "cosh" "float"
- external log : float -> float = "caml_log_float" "log" "float"
-@@ -104,6 +105,8 @@ external tanh : float -> float = "caml_t
- external ceil : float -> float = "caml_ceil_float" "ceil" "float"
- external floor : float -> float = "caml_floor_float" "floor" "float"
- external abs_float : float -> float = "%absfloat"
-+external copysign : float -> float -> float
-+ = "caml_copysign_float" "caml_copysign" "float"
- external mod_float : float -> float -> float = "caml_fmod_float" "fmod" "float"
- external frexp : float -> float * int = "caml_frexp_float"
- external ldexp : float -> int -> float = "caml_ldexp_float"
-Index: obrowser-1.1.1/rt/caml/pervasives.mli
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/pervasives.mli
-+++ obrowser-1.1.1/rt/caml/pervasives.mli
-@@ -310,10 +310,18 @@ external atan : float -> float = "caml_a
- Result is in radians and is between [-pi/2] and [pi/2]. *)
-
- external atan2 : float -> float -> float = "caml_atan2_float" "atan2" "float"
--(** [atan x y] returns the arc tangent of [y /. x]. The signs of [x]
-+(** [atan2 y x] returns the arc tangent of [y /. x]. The signs of [x]
- and [y] are used to determine the quadrant of the result.
- Result is in radians and is between [-pi] and [pi]. *)
-
-+external hypot : float -> float -> float
-+ = "caml_hypot_float" "caml_hypot" "float"
-+(** [hypot x y] returns [sqrt(x *. x + y *. y)], that is, the length
-+ of the hypotenuse of a right-angled triangle with sides of length
-+ [x] and [y], or, equivalently, the distance of the point [(x,y)]
-+ to origin.
-+ @since 4.00.0 *)
-+
- external cosh : float -> float = "caml_cosh_float" "cosh" "float"
- (** Hyperbolic cosine. Argument is in radians. *)
-
-@@ -337,6 +345,14 @@ external floor : float -> float = "caml_
- external abs_float : float -> float = "%absfloat"
- (** [abs_float f] returns the absolute value of [f]. *)
-
-+external copysign : float -> float -> float
-+ = "caml_copysign_float" "caml_copysign" "float"
-+(** [copysign x y] returns a float whose absolute value is that of [x]
-+ and whose sign is that of [y]. If [x] is [nan], returns [nan].
-+ If [y] is [nan], returns either [x] or [-. x], but it is not
-+ specified which.
-+ @since 4.00.0 *)
-+
- external mod_float : float -> float -> float = "caml_fmod_float" "fmod" "float"
- (** [mod_float a b] returns the remainder of [a] with respect to
- [b]. The returned value is [a -. n *. b], where [n]
diff --git a/dev-ml/obrowser/files/obrowser-1.1.1-ocaml41.patch b/dev-ml/obrowser/files/obrowser-1.1.1-ocaml41.patch
deleted file mode 100644
index 91d60fd56bb2..000000000000
--- a/dev-ml/obrowser/files/obrowser-1.1.1-ocaml41.patch
+++ /dev/null
@@ -1,215 +0,0 @@
-Index: obrowser-1.1.1/rt/caml/pervasives.ml
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/pervasives.ml
-+++ obrowser-1.1.1/rt/caml/pervasives.ml
-@@ -24,6 +24,11 @@ let invalid_arg s = raise(Invalid_argume
-
- exception Exit
-
-+(* Composition operators *)
-+
-+external ( |> ) : 'a -> ('a -> 'b) -> 'b = "%revapply"
-+external ( @@ ) : ('a -> 'b) -> 'a -> 'b = "%apply"
-+
- (* Comparisons *)
-
- external (=) : 'a -> 'a -> bool = "%equal"
-Index: obrowser-1.1.1/rt/caml/pervasives.mli
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/pervasives.mli
-+++ obrowser-1.1.1/rt/caml/pervasives.mli
-@@ -137,6 +137,19 @@ external ( || ) : bool -> bool -> bool =
- external ( or ) : bool -> bool -> bool = "%sequor"
- (** @deprecated {!Pervasives.( || )} should be used instead.*)
-
-+(** {6 Composition operators} *)
-+
-+external ( |> ) : 'a -> ('a -> 'b) -> 'b = "%revapply"
-+(** Reverse-application operator: [x |> f |> g] is exactly equivalent
-+ to [g (f (x))].
-+ @since 4.01
-+*)
-+
-+external ( @@ ) : ('a -> 'b) -> 'a -> 'b = "%apply"
-+(** Application operator: [g @@ f @@ x] is exactly equivalent to
-+ [g (f (x))].
-+ @since 4.01
-+*)
-
- (** {6 Integer arithmetic} *)
-
-Index: obrowser-1.1.1/rt/caml/printexc.ml
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/printexc.ml
-+++ obrowser-1.1.1/rt/caml/printexc.ml
-@@ -78,6 +78,11 @@ let catch fct arg =
- eprintf "Uncaught exception: %s\n" (to_string x);
- exit 2
-
-+type raw_backtrace
-+
-+external get_raw_backtrace:
-+ unit -> raw_backtrace = "caml_get_exception_raw_backtrace"
-+
- type loc_info =
- | Known_location of bool (* is_raise *)
- * string (* filename *)
-@@ -86,8 +91,13 @@ type loc_info =
- * int (* end char *)
- | Unknown_location of bool (*is_raise*)
-
--external get_exception_backtrace:
-- unit -> loc_info array option = "caml_get_exception_backtrace"
-+(* to avoid warning *)
-+let _ = [Known_location (false, "", 0, 0, 0); Unknown_location false]
-+
-+type backtrace = loc_info array
-+
-+external convert_raw_backtrace:
-+ raw_backtrace -> backtrace option = "caml_convert_raw_backtrace"
-
- let format_loc_info pos li =
- let is_raise =
-@@ -108,8 +118,8 @@ let format_loc_info pos li =
- sprintf "%s unknown location"
- info
-
--let print_backtrace outchan =
-- match get_exception_backtrace() with
-+let print_exception_backtrace outchan backtrace =
-+ match backtrace with
- | None ->
- fprintf outchan
- "(Program not linked with -g, cannot print stack backtrace)\n"
-@@ -119,8 +129,15 @@ let print_backtrace outchan =
- fprintf outchan "%s\n" (format_loc_info i a.(i))
- done
-
--let get_backtrace () =
-- match get_exception_backtrace() with
-+let print_raw_backtrace outchan raw_backtrace =
-+ print_exception_backtrace outchan (convert_raw_backtrace raw_backtrace)
-+
-+(* confusingly named: prints the global current backtrace *)
-+let print_backtrace outchan =
-+ print_raw_backtrace outchan (get_raw_backtrace ())
-+
-+let backtrace_to_string backtrace =
-+ match backtrace with
- | None ->
- "(Program not linked with -g, cannot print stack backtrace)\n"
- | Some a ->
-@@ -131,8 +148,22 @@ let get_backtrace () =
- done;
- Buffer.contents b
-
-+let raw_backtrace_to_string raw_backtrace =
-+ backtrace_to_string (convert_raw_backtrace raw_backtrace)
-+
-+(* confusingly named:
-+ returns the *string* corresponding to the global current backtrace *)
-+let get_backtrace () =
-+ (* we could use the caml_get_exception_backtrace primitive here, but
-+ we hope to deprecate it so it's better to just compose the
-+ raw stuff *)
-+ backtrace_to_string (convert_raw_backtrace (get_raw_backtrace ()))
-+
- external record_backtrace: bool -> unit = "caml_record_backtrace"
- external backtrace_status: unit -> bool = "caml_backtrace_status"
-
- let register_printer fn =
- printers := fn :: !printers
-+
-+
-+external get_callstack: int -> raw_backtrace = "caml_get_current_callstack"
-Index: obrowser-1.1.1/rt/caml/printexc.mli
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/printexc.mli
-+++ obrowser-1.1.1/rt/caml/printexc.mli
-@@ -79,3 +79,33 @@ val register_printer: (exn -> string opt
- generic printer).
- @since 3.11.2
- *)
-+
-+(** {6 Raw backtraces} *)
-+
-+type raw_backtrace
-+
-+(** The abstract type [backtrace] stores exception backtraces in
-+ a low-level format, instead of directly exposing them as string as
-+ the [get_backtrace()] function does.
-+
-+ This allows to pay the performance overhead of representation
-+ conversion and formatting only at printing time, which is useful
-+ if you want to record more backtrace than you actually print.
-+*)
-+
-+val get_raw_backtrace: unit -> raw_backtrace
-+val print_raw_backtrace: out_channel -> raw_backtrace -> unit
-+val raw_backtrace_to_string: raw_backtrace -> string
-+
-+
-+(** {6 Current call stack} *)
-+
-+val get_callstack: int -> raw_backtrace
-+
-+(** [Printexc.get_callstack n] returns a description of the top of the
-+ call stack on the current program point (for the current thread),
-+ with at most [n] entries. (Note: this function is not related to
-+ exceptions at all, despite being part of the [Printexc] module.)
-+
-+ @since 4.01.0
-+*)
-Index: obrowser-1.1.1/rt/caml/list.ml
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/list.ml
-+++ obrowser-1.1.1/rt/caml/list.ml
-@@ -73,6 +73,18 @@ let rec fold_left f accu l =
- [] -> accu
- | a::l -> fold_left f (f accu a) l
-
-+let rec mapi i f = function
-+ [] -> []
-+ | a::l -> let r = f i a in r :: mapi (i + 1) f l
-+
-+let mapi f l = mapi 0 f l
-+
-+let rec iteri i f = function
-+ [] -> ()
-+ | a::l -> f i a; iteri (i + 1) f l
-+
-+let iteri f l = iteri 0 f l
-+
- let rec fold_right f l accu =
- match l with
- [] -> accu
-Index: obrowser-1.1.1/rt/caml/list.mli
-===================================================================
---- obrowser-1.1.1.orig/rt/caml/list.mli
-+++ obrowser-1.1.1/rt/caml/list.mli
-@@ -75,11 +75,25 @@ val iter : ('a -> unit) -> 'a list -> un
- [a1; ...; an]. It is equivalent to
- [begin f a1; f a2; ...; f an; () end]. *)
-
-+val iteri : (int -> 'a -> unit) -> 'a list -> unit
-+(** Same as {!List.iter}, but the function is applied to the index of
-+ the element as first argument (counting from 0), and the element
-+ itself as second argument.
-+ @since 4.00.0
-+*)
-+
- val map : ('a -> 'b) -> 'a list -> 'b list
- (** [List.map f [a1; ...; an]] applies function [f] to [a1, ..., an],
- and builds the list [[f a1; ...; f an]]
- with the results returned by [f]. Not tail-recursive. *)
-
-+val mapi : (int -> 'a -> 'b) -> 'a list -> 'b list
-+(** Same as {!List.map}, but the function is applied to the index of
-+ the element as first argument (counting from 0), and the element
-+ itself as second argument. Not tail-recursive.
-+ @since 4.00.0
-+*)
-+
- val rev_map : ('a -> 'b) -> 'a list -> 'b list
- (** [List.rev_map f l] gives the same result as
- {!List.rev}[ (]{!List.map}[ f l)], but is tail-recursive and
diff --git a/dev-ml/obrowser/metadata.xml b/dev-ml/obrowser/metadata.xml
deleted file mode 100644
index 2193d772e351..000000000000
--- a/dev-ml/obrowser/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>ml</herd>
-</pkgmetadata>
diff --git a/dev-ml/obrowser/obrowser-1.1.1.ebuild b/dev-ml/obrowser/obrowser-1.1.1.ebuild
deleted file mode 100644
index 87b9961376e0..000000000000
--- a/dev-ml/obrowser/obrowser-1.1.1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/obrowser/obrowser-1.1.1.ebuild,v 1.7 2013/08/19 20:54:42 aballier Exp $
-
-EAPI=5
-
-inherit findlib eutils
-
-DESCRIPTION="OCaml virtual machine written in Javascript, to run OCaml program in browsers"
-HOMEPAGE="http://ocsigen.org/obrowser/"
-SRC_URI="http://ocsigen.org/download/${P}.tar.gz"
-
-LICENSE="LGPL-2.1 GPL-3 WTFPL-2"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/ocaml-3.12.0:=
- dev-ml/lwt:="
-DEPEND="${RDEPEND}
- app-arch/sharutils"
-
-src_prepare() {
- has_version '>=dev-lang/ocaml-4' && epatch "${FILESDIR}/${P}-ocaml4.patch"
- has_version '>=dev-lang/ocaml-4.01_beta' && epatch "${FILESDIR}/${P}-ocaml41.patch"
-}
-
-src_compile() {
- touch .check_version
- emake -j1 EXAMPLES_TARGETS=""
-}
-
-src_install() {
- findlib_src_preinst
- OCAMLPATH=${OCAMLFIND_DESTDIR} emake DESTDIR="${D}" install
- dodoc README.TXT
-}