summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Glondu <glondu@debian.org>2019-08-05 03:45:09 +0200
committerStéphane Glondu <glondu@debian.org>2019-08-05 03:45:09 +0200
commit47b393c883ab794bf1457ba60ef7d3c48df614fb (patch)
tree7d9dc5fde636956dc27405ef9f55a73f3ab0f29b
Import cppo_1.6.6-1.debian.tar.xz
[dgit import tarball cppo 1.6.6-1 cppo_1.6.6-1.debian.tar.xz]
-rw-r--r--changelog153
-rw-r--r--clean1
-rw-r--r--compat1
-rw-r--r--control26
-rw-r--r--copyright51
-rw-r--r--cppo.1134
-rw-r--r--cppo.dirs1
-rw-r--r--cppo.docs1
-rw-r--r--cppo.examples1
-rw-r--r--cppo.install2
-rw-r--r--cppo.manpages1
-rw-r--r--cppo.mkd53
-rw-r--r--gbp.conf2
-rw-r--r--not-installed2
-rwxr-xr-xrules25
-rw-r--r--source/format1
-rw-r--r--watch2
17 files changed, 457 insertions, 0 deletions
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..bbe68a1
--- /dev/null
+++ b/changelog
@@ -0,0 +1,153 @@
+cppo (1.6.6-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Remove Hendrik from Uploaders
+ * Bump Standards-Version to 4.4.0
+ * Bump debhelper compat level to 12
+
+ -- Stéphane Glondu <glondu@debian.org> Mon, 05 Aug 2019 03:45:09 +0200
+
+cppo (1.6.4-3) unstable; urgency=medium
+
+ * Stop relying on opam during build to avoid a build-dep loop
+
+ -- Mehdi Dogguy <mehdi@debian.org> Tue, 16 Oct 2018 08:52:55 +0200
+
+cppo (1.6.4-2) unstable; urgency=medium
+
+ * Team upload.
+ * Fix issue on arm{el,hf} and ppc64el (Closes: #907431)
+ - add patch 0001-Fix-typo-in-cppo-s-parser.patch from upstream
+
+ -- Mehdi Dogguy <mehdi@debian.org> Fri, 14 Sep 2018 07:26:53 +0200
+
+cppo (1.6.4-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release (2018-02-26)
+ * Provides distinct cppo and cppo_ocamlbuild packages
+ This is a breaking change.
+ * Provides compatibility with OCaml 4.07
+ * Remove obsolete Debian patches
+ * Use the jbuilder build system.
+ The dependency on `opam` is due to opam-installer
+
+ * Move the packaging repository to salsa.debian.org
+ * debian/copyright: Update Source URI
+ * Bump Standards-Version to 4.1.5
+ + debian/copyright: Use an HTTPS Format URI
+ * Switch to debhelper 11
+ * Detect files that failed to install with dh_missing
+
+ -- Nicolas Braud-Santoni <nicolas@braud-santoni.eu> Sat, 04 Aug 2018 17:00:20 +0800
+
+cppo (1.5.0-2) unstable; urgency=medium
+
+ * Team upload
+ * Fix FTBFS on bytecode architectures
+
+ -- Stéphane Glondu <glondu@debian.org> Wed, 19 Jul 2017 09:30:38 +0200
+
+cppo (1.5.0-1) unstable; urgency=medium
+
+ [ Stéphane Glondu ]
+ * Team upload
+ * New upstream release
+ * Add ocamlbuild to Build-Depends
+
+ [ Hendrik Tews ]
+ * use githup page as homepage
+
+ -- Stéphane Glondu <glondu@debian.org> Fri, 14 Jul 2017 14:02:40 +0200
+
+cppo (1.3.2-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Bump Standards-Version to 3.9.8
+ * Fix Vcs-Git
+
+ -- Stéphane Glondu <glondu@debian.org> Wed, 01 Jun 2016 11:35:07 +0200
+
+cppo (1.3.1-2) unstable; urgency=medium
+
+ * Team upload
+ * Install native libraries where available (Closes: #813885)
+
+ -- Hilko Bengen <bengen@debian.org> Fri, 12 Feb 2016 00:34:00 +0100
+
+cppo (1.3.1-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Update Vcs-*
+
+ -- Stéphane Glondu <glondu@debian.org> Tue, 26 Jan 2016 15:54:38 +0100
+
+cppo (1.1.2-2) unstable; urgency=medium
+
+ * Team upload
+ * Fix compilation on bytecode architectures
+
+ -- Stéphane Glondu <glondu@debian.org> Thu, 03 Sep 2015 17:35:12 +0200
+
+cppo (1.1.2-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Bump Standards-Version to 3.9.6
+
+ -- Stéphane Glondu <glondu@debian.org> Thu, 03 Sep 2015 14:34:44 +0200
+
+cppo (0.9.3-3) unstable; urgency=low
+
+ * Team upload
+ * Upload to unstable
+
+ -- Stéphane Glondu <glondu@debian.org> Tue, 03 Dec 2013 08:08:21 +0100
+
+cppo (0.9.3-2) experimental; urgency=low
+
+ * Team upload
+ * Compile with OCaml >= 4
+
+ -- Stéphane Glondu <glondu@debian.org> Thu, 25 Jul 2013 08:54:16 +0200
+
+cppo (0.9.3-1) unstable; urgency=low
+
+ [ Sylvain Le Gall]
+ * Remove Sylvain Le Gall from uploaders
+
+ [ Hendrik Tews ]
+ * update watch file (thanks to Bart Martens)
+ * bump standards version and debhelper compat level
+ * update homepage
+ * update Vcs fields
+ * change to architecture any (Closes: 664200)
+ * update dependencies
+ * fix copyright
+ * add myself as uploader
+ * update man page
+
+ -- Hendrik Tews <hendrik@askra.de> Sun, 02 Jun 2013 23:12:27 +0200
+
+cppo (0.9.2-1) unstable; urgency=low
+
+ * Team upload
+ * New upstream release
+
+ -- Stéphane Glondu <glondu@debian.org> Wed, 02 Nov 2011 07:09:56 +0100
+
+cppo (0.9.0-2) unstable; urgency=low
+
+ * Team upload
+ * Rebuild with OCaml 3.12.0 (no changes)
+
+ -- Stéphane Glondu <glondu@debian.org> Mon, 18 Apr 2011 09:00:19 +0200
+
+cppo (0.9.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #605677)
+
+ -- Sylvain Le Gall <gildor@debian.org> Sat, 04 Dec 2010 23:03:03 +0100
diff --git a/clean b/clean
new file mode 100644
index 0000000..e032546
--- /dev/null
+++ b/clean
@@ -0,0 +1 @@
+testdata/ext.out
diff --git a/compat b/compat
new file mode 100644
index 0000000..48082f7
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+12
diff --git a/control b/control
new file mode 100644
index 0000000..c84c59a
--- /dev/null
+++ b/control
@@ -0,0 +1,26 @@
+Source: cppo
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Build-Depends:
+ ocaml-nox (>= 4),
+ ocaml-findlib (>= 1.4),
+ dh-ocaml (>= 0.9~),
+ debhelper (>= 12),
+ dune,
+ ocamlbuild
+Standards-Version: 4.4.0
+Homepage: https://github.com/mjambon/cppo
+Vcs-Git: https://salsa.debian.org/ocaml-team/cppo.git
+Vcs-Browser: https://salsa.debian.org/ocaml-team/cppo
+
+Package: cppo
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Description: cpp for OCaml
+ Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
+ It can replace camlp4 for preprocessing OCaml files, using cpp style and
+ syntax. It allows defining simple macros and file inclusion.
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..db2d107
--- /dev/null
+++ b/copyright
@@ -0,0 +1,51 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Cppo
+Upstream-Contact: Martin Jambon <martin@mjambon.com>
+Source: https://github.com/mjambon/cppo
+
+Files: *
+Copyright: Copyright (c) 2009-2011 Martin Jambon
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+ IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+ IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+ NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+Files: debian/*
+Copyright: 2010 Sylvain Le Gall <gildor@debian.org>
+ 2013 Hendrik Tews <hendrik@askra.de>
+License: GPL-3+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.
diff --git a/cppo.1 b/cppo.1
new file mode 100644
index 0000000..48eaf48
--- /dev/null
+++ b/cppo.1
@@ -0,0 +1,134 @@
+.\" groff -man -Tascii cppo.1
+.\" ==========================================================================
+.\" ============= Synopsis ===================================================
+.\" ==========================================================================
+.TH CPPO 1 "June 2013" CPPO "User Manuals"
+.SH NAME
+cppo \- lightweight cpp-like preprocessor for OCaml
+.SH SYNOPSIS
+.B cppo \fR[\fIOptions...\fR] \fIfiles\fR...
+.\" ==========================================================================
+.\" ============= Description ================================================
+.\" ==========================================================================
+.SH DESCRIPTION
+.B cppo
+is the equivalent of the C preprocessor for OCaml. It permits the
+definition and expansion of simple (in comparison with
+.B camlp4\fR)
+macros and file inclusion.
+.B cppo
+supports functional macros, conditionals, boolean and arithmetic
+expressions, stringification, and calling different, external
+preprocessors. For a precise description of the features, see
+.I /usr/share/doc/cppo/README.gz\fR.
+.\"
+.\" ==========================================================================
+.\" ================ Options =================================================
+.\" ==========================================================================
+.\"
+.SH OPTIONS
+.\" ===================== -D DEF =============================================
+.TP
+.B "-D IDENT"
+define
+.I IDENT
+.\" ===================== -U IDENT ===========================================
+.TP
+.B "-U IDENT"
+undefine
+.I IDENT
+.\" ===================== -I DIR =============================================
+.TP
+.B "-I DIR"
+add
+.I DIR
+to the search path for included files
+.\" ===================== -o FILE ============================================
+.TP
+.B "-o FILE"
+write output to
+.I FILE
+.\" ===================== -q ================================================
+.TP
+.B "-q"
+Identify and preserve camlp4 quotations
+.\" ===================== -s ================================================
+.TP
+.B "-s"
+Output line directives pointing to the exact source location of
+each token, including those coming from the body of macro
+definitions. This behavior is off by default.
+.\" ===================== -n ================================================
+.TP
+.B "-n"
+Do not output any line directive other than those found in the
+input (overrides
+.B -s\fR).
+.\" ===================== -version ==========================================
+.TP
+.B "-version "
+print version and exit
+.\" ===================== -x NAME:CMD_TEMPLATE ===============================
+.TP
+.B "-x NAME:CMD_TEMPLATE"
+.RS
+Define a custom preprocessor target section starting with:
+.P
+.RS
+#ext "NAME"
+.RE
+.P
+and ending with:
+.P
+.RS
+#endext
+.RE
+.P
+.I NAME
+must be a lowercase identifier of the form [a-z][A-Za-z0-9_]*
+.P
+.I CMD_TEMPLATE
+is a command template supporting the following special sequences:
+.RS
+.HP
+%F file name (unescaped; beware of potential scripting attacks)
+.HP
+%B number of the first line
+.HP
+%E number of the last line
+.HP
+%% a single percent sign
+.RE
+.P
+The filename, the first line number and the last line number are
+available to the external preprocessor via the environment
+variables
+.I CPPO_FILE\fR, \fICPPO_FIRST_LINE\fR, \fICPPO_LAST_LINE\fR.
+.P
+The command is expected to read from stdin and to write to
+stdout.
+.RE
+.\" ===================== -help =================================================
+.TP
+.B "-help | --help"
+Display options and exit
+.\"
+.\" ==========================================================================
+.\" ================ SEE ALSO ================================================
+.\" ==========================================================================
+.\"
+.SH SEE ALSO
+.TP
+the \fBcppo\fR web page, \fIhttp://mjambon.com/cppo.html\fR
+.TP
+the text manual in \fI/usr/share/doc/cppo/README.gz
+.\"
+.\" ==========================================================================
+.\" ================ Author ==================================================
+.\" ==========================================================================
+.\"
+.SH AUTHOR
+This manual page was written by Sylvain Le Gall
+<gildor@debian.org> and Hendrik Tews <hendrik@askra.de>,
+specifically for the Debian project (and may be used by others).
+
diff --git a/cppo.dirs b/cppo.dirs
new file mode 100644
index 0000000..415f082
--- /dev/null
+++ b/cppo.dirs
@@ -0,0 +1 @@
+/usr/bin
diff --git a/cppo.docs b/cppo.docs
new file mode 100644
index 0000000..a7a328f
--- /dev/null
+++ b/cppo.docs
@@ -0,0 +1 @@
+usr/doc/*/*
diff --git a/cppo.examples b/cppo.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/cppo.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/cppo.install b/cppo.install
new file mode 100644
index 0000000..89b5c8e
--- /dev/null
+++ b/cppo.install
@@ -0,0 +1,2 @@
+usr/bin/cppo
+usr/lib/ocaml/cpp*
diff --git a/cppo.manpages b/cppo.manpages
new file mode 100644
index 0000000..e0a5c7b
--- /dev/null
+++ b/cppo.manpages
@@ -0,0 +1 @@
+debian/cppo.1
diff --git a/cppo.mkd b/cppo.mkd
new file mode 100644
index 0000000..a7e33dc
--- /dev/null
+++ b/cppo.mkd
@@ -0,0 +1,53 @@
+% this is the old source for the man page
+% process with pandoc -s -w man $^ -o $@
+% CPPO(1) cppo User Manual
+% Sylvain Le Gall
+% December 4, 2010
+
+# NAME
+
+cppo - cpp for OCaml.
+
+# SYNOPSIS
+
+cppo [options] file\*
+
+# DESCRIPTION
+
+Cppo is an OCaml-friendly implementation of cpp, the C preprocessor.
+It can replace camlp4 for preprocessing OCaml files, using cpp style and
+syntax. It allows defining simple macros and file inclusion.
+
+# OPTIONS
+
+-D *DEF*
+: Equivalent of interpreting '#define DEF' before processing the
+ input
+
+-U *IDENT*
+: Equivalent of interpreting '#undef IDENT' before processing the
+ input
+
+-I `DIR`
+: Add directory DIR to the search path for included files
+
+-o `FILE`
+: Output file
+
+-q
+: Identify and preserve camlp4 quotations
+
+-s
+: Output line directives pointing to the exact source location of
+ each token, including those coming from the body of macro
+ definitions. This behavior is off by default.
+
+-n
+: Do not output any line directive other than those found in the
+ input (overrides -s).
+
+-version
+: Print the version of the program and exit.
+
+-help|\--help
+: Display this list of options
diff --git a/gbp.conf b/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/not-installed b/not-installed
new file mode 100644
index 0000000..907f853
--- /dev/null
+++ b/not-installed
@@ -0,0 +1,2 @@
+usr/share/doc/cppo/LICENSE.md
+usr/share/doc/cppo_ocamlbuild/*
diff --git a/rules b/rules
new file mode 100755
index 0000000..55a960f
--- /dev/null
+++ b/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+#export DH_OPTIONS=-v
+
+include /usr/share/ocaml/ocamlvars.mk
+
+DESTDIR := $(CURDIR)/debian/tmp
+export OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)/cppo_ocamlbuild
+BUILD_PATH=_build/install/default/lib/cppo_ocamlbuild
+
+%:
+ dh $@ --with ocaml
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ dune install --destdir=$(DESTDIR) --prefix=/usr --libdir=..$(OCAML_STDLIB_DIR)
+ rm -f $(DESTDIR)/usr/doc/*/LICENSE.md
+
+override_dh_missing:
+ dh_missing --fail-missing
+
+override_dh_dwz:
diff --git a/source/format b/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644
index 0000000..f157673
--- /dev/null
+++ b/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/mjambon/cppo/tags .*/v(.*)\.tar\.gz