[Pkg-ocaml-maint-commits] [ocamlgraph] 03/04: Refreshed patches and deleted those which were merged upstream

Johannes Schauer josch-guest at moszumanska.debian.org
Mon Mar 24 19:30:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

josch-guest pushed a commit to branch master
in repository ocamlgraph.

commit f765babbab8370f0e45fa62a45521ea46c562799
Author: josch <j.schauer at email.de>
Date:   Mon Mar 24 11:41:53 2014 +0100

    Refreshed patches and deleted those which were merged upstream
---
 ...ry-names-with-ocaml-and-do-not-install-us.patch |  7 +-
 ...referencing-non-existent-icon-ed_icon.xpm.patch |  3 -
 ...fixed-compilation-issue-with-OCaml-3.12.1.patch | 35 ---------
 ...fixed-compilation-issue-with-OCaml-3.12.1.patch | 87 ----------------------
 debian/patches/series                              |  2 -
 5 files changed, 2 insertions(+), 132 deletions(-)

diff --git a/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch b/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
index ea16682..a646247 100644
--- a/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
+++ b/debian/patches/0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
@@ -6,11 +6,9 @@ Subject: prefix binary names with 'ocaml' and do not install useless files
  Makefile.in |   11 +++++++----
  1 file changed, 7 insertions(+), 4 deletions(-)
 
-diff --git a/Makefile.in b/Makefile.in
-index 1b32d45..3aa2377 100644
 --- a/Makefile.in
 +++ b/Makefile.in
-@@ -330,11 +330,13 @@ install: install-$(OCAMLBEST) install-byte
+@@ -370,11 +370,13 @@ install: install-$(OCAMLBEST) install-by
  	mkdir -p $(BINDIR)
  ifeq (@LABLGNOMECANVAS@,yes)
  ifeq ($(OCAMLBEST),byte)
@@ -28,7 +26,7 @@ index 1b32d45..3aa2377 100644
  endif
  endif
  
