debian/0000755000000000000000000000000011657670355007205 5ustar debian/copyright0000644000000000000000000000203210551711025011113 0ustar This package was debianized by Varun Hiremath on Sun, 7 Jan 2007 23:19:46 +0530. It was downloaded from http://sourceforge.net/projects/extcalc-linux/ Upstream Author: Rainer Strobel Copyright: (C) 2006 Rainer Strobel License: This package 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 package 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. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL'. The Debian packaging is (C) 2007, Varun Hiremath and is licensed under the GPL, see above. debian/patches/0000755000000000000000000000000011657670355010634 5ustar debian/patches/hyphens.diff0000644000000000000000000000230410744203571013127 0ustar Index: concalc-0.9.0/man/concalc.1 =================================================================== --- concalc-0.9.0.orig/man/concalc.1 2007-09-13 15:11:59.000000000 +0530 +++ concalc-0.9.0/man/concalc.1 2008-01-19 01:52:34.000000000 +0530 @@ -37,7 +37,7 @@ .IP "differential calculation" differential calculation of 2x^2-3x+3 at x=9: d/dx(2x^2-3x+3,9) .IP integration -integration of sinx+cosx between -1 and 3.2: integ(sinx+cosx,-1,3.2) +integration of sinx+cosx between \-1 and 3.2: integ(sinx+cosx,\-1,3.2) .IP "set variables" save the result of a calculation in variable A: 12*45/2->A .IP "recall variables" @@ -65,7 +65,7 @@ .IP "-c, --complex" This option enables complex numbers for the calculation. They are switched off by default. .IP "-b, --base [calculator base]" -The argument must be one of hex (hexadecimal), dec (decimal, default), oct (octal) and bin (binary). This option can only be used when -m base is set. +The argument must be one of hex (hexadecimal), dec (decimal, default), oct (octal) and bin (binary). This option can only be used when \-m base is set. .IP "-a, --angle [angle type]" The argument must be one of deg (degrees), rad (radiant), gra (grade). .IP "-v, --version" debian/patches/fix-string-format-error.patch0000644000000000000000000000212411657667567016376 0ustar Index: concalc-0.9.2/src/concalc.cpp =================================================================== --- concalc-0.9.2.orig/src/concalc.cpp 2011-11-11 11:39:05.593640191 -0500 +++ concalc-0.9.2/src/concalc.cpp 2011-11-11 11:39:15.141640488 -0500 @@ -439,7 +439,7 @@ break; case NCHAR: { - printf(value.cval); + printf("%s", value.cval); break; } default: @@ -678,7 +678,7 @@ initDebugging(subFileContent,scriptData); cleanSubFileContent=preprocessor(subFileContent,pref,true); fprintf(stderr,"\nProcessing file "); - fprintf(stderr,scriptData->subprogramPath[c]); + fprintf(stderr,"%s", scriptData->subprogramPath[c]); fprintf(stderr,"\n"); if(cleanSubFileContent==NULL) { Index: concalc-0.9.2/src/global.cpp =================================================================== --- concalc-0.9.2.orig/src/global.cpp 2008-08-11 11:16:49.000000000 -0400 +++ concalc-0.9.2/src/global.cpp 2011-11-11 11:41:02.813643851 -0500 @@ -6553,6 +6553,6 @@ } - fprintf(stderr,string); + fprintf(stderr,"%s",string); fprintf(stderr,"\n"); } debian/patches/series0000644000000000000000000000005311657667542012053 0ustar hyphens.diff fix-string-format-error.patch debian/source/0000755000000000000000000000000011657670355010505 5ustar debian/source/format0000644000000000000000000000001411657663440011710 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000062010704733031010242 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk install/concalc:: mkdir -p $(DEB_DESTDIR)/usr/share/man/man1/ mv $(DEB_DESTDIR)/usr/man/man1/concalc.1 $(DEB_DESTDIR)/usr/share/man/man1/concalc.1 $(RM) -r $(DEB_DESTDIR)/usr/man get-orig-source: -uscan --upstream-version 0 --rename debian/compat0000644000000000000000000000000210744203571010367 0ustar 6 debian/changelog0000644000000000000000000000461411657667617011073 0ustar concalc (0.9.2-2) unstable; urgency=low * Add fix-string-format-error.patch, thanks to Eric Alexander , fixes FTBF (Closes: #643366) * Bump Standards-Version to 3.9.2 * Switch to source format 3.0 -- Varun Hiremath Sun, 13 Nov 2011 01:42:52 -0500 concalc (0.9.2-1) unstable; urgency=low * Do not use the flaky sf redirector in debian/watch. * new upstream release * Bump up Standards-Version: 3.8.0 (no changes needed). -- Torsten Werner Mon, 18 Aug 2008 02:54:17 +0200 concalc (0.9.1-1) unstable; urgency=low * new upstream release -- Torsten Werner Tue, 11 Mar 2008 23:09:20 +0100 concalc (0.9.0-2) unstable; urgency=low * debian/control: + Add Homepage header and replace XS-Vcs with Vcs + Bump up Standards-Version to 3.7.3 + Build-Depend on debhelper >= 6 * debian/compat: Bump to 6 * Add patches/hyphens.diff to fix hyphens in the upstream manpage -- Varun Hiremath Sat, 19 Jan 2008 01:41:01 +0530 concalc (0.9.0-1) unstable; urgency=low * New upstream release * Upstream package renamed to concalc - remove debian/patches -- Varun Hiremath Tue, 16 Oct 2007 00:27:18 +0530 concalc (0.8.5-1) unstable; urgency=low * New upstream release * Enhance debian/watch -- Varun Hiremath Sun, 10 Jun 2007 16:22:28 +0530 concalc (0.8.0-1) unstable; urgency=low * New upstream release * Remove FTBFS patch - merged upstream; update manpage.diff patch. -- Varun Hiremath Thu, 03 May 2007 21:30:31 +0530 concalc (0.7.0-3) unstable; urgency=low [ Torsten Werner ] * Add myself to Uploaders. [ Varun Hiremath ] * Change the binary name displayed with --help option (Closes: #419910) -- Varun Hiremath Wed, 18 Apr 2007 23:20:34 +0530 concalc (0.7.0-2) unstable; urgency=low * Include new upstream patch to fix compile errors -- Varun Hiremath Mon, 19 Mar 2007 15:27:28 +0530 concalc (0.7.0-1) unstable; urgency=low * New upstream release + Fixes FTBFS (Closes: #413476) -- Varun Hiremath Thu, 15 Mar 2007 13:04:32 +0530 concalc (0.6.5-1) unstable; urgency=low * Initial release (Closes: #406095) -- Varun Hiremath Fri, 12 Jan 2007 19:13:40 +0530 debian/docs0000644000000000000000000000000710576504152010043 0ustar README debian/control0000644000000000000000000000127111657663423010607 0ustar Source: concalc Section: math Priority: optional Maintainer: Varun Hiremath Build-Depends: cdbs, debhelper (>= 7), quilt Standards-Version: 3.9.2 Homepage: http://extcalc-linux.sourceforge.net/ Vcs-Svn: https://bollin.googlecode.com/svn/concalc/ Vcs-Browser: http://bollin.googlecode.com/svn/concalc/ Package: concalc Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: console calculator concalc is a calculator for the Linux console. It is just the parser-algorithm of extcalc packed into a simple console program. You can use it if you need a calculator in your shell. concalc is also able to run scripts written in a C-like programming language. debian/watch0000644000000000000000000000012711360170542010216 0ustar version=3 http://sf.net/extcalc-linux/ concalc-(.*)\.tar\.gz debian debian/orig-tar.sh debian/orig-tar.sh0000755000000000000000000000032110632752133011247 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi