[Pkg-ocaml-maint-commits] r3439 - in /trunk/packages/ocamlwc: ./ trunk/ trunk/debian/ trunk/debian/patches/ upstream/

trurl-guest at users.alioth.debian.org trurl-guest at users.alioth.debian.org
Tue Jan 2 19:11:20 CET 2007


Author: trurl-guest
Date: Tue Jan  2 19:11:20 2007
New Revision: 3439

URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/?sc=1&rev=3439
Log:
Initial import of ocamlwc.

Added:
    trunk/packages/ocamlwc/
    trunk/packages/ocamlwc/trunk/
    trunk/packages/ocamlwc/trunk/debian/   (with props)
    trunk/packages/ocamlwc/trunk/debian/changelog
    trunk/packages/ocamlwc/trunk/debian/compat
    trunk/packages/ocamlwc/trunk/debian/control
    trunk/packages/ocamlwc/trunk/debian/copyright
    trunk/packages/ocamlwc/trunk/debian/ocamlwc.1
    trunk/packages/ocamlwc/trunk/debian/patches/
    trunk/packages/ocamlwc/trunk/debian/patches/00list
    trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch   (with props)
    trunk/packages/ocamlwc/trunk/debian/rules   (with props)
    trunk/packages/ocamlwc/trunk/debian/svn-deblayout
    trunk/packages/ocamlwc/upstream/
    trunk/packages/ocamlwc/upstream/ocamlwc_0.3.orig.tar.gz   (with props)

Propchange: trunk/packages/ocamlwc/trunk/debian/
------------------------------------------------------------------------------
    mergeWithUpstream = 1

Added: trunk/packages/ocamlwc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/changelog?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/changelog (added)
+++ trunk/packages/ocamlwc/trunk/debian/changelog Tue Jan  2 19:11:20 2007
@@ -1,0 +1,5 @@
+ocamlwc (0.3-1) unstable; urgency=low
+
+  * Initial release, closes: #405122
+
+ -- Georg Neis <gn at oglaroon.de>  Tue, 02 Jan 2007 15:34:46 +0100

Added: trunk/packages/ocamlwc/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/compat?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/compat (added)
+++ trunk/packages/ocamlwc/trunk/debian/compat Tue Jan  2 19:11:20 2007
@@ -1,0 +1,1 @@
+4

Added: trunk/packages/ocamlwc/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/control?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/control (added)
+++ trunk/packages/ocamlwc/trunk/debian/control Tue Jan  2 19:11:20 2007
@@ -1,0 +1,15 @@
+Source: ocamlwc
+Section: devel
+Priority: optional
+Maintainer: Georg Neis <gn at oglaroon.de>
+Build-Depends: debhelper (>> 4), dpatch
+Build-Depends-Indep: ocaml-nox
+Standards-Version: 3.7.2
+XS-X-Vcs-Svn: svn://svn.debian.org/svn/pkg-ocaml-maint/trunk/packages/ocamlwc
+
+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.

Added: trunk/packages/ocamlwc/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/copyright?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/copyright (added)
+++ trunk/packages/ocamlwc/trunk/debian/copyright Tue Jan  2 19:11:20 2007
@@ -1,0 +1,22 @@
+This package was debianized by Georg Neis <gn at oglaroon.de> 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 <gn at oglaroon.de>
+and is licensed under the GPL, see `/usr/share/common-licenses/GPL'.

Added: trunk/packages/ocamlwc/trunk/debian/ocamlwc.1
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/ocamlwc.1?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/ocamlwc.1 (added)
+++ trunk/packages/ocamlwc/trunk/debian/ocamlwc.1 Tue Jan  2 19:11:20 2007
@@ -1,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
+<Jean-Christophe.Filliatre at lri.fr>.
+.br
+This manual page was written by Georg Neis <gn at oglaroon.de>.

Added: trunk/packages/ocamlwc/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/patches/00list?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/patches/00list (added)
+++ trunk/packages/ocamlwc/trunk/debian/patches/00list Tue Jan  2 19:11:20 2007
@@ -1,0 +1,1 @@
+makefile

Added: trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch (added)
+++ trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch Tue Jan  2 19:11:20 2007
@@ -1,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## makefile.dpatch by Georg Neis <gn at oglaroon.de>
+##
+## DP: Use the bytecode compiler.
+
+ at 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 $@ $^

Propchange: trunk/packages/ocamlwc/trunk/debian/patches/makefile.dpatch
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocamlwc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/rules?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/rules (added)
+++ trunk/packages/ocamlwc/trunk/debian/rules Tue Jan  2 19:11:20 2007
@@ -1,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
+	-$(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

Propchange: trunk/packages/ocamlwc/trunk/debian/rules
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/packages/ocamlwc/trunk/debian/svn-deblayout
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/trunk/debian/svn-deblayout?rev=3439&op=file
==============================================================================
--- trunk/packages/ocamlwc/trunk/debian/svn-deblayout (added)
+++ trunk/packages/ocamlwc/trunk/debian/svn-deblayout Tue Jan  2 19:11:20 2007
@@ -1,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

Added: trunk/packages/ocamlwc/upstream/ocamlwc_0.3.orig.tar.gz
URL: http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/ocamlwc/upstream/ocamlwc_0.3.orig.tar.gz?rev=3439&op=file
==============================================================================
Binary file - no diff available.

Propchange: trunk/packages/ocamlwc/upstream/ocamlwc_0.3.orig.tar.gz
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream




More information about the Pkg-ocaml-maint-commits mailing list