-@@ -342,6 +344,7 @@ install-byte:
+@@ -382,6 +384,7 @@ install-byte:
  	mkdir -p $(INSTALL_LIBDIR)
  	cp -f graph.cmo graph.cmi $(CMA) $(INSTALL_LIBDIR)
  	cp -f $(SRCDIR)/*.mli $(INSTALL_LIBDIR)
@@ -36,4 +34,3 @@ index 1b32d45..3aa2377 100644
  ifeq (@LABLGNOMECANVAS@,yes)
  	mkdir -p $(BINDIR)
  	cp -f $(ED_DIR)/editor.byte $(BINDIR)/graph-editor.byte
--- 
diff --git a/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch b/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
index 9f4a108..13a57fe 100644
--- a/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
+++ b/debian/patches/0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
@@ -6,8 +6,6 @@ Subject: avoid referencing non existent icon ed_icon.xpm
  editor/ed_main.ml |    4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)
 
-diff --git a/editor/ed_main.ml b/editor/ed_main.ml
-index b5ece22..e66fb4a 100644
 --- a/editor/ed_main.ml
 +++ b/editor/ed_main.ml
 @@ -899,7 +899,7 @@ described in file LICENSE.
@@ -33,4 +31,3 @@ index b5ece22..e66fb4a 100644
    buffer#insert ~iter "\n\n\n";
    let start,stop = buffer#bounds in
    buffer#apply_tag_by_name "center" ~start ~stop ; 
--- 
diff --git a/debian/patches/0003-fixed-compilation-issue-with-OCaml-3.12.1.patch b/debian/patches/0003-fixed-compilation-issue-with-OCaml-3.12.1.patch
deleted file mode 100644
index d40acf8..0000000
--- a/debian/patches/0003-fixed-compilation-issue-with-OCaml-3.12.1.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From: Julien Signoles <julien.signoles at cea.fr>
-Date: Wed, 22 May 2013 08:35:36 +0000
-Subject:     fixed compilation issue with OCaml 3.12.1
-
----
- CHANGES       |    1 +
- src/merge.mli |    5 +----
- 2 files changed, 2 insertions(+), 4 deletions(-)
-
-diff --git a/CHANGES b/CHANGES
-index 5a8db64..84afb9c 100644
---- a/CHANGES
-+++ b/CHANGES
-@@ -1,3 +1,4 @@
-+o fixed compilation issue with OCaml 3.12.1
- 
- version 1.8.3, April 17, 2013
- ---------------------------
-diff --git a/src/merge.mli b/src/merge.mli
-index 3b13413..8e574ae 100644
---- a/src/merge.mli
-+++ b/src/merge.mli
-@@ -133,10 +133,7 @@ module I(G: Sig.I): sig
-     ?loop_killer:bool -> ?specified_vertex:(vertex list -> vertex) -> graph -> 
-     unit
- 
--end with type graph = G.t
--		      and type vertex := G.vertex
--		      and type edge := G.edge
--		      and type edge_label = G.E.label
-+end
- 
- (*
- Local Variables:
--- 
diff --git a/debian/patches/0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch b/debian/patches/0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch
deleted file mode 100644
index 0819686..0000000
--- a/debian/patches/0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From: Julien Signoles <julien.signoles at cea.fr>
-Date: Thu, 23 May 2013 11:13:58 +0000
-Subject:     [Merge] bug fixed + compilation issue with OCaml 3.12.1
-
----
- CHANGES      |    1 +
- src/merge.ml |   41 +++++++++++++++++++++++++++++++++++++----
- 2 files changed, 38 insertions(+), 4 deletions(-)
-
-diff --git a/CHANGES b/CHANGES
-index 84afb9c..ae5f8af 100644
---- a/CHANGES
-+++ b/CHANGES
-@@ -1,3 +1,4 @@
-+o Merge: fixed bug with vertices with no incoming nor outcoming edge.
- o fixed compilation issue with OCaml 3.12.1
- 
- version 1.8.3, April 17, 2013
-diff --git a/src/merge.ml b/src/merge.ml
-index c8581e3..563ab77 100644
---- a/src/merge.ml
-+++ b/src/merge.ml
-@@ -57,12 +57,26 @@ module B(B: Builder.S) = struct
-     in
-     B.G.fold_edges_e f g []
-       
-+  (* – former buggy version – the case where v is neither the source nor the
-+     destination of some arrow was not taken into account, so that vertices were
-+     just removed
-+
-+     let merge_vertex g vl = match vl with 
-+     | [] -> g
-+     | _ :: vl' ->
-+     let to_be_added = identify_extremities g vl in
-+     let g = List.fold_left B.remove_vertex g vl' in
-+     List.fold_left B.add_edge_e g to_be_added
-+   *)
-+
-   let merge_vertex g vl = match vl with 
-     | [] -> g
--    | _ :: vl' ->
-+    | v :: vl' ->
-       let to_be_added = identify_extremities g vl in
-       let g = List.fold_left B.remove_vertex g vl' in
--      List.fold_left B.add_edge_e g to_be_added
-+      if to_be_added = []
-+      then B.add_vertex g v
-+      else List.fold_left B.add_edge_e g to_be_added
-       
-   let merge_edges_e ?src ?dst g el = match el with
-     | e :: el' ->
-@@ -108,13 +122,32 @@ module B(B: Builder.S) = struct
-     in
-     let edges_to_be_merged = B.G.fold_edges_e collect_edge g [] in
-     merge_edges_e ?src ?dst g edges_to_be_merged
-+
-+  (* To deduce a comparison function on labels from a comparison function on
-+     edges *)
-+
-+  let compare_label g =
-+    try
-+      let default_vertex =
-+        let a_vertex_of_g = ref None in
-+        (try B.G.iter_vertex (fun v -> a_vertex_of_g := Some v ; raise Exit) g 
-+	 with Exit -> ());
-+        match !a_vertex_of_g with 
-+        | Some v -> v
-+        | None -> raise Exit (*hence g is empty*) in
-+      fun l1 l2 ->
-+        let e1 = B.G.E.create default_vertex l1 default_vertex in
-+        let e2 = B.G.E.create default_vertex l2 default_vertex in
-+        B.G.E.compare e1 e2
-+    with Exit -> (fun l1 l2 -> 0)
-       
-   let merge_isolabelled_edges g =
-     let module S = Set.Make(B.G.V) in
-     let do_meet s1 s2 = S.exists (fun x -> S.mem x s2) s1 in
-     let module M = 
--	  (* TODO: using [compare] here is really suspicious *)
--	  Map.Make(struct type t = B.G.E.label let compare = compare end) 
-+	  (* TODO: using [compare] here is really suspicious ... 
-+	     DONE – yet not so clean *)
-+	  Map.Make(struct type t = B.G.E.label let compare = compare_label g end) 
-     in
-     let accumulating e accu =
-       let l = B.G.E.label e in
--- 
diff --git a/debian/patches/series b/debian/patches/series
index e06e577..827a58e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,2 @@
 0001-prefix-binary-names-with-ocaml-and-do-not-install-us.patch
 0002-avoid-referencing-non-existent-icon-ed_icon.xpm.patch
-0003-fixed-compilation-issue-with-OCaml-3.12.1.patch
-0004-Merge-bug-fixed-compilation-issue-with-OCaml-3.12.1.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocamlgraph.git



More information about the Pkg-ocaml-maint-commits mailing list