[Pkg-ocaml-maint-commits] r4596 - in /trunk/packages/ocaml-reins: ./ tarballs/ trunk/ trunk/debian/ trunk/debian/patches/

mfurr at users.alioth.debian.org mfurr at users.alioth.debian.org
Tue Oct 2 21:34:04 UTC 2007


Author: mfurr
Date: Tue Oct  2 21:34:04 2007
New Revision: 4596

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=4596
Log:
initial packaging

Added:
    trunk/packages/ocaml-reins/
    trunk/packages/ocaml-reins/tarballs/
    trunk/packages/ocaml-reins/tarballs/ocaml-reins_0.1a.orig.tar.gz   (with props)
    trunk/packages/ocaml-reins/trunk/
    trunk/packages/ocaml-reins/trunk/debian/   (with props)
    trunk/packages/ocaml-reins/trunk/debian/changelog
    trunk/packages/ocaml-reins/trunk/debian/compat
    trunk/packages/ocaml-reins/trunk/debian/control
    trunk/packages/ocaml-reins/trunk/debian/copyright
    trunk/packages/ocaml-reins/trunk/debian/dirs
    trunk/packages/ocaml-reins/trunk/debian/docs
    trunk/packages/ocaml-reins/trunk/debian/patches/
    trunk/packages/ocaml-reins/trunk/debian/patches/00list
    trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch   (with props)
    trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch   (with props)
    trunk/packages/ocaml-reins/trunk/debian/rules   (with props)
    trunk/packages/ocaml-reins/trunk/debian/watch

Added: trunk/packages/ocaml-reins/tarballs/ocaml-reins_0.1a.orig.tar.gz
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/tarballs/ocaml-reins_0.1a.orig.tar.gz?rev=4596&op=file
==============================================================================
Binary file - no diff available.

Propchange: trunk/packages/ocaml-reins/tarballs/ocaml-reins_0.1a.orig.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Propchange: trunk/packages/ocaml-reins/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: trunk/packages/ocaml-reins/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/changelog?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/changelog (added)
+++ trunk/packages/ocaml-reins/trunk/debian/changelog Tue Oct  2 21:34:04 2007
@@ -1,0 +1,6 @@
+ocaml-reins (0.1a-1) unstable; urgency=low
+
+  * Initial release (Closes: #445039)
+
+ -- Mike Furr <mfurr at debian.org>  Tue, 02 Oct 2007 16:35:40 -0400
+

Added: trunk/packages/ocaml-reins/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/compat?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/compat (added)
+++ trunk/packages/ocaml-reins/trunk/debian/compat Tue Oct  2 21:34:04 2007
@@ -1,0 +1,1 @@
+5

Added: trunk/packages/ocaml-reins/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/control?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/control (added)
+++ trunk/packages/ocaml-reins/trunk/debian/control Tue Oct  2 21:34:04 2007
@@ -1,0 +1,32 @@
+Source: ocaml-reins
+Section: libdevel
+Priority: optional
+Maintainer: Mike Furr <mfurr at debian.org>
+Build-Depends: debhelper (>= 5), dpatch, ocaml-nox (>= 3.10.0), omake, libounit-ocaml-dev
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-reins
+XS-Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/
+
+Package: libreins-ocaml-dev
+Architecture: any
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}, ${misc:Depends}
+Description: data structure library for OCaml
+ The OCaml Reins data structure library consists of the following
+ persistent implementations: 
+  * Lists (singly, O(1) catenable, Acyclic doubly linked, 
+           random access) 
+  * Sets/Maps (AVL, Red/Black, Patricia, Splay) 
+  * Heaps (Binomial, Skew-Binomial)
+ .
+ All of the implementations conform to a unified signature for each
+ data type.  Also, each data types include zipper style cursor
+ interfaces and persistent, bi-directional cursor based iterators.
+ The library also includes a set of standard modules to hoist the base
+ typs into the module level (Int, Bool, etc...) as well as a
+ collection of functor combinators to minimize boilerplate (e.g., for
+ constructing compare or to_string functions).  Finally, a
+ quickcheck-like random testing framework is included and each data
+ type supports the necessary "gen" function to generate a random
+ instance of the type.
+ .
+ Homepage: http://ocaml-reins.sourceforge.net/

Added: trunk/packages/ocaml-reins/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/copyright?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/copyright (added)
+++ trunk/packages/ocaml-reins/trunk/debian/copyright Tue Oct  2 21:34:04 2007
@@ -1,0 +1,38 @@
+This package was debianized by Mike Furr <mfurr at debian.org> on
+October 2, 2007.
+
+It was downloaded from http://ocaml-reins.sourceforge.net/
+
+Upstream Author: 
+
+    Mike Furr <furr at cs.umd.edu>
+
+Copyright: 
+
+    (C) 2007 Mike Furr
+
+License:
+
+    The OCaml Reins library is distributed under the terms of the Lesser
+    General Public License version 2.1 (provided in the file
+    /usr/share/common-licenses/LGPL-2.1) with the following linking
+    exception.
+
+    As a special exception to the GNU Lesser General Public License,
+    you may link, statically or dynamically, a "work that uses the
+    Library" with a publicly distributed version of the Library to
+    produce an executable file containing portions of the Library, and
+    distribute that executable file under terms of your choice,
+    without any of the additional requirements listed in clause 6 of
+    the GNU Lesser General Public License. By "a publicly distributed
+    version of the Library", we mean either the unmodified Library as
+    distributed by the official ocaml-reins website (currently
+    ocaml-reins.sourceforge.net), or a modified version of the Library
+    that is distributed under the conditions defined in clause 3 of
+    the GNU Lesser General Public License. This exception does not
+    however invalidate any other reasons why the executable file might
+    be covered by the GNU Lesser General Public License.
+
+The Debian packaging is (C) 2007, Mike Furr <mfurr at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+

