[Pkg-ocaml-maint-commits] r1829 - in trunk/packages: . xml-light xml-light/trunk xml-light/trunk/debian xml-light/trunk/debian/patches xml-light/upstream

Sylvain LE GALL gildor-guest at costa.debian.org
Mon Oct 10 22:44:13 UTC 2005


Author: gildor-guest
Date: 2005-10-10 22:44:04 +0000 (Mon, 10 Oct 2005)
New Revision: 1829

Added:
   trunk/packages/xml-light/
   trunk/packages/xml-light/trunk/
   trunk/packages/xml-light/trunk/debian/
   trunk/packages/xml-light/trunk/debian/META.in
   trunk/packages/xml-light/trunk/debian/changelog
   trunk/packages/xml-light/trunk/debian/compat
   trunk/packages/xml-light/trunk/debian/control
   trunk/packages/xml-light/trunk/debian/copyright
   trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.doc-base
   trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.docs
   trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.examples
   trunk/packages/xml-light/trunk/debian/patches/
   trunk/packages/xml-light/trunk/debian/patches/00list
   trunk/packages/xml-light/trunk/debian/patches/01_installopt.dpatch
   trunk/packages/xml-light/trunk/debian/rules
   trunk/packages/xml-light/trunk/debian/svn-deblayout
   trunk/packages/xml-light/trunk/debian/watch
   trunk/packages/xml-light/upstream/
   trunk/packages/xml-light/upstream/xml-light_2.2.orig.tar.gz
Log:
Creation of the package xml-light for preparig upcoming cameleon 2.0 -- SLG


Added: trunk/packages/xml-light/trunk/debian/META.in
===================================================================
--- trunk/packages/xml-light/trunk/debian/META.in	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/META.in	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,5 @@
+version="@VERSION@"
+directory="+xml-light"
+archive(byte)="xml-light.cma"
+archive(native)="xml-light.cmxa"
+	    

Added: trunk/packages/xml-light/trunk/debian/changelog
===================================================================
--- trunk/packages/xml-light/trunk/debian/changelog	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/changelog	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,5 @@
+xml-light (2.2-1) unstable; urgency=low
+
+  * Initial release. (Closes: #XXXXXX)
+
+ -- Sylvain Le Gall <sylvain.le-gall at polytechnique.org>  Mon, 10 Oct 2005 23:45:16 +0200

Added: trunk/packages/xml-light/trunk/debian/compat
===================================================================
--- trunk/packages/xml-light/trunk/debian/compat	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/compat	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1 @@
+4

Added: trunk/packages/xml-light/trunk/debian/control
===================================================================
--- trunk/packages/xml-light/trunk/debian/control	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/control	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,18 @@
+Source: xml-light
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox-3.08.3, dpatch
+Standards-Version: 3.6.2.0
+
+Package: libxml-light-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-3.08.3
+Description: mininal XML parser and printer for OCaml
+ This is a XML parser and printer, designed to help parsing basic XML document
+ into OCaml data structures and printing it back to a XML document.
+ .
+ It also supports DTD.
+ .
+ You can find more information about xml-light at
+ http://tech.motion-twin.com/xmllight.html

Added: trunk/packages/xml-light/trunk/debian/copyright
===================================================================
--- trunk/packages/xml-light/trunk/debian/copyright	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/copyright	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,18 @@
+This package was debianized by Sylvain Le Gall
+<sylvain.le-gall at polytechnique.org>  Mon, 10 Oct 2005 23:45:16 +02005.
+
+It was downloaded from :
+http://tech.motion-twin.com/xmllight.html
+http://tech.motion-twin.com/zip/
+
+Upstream Author: 
+Nicolas Cannasse (ncannasse at motion-twin.com)
+
+Copyright:
+(c)2003-2005 Nicolas Cannasse (ncannasse at motion-twin.com)
+(c)2003-2005 Motion-Twin
+Some parts of this code source has an additionnal copyright to Jacques Garrigue
+
+Xml-light is distributed under the terms the LGPL licence, which can be
+found in the /usr/share/common-licenses/LGPL file on debian systems.
+

Added: trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.doc-base
===================================================================
--- trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.doc-base	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.doc-base	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,9 @@
+Document: xml-light
+Title: OCaml xml-light Manual
+Author: Nicolas Cannasse
+Abstract: Description of all function provided by xml-light.
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libxml-light-ocaml-dev/html/index.html
+Files: /usr/share/doc/libxml-light-ocaml-dev/html/*.html

Added: trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.docs
===================================================================
--- trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.docs	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.docs	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1 @@
+README

Added: trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.examples
===================================================================
--- trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.examples	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/libxml-light-ocaml-dev.examples	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1 @@
+test.ml

Added: trunk/packages/xml-light/trunk/debian/patches/00list
===================================================================
--- trunk/packages/xml-light/trunk/debian/patches/00list	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/patches/00list	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,2 @@
+01_installopt
+

Added: trunk/packages/xml-light/trunk/debian/patches/01_installopt.dpatch
===================================================================
--- trunk/packages/xml-light/trunk/debian/patches/01_installopt.dpatch	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/patches/01_installopt.dpatch	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,24 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_installopt.dpatch by Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad trunk~/Makefile trunk/Makefile
+--- trunk~/Makefile	2003-10-12 11:16:12.000000000 +0200
++++ trunk/Makefile	2005-10-11 00:22:24.000000000 +0200
+@@ -11,8 +11,11 @@
+ 
+ opt: xml-light.cmxa test_opt.exe
+ 
+-install: all opt
+-	cp xml-light.cmxa xml-light.a xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
++install: all 
++	cp xml-light.a xml-light.cma xml.mli xmlParser.mli dtd.mli xml.cmi xmlParser.cmi dtd.cmi xml.cmx dtd.cmx xmlParser.cmx $(INSTALLDIR)
++
++installopt: opt 
++	cp xml-light.cmxa $(INSTALLDIR)
+ 
+ doc:
+ 	mkdir doc


Property changes on: trunk/packages/xml-light/trunk/debian/patches/01_installopt.dpatch
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/packages/xml-light/trunk/debian/rules
===================================================================
--- trunk/packages/xml-light/trunk/debian/rules	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/rules	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+PACKAGE = xml-light
+
+OCAML_LIBDIR=`ocamlc -where`
+VERSION=$(shell dpkg-parsechangelog | \
+	awk "/Version: .*/ { gsub(\"Version: \",\"\"); gsub(\"-.*\",\"\"); print; }")
+
+build: build-stamp
+build-stamp: patch-stamp
+	dh_testdir
+	$(MAKE) all
+	if [ -x /usr/bin/ocamlopt ] || [ -w /usr/bin/ocamlopt.opt ]; then \
+	  $(MAKE) opt; \
+	fi
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	$(RM) build-stamp
+	$(RM) -r doc
+	$(RM) xml-light.a
+	-$(MAKE) clean
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	
+	# Library
+	mkdir -p $(CURDIR)/debian/libxml-light-ocaml-dev/$(OCAML_LIBDIR)/xml-light
+	$(MAKE) install INSTALLDIR=$(CURDIR)/debian/libxml-light-ocaml-dev/$(OCAML_LIBDIR)/xml-light
+	if [ -x /usr/bin/ocamlopt ]; then \
+	  $(MAKE) installopt INSTALLDIR=$(CURDIR)/debian/libxml-light-ocaml-dev/$(OCAML_LIBDIR)/xml-light; \
+	fi
+	
+	# Documentation
+	$(MAKE) doc
+	mkdir -p $(CURDIR)/debian/libxml-light-ocaml-dev/usr/share/doc/libxml-light-ocaml-dev/html/
+	cp doc/* $(CURDIR)/debian/libxml-light-ocaml-dev/usr/share/doc/libxml-light-ocaml-dev/html/
+
+	# META
+	mkdir -p $(CURDIR)/debian/libxml-light-ocaml-dev/$(OCAML_LIBDIR)/METAS
+	sed -e "s/@VERSION@/$(VERSION)/" debian/META.in \
+	  > $(CURDIR)/debian/libxml-light-ocaml-dev/$(OCAML_LIBDIR)/METAS/META.xml-light
+
+binary-indep: build install
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -a
+	dh_installexamples -a 
+	dh_installchangelogs -a 
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a 
+	dh_gencontrol -a
+	dh_md5sums -a 
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure


Property changes on: trunk/packages/xml-light/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/packages/xml-light/trunk/debian/svn-deblayout
===================================================================
--- trunk/packages/xml-light/trunk/debian/svn-deblayout	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/svn-deblayout	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,3 @@
+origDir=../upstream
+origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/xml-light/upstream
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/xml-light

Added: trunk/packages/xml-light/trunk/debian/watch
===================================================================
--- trunk/packages/xml-light/trunk/debian/watch	2005-10-10 21:32:47 UTC (rev 1828)
+++ trunk/packages/xml-light/trunk/debian/watch	2005-10-10 22:44:04 UTC (rev 1829)
@@ -0,0 +1,2 @@
+version=2
+http://tech.motion-twin.com/xmllight.html zip/xml-light-([0-9.]*)\.zip

Added: trunk/packages/xml-light/upstream/xml-light_2.2.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/xml-light/upstream/xml-light_2.2.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




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