From f526348dd8844507cc7433508cbdc91bda0a3f97 Mon Sep 17 00:00:00 2001 From: ygrek Date: Tue, 19 May 2015 00:56:39 -0700 Subject: [PATCH] rename as ocaml-libevent and ocamlfind package name libevent --- LICENCE | 4 ++-- META | 4 ++-- Makefile | 4 ++-- README | 9 ++++++--- event_stubs.c | 2 +- examples/Makefile | 2 +- libevent.ml | 2 +- libevent.mli | 6 +++--- unittest.ml | 4 ++-- 9 files changed, 20 insertions(+), 17 deletions(-) diff --git a/LICENCE b/LICENCE index 1098aa5..6f1ba0f 100644 --- a/LICENCE +++ b/LICENCE @@ -1,10 +1,10 @@ Copyright (c) 2002, 2003 by Maas-Maarten Zeeman Copyright (c) 2010 ygrek -The package ocaml-event is copyright by Maas-Maarten Zeeman. +The package ocaml-libevent (formerly ocaml-event) is copyright by Maas-Maarten Zeeman. Permission is hereby granted, free of charge, to any person obtaining -a copy of this document and the ocaml-event software ("the Software"), +a copy of this document and the ocaml-libevent software ("the Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to diff --git a/META b/META index 5129121..d87cec4 100644 --- a/META +++ b/META @@ -1,5 +1,5 @@ -name = "event" -version = "0.6.0-git" +name = "libevent" +version = "0.7.0" description = "OCaml wrapper for libevent" requires = "unix" archive(byte) = "liboevent.cma" diff --git a/Makefile b/Makefile index 404c504..0356594 100644 --- a/Makefile +++ b/Makefile @@ -52,12 +52,12 @@ $(XARCHIVE): $(CARCHIVE) $(XOBJECTS) .PHONY: install install: { test ! -f $(XARCHIVE) || extra="$(XARCHIVE) $(OBJECTS:.cmo=.cmx) $(NAME).a"; }; \ - $(OCAMLFIND) install event META $(OBJECTS:.cmo=.cmi) $(OBJECTS:.cmo=.mli) $(ARCHIVE) \ + $(OCAMLFIND) install libevent META $(OBJECTS:.cmo=.cmi) $(OBJECTS:.cmo=.mli) $(ARCHIVE) \ dll$(CARCHIVE_NAME).so lib$(CARCHIVE_NAME).a $$extra .PHONY: uninstall uninstall: - $(OCAMLFIND) remove event + $(OCAMLFIND) remove libevent ## Documentation .PHONY: doc diff --git a/README b/README index d93ccfa..7491e90 100644 --- a/README +++ b/README @@ -1,8 +1,8 @@ - The ocaml-event library + The ocaml-libevent library Overview - ocaml-event is a wrapper for the libevent API. The libevent API + ocaml-libevent is a wrapper for the libevent API. The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals @@ -43,4 +43,7 @@ Documentation References - libevent:: + Homepage http://github.com/ygrek/ocaml-libevent + Originally at http://mmzeeman.home.xs4all.nl/ocaml/ + + libevent http://libevent.org diff --git a/event_stubs.c b/event_stubs.c index 59100e9..6940ea9 100644 --- a/event_stubs.c +++ b/event_stubs.c @@ -1,5 +1,5 @@ /************************************************************************/ -/* The ocaml-event library */ +/* The ocaml-libevent library */ /* */ /* Copyright 2002, 2003, 2004 Maas-Maarten Zeeman. All rights reserved. */ /* Copyright 2010 ygrek */ diff --git a/examples/Makefile b/examples/Makefile index 0082641..3b21efd 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,5 +1,5 @@ # -# Simple makefile to build the example programs. The event library +# Simple makefile to build the example programs. The libevent library # must be installed first. # diff --git a/libevent.ml b/libevent.ml index 1c74503..ee97222 100644 --- a/libevent.ml +++ b/libevent.ml @@ -1,5 +1,5 @@ (***********************************************************************) -(* The ocaml-event library *) +(* The ocaml-libevent library *) (* *) (* Copyright 2002, 2003 Maas-Maarten Zeeman. All rights reserved. *) (* Copyright 2010 ygrek *) diff --git a/libevent.mli b/libevent.mli index 3a8a6ee..d9229e8 100644 --- a/libevent.mli +++ b/libevent.mli @@ -1,5 +1,5 @@ (***********************************************************************) -(* The ocaml-event library *) +(* The ocaml-libevent library *) (* *) (* Copyright 2002, 2003, 2004 Maas-Maarten Zeeman. All rights reserved *) (* Copyright 2010 ygrek *) @@ -7,9 +7,9 @@ (***********************************************************************) -(** The Ocaml Event library provides an interface to the event API. +(** The ocaml-libevent library provides an interface to the libevent API. - The event API provides a mechanism to execute a function when a + The libevent API provides a mechanism to execute a function when a specific event on a file descriptor occurs or after a given time has passed. diff --git a/unittest.ml b/unittest.ml index 049f5ef..605d0ef 100644 --- a/unittest.ml +++ b/unittest.ml @@ -1,7 +1,7 @@ (***********************************************************************) -(* The OcamlEvent library *) +(* The ocaml-libevent library *) (* *) -(* Copyright 2002, 2003 Maas-Maarten Zeeman. All rights reserved. See *) +(* Copyright 2002, 2003 Maas-Maarten Zeeman. All rights reserved. See *) (* LICENCE for details. *) (***********************************************************************) -- 2.11.4.GIT