Added: trunk/packages/ocaml-reins/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/dirs?rev=4596&op=file
==============================================================================
    (empty)

Added: trunk/packages/ocaml-reins/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/docs?rev=4596&op=file
==============================================================================
    (empty)

Added: trunk/packages/ocaml-reins/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/patches/00list?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/patches/00list (added)
+++ trunk/packages/ocaml-reins/trunk/debian/patches/00list Tue Oct  2 21:34:04 2007
@@ -1,0 +1,2 @@
+10_DESTDIR
+20_INSTALL_CMI

Added: trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch (added)
+++ trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch Tue Oct  2 21:34:04 2007
@@ -1,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_DESTDIR.dpatch by Mike Furr <mfurr at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad ocaml-reins-0.1a~/config.omake ocaml-reins-0.1a/config.omake
+--- ocaml-reins-0.1a~/config.omake	2007-10-02 16:58:06.439020654 -0400
++++ ocaml-reins-0.1a/config.omake	2007-10-02 16:58:21.852932283 -0400
+@@ -7,7 +7,13 @@
+ 	  exit 1
+ 	OCAMLDEP_MODULES_ENABLED = $(OCAMLDEP_MODULES_AVAILABLE)
+ 	OCAMLDEP=$(OCAMLDEP_MODULES)
+-	PREFIX=$(shell ocamlc -where)
++	if $(not $(defined PREFIX))
++	  PREFIX=$(shell ocamlc -where)
++	  export
++	if $(defined-env OCAMLFIND_DESTDIR)
++	  PREFIX = $(getenv OCAMLFIND_DESTDIR)
++	  export
++	echo prefix is $(PREFIX)
+ 	VERSION=0.1a
+ 	ConfMsgChecking(oUnit)
+ 	OUNIT_DIR=$(shell ocamlfind query oUnit)

Propchange: trunk/packages/ocaml-reins/trunk/debian/patches/10_DESTDIR.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch (added)
+++ trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch Tue Oct  2 21:34:04 2007
@@ -1,0 +1,17 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 20_INSTALL_CMI.dpatch by Mike Furr <mfurr at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad ocaml-reins-0.1a~/src/OMakefile ocaml-reins-0.1a/src/OMakefile
+--- ocaml-reins-0.1a~/src/OMakefile	2007-10-02 17:26:23.000000000 -0400
++++ ocaml-reins-0.1a/src/OMakefile	2007-10-02 17:26:54.705359854 -0400
+@@ -52,5 +52,5 @@
+ 
+ install: META $(REINS_LIB)
+ 	mkdir -p $(PREFIX)/reins
+-	ocamlfind install reins META $(REINS_LIB) $(REINS_CMX) \
++	ocamlfind install reins META $(REINS_LIB) $(REINS_CMX) reins.cmi \
+ 	  $(filter-exists $(addsuffix .mli, $(FILES)))

Propchange: trunk/packages/ocaml-reins/trunk/debian/patches/20_INSTALL_CMI.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocaml-reins/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/rules?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/rules (added)
+++ trunk/packages/ocaml-reins/trunk/debian/rules Tue Oct  2 21:34:04 2007
@@ -1,0 +1,74 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PACKAGE=ocaml-reins
+include /usr/share/dpatch/dpatch.make
+OCAMLABI = $(shell ocamlc -version)
+OCAMLLIB = $(shell ocamlc -where)
+DEST = $(CURDIR)/debian/libreins-ocaml-dev/$(OCAMLLIB)
+
+build: build-stamp
+
+build-stamp: patch
+	dh_testdir
+
+	OCAMLFIND_DESTDIR=$(DEST) omake --config
+#	omake doc
+
+	touch $@
+
+clean: patch clean1 unpatch
+clean1:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	omake clean
+	rm -f .omake*
+	find . -iname \*.omc -exec rm -f \{\} \;
+	find . -iname \*.annot -exec rm -f \{\} \;
+	rm -f doc/html/api/*
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	OCAMLFIND_DESTDIR=$(DEST) omake install
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+	dh_install
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure

Propchange: trunk/packages/ocaml-reins/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocaml-reins/trunk/debian/watch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-reins/trunk/debian/watch?rev=4596&op=file
==============================================================================
--- trunk/packages/ocaml-reins/trunk/debian/watch (added)
+++ trunk/packages/ocaml-reins/trunk/debian/watch Tue Oct  2 21:34:04 2007
@@ -1,0 +1,9 @@
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://sf.net/ocaml-reins/ocaml-reins-(.*)\.tar\.gz
+
+




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