--- ocamlwc-0.3.orig/debian/changelog +++ ocamlwc-0.3/debian/changelog @@ -0,0 +1,32 @@ +ocamlwc (0.3-3) unstable; urgency=low + + [ Stefano Zacchiroli ] + * fix vcs-svn field to point just above the debian/ dir + + [ Ralf Treinen ] + * Recompiled with ocaml 3.10.1. + + -- Ralf Treinen Mon, 25 Feb 2008 20:38:17 +0100 + +ocamlwc (0.3-2) unstable; urgency=low + + [ Georg Neis ] + * Rebuild with OCaml 3.10. + * Avoid debian-rules-ignores-make-clean-error. + * Added debian/watch. + + [ Stefano Zacchiroli ] + * Changed the XS-X-Vcs-Svn field name in debian/control to match the new + (official) name: XS-Vcs-Svn + * Added the XS-Vcs-Browser field to debian/control + + [ Ralf Treinen ] + * Added myself to Uploaders + + -- Ralf Treinen Tue, 11 Sep 2007 23:11:56 +0200 + +ocamlwc (0.3-1) unstable; urgency=low + + * Initial release, closes: #405122 + + -- Georg Neis Tue, 02 Jan 2007 15:34:46 +0100 --- ocamlwc-0.3.orig/debian/svn-deblayout +++ ocamlwc-0.3/debian/svn-deblayout @@ -0,0 +1,3 @@ +origDir=../upstream +origUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocamlwc/upstream +tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/ocamlwc --- ocamlwc-0.3.orig/debian/ocamlwc.1 +++ ocamlwc-0.3/debian/ocamlwc.1 @@ -0,0 +1,45 @@ +.TH OCAMLWC 1 "January 2, 2007" +.SH NAME +ocamlwc \- count the lines of code and comments in OCaml sources +.SH SYNOPSIS +.B ocamlwc +.RI [ options ] +.RI [ files ] +.br +.SH DESCRIPTION +.B ocamlwc +is a program to count the number of lines of code and documentation in OCaml +sources. It assumes its input to be lexically well-formed. If no +.I files +are given, then +.B ocamlwc +reads from stdin. +.PP +The first column of the output lists the number of source lines of code, the +second column the number of lines of documentation, and the third the +respective filename. If +.B ocamlwc +acts on more than one file, then it prints a total in the last line. +.SH OPTIONS +.TP +.B \-p +Print percentage of documentation (in an additional column after the filename). +.TP +.B \-c +Print only the code size, i.e., omit the documentation column. +.TP +.B \-e +(everything) Do not skip headers. A header is the first comment in a file. +.TP +.B \-a +(all) Do not skip generated files. foo.ml is a generated file if one of +foo.mll, foo.mly, or foo.ml4 is amongst the given files. foo.mli is a generated +file if foo.mly is amongst the given files. +.TP +.B \-h +Print short usage information. +.SH AUTHOR +ocamlwc was written by Jean-Christophe Filliatre +. +.br +This manual page was written by Georg Neis . --- ocamlwc-0.3.orig/debian/rules +++ ocamlwc-0.3/debian/rules @@ -0,0 +1,39 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +include /usr/share/dpatch/dpatch.make + +OCAMLABI := $(shell ocamlc -version) + +clean: unpatch + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) clean + dh_clean config.cache config.status Makefile + +build: patch + dh_testdir + ./configure + $(MAKE) + +binary-indep: build + dh_testdir + dh_testroot + dh_installdirs /usr/bin + $(MAKE) install BINDIR=$(CURDIR)/debian/ocamlwc/usr/bin/ + dh_installchangelogs + dh_installdocs + dh_installman debian/ocamlwc.1 + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)" + dh_md5sums + dh_builddeb + +binary-arch: build + +binary: binary-indep binary-arch + +.PHONY: clean build binary-indep binary-arch binary --- ocamlwc-0.3.orig/debian/watch +++ ocamlwc-0.3/debian/watch @@ -0,0 +1,2 @@ +version = 3 +http://www.lri.fr/~filliatr/ftp/ocaml/misc/ocamlwc-(.*)\.tar\.gz --- ocamlwc-0.3.orig/debian/copyright +++ ocamlwc-0.3/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Georg Neis on +Sun, 31 Dec 2006 00:41:06 +0100. + + +ocamlwc was downloaded from `http://www.lri.fr/~filliatr/software.en.html'. + + Copyright (c) 2000 Jean-Christophe FilliĆ¢tre + + This software is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License version 2, as published by the Free Software Foundation. + + This software 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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +The Debian packaging is (c) 2006, 2007 by Georg Neis +and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. --- ocamlwc-0.3.orig/debian/patches/00list +++ ocamlwc-0.3/debian/patches/00list @@ -0,0 +1 @@ +makefile --- ocamlwc-0.3.orig/debian/patches/makefile.dpatch +++ ocamlwc-0.3/debian/patches/makefile.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## makefile.dpatch by Georg Neis +## +## DP: Use the bytecode compiler. + +@DPATCH@ +diff -urNad ocamlwc-0.3~/Makefile.in ocamlwc-0.3/Makefile.in +--- ocamlwc-0.3~/Makefile.in 2003-09-05 13:57:38.000000000 +0200 ++++ ocamlwc-0.3/Makefile.in 2006-12-31 12:51:54.000000000 +0100 +@@ -6,7 +6,7 @@ + all: ocamlwc + + ocamlwc: ocamlwc.ml +- @OCAMLOPT@ -o $@ $^ ++ @OCAMLC@ -o $@ $^ + + ocamlwc.static: ocamlwc.ml + @OCAMLOPT@ -cclib -static -o $@ $^ --- ocamlwc-0.3.orig/debian/compat +++ ocamlwc-0.3/debian/compat @@ -0,0 +1 @@ +4 --- ocamlwc-0.3.orig/debian/control +++ ocamlwc-0.3/debian/control @@ -0,0 +1,17 @@ +Source: ocamlwc +Section: devel +Priority: optional +Maintainer: Georg Neis +Uploaders: Ralf Treinen +Build-Depends: debhelper (>> 4), dpatch +Build-Depends-Indep: ocaml-nox +Standards-Version: 3.7.2 +Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/ + +Package: ocamlwc +Architecture: all +Depends: ocaml-base-nox-${F:OCamlABI} +Description: count the lines of code and comments in OCaml sources + ocamlwc is a program to count the number of lines of code and documentation + in OCaml sources. It assumes the files to be lexically well-formed.