Commit 85fb37ed authored by Sylvain Le Gall's avatar Sylvain Le Gall

Import from debian archives -- SLG

parent 60412c3a
.\" Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH CAMLIDL SECTION "novembre 7, 2001"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
camlidl \- a stub code generator for Objective Caml
.SH SYNOPSIS
.B camlidl
.RI [options] <.idl file> ... <.idl file>
.SH DESCRIPTION
This manual page documents briefly the
.B camlidl
command.
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
.PP
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
.\" respectively.
\fBcamlidl\fP is a program that generates
stub code for interfacing Caml with C from an IDL description of the C
functions.
.SH OPTIONS
A summary of options is included below.
.TP
.B \-I <dir> Add directory to search path
.TP
.B \-D <symbol> Pass -D<symbol> to the C preprocessor
.TP
.B \-cpp
Pass the .idl files through the C preprocessor (default)
.TP
.B \-nocpp
Do not pass the .idl files through the C preprocessor
.TP
.B \-prepro <cmd>
Use <cmd> as the preprocessor instead of the C preprocessor
.TP
.B \-header
Generate a .h file containing all type definitions
.TP
.B \-no-include
Do not #include the .h file in the generated .c file
.TP
.B \-prefix-all-labels
Prefix all ML name of record labels with name of enclosing struct
.TP
.B \-keep-labels
Do not prefix ML names of record labels, even if ambiguous
.TP
.B \-help
Show summary of options.
.TP
.B \-v, \-\-version
Show version of program.
.SH AUTHOR
This manual page was written by Georges Mariano <georges.mariano@inrets.fr>,
for the Debian GNU/Linux system (but may be used by others).
camlidl (1.04-7) unstable; urgency=low
* debian/patches/37_make.dpatch
- install camlidlruntime.h in ocaml dir since /usr/include/caml is
linked to it
* debian/control
- bumped standards version to 3.6.1.0
-- Stefano Zacchiroli <zack@debian.org> Tue, 11 Nov 2003 18:31:47 +0100
camlidl (1.04-6) unstable; urgency=low
* Rebuilt with ocaml 3.07
-- Stefano Zacchiroli <zack@debian.org> Wed, 1 Oct 2003 14:12:59 +0200
camlidl (1.04-5) unstable; urgency=low
* Rebuilt with ocaml 3.07beta2
-- Stefano Zacchiroli <zack@debian.org> Mon, 22 Sep 2003 17:34:40 +0200
camlidl (1.04-4) unstable; urgency=low
* Switched to dpatch, no more diffs outside debian/ subdirectory:
- added build-dep on dpatch
- created debian/patches with one patch and the patch list file
- changed debian/rules to use dpatch facilities
* Moved camlidl under the Debian OCaml Maintainer "umbrella":
- changed Maintainer field to Debian OCaml Maintained
<debian-ocaml-maint@lists.debian.org>
- added an Uploaders field containing (using debian login name):
luther, marant, treinen, vanicat, zack
* debian/rules
- removed DH_COMPAT variable in favour of debian/compat
* debian/control
- added ${misc:Depends} to Depends field
-- Stefano Zacchiroli <zack@debian.org> Fri, 6 Jun 2003 20:40:47 +0200
camlidl (1.04-3) unstable; urgency=low
* Added examples (upstream "tests" dir content) in
/usr/share/doc/camlidl/examples (Closes: Bug#187497)
* Bumped Standards-Version to 3.5.9
-- Stefano Zacchiroli <zack@debian.org> Tue, 3 Jun 2003 10:54:29 +0200
camlidl (1.04-2) unstable; urgency=low
* Bugfix: don't try to install native code libraries if
/usr/bin/ocamlopt is not executable
-- Stefano Zacchiroli <zack@debian.org> Sat, 15 Mar 2003 13:17:02 +0100
camlidl (1.04-1) unstable; urgency=low
* New upstream release
* Removed creation of camlidl-doc package, now shipped as an extra
package like upstream (Closes: Bug#175438)
* Look for ocaml includes in /usr/include/ocaml/3.06
* Installs camlidlruntime.h header in /usr/include/ocaml/3.06/caml
-- Stefano Zacchiroli <zack@debian.org> Fri, 7 Mar 2003 15:52:43 +0100
camlidl (1.02-9) unstable; urgency=low
* Build camlidl-doc in binary-indep target (Closes: Bug#174383)
* Added "Section" for source file
-- Stefano Zacchiroli <zack@debian.org> Fri, 27 Dec 2002 16:15:11 +0100
camlidl (1.02-8) unstable; urgency=low
* Libdir transition to /usr/lib/ocaml/3.06
* Changed depends and build depends to ocaml{,-base}-3.06-1
* Bumped Standards-Version to 3.5.8
* Better test for /usr/bin/ocamlopt existence
* Removed useless targets binary-indep, configure
-- Stefano Zacchiroli <zack@debian.org> Mon, 16 Dec 2002 13:27:07 +0100
camlidl (1.02-7) unstable; urgency=low
* Rebuilt against ocaml 3.06
* Switched to debhelper 4
* Added deps and build-deps to ocaml-3.06
-- Stefano Zacchiroli <zack@debian.org> Tue, 27 Aug 2002 11:28:48 +0200
camlidl (1.02-6) unstable; urgency=low
* Now build depends on ocaml >= 3.04-3, hopefully will compile also on
ia64 and powerpc
-- Stefano Zacchiroli <zack@debian.org> Fri, 11 Jan 2002 08:05:50 +0100
camlidl (1.02-5) unstable; urgency=low
* Changed camlidl-doc architecture to "all".
* Built with ocaml 3.04
-- Stefano Zacchiroli <zack@debian.org> Fri, 21 Dec 2001 19:28:20 +0100
camlidl (1.02-4) unstable; urgency=low
* Fixed spelling error in description (closes: Bug#124481).
-- Stefano Zacchiroli <zack@debian.org> Tue, 18 Dec 2001 13:14:01 +0100
camlidl (1.02-3) unstable; urgency=low
* Moved camlidlruntime.h to /usr/include/caml/.
-- Stefano Zacchiroli <zack@debian.org> Mon, 3 Dec 2001 23:28:08 +0100
camlidl (1.02-2) unstable; urgency=low
* Added conditional compilation of native lib module. (Closes: Bug#121369)
-- Stefano Zacchiroli <zack@debian.org> Tue, 27 Nov 2001 12:56:43 +0100
camlidl (1.02-1) unstable; urgency=low
* Initial Release.
* Adopted package from Georges Mariano <georges.mariano@inrets.fr> that
build a preliminary version of this debian package.
-- Stefano Zacchiroli <zack@debian.org> Thu, 8 Nov 2001 22:06:03 +0100
Local variables:
mode: debian-changelog
End:
Source: camlidl
Section: devel
Priority: optional
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Uploaders: Sven Luther <luther@debian.org>, Jerome Marant <marant@debian.org>, Ralf Treinen <treinen@debian.org>, Remi Vanicat <vanicat@debian.org>, Stefano Zacchiroli <zack@debian.org>
Build-Depends: debhelper (>> 4.0.0), cpp, binutils, ocaml-3.07, dpatch
Standards-Version: 3.6.1.0
Package: camlidl
Section: devel
Architecture: any
Suggests: camlidl-doc
Depends: ocaml-3.07, ${shlibs:Depends}, ${misc:Depends}
Conflicts: camlidl-doc (<< 1.04)
Description: Stub code generator for Objective Caml
CamlIDL generates stub code for interfacing Caml with C from an IDL
description of the C functions. Thus, CamlIDL automates the most
tedious task in interfacing C libraries with Caml programs.
.
It can also be used to interface Caml programs with other languages, as
long as those languages have a well-defined C interface.
.
This package contains the CamlIDL executable.
This package was debianized by Stefano Zacchiroli <zack@debian.org> on
Thu, 8 Nov 2001 22:06:03 +0100.
It was downloaded from:
ftp://ftp.inria.fr/lang/caml-light/bazar-ocaml/
Author:
Xavier Leroy <Xavier.Leroy@inria.fr>, projet Cristal, INRIA Rocquencourt
Copyright:
All files marked "Copyright Institut National de Recherche en
Informatique et en Automatique" in the "compiler" directory
are distributed under the terms of the Q Public License version 1.0.
(Attached below).
All other files marked "Copyright Institut National de Recherche en
Informatique et en Automatique" are distributed under the terms of the
GNU Library General Public License.
For these files the following applies:
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; 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 Library General
Public License can be found in `/usr/share/common-licenses/LGPL'.
The GNU Library General Public Licenses in
/usr/share/common-licenses were taken from ftp.gnu.org and are
copyrighted by the Free Software Foundation, Inc.
----------------------------------------------------------------------
THE Q PUBLIC LICENSE version 1.0
Copyright (C) 1999 Troll Tech AS, Norway.
Everyone is permitted to copy and
distribute this license document.
The intent of this license is to establish freedom to share and change
the software regulated by this license under the open source model.
This license applies to any software containing a notice placed by the
copyright holder saying that it may be distributed under the terms of
the Q Public License version 1.0. Such software is herein referred to
as the Software. This license covers modification and distribution of
the Software, use of third-party application programs based on the
Software, and development of free software which uses the Software.
Granted Rights
1. You are granted the non-exclusive rights set forth in this license
provided you agree to and comply with any and all conditions in this
license. Whole or partial distribution of the Software, or software
items that link with the Software, in any form signifies acceptance of
this license.
2. You may copy and distribute the Software in unmodified form
provided that the entire package, including - but not restricted to -
copyright, trademark notices and disclaimers, as released by the
initial developer of the Software, is distributed.
3. You may make modifications to the Software and distribute your
modifications, in a form that is separate from the Software, such as
patches. The following restrictions apply to modifications:
a. Modifications must not alter or remove any copyright notices
in the Software.
b. When modifications to the Software are released under this
license, a non-exclusive royalty-free right is granted to the
initial developer of the Software to distribute your
modification in future versions of the Software provided such
versions remain available under these terms in addition to any
other license(s) of the initial developer.
4. You may distribute machine-executable forms of the Software or
machine-executable forms of modified versions of the Software,
provided that you meet these restrictions:
a. You must include this license document in the distribution.
b. You must ensure that all recipients of the machine-executable
forms are also able to receive the complete machine-readable
source code to the distributed Software, including all
modifications, without any charge beyond the costs of data
transfer, and place prominent notices in the distribution
explaining this.
c. You must ensure that all modifications included in the
machine-executable forms are available under the terms of this
license.
5. You may use the original or modified versions of the Software to
compile, link and run application programs legally developed by you or
by others.
6. You may develop application programs, reusable components and other
software items that link with the original or modified versions of the
Software. These items, when distributed, are subject to the following
requirements:
a. You must ensure that all recipients of machine-executable
forms of these items are also able to receive and use the
complete machine-readable source code to the items without any
charge beyond the costs of data transfer.
b. You must explicitly license all recipients of your items to
use and re-distribute original and modified versions of the
items in both machine-executable and source code forms. The
recipients must be able to do so without any charges whatsoever,
and they must be able to re-distribute to anyone they choose.
c. If the items are not available to the general public, and the
initial developer of the Software requests a copy of the items,
then you must supply one.
Limitations of Liability
In no event shall the initial developers or copyright holders be
liable for any damages whatsoever, including - but not restricted to -
lost revenue or profits or other direct, indirect, special, incidental
or consequential damages, even if they have been advised of the
possibility of such damages, except to the extent invariable law, if
any, provides otherwise.
No Warranty
The Software and this license document are provided AS IS with NO
WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN,
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Choice of Law
This license is governed by the Laws of France. Disputes shall be
settled by the Court of Versailles.
----------------------------------------------------------------------
usr/bin
usr/lib/ocaml/3.07
usr/lib/ocaml/3.07/caml
#! /bin/sh -e
## 37_make.dpatch by Stefano Zacchiroli <zack@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch upstream Makefiles in order to:
## DP: - install stuff properly in debian/ subdirs
## DP: - built native code stuff only if ocamlopt is available
## DP: - install camlidlruntime.h header in /usr/include/ocaml/<version>/
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch $patch_opts -p1 < $0;;
-unpatch) patch $patch_opts -E -p1 -R < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
@DPATCH@
--- camlidl-1.04.orig/lib/Makefile
+++ camlidl-1.04/lib/Makefile
@@ -19,8 +19,11 @@
NATIVEOBJS=$(BYTEOBJS:.cmo=.cmx)
NATIVELIB=$(BYTELIB:.cma=.cmxa)
INTERFACES=$(BYTEOBJS:.cmo=.cmi)
+LIBEXT=a
-all: $(BYTELIB) $(NATIVELIB)
+all: $(BYTELIB)
+
+opt: $(NATIVELIB)
$(BYTELIB): $(BYTEOBJS)
$(OCAMLC) -a -o $(BYTELIB) $(BYTEOBJS)
@@ -29,8 +32,14 @@
$(OCAMLOPT) -a -o $(NATIVELIB) $(NATIVEOBJS)
install:
- cp $(INTERFACES) $(BYTELIB) $(NATIVELIB) $(NATIVELIB:.cmxa=.$(LIBEXT)) $(OCAMLLIB)
- cd $(OCAMLLIB); $(RANLIB) $(NATIVELIB:.cmxa=.$(LIBEXT))
+ cp $(INTERFACES) $(BYTELIB) $(OCAMLLIB)
+ if [ -x /usr/bin/ocamlopt ]; then \
+ cp $(NATIVELIB) $(NATIVELIB:.cmxa=$(LIB)) $(OCAMLLIB); \
+ cd $(OCAMLLIB); \
+ $(RANLIB) $(NATIVELIB:.cmxa=$(LIB)); \
+ else \
+ true; \
+ fi
.SUFFIXES: .mli .ml .cmi .cmo .cmx
@@ -43,7 +52,7 @@
# Clean up
clean::
- rm -f *.cm[ioax] $.cmxa *~
+ rm -f *.cm[ioax] *.cmxa *.a *.o *~
# Dependencies
depend:
--- camlidl-1.04.orig/Makefile
+++ camlidl-1.04/Makefile
@@ -20,6 +20,9 @@
cd lib; $(MAKE) all
cd tools; $(MAKE) all
+opt:
+ cd lib; $(MAKE) opt
+
install:
cd compiler; $(MAKE) install
cd runtime; $(MAKE) install
--- camlidl-1.04.orig/config/Makefile
+++ camlidl-1.04/config/Makefile
@@ -0,0 +1,54 @@
+#***********************************************************************
+#* *
+#* CamlIDL *
+#* *
+#* Xavier Leroy, projet Cristal, INRIA Rocquencourt *
+#* *
+#* Copyright 1999 Institut National de Recherche en Informatique et *
+#* en Automatique. All rights reserved. This file is distributed *
+#* under the terms of the GNU Library General Public License. *
+#* *
+#***********************************************************************
+
+#* $Id: Makefile.unix,v 1.3 2000/08/19 11:04:59 xleroy Exp $
+
+## Configuration section
+
+# Type of system -- do not change
+OSTYPE=unix
+
+# How to invoke the C preprocessor
+# Works on most Unix systems:
+CPP=cpp
+# Alternatives:
+# CPP=cpp
+# CPP=/usr/ccs/lib/cpp
+# CPP=gcc -x c -E
+
+# How to invoke ranlib (only relevant for Unix)
+RANLIB=ranlib
+# If ranlib is not needed:
+#RANLIB=:
+
+# Location of the header files
+DEBIANOCAMLINCDIR=/usr/lib/ocaml/3.07
+OCAMLINCDIR=$(DESTDIR)$(DEBIANOCAMLINCDIR)/caml
+
+# Location of the Objective Caml library in your installation
+OCAMLLIB=$(DESTDIR)$(shell ocamlc -where)
+# Where to install the binaries
+BINDIR=$(DESTDIR)/usr/bin
+
+# The Objective Caml compilers (the defaults below should be OK)
+# OCAMLC=ocamlc -g
+OCAMLC=ocamlc
+OCAMLOPT=ocamlopt
+OCAMLYACC=ocamlyacc -v
+OCAMLLEX=ocamllex
+OCAMLDEP=ocamldep
+
+# Extra flags to pass to the C compiler
+CFLAGS=-I$(DEBIANOCAMLINCDIR)
+
+# Extension for lib files (do not change)
+LIB=.a
--- camlidl-1.04.orig/runtime/Makefile.unix
+++ camlidl-1.04/runtime/Makefile.unix
@@ -22,7 +22,7 @@
$(RANLIB) $@
install:
- cp camlidlruntime.h $(OCAMLLIB)/caml/camlidlruntime.h
+ cp camlidlruntime.h $(OCAMLINCDIR)/camlidlruntime.h
cp libcamlidl.a $(OCAMLLIB)/libcamlidl.a
cd $(OCAMLLIB); $(RANLIB) libcamlidl.a
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
include /usr/share/dpatch/dpatch.make
build: build-stamp
build-stamp: patch-stamp
dh_testdir
$(MAKE) all
if [ -x /usr/bin/ocamlopt ]; then $(MAKE) opt; else true; fi
touch build-stamp
clean: patch clean1 unpatch
clean1:
dh_testdir
dh_testroot
rm -f build-stamp
$(MAKE) clean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(CURDIR)/debian/camlidl
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installexamples
dh_installman
dh_installchangelogs Changes
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-arch
.PHONY: build clean binary-arch binary install patch unpatch clean1
# Site Directory Pattern Version Script
ftp://ftp.inria.fr /lang/caml-light/bazar-ocaml camlidl-(.*)\.tar\.gz debian uupdate
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment