[Pkg-ocaml-maint-commits] [SCM] zed packaging branch, master, updated. upstream/1.1-1-gb9ffd5c

Nicolas Dandrimont Nicolas.Dandrimont at crans.org
Sun Feb 5 09:32:28 UTC 2012


The following commit has been merged in the master branch:
commit b9ffd5c05527ebd2b52d7e75545a91a75a373614
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date:   Sun Feb 5 10:27:44 2012 +0100

    Import the debian packaging

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..1a3d1e3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+zed (1.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #658584)
+
+ -- Nicolas Dandrimont <nicolas.dandrimont at crans.org>  Sun, 05 Feb 2012 08:21:23 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..88fd358
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,64 @@
+Source: zed
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Nicolas Dandrimont <nicolas.dandrimont at crans.org>
+Build-Depends:
+ debhelper (>= 8),
+ dh-ocaml (>= 0.9),
+ libreact-ocaml-dev,
+ libcamomile-ocaml-dev (>= 0.8.0~),
+ ocaml-findlib,
+ ocaml-nox (>= 3.12.0~)
+Standards-Version: 3.9.2
+Section: ocaml
+Homepage: http://forge.ocamlcore.org/projects/zed/
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/zed.git
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/zed.git
+
+Package: libzed-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Recommends:
+ ocaml-findlib
+Description: abstract engine for text edition in OCaml (development tools)
+ Zed is an abstract engine for text edition. It can be used to
+ write text editors, edition widgets, readlines, ...
+ .
+ Zed uses Camomile to fully support the Unicode specification, and
+ implements an UTF-8 encoded string type with validation, and a rope
+ datastructure to achieve efficient operations on large Unicode
+ buffers. Zed also features a regular expression search on ropes.
+ .
+ To support efficient text edition capabilities, Zed provides macro
+ recording and cursor management facilities.
+ .
+ This package contains the development stuff needed to use the
+ zed library in your programs.
+
+Package: libzed-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides:
+ ${ocaml:Provides}
+Description: abstract engine for text edition in OCaml (runtime)
+ Zed is an abstract engine for text edition. It can be used to
+ write text editors, edition widgets, readlines, ...
+ .
+ Zed uses Camomile to fully support the Unicode specification, and
+ implements an UTF-8 encoded string type with validation, and a rope
+ datastructure to achieve efficient operations on large Unicode
+ buffers. Zed also features a regular expression search on ropes.
+ .
+ To support efficient text edition capabilities, Zed provides macro
+ recording and cursor management facilities.
+ .
+ This package contains the runtime libraries for programs using
+ zed.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c3070c6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+OBFormat: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=174
+Upstream-Name: zed
+Upstream-Contact: Jérémie Dimino <jeremie at dimino.org>
+Source: https://forge.ocamlcore.org/projects/zed/
+
+Files: *
+Copyright: Copyright (c) 2011 Jérémie Dimino <jeremie at dimino.org>
+License: MIT
+
+Files: debian/*
+Copyright: Copyright (c) 2012 Nicolas Dandrimont <nicolas.dandrimont at crans.org>
+License: MIT
+
+License: MIT
+  All rights reserved.
+  Redistribution and use in source and binary forms, with or without
+  modification, are permitted provided that the following conditions are met:
+ .
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+    * Neither the name of the author nor the names of his
+      contributors may be used to endorse or promote products derived
+      from this software without specific prior written permission.
+ .
+  THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY
+  EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+  DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR ANY
+  DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+  (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+  LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/libzed-ocaml-dev.install.in b/debian/libzed-ocaml-dev.install.in
new file mode 100644
index 0000000..9a70f6e
--- /dev/null
+++ b/debian/libzed-ocaml-dev.install.in
@@ -0,0 +1,5 @@
+usr/share/doc/libzed-ocaml-dev
+ at OCamlStdlibDir@/zed/*.cmi
+ at OCamlStdlibDir@/zed/*.mli
+DYN: @OCamlStdlibDir@/zed/*.cmxa
+DYN: @OCamlStdlibDir@/zed/*.a
diff --git a/debian/libzed-ocaml.install.in b/debian/libzed-ocaml.install.in
new file mode 100644
index 0000000..c9168be
--- /dev/null
+++ b/debian/libzed-ocaml.install.in
@@ -0,0 +1,3 @@
+ at OCamlStdlibDir@/zed/META
+ at OCamlStdlibDir@/zed/*.cma
+DYN: @OCamlStdlibDir@/zed/*.cmxs
diff --git a/debian/patches/0001-make-ocamldoc-happy.patch b/debian/patches/0001-make-ocamldoc-happy.patch
new file mode 100644
index 0000000..e0a4d09
--- /dev/null
+++ b/debian/patches/0001-make-ocamldoc-happy.patch
@@ -0,0 +1,19 @@
+From: Jeremie Dimino <jeremie at dimino.org>
+Subject: make ocamldoc happy
+Origin: https://forge.ocamlcore.org/plugins/scmdarcs/cgi-bin/darcsweb.cgi?r=zed/zed;a=commitdiff;h=20110903094217-c41ad-e62a4940d43055ecdd65dab367035163654c4d54.gz
+
+---
+diff -rN -u old-zed-darcs/src/zed_edit.mli new-zed-darcs/src/zed_edit.mli
+--- old-zed-darcs/src/zed_edit.mli	2011-09-03 13:30:50.000000000 +0200
++++ new-zed-darcs/src/zed_edit.mli	2011-09-03 13:30:50.000000000 +0200
+@@ -401,8 +401,8 @@
+ 
+       [Insert ch] is represented by "insert(<char>)" where [<char>] is:
+ 
+-      * a literal ascii character, such as "a", "b", ...
+-      * a unicode character, written "U+<code>", such as "U+0041"
++      - a literal ascii character, such as "a", "b", ...
++      - a unicode character, written "U+< code >", such as "U+0041"
+   *)
+ 
+ val name_of_action : action -> string
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..65a9d2b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-make-ocamldoc-happy.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..1cebde8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+include /usr/share/ocaml/ocamlvars.mk
+
+export OCAML_DLL_DIR
+export OCAML_HAVE_OCAMLOPT
+export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_LDCONF=ignore
+
+%:
+	dh $@ --with ocaml
+
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+	ocaml setup.ml -configure --prefix /usr --destdir '$(DESTDIR)' --docdir /usr/share/doc/libzed-ocaml-dev
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+	ocaml setup.ml -build
+	ocaml setup.ml -doc
+
+.PHONY: override_dh_auto_test
+override_dh_auto_test:
+	ocaml setup.ml -test
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+	mkdir -p '$(OCAMLFIND_DESTDIR)'
+	ocaml setup.ml -install
+
+.PHONY: override_dh_install
+override_dh_install:
+	dh_install --fail-missing
+
+.PHONY: override_dh_auto_clean
+override_dh_auto_clean:
+	ocaml setup.ml -distclean
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..9cdfca9
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1,2 @@
+unapply-patches
+abort-on-upstream-changes

-- 
zed packaging



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