--- wcalc-2.4.orig/debian/docs +++ wcalc-2.4/debian/docs @@ -0,0 +1,3 @@ +NEWS +AUTHORS +README --- wcalc-2.4.orig/debian/menu +++ wcalc-2.4/debian/menu @@ -0,0 +1,4 @@ +?package(wcalc):needs="text" section="Applications/Science/Mathematics" \ + title="Wcalc" hints="Calculators" \ + command="/usr/bin/wcalc" \ + icon="/usr/share/pixmaps/wcalc.xpm" --- wcalc-2.4.orig/debian/wcalc.lintian +++ wcalc-2.4/debian/wcalc.lintian @@ -0,0 +1 @@ +wcalc binary: manpage-has-errors-from-man --- wcalc-2.4.orig/debian/compat +++ wcalc-2.4/debian/compat @@ -0,0 +1 @@ +5 --- wcalc-2.4.orig/debian/wcalc.xpm +++ wcalc-2.4/debian/wcalc.xpm @@ -0,0 +1,37 @@ +/* XPM */ +static char * wcalc_xpm[] = { +"32 32 2 1", +" c None", +". c #000000", +" ", +" ", +" .", +" .. ...", +".... .. .. ", +".... .... ... ", +" ... .... ... ", +" ... .... ... ", +" ... .... .. ", +" .... ...... ... ", +" .... ...... .. ", +" ... .. ... .. ", +" ... .. ... .. ", +" ... ... .... . ", +" ... .. ... .. ", +" ... . ... .. ", +" ... . .. .. ", +" ... .. ... .. ", +" ... . ... .. ", +" ... . ... .. ", +" ... .. .. .. ", +" ... .. ... .. ", +" .... ...... ", +" .... ..... ", +" .... .... ", +" .... .... ", +" ... .... ", +" .. ... ", +" .. ... ", +" . .. ", +" ", +" "}; --- wcalc-2.4.orig/debian/copyright +++ wcalc-2.4/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Daniele Sempione on +Wed, 2 Nov 2005 18:05:06 +0100. + +It was downloaded from http://w-calc.sourceforge.net/download.php + +Upstream author: Kyle Wheeler + +Copyright 2000, 2001, 2002, 2003 Kyle Wheeler + +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 2 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 with +the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL; +if not, write to the Free Software Foundation, Inc., 51 Franklin St, +Fifth Floor, Boston, MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General Public +License, version 2, can be found in /usr/share/common-licenses/GPL-2. --- wcalc-2.4.orig/debian/dirs +++ wcalc-2.4/debian/dirs @@ -0,0 +1,2 @@ +usr/share/lintian/overrides +usr/share/pixmaps --- wcalc-2.4.orig/debian/info +++ wcalc-2.4/debian/info @@ -0,0 +1 @@ +wcalc.info --- wcalc-2.4.orig/debian/control +++ wcalc-2.4/debian/control @@ -0,0 +1,28 @@ +Source: wcalc +Section: math +Priority: optional +Maintainer: Daniele Sempione +Uploaders: Kilian Krause +Build-Depends: debhelper (>= 5), + autotools-dev, + bison, + flex, + libmpfr-dev, + libgmp3-dev, + libreadline-dev +Standards-Version: 3.7.3 + +Package: wcalc +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: A flexible command-line scientific calculator + Wcalc is a very capable calculator. It has standard functions + (sin, asin, and sinh for example, in either radians or degrees), + many pre-defined constants (pi, e, c, etc.), support for using + variables, "active" variables, a command history, hex/octal/binary + input and output, unit conversions, embedded comments, and an + expandable expression entry field. It evaluates expressions using + the standard order of operations. + . + Wcalc uses intuitive expressions. For example, Wcalc will evaluate: + 5sin 4!-7*2(4%6)^2 to be -221.96631678 --- wcalc-2.4.orig/debian/changelog +++ wcalc-2.4/debian/changelog @@ -0,0 +1,78 @@ +wcalc (2.4-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/control: Build-Depend on libreadline-dev rather than + libreadline5-dev. (Closes: #553888) + + -- Tim Retout Wed, 17 Aug 2011 17:40:46 +0100 + +wcalc (2.4-1) unstable; urgency=low + + * New upstream release. (Closes: #511500, #514618) + * Bump debhelper to 5 - fix lintian warning. + + -- Kilian Krause Thu, 21 May 2009 23:47:51 +0200 + +wcalc (2.3.1-1) unstable; urgency=low + + * New upstream release Closes: #435751 + * Bump Standards-Version to 3.7.3 + * Renamed Apps as Applications in debian/menu + * Removed a not anymore useful line in debian/rules + + -- Daniele Sempione Mon, 18 Feb 2008 17:02:46 +0100 + +wcalc (2.3-1) unstable; urgency=low + + * New upstream release Closes: #434353 + + -- Daniele Sempione Mon, 23 Jul 2007 15:44:10 +0200 + +wcalc (2.2.2-2) unstable; urgency=low + + * Added menu support + + -- Daniele Sempione Thu, 3 Aug 2006 19:04:25 +0200 + +wcalc (2.2.2-1) unstable; urgency=low + + * New upstream release + + -- Daniele Sempione Wed, 12 Jul 2006 16:35:55 +0200 + +wcalc (2.2.1-1) unstable; urgency=low + + * New upstream release + + -- Daniele Sempione Thu, 9 Mar 2006 18:52:30 +0100 + +wcalc (2.1.2-2) unstable; urgency=low + + * Added readline support Closes: #341616 + + -- Daniele Sempione Sat, 3 Dec 2005 13:54:21 +0100 + +wcalc (2.1.2-1) unstable; urgency=low + + * New upstream release + + -- Daniele Sempione Fri, 2 Dec 2005 19:58:45 +0100 + +wcalc (2.1.1-1) unstable; urgency=low + + * New upstream release + + -- Daniele Sempione Mon, 14 Nov 2005 13:02:55 +0100 + +wcalc (2.1-1) unstable; urgency=low + + * New upstream release + + -- Daniele Sempione Wed, 2 Nov 2005 18:05:06 +0100 + +wcalc (2.0-1) unstable; urgency=low + + * Initial release. + + -- Daniele Sempione Wed, 10 Aug 2005 22:01:55 +0200 + --- wcalc-2.4.orig/debian/rules +++ wcalc-2.4/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info + + +build: build-stamp + +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + -rm -f parser.c parser.h scanner.c + #-rm -f config.cache/status #remove this in next release + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_installmenu + + $(MAKE) install DESTDIR=$(CURDIR)/debian/wcalc + cp -a $(CURDIR)/debian/wcalc.lintian $(CURDIR)/debian/wcalc/usr/share/lintian/overrides/wcalc + cp -a $(CURDIR)/debian/wcalc.xpm $(CURDIR)/debian/wcalc/usr/share/pixmaps/ + + +binary-indep: build install + +binary-arch: build install + dh_installchangelogs ChangeLog + dh_installdocs + dh_installexamples + dh_installman + 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 --- wcalc-2.4.orig/debian/DEBIAN/md5sums +++ wcalc-2.4/debian/DEBIAN/md5sums @@ -0,0 +1,9 @@ +f8cfe85cda7c6c77a34ba32fdc27933c usr/bin/wcalc +c46f2f9320f3d218f5afcc916c4dfdbb usr/share/man/man1/wcalc.1.gz +d217e335afe9fd841575be4281073d09 usr/share/lintian/overrides/wcalc +716764e7c1fed014904ac72b34e5e525 usr/share/doc/wcalc/changelog.gz +d511c1885ae042bcfb129088136716c3 usr/share/doc/wcalc/NEWS.gz +dc5893b26c22c351e69b931d6a463c18 usr/share/doc/wcalc/README.gz +98dc532bafba62b030d06d2f7ce5a69a usr/share/doc/wcalc/AUTHORS +f8a292bcfe283cb852e8e4fbc6efa895 usr/share/doc/wcalc/copyright +2bfa96147f883068c39c24a73bfb58f9 usr/share/doc/wcalc/changelog.Debian.gz --- wcalc-2.4.orig/debian/DEBIAN/control +++ wcalc-2.4/debian/DEBIAN/control @@ -0,0 +1,19 @@ +Package: wcalc +Version: 2.2.2-1 +Section: math +Priority: optional +Architecture: i386 +Depends: libc6 (>= 2.3.6-6), libgmp3c2, libmpfr1, libreadline5 (>= 5.1) +Installed-Size: 240 +Maintainer: Daniele Sempione +Description: A flexible command-line scientific calculator + Wcalc is a very capable calculator. It has standard functions + (sin, asin, and sinh for example, in either radians or degrees), + many pre-defined constants (pi, e, c, etc.), support for using + variables, "active" variables, a command history, hex/octal/binary + input and output, unit conversions, embedded comments, and an + expandable expression entry field. It evaluates expressions using + the standard order of operations. + . + Wcalc uses intuitive expressions. For example, Wcalc will evaluate: + 5sin 4!-7*2(4%6)^2 to be -221.96631678