[Pkg-ocaml-maint-commits] r1316 - in trunk/packages: . ocaml-gettext ocaml-gettext/trunk ocaml-gettext/trunk/debian ocaml-gettext/trunk/debian/patches

Sylvain LE GALL gildor-guest@costa.debian.org
Mon, 25 Apr 2005 23:39:09 +0000


Author: gildor-guest
Date: 2005-04-25 23:39:04 +0000 (Mon, 25 Apr 2005)
New Revision: 1316

Added:
   trunk/packages/ocaml-gettext/
   trunk/packages/ocaml-gettext/trunk/
   trunk/packages/ocaml-gettext/trunk/debian/
   trunk/packages/ocaml-gettext/trunk/debian/changelog
   trunk/packages/ocaml-gettext/trunk/debian/compat
   trunk/packages/ocaml-gettext/trunk/debian/control
   trunk/packages/ocaml-gettext/trunk/debian/copyright
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.dirs
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.1
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.2
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.3
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-dev.dirs
   trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml.dirs
   trunk/packages/ocaml-gettext/trunk/debian/patches/
   trunk/packages/ocaml-gettext/trunk/debian/patches/00list
   trunk/packages/ocaml-gettext/trunk/debian/rules
   trunk/packages/ocaml-gettext/trunk/debian/watch
   trunk/packages/ocaml-gettext/trunk/ocaml-gettext_0.2.0.orig.tar.gz
Log:
Create ocaml-gettext packages -- SLG


