[Pkg-ocaml-maint-commits] r3287 - /tags/packages/ocaml-xml-rpc/ /tags/packages/ocaml-xml-rpc/0.2.3/ /tags/packages/ocaml-xml-rpc/0.2.3/debian/ /trunk/packages/ocaml-xml-rpc/ /trunk/packages/ocaml-xml-rpc/trunk/ /trunk/packages/ocaml-xml-rpc/trunk/debian/ /trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ /trunk/packages/ocaml-xml-rpc/upstream/

munga-guest at users.alioth.debian.org munga-guest at users.alioth.debian.org
Sat Oct 28 12:20:48 CEST 2006


Author: munga-guest
Date: Sat Oct 28 12:20:46 2006
New Revision: 3287

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3287
Log:
Initial commit for ocaml-xml-rpc

Added:
    tags/packages/ocaml-xml-rpc/
    tags/packages/ocaml-xml-rpc/0.2.3/
    tags/packages/ocaml-xml-rpc/0.2.3/debian/
    tags/packages/ocaml-xml-rpc/0.2.3/debian/changelog
    tags/packages/ocaml-xml-rpc/0.2.3/debian/compat
    tags/packages/ocaml-xml-rpc/0.2.3/debian/control
    tags/packages/ocaml-xml-rpc/0.2.3/debian/copyright
    tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs
    tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs.in
    tags/packages/ocaml-xml-rpc/0.2.3/debian/doc-base
    tags/packages/ocaml-xml-rpc/0.2.3/debian/docs
    tags/packages/ocaml-xml-rpc/0.2.3/debian/examples
    tags/packages/ocaml-xml-rpc/0.2.3/debian/rules   (with props)
    trunk/packages/ocaml-xml-rpc/
    trunk/packages/ocaml-xml-rpc/trunk/
    trunk/packages/ocaml-xml-rpc/trunk/debian/   (with props)
    trunk/packages/ocaml-xml-rpc/trunk/debian/changelog
    trunk/packages/ocaml-xml-rpc/trunk/debian/compat
    trunk/packages/ocaml-xml-rpc/trunk/debian/control
    trunk/packages/ocaml-xml-rpc/trunk/debian/copyright
    trunk/packages/ocaml-xml-rpc/trunk/debian/dirs
    trunk/packages/ocaml-xml-rpc/trunk/debian/dirs.in
    trunk/packages/ocaml-xml-rpc/trunk/debian/doc-base
    trunk/packages/ocaml-xml-rpc/trunk/debian/docs
    trunk/packages/ocaml-xml-rpc/trunk/debian/examples
    trunk/packages/ocaml-xml-rpc/trunk/debian/patches/
    trunk/packages/ocaml-xml-rpc/trunk/debian/patches/00list
    trunk/packages/ocaml-xml-rpc/trunk/debian/patches/annexlib.dpatch
    trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ocaml-xml-rpc.dpatch
    trunk/packages/ocaml-xml-rpc/trunk/debian/rules   (with props)
    trunk/packages/ocaml-xml-rpc/trunk/debian/svn-deblayout
    trunk/packages/ocaml-xml-rpc/upstream/
    trunk/packages/ocaml-xml-rpc/upstream/ocaml-xml-rpc_0.2.3.orig.tar.gz   (with props)

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/changelog?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/changelog (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/changelog Sat Oct 28 12:20:46 2006
@@ -1,0 +1,6 @@
+ocaml-xml-rpc (0.2.3-1) unstable; urgency=low
+
+  [ Pietro abate  ]
+  * Initial release (Closes #395122).
+
+ --  <Pietro.Abate at anu.edu.au>  Wed, 25 Oct 2006 10:15:40 +1000

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/compat?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/compat (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/compat Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+4

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/control?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/control (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/control Sat Oct 28 12:20:46 2006
@@ -1,0 +1,16 @@
+Source: ocaml-xml-rpc
+Section: devel
+Priority: optional
+Maintainer: Pietro Abate <pietro.abate at anu.edu.au>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.2), ocaml-findlib (>= 1.1), libpcre-ocaml-dev (>= 5.11.1), libocamlnet-ocaml-dev (>= 1.1-12), cdbs
+Standards-Version: 3.7.2
+
+Package: libxmlrpc-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, libpcre-ocaml-dev (>= 5.11.1), libocamlnet-ocaml-dev (>= 1.1-12)
+Description: XML-RPC support library for ocaml
+ Ocaml XML-RPC is a library for the Objective Caml programming language
+ that implements the XML-RPC specification. XML-RPC remote procedure 
+ calling mechanism that uses HTTP as the transport and XML as the encoding.
+ .
+ Homepage: http://raevnos.pennmush.org/code/ocaml-xml-rpc/

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/copyright?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/copyright (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/copyright Sat Oct 28 12:20:46 2006
@@ -1,0 +1,10 @@
+
+Author: Shawn Wagner <shawnw at speakeasy.org>
+
+Copyright:
+  OCaml XML-RPC is distributed under the term of the GNU Library General
+  Public License version 2, on Debian systems you can find a copy of the
+  license in:
+
+    /usr/share/common-licenses/LGPL-2
+

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+/usr/lib/ocaml/3.09.2

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs.in?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs.in (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/dirs.in Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+/usr/lib/ocaml/@OCamlABI@

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/doc-base
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/doc-base?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/doc-base (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/doc-base Sat Oct 28 12:20:46 2006
@@ -1,0 +1,9 @@
+Document: ocaml-xml-prc
+Title: Ocaml XML-RPC API reference manual
+Author: Shawn Wagner
+Abstract: API reference manual for OCAML XML-RPC, an Objective Caml library for writing xmlrpc aware applications
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libxmlrpc-ocaml-dev/html/index.html
+Files: /usr/share/doc/libhxmlrpc-ocaml-dev/html/*

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/docs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/docs?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/docs (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/docs Sat Oct 28 12:20:46 2006
@@ -1,0 +1,2 @@
+README
+doc/*

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/examples
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/examples?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/examples (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/examples Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+examples/*.ml

Added: tags/packages/ocaml-xml-rpc/0.2.3/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc/0.2.3/debian/rules?rev=3287&op=file
==============================================================================
--- tags/packages/ocaml-xml-rpc/0.2.3/debian/rules (added)
+++ tags/packages/ocaml-xml-rpc/0.2.3/debian/rules Sat Oct 28 12:20:46 2006
@@ -1,0 +1,22 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+
+PKGNAME = libxmlrpc-ocaml-dev
+
+OCAMLABI := $(shell ocamlc -version)
+OCAMLLIBDIR := $(shell ocamlc -where)
+OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
+HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
+DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
+
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+makebuilddir/$(PKGNAME):: ocamlinit
+
+DEB_MAKE_INSTALL_TARGET = install prefix=$(CURDIR)/debian/$(PKGNAME) DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
+
+ifeq ($(HAVE_OCAMLOPT),yes)
+build/$(PKGNAME)::
+	$(MAKE) opt
+endif

Propchange: tags/packages/ocaml-xml-rpc/0.2.3/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Propchange: trunk/packages/ocaml-xml-rpc/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/changelog?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/changelog (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/changelog Sat Oct 28 12:20:46 2006
@@ -1,0 +1,6 @@
+ocaml-xml-rpc (0.2.3-1) unstable; urgency=low
+
+  [ Pietro abate  ]
+  * Initial release (Closes #395122).
+
+ --  <Pietro.Abate at anu.edu.au>  Wed, 25 Oct 2006 10:15:40 +1000

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/compat?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/compat (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/compat Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+4

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/control?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/control (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/control Sat Oct 28 12:20:46 2006
@@ -1,0 +1,17 @@
+Source: ocaml-xml-rpc
+Section: devel
+Priority: optional
+Maintainer: Pietro Abate <pietro.abate at anu.edu.au>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.2), ocaml-findlib (>= 1.1), libpcre-ocaml-dev (>= 5.11.1), libocamlnet-ocaml-dev (>= 1.1-12), cdbs
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc
+
+Package: libxmlrpc-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, libpcre-ocaml-dev (>= 5.11.1), libocamlnet-ocaml-dev (>= 1.1-12)
+Description: XML-RPC support library for ocaml
+ Ocaml XML-RPC is a library for the Objective Caml programming language
+ that implements the XML-RPC specification. XML-RPC remote procedure 
+ calling mechanism that uses HTTP as the transport and XML as the encoding.
+ .
+ Homepage: http://raevnos.pennmush.org/code/ocaml-xml-rpc/

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/copyright?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/copyright (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/copyright Sat Oct 28 12:20:46 2006
@@ -1,0 +1,10 @@
+
+Author: Shawn Wagner <shawnw at speakeasy.org>
+
+Copyright:
+  OCaml XML-RPC is distributed under the term of the GNU Library General
+  Public License version 2, on Debian systems you can find a copy of the
+  license in:
+
+    /usr/share/common-licenses/LGPL-2
+

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/dirs?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/dirs (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/dirs Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+/usr/lib/ocaml/3.09.2

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/dirs.in
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/dirs.in?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/dirs.in (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/dirs.in Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+/usr/lib/ocaml/@OCamlABI@

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/doc-base
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/doc-base?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/doc-base (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/doc-base Sat Oct 28 12:20:46 2006
@@ -1,0 +1,9 @@
+Document: ocaml-xml-prc
+Title: Ocaml XML-RPC API reference manual
+Author: Shawn Wagner
+Abstract: API reference manual for OCAML XML-RPC, an Objective Caml library for writing xmlrpc aware applications
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libxmlrpc-ocaml-dev/html/index.html
+Files: /usr/share/doc/libhxmlrpc-ocaml-dev/html/*

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/docs
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/docs?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/docs (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/docs Sat Oct 28 12:20:46 2006
@@ -1,0 +1,2 @@
+README
+doc/*

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/examples
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/examples?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/examples (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/examples Sat Oct 28 12:20:46 2006
@@ -1,0 +1,1 @@
+examples/*.ml

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/patches/00list?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/patches/00list (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/patches/00list Sat Oct 28 12:20:46 2006
@@ -1,0 +1,2 @@
+ocaml-xml-rpc.dpatch
+annexlib.dpatch

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/patches/annexlib.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/patches/annexlib.dpatch?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/patches/annexlib.dpatch (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/patches/annexlib.dpatch Sat Oct 28 12:20:46 2006
@@ -1,0 +1,52 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## annexlib.dpatch by  <Pietro.Abate at anu.edu.au>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: remove annexlib dep
+
+ at DPATCH@
+
+diff -ru ocaml-xml-rpc-0.2.3/cgiSource.ml ocaml-xml-rpc-0.2.3.debian/cgiSource.ml
+--- ocaml-xml-rpc-0.2.3/cgiSource.ml	2004-03-14 04:37:29.000000000 +1100
++++ ocaml-xml-rpc-0.2.3.debian/cgiSource.ml	2006-10-24 12:35:26.377433750 +1000
+@@ -41,7 +41,8 @@
+     print_int (String.length str);
+     print_string "\r\nContent-Type: text/xml\r\n";
+     print_string "Date: ";
+-    print_string (Time.time_string (Time.time ()));
++    let t = Unix.localtime (Unix.time ()) in
++    Printf.printf "%02d:%02d" t.Unix.tm_hour t.Unix.tm_min;
+     print_string "\r\nServer: ";
+     print_string XmlRPCServer.server;
+     print_string "\r\n\r\n";
+diff -ru ocaml-xml-rpc-0.2.3/oxridl.ml ocaml-xml-rpc-0.2.3.debian/oxridl.ml
+--- ocaml-xml-rpc-0.2.3/oxridl.ml	2004-03-28 12:10:38.000000000 +1000
++++ ocaml-xml-rpc-0.2.3.debian/oxridl.ml	2006-10-24 12:36:29.965407750 +1000
+@@ -215,9 +215,16 @@
+       loc.l_name loc.l_ident
+ 
+ let process_line outfi outfs raw =
++  let first_word str =
++  try
++    let len = String.index_from str 1 ' ' in
++      String.sub str 0 len
++  with
++    | Not_found -> str
++  in
+   let line = strip_ws raw in
+   if String.length line > 0 && String.get line 0 != '#' then 
+-    match StrExtras.first_word line with
++    match first_word line with
+       | "remote" -> ignore (process_remote outfi outfs line)
+       | "handle" -> ignore (process_local outfi outfs line)
+       | keyword -> raise (Parse_error (Bad_keyword, keyword))
+@@ -226,7 +233,8 @@
+ let process_file file ~outfi ~outfs = 
+   let ic = open_in file in
+     try
+-      let now = Time.time_string (Time.time ()) in
++      let t = Unix.localtime (Unix.time ()) in
++      let now = Printf.sprintf "%02d:%02d" t.Unix.tm_hour t.Unix.tm_min in
+       Printf.fprintf outfi "(* Created by oxridl from '%s' on %s *)\n"
+ 	file now;
+       Printf.fprintf outfs "(* Created by oxridl from '%s' on %s *)\n"

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ocaml-xml-rpc.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ocaml-xml-rpc.dpatch?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ocaml-xml-rpc.dpatch (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/patches/ocaml-xml-rpc.dpatch Sat Oct 28 12:20:46 2006
@@ -1,0 +1,65 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## ocaml-xml-rpc.dpatch by  <Pietro.Abate at anu.edu.au>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: makefile
+
+ at DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile	2004-05-13 03:14:48.000000000 +1000
++++ trunk/Makefile	2006-10-28 19:55:46.771255250 +1000
+@@ -1,9 +1,10 @@
+ MLI_SOURCES=xmlRPCTypes.mli xmlRPCDtd.mli xmlRPCNet.mli xmlRPCClient.mli xmlRPCServer.mli cgiSource.mli
+ ML_SOURCES=xmlRPCTypes.ml xmlRPCDtd.ml xmlRPCNet.ml xmlRPCClient.ml xmlRPCServer.ml cgiSource.ml
+ 
+-BIN_DIR=/usr/local/bin/
++BIN_DIR=/usr/bin/
+ 
+ NAME=xmlrpc
++IDLC=oxridl
+ 
+ LIB=xmlrpc.cma
+ OPTLIB=xmlrpc.cmxa
+@@ -20,12 +21,13 @@
+ OCAMLOPT=ocamlfind ocamlopt
+ OCAMLDEP=ocamldep
+ 
++
+ OBJECTS=$(ML_SOURCES:.ml=.cmo) $(DLL)
+ XOBJECTS=$(ML_SOURCES:.ml=.cmx) 
+ 
+-REQUIRES=netclient netstring equeue pxp pcre annexlib
++REQUIRES=netclient netstring equeue pxp pcre unix
+ 
+-IDL_REQUIRES=pcre annexlib
++IDL_REQUIRES=pcre unix
+ 
+ PREDICATES=
+ 
+@@ -46,10 +48,13 @@
+ 
+ install: all
+ 	{ test ! -f $(OPTLIB) || extra="$(OPTLIB) "`basename $(OPTLIB) .cmxa`.a; }; \
+-	ocamlfind install $(NAME) $(MLI_SOURCES) $(MLI_SOURCES:.mli=.cmi) \
++	ocamlfind install -destdir $(DESTDIR) $(NAME) $(MLI_SOURCES) $(MLI_SOURCES:.mli=.cmi) \
+ 	$(LIB) META $(DLL) $$extra ;\
+-	if [ -f oxridl.opt ]; then idlc="oxridl.opt"; else idlc="oxridl"; fi ;\
+-	cp -f $$idlc $(BIN_DIR)/oxridl
++	if [ -f oxridl.opt ]; then IDLC="oxridl.opt"; else IDLC="oxridl"; fi ;\
++	mkdir -p $(prefix)$(BIN_DIR)
++	cp $(IDLC) $(prefix)$(BIN_DIR)/oxridl
++	mkdir -p $(prefix)/usr/share/doc/libhxmlrpc-ocaml-dev/html
++	cp -a doc/html/* $(prefix)/usr/share/doc/libhxmlrpc-ocaml-dev/html/
+ 
+ uninstall:
+ 	ocamlfind remove $(NAME)
+diff -urNad trunk~/debian/patched/ocaml-xml-rpc.dpatch.failed trunk/debian/patched/ocaml-xml-rpc.dpatch.failed
+--- trunk~/debian/patched/ocaml-xml-rpc.dpatch.failed	1970-01-01 10:00:00.000000000 +1000
++++ trunk/debian/patched/ocaml-xml-rpc.dpatch.failed	2006-10-28 19:55:14.021208500 +1000
+@@ -0,0 +1,6 @@
++patching file Makefile
++Hunk #1 FAILED at 1.
++Hunk #2 FAILED at 21.
++Hunk #3 FAILED at 48.
++3 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
++md5sum: 6e75cc59687d12d5b83b2a3c321b84ef  /tmp/dpep-work.y21402/trunk/debian/patches/ocaml-xml-rpc.dpatch

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/rules?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/rules (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/rules Sat Oct 28 12:20:46 2006
@@ -1,0 +1,24 @@
+#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+#include /usr/share/cdbs/1/class/ocaml.mk
+
+PKGNAME=libxmlrpc-ocaml-dev
+
+OCAMLABI := $(shell ocamlc -version)
+OCAMLLIBDIR := $(shell ocamlc -where)
+OFILES := $(filter-out debian/control,$(patsubst %.in,%,$(wildcard debian/*.in)))
+HAVE_OCAMLOPT := $(shell test -x /usr/bin/ocamlopt && echo "yes")
+DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
+
+ocamlinit:
+	for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done
+makebuilddir/$(PKGNAME):: ocamlinit
+
+DEB_MAKE_INSTALL_TARGET = install prefix=$(CURDIR)/debian/$(PKGNAME) DESTDIR=$(CURDIR)/debian/$(PKGNAME)$(OCAMLLIBDIR)
+
+ifeq ($(HAVE_OCAMLOPT),yes)
+build/$(PKGNAME)::
+	$(MAKE) opt
+endif

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

Added: trunk/packages/ocaml-xml-rpc/trunk/debian/svn-deblayout
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/trunk/debian/svn-deblayout?rev=3287&op=file
==============================================================================
--- trunk/packages/ocaml-xml-rpc/trunk/debian/svn-deblayout (added)
+++ trunk/packages/ocaml-xml-rpc/trunk/debian/svn-deblayout Sat Oct 28 12:20:46 2006
@@ -1,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/ocaml-xml-rpc

Added: trunk/packages/ocaml-xml-rpc/upstream/ocaml-xml-rpc_0.2.3.orig.tar.gz
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocaml-xml-rpc/upstream/ocaml-xml-rpc_0.2.3.orig.tar.gz?rev=3287&op=file
==============================================================================
Binary file - no diff available.

Propchange: trunk/packages/ocaml-xml-rpc/upstream/ocaml-xml-rpc_0.2.3.orig.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




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