summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Glondu <glondu@debian.org>2016-08-03 22:19:16 +0200
committerStéphane Glondu <glondu@debian.org>2016-08-03 22:19:16 +0200
commit9afff24c794da9dc8419c4d53d1aeda3be030f1a (patch)
tree236cba394922cc5c56c8adff346f42174f95cd95
parent1218de7fc39977167f5e06ed6c1741cc87d8885a (diff)
parent167f35f591e238102ddf1bc26ff49a15506a2cb3 (diff)
biniou (1.0.12-2) unstable; urgency=medium
* Team upload * Fix FTBFS on bytecode architectures [dgit import unpatched biniou 1.0.12-2]
-rw-r--r--debian/bdump.182
-rw-r--r--debian/bdump.mkd28
-rw-r--r--debian/changelog65
-rw-r--r--debian/compat1
-rw-r--r--debian/control55
-rw-r--r--debian/copyright50
-rw-r--r--debian/gbp.conf2
-rw-r--r--debian/libbiniou-ocaml-dev.docs1
-rw-r--r--debian/libbiniou-ocaml-dev.install.in10
-rw-r--r--debian/libbiniou-ocaml-dev.manpages1
-rw-r--r--debian/libbiniou-ocaml-dev.ocamldoc1
-rw-r--r--debian/libbiniou-ocaml.install.in3
-rwxr-xr-xdebian/rules47
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch2
15 files changed, 349 insertions, 0 deletions
diff --git a/debian/bdump.1 b/debian/bdump.1
new file mode 100644
index 0000000..603d198
--- /dev/null
+++ b/debian/bdump.1
@@ -0,0 +1,82 @@
+.\" groff -man -Tascii bdump.1
+.\" ==========================================================================
+.\" ============= Synopsis ===================================================
+.\" ==========================================================================
+.TH BDUMP 1 "June 2013" BDUMP "User Manuals"
+.SH NAME
+bdump \- visualization of biniou data
+.SH SYNOPSIS
+.B bdump \fR[\fIOptions...\fR] [\fIfile\fR]
+.\" ==========================================================================
+.\" ============= Description ================================================
+.\" ==========================================================================
+.SH DESCRIPTION
+.B bdump
+prints biniou data files in human readable form. For the
+conversion of hash tags into meaningful names,
+.B bdump
+maintains a dictionary of words, see option
+.I -h\fR.
+New words can be added to this dictionary with
+.I -d
+and
+.I -w\fR. The dictionary is saved between invocation, see option
+.I -x
+and
+.I -h\fR.
+.P
+If the
+.I file
+argument is omitted,
+.B bdump
+reads data from standard input.
+.\"
+.\" ==========================================================================
+.\" ================ Options =================================================
+.\" ==========================================================================
+.\"
+.SH OPTIONS
+.\" ===================== -d file ============================================
+.TP
+.B "-d file"
+load
+.I file
+containing words to add to the dictionary, one per line
+.\" ===================== -h file ============================================
+.TP
+.B "-h file"
+set dictionary file for unhashing. Default is
+.I $HOME/.bdump-dict
+on Unix and
+.I $HOMEPATH\_bdump-dict
+on Windows
+.\" ===================== -w word1,word2,... =================================
+.TP
+.B "-w word1,word2,..."
+add words to the dictionary
+.\" ===================== -x ================================================
+.TP
+.B "-x"
+neither load nor update the dictionary file (see option
+.I -h\fR)
+.\" ===================== -help ==============================================
+.TP
+.B "-help | --help"
+print options and exit
+.\"
+.\" ==========================================================================
+.\" ================ SEE ALSO ================================================
+.\" ==========================================================================
+.\"
+.SH SEE ALSO
+.TP
+the \fBbiniou\fR web site, \fIhttp://mjambon.com/biniou.html\fR
+.\"
+.\" ==========================================================================
+.\" ================ 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/debian/bdump.mkd b/debian/bdump.mkd
new file mode 100644
index 0000000..ba93350
--- /dev/null
+++ b/debian/bdump.mkd
@@ -0,0 +1,28 @@
+% this is the old source of the man page, it is currently not used
+% translate with pandoc -s -w man $^ -o $@
+% BDUMP(1) bdump User Manual
+% Sylvain Le Gall
+% December 5, 2010
+
+# NAME
+
+bdump - dump biniou data.
+
+# SYNOPSIS
+
+bdump [options] file\*
+
+# DESCRIPTION
+
+Dump biniou data on standard output.
+
+# OPTIONS
+
+-w word1,word2,...
+: Comma-separated list of words to add to the dictionary
+
+-d file
+: File containing words to add to the dictionary, one per line
+
+-help|\--help
+: Display list of options
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..fb09ab8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,65 @@
+biniou (1.0.12-2) unstable; urgency=medium
+
+ * Team upload
+ * Fix FTBFS on bytecode architectures
+
+ -- Stéphane Glondu <glondu@debian.org> Wed, 03 Aug 2016 22:19:16 +0200
+
+biniou (1.0.12-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Update Homepage and debian/watch
+ * Update Vcs-*
+ * Bump Standards-Version to 3.9.8
+
+ -- Stéphane Glondu <glondu@debian.org> Wed, 03 Aug 2016 13:29:53 +0200
+
+biniou (1.0.9-1) unstable; urgency=medium
+
+ * Team upload
+ * New upstream release
+ * Bump Standards-Version to 3.9.5
+
+ -- Stéphane Glondu <glondu@debian.org> Fri, 31 Jan 2014 11:13:23 +0100
+
+biniou (1.0.8-1) unstable; urgency=low
+
+ * Team upload
+ * New upstream release
+ - remove patch fix-bi_stream-for-32-bit-OCaml, since upstream changes
+ now deal explicitly with 32-bit platforms
+
+ -- Stéphane Glondu <glondu@debian.org> Thu, 11 Jul 2013 11:36:49 +0200
+
+biniou (1.0.6-1) unstable; urgency=low
+
+ [ Sylvain Le Gall ]
+ * Remove Sylvain Le Gall from uploaders
+
+ [ Hendrik Tews ]
+ * update watch
+ * add myself as uploader
+ * bump debhelper compat level and standards version
+ * update Vcs, dependencies and package description
+ * update copyright
+ * rename and adapt debian-changes patch
+ * add patch fix-bi-stream-32
+ * update man page
+ * install api docs in api/html
+
+ -- Hendrik Tews <hendrik@askra.de> Thu, 13 Jun 2013 14:01:31 +0200
+
+biniou (1.0.0-1) unstable; urgency=low
+
+ * Team upload
+ * New upstream release
+ * Bump Standards-Version to 3.9.2
+
+ -- Stéphane Glondu <glondu@debian.org> Mon, 11 Jul 2011 00:02:27 +0200
+
+biniou (0.9.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #605672)
+
+ -- Sylvain Le Gall <gildor@debian.org> Sun, 05 Dec 2010 00:07:39 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..b7e1b2b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: biniou
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Hendrik Tews <hendrik@askra.de>
+Build-Depends:
+ ocaml-nox (>= 3.11.1-3~),
+ ocaml-best-compilers,
+ ocaml-findlib,
+ dh-ocaml (>= 0.9~),
+ debhelper (>= 9),
+ libeasy-format-ocaml-dev
+Standards-Version: 3.9.8
+Homepage: https://github.com/mjambon/biniou
+Vcs-Git: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/biniou.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-ocaml-maint/packages/biniou.git
+
+Package: libbiniou-ocaml-dev
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: flexible binary data format in OCaml - development files
+ Biniou is a binary data format designed for speed, safety, ease of use
+ and backward compatibility as protocols evolve. Biniou is vastly
+ equivalent to JSON in terms of functionality but allows implementations
+ about 4 times as fast (see godi-yojson for comparison), with 25-35%
+ space savings. Biniou data can be decoded into human-readable form
+ without knowledge of type definitions except for field and variant names
+ which are represented by 31-bit hashes.
+ .
+ This package contains the development files needed for programming
+ with the library.
+
+Package: libbiniou-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: flexible binary data format in OCaml - plugins
+ Biniou is a binary data format designed for speed, safety, ease of use
+ and backward compatibility as protocols evolve. Biniou is vastly
+ equivalent to JSON in terms of functionality but allows implementations
+ about 4 times as fast (see godi-yojson for comparison), with 25-35%
+ space savings. Biniou data can be decoded into human-readable form
+ without knowledge of type definitions except for field and variant names
+ which are represented by 31-bit hashes.
+ .
+ This package contains the shared runtime libraries.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ccef55e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,50 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Biniou
+Upstream-Contact: Martin Jambon <martin@mjambon.com>
+
+Files: *
+Copyright: Copyright (c) 2010 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/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..cec628c
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
diff --git a/debian/libbiniou-ocaml-dev.docs b/debian/libbiniou-ocaml-dev.docs
new file mode 100644
index 0000000..eedd89b
--- /dev/null
+++ b/debian/libbiniou-ocaml-dev.docs
@@ -0,0 +1 @@
+api
diff --git a/debian/libbiniou-ocaml-dev.install.in b/debian/libbiniou-ocaml-dev.install.in
new file mode 100644
index 0000000..a4a290c
--- /dev/null
+++ b/debian/libbiniou-ocaml-dev.install.in
@@ -0,0 +1,10 @@
+@OCamlStdlibDir@/biniou/*.annot
+@OCamlStdlibDir@/biniou/*.cmt
+@OCamlStdlibDir@/biniou/*.cmo
+@OCamlStdlibDir@/biniou/*.cmi
+@OCamlStdlibDir@/biniou/*.ml*
+OPT: @OCamlStdlibDir@/biniou/*.o
+OPT: @OCamlStdlibDir@/biniou/*.cmxa
+OPT: @OCamlStdlibDir@/biniou/*.a
+OPT: @OCamlStdlibDir@/biniou/*.cmx
+/usr/bin/bdump
diff --git a/debian/libbiniou-ocaml-dev.manpages b/debian/libbiniou-ocaml-dev.manpages
new file mode 100644
index 0000000..aeb224c
--- /dev/null
+++ b/debian/libbiniou-ocaml-dev.manpages
@@ -0,0 +1 @@
+debian/bdump.1
diff --git a/debian/libbiniou-ocaml-dev.ocamldoc b/debian/libbiniou-ocaml-dev.ocamldoc
new file mode 100644
index 0000000..5143b80
--- /dev/null
+++ b/debian/libbiniou-ocaml-dev.ocamldoc
@@ -0,0 +1 @@
+-d api/html --doc-base-generate
diff --git a/debian/libbiniou-ocaml.install.in b/debian/libbiniou-ocaml.install.in
new file mode 100644
index 0000000..6fb3b34
--- /dev/null
+++ b/debian/libbiniou-ocaml.install.in
@@ -0,0 +1,3 @@
+@OCamlStdlibDir@/biniou/META
+@OCamlStdlibDir@/biniou/*.cma
+DYN: @OCamlStdlibDir@/biniou/*.cmxs
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..4e307ad
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,47 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+#export DH_OPTIONS=-v
+
+DESTDIR=$(CURDIR)/debian/tmp
+
+include /usr/share/ocaml/ocamlvars.mk
+
+OCAMLFIND_DESTDIR=$(DESTDIR)/$(OCAML_STDLIB_DIR)
+export OCAMLFIND_DESTDIR
+OCAMLFIND_LDCONF=ignore
+export OCAMLFIND_LDCONF
+
+%:
+ dh $@ --with ocaml
+
+
+.PHONY: override_dh_auto_build
+override_dh_auto_build:
+ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
+ $(MAKE)
+else
+ $(MAKE) all bdump.byte
+endif
+ $(MAKE) doc
+
+
+.PHONY: override_dh_auto_install
+override_dh_auto_install:
+ mkdir -p '$(OCAMLFIND_DESTDIR)'
+ mkdir -p '$(DESTDIR)/usr/bin'
+ make install 'BINDIR=$(DESTDIR)/usr/bin'
+
+
+.PHONY: override_dh_install
+override_dh_install:
+ dh_install --fail-missing
+
+
+.PHONY: override_dh_installdocs
+override_dh_installdocs:
+ mkdir api
+ mv doc api/html
+ dh_installdocs
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..138cb90
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://github.com/mjambon/biniou/tags .*/v([\d\.]+)\.tar\.gz