Added: trunk/packages/ocaml-gettext/trunk/debian/changelog
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/changelog	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/changelog	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,5 @@
+ocaml-gettext (0.2.0-1) unstable; urgency=low
+
+  * Initial upload ( Closes: #305743 )
+
+ -- Sylvain Le Gall <sylvain.le-gall@polytechnique.org>  Mon, 11 Apr 2005 02:05:00 +0100

Added: trunk/packages/ocaml-gettext/trunk/debian/compat
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/compat	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/compat	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1 @@
+4

Added: trunk/packages/ocaml-gettext/trunk/debian/control
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/control	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/control	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,47 @@
+Source: ocaml-gettext
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall@polytechnique.org> 
+Build-Depends: ocaml-nox-3.08.3, debhelper (>> 4.0.0), ocaml-findlib, dpatch, libcamomile-ocaml-dev, libast-analyze-ocaml-dev, libfileutils-ocaml-dev, xsltproc, docbook-xml, docbook-xsl, fop, chrpath
+Standards-Version: 3.6.1
+
+Package: libgettext-ocaml-data
+Architecture: all
+Depends: libcamomile-ocaml-data
+Description: OCaml internationalization library data
+ This library provides utilities and libraries to enable localization
+ in OCaml programs. It is based on the same principle of GNU gettext.
+ .
+ The package provides two libraries to do effectively translation :
+ - gettext-camomile : pure OCaml implementation of gettext
+ - gettext-stub : implementation using the gettext library.
+ .
+ This package contains i18n data and documentation.
+
+Package: libgettext-ocaml
+Architecture: any
+Depends: ocaml-base-nox-3.08.3, libgettext-ocaml-data (= ${Source-Version}), ${shlibs:Depends}
+Description: OCaml internationalization shared library 
+ This library provides utilities and libraries to enable localization
+ in OCaml programs. It is based on the same principle of GNU gettext.
+ .
+ The package provides two libraries to do effectively translation :
+ - gettext-camomile : pure OCaml implementation of gettext
+ - gettext-stub : implementation using the gettext library.
+ .
+ This package contains shared library.
+
+Package: libgettext-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-3.08.3, libcamomile-ocaml-dev, libast-analyze-ocaml-dev, libfileutils-ocaml-dev, libgettext-ocaml (= ${Source-Version}), libgettext-ocaml-data (= ${Source-Version})
+Description: OCaml internationalization library
+ This library provides utilities and libraries to enable localization
+ in OCaml programs. It is based on the same principle of GNU gettext.
+ .
+ The package provides two libraries to do effectively translation :
+ - gettext-camomile : pure OCaml implementation of gettext
+ - gettext-stub : implementation using the gettext library.
+ .
+ This package contains header and OCaml library.
+
+

Added: trunk/packages/ocaml-gettext/trunk/debian/copyright
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/copyright	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/copyright	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,31 @@
+This package was debianized by Sylvain Le Gall <sylvain.le-gall@polytechnique.org> on
+Mon, 11 Apr 2005 01:29:00 +0200.
+
+It was downloaded from :
+
+http://www.carva.org/sylvain.le-gall/download/
+
+
+Upstream Authors:
+ Sylvain Le Gall <sylvain.le-gall@polytechnique.org>
+
+Copyright:
+
+   This package is free software; you can redistribute it and/or modify
+   it under the terms of the GNU Lesser General Public License as 
+   published by the Free Software Foundation; version 2.1 dated February, 1999.
+   with OCaml static compilation exception.
+
+   This package is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL-2.1'.
+

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.dirs
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.dirs	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.dirs	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1 @@
+/usr/share/doc/libgettext-ocaml-data/html

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.1
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.1	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.1	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,12 @@
+Document: libgettext-ocaml-dev-reference
+Title: Ocaml-gettext reference manual
+Author: Sylvain Le Gall
+Abstract: This is the reference manual of the library ocaml-gettext, 
+ an OCaml library for internationalization of OCaml program.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libgettext-ocaml-dev/html/reference-manual/index.html
+Files: /usr/share/doc/libgettext-ocaml-dev/html/reference-manual/*.html
+
+  

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.2
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.2	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.2	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,12 @@
+Document: libgettext-ocaml-dev-api
+Title: Ocaml-gettext API
+Author: Sylvain Le Gall
+Abstract: This is the API manual of the library ocaml-gettext, 
+ an OCaml library for internationalization of OCaml program.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libgettext-ocaml-dev/html/gettext/index.html
+Files: /usr/share/doc/libgettext-ocaml-dev/html/gettext/*.html
+
+  

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.3
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.3	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-data.doc-base.3	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,13 @@
+Document: libgettext-ocaml-dev-api-ext
+Title: Ocaml-gettext extended API
+Author: Sylvain Le Gall
+Abstract: This is the extended API manual of the library ocaml-gettext, 
+ an OCaml library for internationalization of OCaml program. It is aiming 
+ at showing the low level implementation of ocaml-gettext library.
+Section: devel
+
+Format: HTML
+Index: /usr/share/doc/libgettext-ocaml-dev/html/gettext-ext/index.html
+Files: /usr/share/doc/libgettext-ocaml-dev/html/gettext-ext/*.html
+
+  

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-dev.dirs
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-dev.dirs	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml-dev.dirs	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,3 @@
+usr/lib/ocaml/3.08.3
+usr/bin
+usr/share/doc/libgettext-ocaml-dev/html

Added: trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml.dirs
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml.dirs	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/libgettext-ocaml.dirs	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1 @@
+/usr/lib/ocaml/3.08.3/stublibs

Added: trunk/packages/ocaml-gettext/trunk/debian/patches/00list
===================================================================

Added: trunk/packages/ocaml-gettext/trunk/debian/rules
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/rules	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/rules	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,77 @@
+#!/usr/bin/make -f
+
+OCAML_LIBDIR=`ocamlc -where`
+
+include /usr/share/dpatch/dpatch.make 
+
+configure: configure-stamp
+configure-stamp: patch-stamp
+	dh_testdir
+	./configure --prefix=$(CURDIR)/debian/libgettext-ocaml-dev/usr \
+	 --with-docdir=$(CURDIR)/debian/libgettext-ocaml-data/usr/share/doc/libgettext-ocaml-data/ \
+	 --libdir=$(CURDIR)/debian/libgettext-ocaml-dev/$(OCAML_LIBDIR) \
+	 --mandir=$(CURDIR)/debian/libgettext-ocaml-dev/usr/share/man
+	touch $@
+
+build-arch: configure-stamp build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+	$(MAKE) all
+	touch build-arch-stamp
+
+build-indep: config.status  build-indep-stamp
+build-indep-stamp: 
+	dh_testdir
+	touch build-indep-stamp
+
+build: build-arch build-indep
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	-$(RM) build-arch-stamp build-indep-stamp configure-stamp
+	-$(MAKE) distclean
+	dh_clean
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	make install LDCONF=ignore PODIR=$(CURDIR)/debian/libgettext-ocaml-data/usr/share/locale/
+	mv $(CURDIR)/debian/libgettext-ocaml-dev/$(OCAML_LIBDIR)/gettext-stub/*.so \
+	 $(CURDIR)/debian/libgettext-ocaml/$(OCAML_LIBDIR)/stublibs/
+	chrpath -d $(CURDIR)/debian/libgettext-ocaml/$(OCAML_LIBDIR)/stublibs/*.so
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installchangelogs -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installchangelogs -a
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install 


Property changes on: trunk/packages/ocaml-gettext/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + 

Added: trunk/packages/ocaml-gettext/trunk/debian/watch
===================================================================
--- trunk/packages/ocaml-gettext/trunk/debian/watch	2005-04-25 22:20:53 UTC (rev 1315)
+++ trunk/packages/ocaml-gettext/trunk/debian/watch	2005-04-25 23:39:04 UTC (rev 1316)
@@ -0,0 +1,2 @@
+version=2
+http://www.carva.org/sylvain.le-gall/download/ocaml-gettext-([0-9\.]*).tar.gz

Added: trunk/packages/ocaml-gettext/trunk/ocaml-gettext_0.2.0.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: trunk/packages/ocaml-gettext/trunk/ocaml-gettext_0.2.0.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream