debian/0000755000000000000000000000000012256060774007177 5ustar debian/changelog0000644000000000000000000000160012256060774011046 0ustar ocaml-gnuplot (0.8.3-3build1) trusty; urgency=medium * Rebuild for ocaml-4.01. -- Matthias Klose Mon, 23 Dec 2013 16:17:00 +0000 ocaml-gnuplot (0.8.3-3) unstable; urgency=low * Patch install-byte: "make install" must depend only on the files that are to be installed. Fixes FTBFS on archs without native ocaml compilation. Thanks to Hendrik Tews for the hint (closes: #663172). * Standards-version 3.9.3 - debian/copyright: refer to official 1.0 format -- Ralf Treinen Sat, 10 Mar 2012 14:38:02 +0100 ocaml-gnuplot (0.8.3-2) unstable; urgency=low * Fix licence in debian/copyright (GPL -> LGPL) -- Ralf Treinen Wed, 08 Feb 2012 08:32:53 +0100 ocaml-gnuplot (0.8.3-1) unstable; urgency=low * Initial release (closes: #494747) -- Ralf Treinen Mon, 06 Feb 2012 18:38:28 +0100 debian/rules0000755000000000000000000000052511726655037010264 0ustar #!/usr/bin/make -f include /usr/share/ocaml/ocamlvars.mk %: dh $@ --with ocaml override_dh_auto_build: ifeq ($(OCAML_HAVE_OCAMLOPT),yes) $(MAKE) else $(MAKE) byte endif make doc override_dh_auto_clean: # hack to avoid removal of debian/rules when building from git chmod 644 debian/rules make dist-clean chmod 755 debian/rules debian/libgnuplot-ocaml-dev.examples0000644000000000000000000000001011726655037014755 0ustar demos/* debian/libgnuplot-ocaml-dev.dirs0000644000000000000000000000001611726655037014106 0ustar usr/lib/ocaml debian/gbp.conf0000644000000000000000000000003611726655037010620 0ustar [DEFAULT] pristine-tar = True debian/control0000644000000000000000000000174211726655037010611 0ustar Source: ocaml-gnuplot Section: ocaml Priority: extra Maintainer: Debian OCaml Maintainers Uploaders: Ralf Treinen , Standards-Version: 3.9.3 Build-Depends: debhelper (>= 7.0.50~), dh-ocaml (>= 0.9~), ocaml-nox (>= 3.11.1-3~), ocaml-findlib Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/ocaml-gnuplot.git Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-gnuplot.git Homepage: http://sourceforge.net/projects/ocaml-gnuplot/ Package: libgnuplot-ocaml-dev Architecture: any Depends: ${ocaml:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: OCaml interface to the gnuplot utility Gnuplot is a portable command-line driven interactive data and function plotting utility that supports different output formats. This package provides an interface to Gnuplot from the Objective CAML programming language. All functions talk to gnuplot through a pipe, so crude animations are possible. debian/libgnuplot-ocaml-dev.docs0000644000000000000000000000001611726655037014075 0ustar gnuplot.html/ debian/libgnuplot-ocaml-dev.doc-base0000644000000000000000000000053311726655037014626 0ustar Document: ocaml-gnuplot Title: libgnuplot-ocaml OCamldoc API Reference Author: Christophe Troestler Abstract: API reference manual for libgnuplot-ocaml-dev (generated via OCamldoc) Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libgnuplot-ocaml-dev/gnuplot.html/index.html Files: /usr/share/doc/libgnuplot-ocaml-dev/gnuplot.html/* debian/copyright0000644000000000000000000000411211726655037011133 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ocaml-gnuplot Upstream-Contact: Christophe Troestler Source: http://sourceforge.net/projects/ocaml-gnuplot Files: * Copyright: 2001-2004 Christophe Troestler License: LGPL-2.1+-with-special-linking-exception Comment: The upstream author has confirmed to me by email that the files in demos/ are also copyright by him and under the same licence as the rest of source code. Files: debian/* Copyright: 2012 Ralf Treinen License: LGPL-2.1+-with-special-linking-exception License: LGPL-2.1+-with-special-linking-exception These programs are free software; you can redistribute them and/or modify them under the terms of the GNU Lesser General Public License as published by the Free Software Foundation. License, or (at your option) any later version. . These programs are distributed in the hope that they 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. . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. . As a special exception to the GNU Lesser General Public License, you may link, statically or dynamically, a "work that uses the Library" with a publicly distributed version of the Library to produce an executable file containing portions of the Library, and distribute that executable file under terms of your choice, without any of the additional requirements listed in clause 6 of the GNU Lesser General Public License. By "a publicly distributed version of the Library", we mean either the unmodified Library as distributed, or a modified version of the Library that is distributed under the conditions defined in clause 3 of the GNU Library General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Lesser General Public License. debian/source/0000755000000000000000000000000011726655037010502 5ustar debian/source/format0000644000000000000000000000001411726655037011710 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000010211726655037010224 0ustar version=3 http://sf.net/ocaml-gnuplot/ocaml-gnuplot-(.+)\.tar\.gz debian/patches/0000755000000000000000000000000011726655037010631 5ustar debian/patches/make_install0000644000000000000000000000126411726655037013222 0ustar Author: Ralf Treinen Description: honor $(PREFIX) when installing libraries Index: ocaml-gnuplot/Makefile =================================================================== --- ocaml-gnuplot.orig/Makefile 2012-01-30 17:05:31.000000000 +0100 +++ ocaml-gnuplot/Makefile 2012-01-30 17:08:15.000000000 +0100 @@ -73,10 +73,10 @@ # Installation .PHONY: install install: META all - $(OCAMLFIND) install $(PKGNAME) META $(INSTALL_FILES) + $(OCAMLFIND) install -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META $(INSTALL_FILES) uninstall: - $(OCAMLFIND) remove $(PKGNAME) + $(OCAMLFIND) remove -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META: META.in $(COPY) $^ $@ debian/patches/series0000644000000000000000000000006411726655037012046 0ustar make_clean make_install demos_makefile install-byte debian/patches/demos_makefile0000644000000000000000000000365611726655037013532 0ustar Author: Ralf Treinen Description: make Makefile selfcontaining so that it can be used to compile demos outside of the ocaml-gnuiplot source tree. Index: ocaml-gnuplot/demos/Makefile =================================================================== --- ocaml-gnuplot.orig/demos/Makefile 2012-02-06 19:33:45.000000000 +0100 +++ ocaml-gnuplot/demos/Makefile 2012-02-06 19:46:31.000000000 +0100 @@ -2,19 +2,23 @@ # ocaml-gnuplot/demos # Copyright (C) Christophe TROESTLER -include ../Makefile.conf -OCAMLFLAGS = -I ../ -OCAMLOPTFLAGS = -I ../ -WEBDIR = ../../webpublishing -WEBDIRDOC = $(WEBDIR)/Gnuplot +# OCAMLC, OCAMLOPT, OCAMLDEP, OCAMLDOC +# The location of the OCaml compiler and tools. The defaults should be OK. +# +OCAMLC = ocamlc +OCAMLOPT = ocamlopt +OCAMLDEP = ocamldep +OCAMLDOC = ocamldoc +OCAMLFIND = ocamlfind + +OCAMLFLAGS = -I +gnuplot +OCAMLOPTFLAGS = -I +gnuplot DEMOS_LIBS = parse_args.ml DEMOS = $(wildcard ex*.ml) -PKGS = $(shell grep "requires" ../META.in | \ - sed -e "s/.*\"\([^\"]*\)\".*/\1/") -PKGS += gnuplot +PKGS = unix bigarray gnuplot PKGS_CMA = $(addsuffix .cma, $(PKGS)) .PHONY: demos byte opt @@ -23,15 +27,15 @@ byte: $(DEMOS:.ml=.exe) opt: $(DEMOS:.ml=.com) -ex%.exe: ex%.ml ../gnuplot.cma $(DEMOS_LIBS:.ml=.cmo) +ex%.exe: ex%.ml $(DEMOS_LIBS:.ml=.cmo) $(OCAMLC) -o $@ $(OCAMLFLAGS) $(PKGS_CMA) $(DEMOS_LIBS:.ml=.cmo) $< -ex%.com: ex%.ml ../gnuplot.cmxa $(DEMOS_LIBS:.ml=.cmx) +ex%.com: ex%.ml $(DEMOS_LIBS:.ml=.cmx) $(OCAMLOPT) -o $@ $(OCAMLOPTFLAGS) $(PKGS_CMA:.cma=.cmxa) \ $(DEMOS_LIBS:.ml=.cmx) $< -parse_args.cmi: parse_args.mli ../gnuplot.cmi -parse_args.cmo: parse_args.ml parse_args.cmi ../gnuplot.cma -parse_args.cmx: parse_args.ml parse_args.cmi ../gnuplot.cmxa +parse_args.cmi: parse_args.mli +parse_args.cmo: parse_args.ml parse_args.cmi +parse_args.cmx: parse_args.ml parse_args.cmi # Caml general dependencies .SUFFIXES: .ml .mli .cmo .cmi .cmx debian/patches/install-byte0000644000000000000000000000127311726655037013166 0ustar Author: Ralf Treinen Debian-bug: #663172 Description: the install target must depend only on the files that are to be installed and not on the "all" target, otherwise "make install" will fail when ocaml does not compile to native code. Index: ocaml-gnuplot/Makefile =================================================================== --- ocaml-gnuplot.orig/Makefile 2012-03-10 12:05:00.000000000 +0100 +++ ocaml-gnuplot/Makefile 2012-03-10 12:08:01.000000000 +0100 @@ -72,7 +72,7 @@ # Installation .PHONY: install -install: META all +install: META $(INSTALL_FILES) $(OCAMLFIND) install -destdir $(DESTDIR)/usr/lib/ocaml $(PKGNAME) META $(INSTALL_FILES) uninstall: debian/patches/make_clean0000644000000000000000000000132411726655037012633 0ustar Author: Ralf Treinen Description: avoid bashism in clean target, don't kill all executables Index: ocaml-gnuplot/Makefile =================================================================== --- ocaml-gnuplot.orig/Makefile 2012-01-26 15:19:27.000000000 +0100 +++ ocaml-gnuplot/Makefile 2012-01-26 15:48:28.000000000 +0100 @@ -171,10 +171,9 @@ .PHONY: clean dist-clean clean: - @ rm -f *~ .*~ *.{o,a} *.cm[aiox] *.cmxa *.annot + @ rm -f *~ .*~ *.[oa] *.cm[aiox] *.cmxa *.annot *.exe @ rm -f $(GENERATED_SOURCES0) $(GENERATED_SOURCES1) @ rm -rf $(PKGNAME).html $(PKG_TARBALL) - @ find . -type f -perm -u=x -exec rm -f {} \; @ if [ -d ./html ]; then rm -rf ./html; fi cd demos; $(MAKE) clean debian/compat0000644000000000000000000000000211726655037010400 0ustar 7