--- dicelab-0.7.orig/dicelab.1 +++ dicelab-0.7/dicelab.1 @@ -14,8 +14,8 @@ .BR \-\-version ", "\-v display version number .TP -.BR \-\-print\-tree ", "\-p -print the parse tree (for debugging purposes) +.BR \-\-calc ", "\-c +calculate the distribution .TP .BR \-\-roll ", "\-r roll the dice as specified. This will also be used if no other action is @@ -25,8 +25,11 @@ reroll many times and sum up the results to get a statistical distribution of values .TP -.BR \-\-count ", "\-c -specify the number of rerolls for --eval, default it 10000 +.BR \-\-count ", "\-n +specify the number of rerolls for \-\-eval, default it 10000 +.TP +.BR \-\-print\-tree ", "\-p +print the parse tree (for debugging purposes) .TP .BR \-f read the scheme description from file instead from stdin @@ -108,7 +111,7 @@ .PP .BR - .IP -This is the unary minus operator. Examples: -1 +This is the unary minus operator. Examples: \-1 .PP .BR % .IP @@ -118,7 +121,7 @@ .BR . .IP This is the scalar concatenation operator. x . y gives xy, the -concatenation of x and y. Examples: -10.9, d6.d6 +concatenation of x and y. Examples: \-10.9, d6.d6 .PP .BR d .IP @@ -323,14 +326,14 @@ .FI .PP -Storyteller die roll with target number 8 and botches indicated at -1: +Storyteller die roll with target number 8 and botches indicated at \-1: .IP .NF let c=5#d10 in let succs = count >7 c in let ones = count ==1 c in if >0 succs then high 1 (0,succs-ones) - else if >0 ones then -1 else 0 + else if >0 ones then \-1 else 0 .FI .PP --- dicelab-0.7.orig/debian/dirs +++ dicelab-0.7/debian/dirs @@ -0,0 +1 @@ +usr/bin --- dicelab-0.7.orig/debian/docs +++ dicelab-0.7/debian/docs @@ -0,0 +1,2 @@ +README +docs/dicelab_manual.pdf --- dicelab-0.7.orig/debian/control +++ dicelab-0.7/debian/control @@ -0,0 +1,16 @@ +Source: dicelab +Section: math +Priority: extra +Maintainer: Robert Lemmen +Build-Depends: debhelper (>= 5), flex, inkscape +Standards-Version: 3.9.4 + +Package: dicelab +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: evaluate the statistical distribution of dice rolls + With dicelab you can express most dice rolls (and similar things) in a + functional language, and then either roll the expression, or evaluate the + statistical distribution. In the latter case you can choose whether you want to + simply roll and tally many times, or actually compute the distribution (which + is more precise, but takes a long time in some obscure cases). --- dicelab-0.7.orig/debian/compat +++ dicelab-0.7/debian/compat @@ -0,0 +1 @@ +5 --- dicelab-0.7.orig/debian/changelog +++ dicelab-0.7/debian/changelog @@ -0,0 +1,29 @@ +dicelab (0.7-2) unstable; urgency=low + + * Update packaging + * Bump standards-version + * Fix a couple of hyphen-vs-minus cases in manpage + * Enable hardening flags during build + * Fix a few typos in the package description (closes: #540595) + * make manpage less confusing around --calc and --count + + -- Robert Lemmen Fri, 05 Jul 2013 09:08:30 +0100 + +dicelab (0.7-1) unstable; urgency=low + + * New upstream release + + -- Robert Lemmen Wed, 25 Nov 2009 12:30:05 +0000 + +dicelab (0.6-1) unstable; urgency=low + + * New upstream release + + -- Robert Lemmen Fri, 22 Feb 2008 15:47:40 +0000 + +dicelab (0.5-1) unstable; urgency=low + + * Initial release (closes: #440822) + + -- Robert Lemmen Mon, 10 Dec 2007 17:06:15 +0100 + --- dicelab-0.7.orig/debian/copyright +++ dicelab-0.7/debian/copyright @@ -0,0 +1,14 @@ +This package was debianized by Robert Lemmen on +Tue, 28 Aug 2007 17:17:32 +0200. + +It was downloaded from http://www.semistable.com/dicelab + +Upstream Author: Robert Lemmen + +Copyright: 2006 - 2007 Robert Lemmen + +License: + +Dicelab and the Debian packaging is (C) 2006 - 2007, Robert Lemmen + and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. --- dicelab-0.7.orig/debian/watch +++ dicelab-0.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.semistable.com/dicelab/dicelab-(.*)\.tar\.gz --- dicelab-0.7.orig/debian/rules +++ dicelab-0.7/debian/rules @@ -0,0 +1,67 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + +config.status: configure + dh_testdir + ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr --mandir=\$${prefix}/share/man \ + --infodir=\$${prefix}/share/info \ + CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" + + +build: build-arch build-indep +build-arch: build-stamp +build-indep: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + $(MAKE) -C docs + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + $(MAKE) DESTDIR=$(CURDIR)/debian/dicelab install + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- dicelab-0.7.orig/debian/source/format +++ dicelab-0.7/debian/source/format @@ -0,0 +1 @@ +1.0