debian/0000700000000000000000000000000011761655472007172 5ustar debian/NOTES0000600000000000000000000000116711621152213007770 0ustar Some notes on packaging: Build-Depends: gcc (>= 4:4.1.1-7): Early gcc 4.0 versions miscompile calc on arm and m68k, so let's give 4.1 a try on all archs. OBSOLETE: gcc (>= 4:4.0.2-1): Early gcc 4 versions miscompile calc at least on i386 (#318362). Note that we could live with gcc < 4 on most archs, but since all archs seem to have 4.0.2, we simplify B-D by using it everywhere. gcc (>= 2:3.1) [m68k]: Previous gcc versions miscompile calc on m68k if optimization is on (cf. #64832). debian/compat0000600000000000000000000000000211621156550010356 0ustar 8 debian/apcalc-common.dirs0000600000000000000000000000000411621152213012536 0ustar usr debian/apcalc.postinst0000600000000000000000000000072211621152213012201 0ustar #!/bin/sh set -e #DEBHELPER# # /usr/share/doc/apcalc was a directory up to apcalc 2.11.8.1-1 but is a # symlink now. dpkg will not replace the directory itself, so we have to # do it manually. OLDDIR=/usr/share/doc/apcalc if [ "$1" = configure ] && ! [ -L "$OLDDIR" ] && [ -d "$OLDDIR" ]; then if rmdir "$OLDDIR"; then ln -s apcalc-common "$OLDDIR" else echo "$0: Warning: Could not replace $OLDDIR with symlink to apcalc-common." >&2 fi fi exit 0 debian/apcalc.lintian-overrides0000600000000000000000000000013611621152213013753 0ustar # Manpage is in apcalc-common and we depend on it apcalc: binary-without-manpage usr/bin/calc debian/control0000600000000000000000000000473611761653603010603 0ustar Source: apcalc Section: math Priority: optional Maintainer: Martin Buck Standards-Version: 3.9.3.0 Build-Depends: libreadline-dev, debhelper (>= 8), gcc (>= 4:4.1.1-7), bsdmainutils, groff-base Homepage: http://www.isthe.com/chongo/tech/comp/calc/ Package: apcalc Section: math Architecture: any Depends: apcalc-common (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends} Description: Arbitrary precision calculator (original name: calc) Calc is an arbitrary precision arithmetic system that uses a C-like language. Calc is useful as a calculator, an algorithm prototyper and as a mathematical research tool. More importantly, calc provides one with a machine independent means of computation. Calc comes with a rich set of builtin mathematical and programmatic functions. . Calc is built on top of the library libcalc that represents numeric values as fractions reduced to their lowest terms. This library can also be used to add arbitrary precision capabilities to your own programs and is available in the Debian package `apcalc-dev'. . The original name of this package is `calc', but it had to be changed to `apcalc' for Debian, because there's already another package called `calc' in Debian. Nevertheless, the binary and manpage installed by this package are still named `calc'. Package: apcalc-common Section: math Architecture: all Depends: ${misc:Depends} Replaces: apcalc Description: Arbitrary precision calculator (common files) Calc is an arbitrary precision arithmetic system that uses a C-like language. Calc is useful as a calculator, an algorithm prototyper and as a mathematical research tool. More importantly, calc provides one with a machine independent means of computation. Calc comes with a rich set of builtin mathematical and programmatic functions. . This package contains architecture independent files required by the main package `apcalc'. Package: apcalc-dev Section: devel Architecture: any Depends: libc6-dev, ${misc:Depends} Suggests: apcalc Description: Library for arbitrary precision arithmetic This package contains the library libcalc.a and the necessary header files which provide routines to handle arbitrary precision arithmetic with integers, rational numbers, or complex numbers. There are also many numeric functions such as factorial and gcd, along with some transcendental functions such as sin and exp. . This library is also used by the commandline calculator `calc', which is provided in the Debian package `apcalc'. debian/README.debian0000600000000000000000000000146511621152213011257 0ustar apcalc for DEBIAN ---------------------- The original name for this package is calc, but there was already another package in Debian called calc (which is completely unrelated to this one), so this one was renamed to `apcalc' for `arbitraty precision calculator'. However, the binary and the manpage are still called calc, because the other calc package only consists of some Emacs lisp files that don't collide with the files in this package. calc's default search path for .cal files was modified to also include /usr/local/share/calc, so the resulting path is: .:./cal:~/.cal:/usr/local/share/calc:/usr/share/calc:/usr/share/calc/custom The search path for startup files is: /usr/share/calc/startup:/usr/local/share/calc/startup:~/.calcrc:./.calcinit Martin Buck , Thu, 28 Aug 1997 00:32:31 +0200 debian/watch0000600000000000000000000000011011621152213010171 0ustar version=3 http://www.isthe.com/chongo/src/calc/calc-([0-9].*)\.tar\.bz2 debian/patches/0000700000000000000000000000000011701570506010605 5ustar debian/patches/debianization-build0000600000000000000000000000306711701567073014462 0ustar Description: Debian-Policy & FHS-compliant defaults Forwarded: not-needed Author: Martin Buck --- --- a/Makefile +++ b/Makefile @@ -770,8 +770,8 @@ # and CATDIR to empty and ignore the NROFF, NROFF_ARG and MANMAKE # lines below. # -#NROFF= nroff -NROFF= +NROFF= nroff +#NROFF= #NROFF= groff NROFF_ARG= -man #NROFF_ARG= -mandoc @@ -801,7 +801,7 @@ #if 0 /* start of skip for non-Gnu makefiles */ ifdef ALLOW_CUSTOM #endif /* end of skip for non-Gnu makefiles */ -CALCPATH= .:./cal:~/.cal:${CALC_SHAREDIR}:${CUSTOMCALDIR} +CALCPATH= .:./cal:~/.cal:/usr/local/share/calc:${CALC_SHAREDIR}:${CUSTOMCALDIR} #if 0 /* start of skip for non-Gnu makefiles */ else CALCPATH= .:./cal:~/.cal:${CALC_SHAREDIR} @@ -813,7 +813,7 @@ # # Select CALCRC= ${CALC_SHAREDIR}/startup;~/.calcrc;./.calcinit for DJGPP. # -CALCRC= ${CALC_SHAREDIR}/startup:~/.calcrc:./.calcinit +CALCRC= ${CALC_SHAREDIR}/startup:/usr/local/share/calc/startup:~/.calcrc:./.calcinit #CALCRC= ${CALC_SHAREDIR}/startup;~/.calcrc;./.calcinit # Determine of the GNU-readline facility will be used instead of the @@ -866,10 +866,11 @@ # # Select CALCPAGER= less.exe -ci for DJGPP. # +CALCPAGER= sensible-pager #CALCPAGER= more #CALCPAGER= pg #CALCPAGER= cat -CALCPAGER= less +#CALCPAGER= less #CALCPAGER= less.exe -ci # Debug/Optimize options for ${CC} and ${LCC} @@ -1141,7 +1142,7 @@ ifneq (,$(filter Linux GNU/kFreeBSD GNU,$(target))) # -BLD_TYPE= calc-dynamic-only +BLD_TYPE= calc-static-only # CC_SHARE= -fPIC DEFAULT_LIB_INSTALL_PATH= ${PWD}:/lib:/usr/lib:${LIBDIR}:/usr/local/lib debian/patches/restore-2.12.1.5-filepos2z-ftbfs-4148930000600000000000000000000000100411701567564016673 0ustar Description: Restore filepos2z() implementation from apcalc 2.12.1.5 Fixes a FTBFS bug on big endian machines. This is probably not the right solution, but at least it works. Bug-Debian: http://bugs.debian.org/414893 Forwarded: yes Author: Martin Buck --- --- a/file.c +++ b/file.c @@ -1363,7 +1363,7 @@ ret.len = FILEPOS_BITS/BASEB; ret.v = alloc(ret.len); zclearval(ret); - SWAP_HALF_IN_FILEPOS(ret.v, &pos); + SWAP_HALF_IN_FILEPOS(ret.v, (HALF *)&pos); ret.sign = 0; ztrim(&ret); debian/patches/series0000600000000000000000000000024511701545277012034 0ustar manpage-fixes only-install-sharedlib-if-built restore-2.12.1.5-filepos2z-ftbfs-414893 support-kfreebsd-hurd-build-ftbfs-490552 debianization-build debianization-doc debian/patches/support-kfreebsd-hurd-build-ftbfs-4905520000600000000000000000000000131111701567062017735 0ustar Description: Support building on kFreeBSD & Hurd Bug-Debian: http://bugs.debian.org/490552 Forwarded: no Author: Petr Salinger Author: Martin Buck --- --- a/Makefile +++ b/Makefile @@ -1135,11 +1135,11 @@ ########################################################################## #if 0 /* start of skip for non-Gnu makefiles */ -################ -# Linux target # -################ +###################################################### +# Linux, Debian GNU/kFreeBSD, Debian GNU/Hurd target # +###################################################### -ifeq ($(target),Linux) +ifneq (,$(filter Linux GNU/kFreeBSD GNU,$(target))) # BLD_TYPE= calc-dynamic-only # debian/patches/manpage-fixes0000600000000000000000000000471011701570506013260 0ustar Description: Manpage spelling & line wrap fixes Bug-Debian: http://bugs.debian.org/602081 Forwarded: yes Author: Francesco Poli Author: Martin Buck --- --- a/calc.man +++ b/calc.man @@ -437,7 +437,7 @@ .TP .B \-\- -The double dash indicates to calc that no more option follow. +The double dash indicates to calc that no more options follow. Thus calc will ignore a later argument on the command line even if it starts with a dash. This is useful when entering negative values on the command line as in: @@ -479,7 +479,7 @@ arguments but instead make them available as strings to the argv() builtin function. -Sufficiently simple commands with no no characters like +Sufficiently simple commands with no characters like parentheses, brackets, semicolons, '*', which have special interpretations in UNIX shells may be entered, possibly with spaces, until the terminating newline. @@ -627,8 +627,8 @@ .sp 1 .in +5n .nf -./myfile -./myfile.cal +\&./myfile +\&./myfile.cal ${LIBDIR}/myfile ${LIBDIR}/myfile.cal ${CUSTOMCALDIR}/myfile @@ -702,7 +702,7 @@ .BR "shell script mode" . Note that .B \-f -must at the end of the initial ``#!'' line. +must be at the end of the initial ``#!'' line. Any other optional .B "other_flags" must come before @@ -843,7 +843,7 @@ .PP The scope of a variable may be global, local to a file, or local to a procedure. -Values may be grouped together in a matrix, or into a +Values may be grouped together in a matrix, or into a list that permits stack and queue style operations. .PP For more information use the following @@ -1196,7 +1196,7 @@ .SH "CALC WEB SITE" \& .br -Landon Noll maintains the the +Landon Noll maintains the .B calc web site is located at: .sp --- a/Makefile +++ b/Makefile @@ -2078,6 +2078,8 @@ # ### +# Note: The :\(...-sed pattern below allows word wrapping at the separators +# of long path names (typically CALCPATH and CALCRC). calc.1: calc.man ${MAKE_FILE} ${RM} -f $@ ${Q} echo forming calc.1 from calc.man @@ -2089,8 +2091,9 @@ -e 's,$${CUSTOMCALDIR},${CUSTOMCALDIR},g' \ -e 's,$${CUSTOMINCDIR},${CUSTOMINCDIR},g' \ -e 's,$${CUSTOMHELPDIR},${CUSTOMHELPDIR},g' \ - -e 's,$${CALCRC},${CALCRC},g' < calc.man > calc.1 - ${Q} echo calc.man formed + -e 's,$${CALCRC},${CALCRC},g' \ + -e 's,:\([/.~]\),:\\:\1,g' < calc.man > calc.1 + ${Q} echo calc.1 formed calc.usage: calc.1 ${MAKE_FILE} ${RM} -f $@ debian/patches/only-install-sharedlib-if-built0000600000000000000000000001213111701570276016625 0ustar Description: Don't try to install shared libraries if they were not built Forwarded: yes Author: Martin Buck --- --- a/Makefile +++ b/Makefile @@ -4488,53 +4488,55 @@ ${Q}# NOTE: The this makefile installs libcustcalc${LIB_EXT_VERSION} ${Q}# because we only want to perform one ${LDCONFIG} for both ${Q}# libcalc${LIB_EXT_VERSION} and libcustcalc${LIB_EXT_VERSION}. - -${Q} if ${CMP} -s libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION} && \ - ${CMP} -s custom/libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}; then \ - ${TRUE}; \ - else \ - ${RM} -f ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new; \ - ${CP} -f libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new; \ - ${MV} -f ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}"; \ - ${LN} -f -s libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VERS}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VERS}"; \ - ${LN} -f -s libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VER}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VER}"; \ - ${LN} -f -s libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT_VE}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VE}"; \ - ${LN} -f -s libcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcalc${LIB_EXT}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT}"; \ - ${RM} -f ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new; \ - ${CP} -f custom/libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new; \ - ${MV} -f ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}; \ - echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"; \ - ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERS}; \ - echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERS}"; \ - ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VER}; \ - echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VER}"; \ - ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT_VE}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VE}"; \ - ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ - ${T}${LIBDIR}/libcustcalc${LIB_EXT}; \ - echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT}"; \ - if [ -z "${T}" -o "/" = "${T}" ]; then \ - if [ ! -z "${LDCONFIG}" ]; then \ - echo "running ${LDCONFIG}"; \ - ${LDCONFIG} -v; \ - echo "finished ${LDCONFIG}"; \ + -${Q} if [ -f libcalc${LIB_EXT_VERSION} ]; then \ + if ${CMP} -s libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION} && \ + ${CMP} -s custom/libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}; then \ + ${TRUE}; \ + else \ + ${RM} -f ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new; \ + ${CP} -f libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new; \ + ${MV} -f ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}.new \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VERSION}"; \ + ${LN} -f -s libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VERS}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VERS}"; \ + ${LN} -f -s libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VER}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VER}"; \ + ${LN} -f -s libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT_VE}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VE}"; \ + ${LN} -f -s libcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcalc${LIB_EXT}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT}"; \ + ${RM} -f ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new; \ + ${CP} -f custom/libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new; \ + ${MV} -f ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}.new \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}; \ + echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERSION}"; \ + ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERS}; \ + echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VERS}"; \ + ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VER}; \ + echo "installed ${T}${LIBDIR}/libcustcalc${LIB_EXT_VER}"; \ + ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT_VE}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT_VE}"; \ + ${LN} -f -s libcustcalc${LIB_EXT_VERSION} \ + ${T}${LIBDIR}/libcustcalc${LIB_EXT}; \ + echo "installed ${T}${LIBDIR}/libcalc${LIB_EXT}"; \ + if [ -z "${T}" -o "/" = "${T}" ]; then \ + if [ ! -z "${LDCONFIG}" ]; then \ + echo "running ${LDCONFIG}"; \ + ${LDCONFIG} -v; \ + echo "finished ${LDCONFIG}"; \ + fi; \ fi; \ fi; \ fi debian/patches/debianization-doc0000600000000000000000000000065611701567100014120 0ustar Description: Document FHS-compliant file names used for Debian package Forwarded: not-needed Author: Martin Buck --- --- a/sample.README +++ b/sample.README @@ -3,7 +3,8 @@ This directory contains a few examples of how to use libcalc.a. -For more details on how to use libcalc.a, see the file LIBRARY. +For more details on how to use libcalc.a, see the file +/usr/share/doc/apcalc-dev/LIBRARY.gz. =-= debian/apcalc-common.menu0000600000000000000000000000017411621152213012551 0ustar ?package(apcalc-common,apcalc):needs="text" section="Applications/Science/Mathematics" title="Calc" command="/usr/bin/calc" debian/rules0000711000000000000000000000673711702762717010265 0ustar #!/usr/bin/make -f ifneq (, $(findstring noopt, $(DEB_BUILD_OPTIONS))) EXTRA_CFLAGS = -O0 else EXTRA_CFLAGS = endif ifneq (, $(findstring nocheck, $(DEB_BUILD_OPTIONS))) DOCHECK = else DOCHECK = 1 endif #ifneq (, $(filter arm m68k, $(DEB_HOST_ARCH))) # GCC = gcc-3.3 #else # GCC = gcc #endif GCC = gcc INSTDIRARGS = SCRIPTDIR=/usr/share/doc/apcalc/examples .PHONY: build build: build-arch build-indep .PHONY: build-arch build-arch: build-stamp .PHONY: build-indep build-indep: build-stamp build-stamp: dh_testdir # We always have to clean up first since we don't know which options were used # when building last time. -make clobber # First the library build. We build this without readline support to avoid # dependencies on libreadline in libcalc. make $(INSTDIRARGS) CCMISC="$(EXTRA_CFLAGS)" LCC=$(GCC) ifdef DOCHECK make chk endif # Clean up since we want to rebuild with different options below. But move the libraries # built above to a safe place first. mkdir -p debian/apcalc-dev-build mv libcalc.a debian/apcalc-dev-build mv custom/libcustcalc.a debian/apcalc-dev-build -make clobber # Now the build of the executable. This one uses readline. make $(INSTDIRARGS) CCMISC="$(EXTRA_CFLAGS)" LCC=$(GCC) \ USE_READLINE=-DUSE_READLINE READLINE_LIB=-lreadline ifdef DOCHECK make chk endif touch build-stamp .PHONY: clean clean: dh_testdir dh_testroot -rm -f build-stamp install-stamp -make clobber # Shipped with the original source, but modified during build. Remove to avoid # spurious diffs, they get regenerated when required. rm -f custom/Makefile custom/Makefile.simple dh_clean -rm -fr debian/copyright debian/apcalc-dev-build .PHONY: install install: build-stamp dh_testdir dh_testroot dh_clean dh_installdirs make install $(INSTDIRARGS) T=$(shell pwd)/debian/apcalc # apcalc-dev mv debian/apcalc/usr/include/calc/*.h debian/apcalc-dev/usr/include/calc rmdir debian/apcalc/usr/include/calc/custom debian/apcalc/usr/include/calc debian/apcalc/usr/include cp debian/apcalc-dev-build/lib*calc.a debian/apcalc-dev/usr/lib cp sample_*.c debian/apcalc-dev/usr/share/doc/apcalc-dev/examples cp sample.README debian/apcalc-dev/usr/share/doc/apcalc-dev/examples/README # apcalc-common mv debian/apcalc/usr/share debian/apcalc-common/usr/share cd debian/apcalc-common/usr/share/doc && mv apcalc apcalc-common cd debian/apcalc-common/usr/share && mv calc/README doc/apcalc-common/README.calclib # apcalc rm debian/apcalc/usr/bin/calc-static debian/apcalc/usr/lib/libcalc.a debian/apcalc/usr/lib/libcustcalc.a rmdir debian/apcalc/usr/lib cat debian/copyright.head COPYING > debian/copyright touch install-stamp .PHONY: binary-indep binary-indep: install dh_testdir -i dh_testroot -i dh_installdocs -papcalc-common BUGS README dh_installchangelogs -i CHANGES dh_installmenu -i dh_lintian -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i .PHONY: binary-arch binary-arch: install dh_testdir -a dh_testroot -a dh_installdocs -papcalc-dev LIBRARY dh_installchangelogs -papcalc-dev CHANGES dh_lintian -a dh_link -papcalc usr/share/doc/apcalc-common usr/share/doc/apcalc dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a .PHONY: binary binary: binary-indep binary-arch .PHONY: get-orig-source get-orig-source: cd $(dir $(firstword $(MAKEFILE_LIST)))/.. && \ uscan --verbose --force-download --rename --destdir $(CURDIR) debian/apcalc.dirs0000600000000000000000000000011011621152213011246 0ustar usr/bin usr/share/calc usr/share/doc/apcalc/examples usr/share/man/man1 debian/copyright.head0000600000000000000000000000055311621152213012006 0ustar This package was debianized by Martin Buck mbuck@debian.org on Thu, 28 Aug 1997 00:32:31 +0200. This version was downloaded from http://www.isthe.com/chongo/src/calc/ The original source archive was downloaded and converted from .bz2 to .gz using the following command: ./debian/rules get-orig-source Copyright (see also /usr/share/common-licenses/LGPL-2.1): debian/apcalc-dev.preinst0000600000000000000000000000055011621152213012555 0ustar #!/bin/sh set -e #DEBHELPER# # /usr/doc/apcalc-dev was a link up to apcalc-dev 2.10.3t5.46-1 but is a # directory now. So we have to make sure to remove the link before installing # the new package, because otherwise, dpkg will follow the link and our files # will end up in the wrong directory. [ -L /usr/doc/apcalc-dev ] && rm /usr/doc/apcalc-dev exit 0 debian/apcalc-common.lintian-overrides0000600000000000000000000000066411621152213015247 0ustar # Menu command is in apcalc and we'd like to depend on it but we can't since # that would cause circular dependencies. But apcalc-common is pretty useless # on its own, so there's no point installing it without apcalc. apcalc-common: menu-command-not-in-package /usr/share/menu/apcalc-common:1 /usr/bin/calc # Accessible from online-help, so we really want to install this apcalc-common: extra-license-file usr/share/calc/help/COPYING debian/apcalc-dev.dirs0000600000000000000000000000007311621152213012032 0ustar usr/include/calc usr/lib usr/share/doc/apcalc-dev/examples debian/source/0000700000000000000000000000000011621157442010457 5ustar debian/source/format0000600000000000000000000000001411701537606011672 0ustar 3.0 (quilt) debian/changelog0000600000000000000000000002307511761655242011050 0ustar apcalc (2.12.4.4-3) unstable; urgency=low * Split large autogenerated quilt patch into separate ones * Implemented build-arch/build-indep targets * Upgraded to Standards-Version 3.9.3.0 - Implemented "nocheck" build option - No longer build with -D_REENTRANT -- Martin Buck Thu, 31 May 2012 13:48:17 +0200 apcalc (2.12.4.4-2) unstable; urgency=low * Fixed debhelper Build-Depends * Fixed spelling error in apcalc-common description * Added Depends: ${misc:Depends} to make lintian happy -- Martin Buck Wed, 17 Aug 2011 09:14:43 +0200 apcalc (2.12.4.4-1) unstable; urgency=low * New upstream release * Switched to debhelper compatibility level 8 * Build-depend just on libreadline-dev. Closes: #553725 * Fixed a few typos in the manpage. Thanks to Francesco Poli for spotting them. Closes: #602081 * Fixed FTBFS on kFreeBSD/Hurd. Closes: #490552 * Switched to dpkg-source 3.0 (quilt) format -- Martin Buck Fri, 12 Aug 2011 09:21:47 +0200 apcalc (2.12.3.3-1) unstable; urgency=low * New upstream release. Closes: #440759 (see "help unexpected") * Upstream switched from releasing .gz to .bz2: - Updated debian/watch to search for .bz2 - Added get-orig-source target to debian/rules to download and convert source to .gz - Added note to copyright file as required by Developer's Reference * Upgraded to Standards-Version 3.8.0.0 - Use menu section Applications/Science/Mathematics - Moved homepage URL from description to its field in debian/control * Updated menu file to also depend on apcalc-common to make lintian happy * Added lintian-overrides for non-bugs * Don't link against libhistory and libncurses - libhistory isn't used at all and libncurses is only required when linking statically, which we don't * Removed useless dh_makeshlibs call * Added groff-base to Build-Depends -- Martin Buck Mon, 16 Jun 2008 07:28:38 +0200 apcalc (2.12.1.13-3) unstable; urgency=low * Fixed garbage output/dangling pointer when executing config("mode","XX"). Closes: #430866 * Applied typo fixes in manpage received from A. Costa. Closes: #438448 -- Martin Buck Fri, 17 Aug 2007 13:04:41 +0200 apcalc (2.12.1.13-2) unstable; urgency=low * Temporary workaround for FTBFS bug on big endian machines, restoring the code from 2.12.1.5 that seemed to work fine for us. To be fixed properly in next upstream release. Closes: #414893 * Added missing bsdmainutils (we require /usr/bin/col) to Build-Depends. Closes: #415046 * Added debian/watch * Fixed output of "help usage" to show the formatted instead of the unformatted man page * Fixed "make clobber" to remove all files built by "make all" -- Martin Buck Wed, 14 Mar 2007 21:32:53 +0100 apcalc (2.12.1.13-1) unstable; urgency=low * New upstream release -- Martin Buck Wed, 14 Mar 2007 15:20:37 +0100 apcalc (2.12.1.5-1) unstable; urgency=low * New upstream release * Use ${source:Version} instead of ${Source-Version} for apcalc-common dependency to make it binNMU-safe * Give gcc 4.1 a try on all archs * Switched to debhelper compatibility level 5 * Upgraded to Standards-Version 3.7.2.0 (no changes required) -- Martin Buck Tue, 3 Oct 2006 09:29:43 +0200 apcalc (2.11.11-1) unstable; urgency=low * New upstream release * As usual, the latest gcc (tested up to 4:4.0.2-2) is broken on some architectures, this time on arm and m68k. Build-depend on and use gcc-3.3 on these. -- Martin Buck Sat, 7 Jan 2006 21:29:12 +0100 apcalc (2.11.10.1-2) unstable; urgency=low * Fixed build dependencies to also list real packages in addition to virtual ones. Closes: #326387 * Fixed typo in "help builtin" output. Closes: #307671 * Build-depend on gcc >= 4.0.2 to avoid early 4.0 versions which miscompiled apcalc at least on i386. Closes: #318362 * Upgraded to Standards-Version 3.6.2.0 (no changes required) -- Martin Buck Thu, 6 Oct 2005 11:01:07 +0200 apcalc (2.11.10.1-1) unstable; urgency=low * New upstream release. Closes: #280990 -- Martin Buck Thu, 30 Dec 2004 15:09:52 +0100 apcalc (2.11.9.3-1) unstable; urgency=low * New upstream release * Moved arch-independent files to new package apcalc-common. Closes: #233327 -- Martin Buck Mon, 8 Mar 2004 01:12:15 +0100 apcalc (2.11.8.1-1) unstable; urgency=low * New upstream release * Use "pager" instead of "more" * Moved apcalc-dev from section math to devel to match override file -- Martin Buck Fri, 29 Aug 2003 00:50:57 +0200 apcalc (2.11.6.3-1) unstable; urgency=low * New upstream release - Documents -f instead of -S for shell script mode. Closes: #172201 * We now build-depend on gcc >= 3.1 for m68k, alpha, powerpc, so: - Build m68k with optimization again since #64832 finally seems to be fixed - Removed workaround for #61537 on alpha - Removed workaround introduced in 2.11.5t0-1 on powerpc * Build apcalc-dev without readline support to avoid dependency of libcalc.a on readline. Closes: #141419 * Upgraded to Standards-Version 3.5.8 -- Martin Buck Thu, 23 Jan 2003 00:15:53 +0100 apcalc (2.11.5t4.5-1) unstable; urgency=low * New upstream release * Removed version numbers from -dev packages in Build-Depends * Compile with optimization turned off on m68k because gcc is broken there and causes test suite failures. Closes: #119742 -- Martin Buck Thu, 6 Dec 2001 01:59:21 +0100 apcalc (2.11.5t4.4-1) unstable; urgency=low * New upstream release. Closes: #99327 -- Martin Buck Fri, 20 Jul 2001 22:13:11 +0200 apcalc (2.11.5t0-1) unstable; urgency=low * New upstream release. Closes: #85257 * Added debhelper to Build-Depends. Closes: #70140 * Implemented workaround for PPC optimization problems with gcc-2.95.2 -- Martin Buck Mon, 5 Mar 2001 20:52:06 +0100 apcalc (2.11.2t1.0-1) unstable; urgency=low * New upstream version * Compiled with libreadline4. Closes: #63177 * Added Build-Depends to control file -- Martin Buck Sat, 5 Aug 2000 00:16:27 +0200 apcalc (2.11.1t3-1) unstable; urgency=low * New upstream version (Warning: New search paths for library files; new copyright) * Implemented workaround for Alpha optimization problems with gcc-2.95.2 Closes: #61537 -- Martin Buck Mon, 24 Apr 2000 17:36:34 +0200 apcalc (2.11.0t9.4.5-1) unstable; urgency=low * New upstream version * Enabled readline-support -- Martin Buck Sun, 5 Dec 1999 22:52:09 +0100 apcalc (2.11.0t8.10-2) unstable; urgency=low * Put all documentation into /usr/share/{doc,man} instead of having some of it in /usr/{doc,man} (Yes folks, I know I'm stupid. No need to tell me :-) * Moved everything from /usr/{,local/}lib/calc to /usr/{,local/}share/calc -- Martin Buck Mon, 1 Nov 1999 23:26:09 +0100 apcalc (2.11.0t8.10-1) unstable; urgency=low * New upstream version * Removed -fno-strict-aliasing for m68k: The regression errors were not due to a gcc/calc optimization bug, but due to a problem with the m68k build daemon (exact reason still unclear) * Updated calc URL in copyright file * Upgraded to Debian Policy 3.0.1.1 -- Martin Buck Mon, 1 Nov 1999 01:37:36 +0100 apcalc (2.10.3t5.46-3) unstable; urgency=low * Back to gcc on m68k (with -fno-strict-aliasing) -- Martin Buck Fri, 3 Sep 1999 22:55:31 +0200 apcalc (2.10.3t5.46-2) unstable; urgency=low * No longer symlink /usr/doc/apcalc-dev to /usr/doc/apcalc because this violates policy (apcalc-dev only Suggests: apcalc). * Also include libcustcalc.a, because this is required to link with libcalc.a * Compiled with -D_REENTRANT * Compile with egcc on m68k, because gcc-2.7.2.3 miscompiles calc. * Checked conformance with Debian policy 2.5.0 (not completely, because there's still no shared libcalc). -- Martin Buck Thu, 26 Aug 1999 23:38:54 +0200 apcalc (2.10.3t5.46-1) unstable; urgency=low * New upstream version * Use more debhelper features -- Martin Buck Sun, 4 Oct 1998 11:09:20 +0200 apcalc (2.10.3t5.45-5) unstable; urgency=low * Removed /bin/ash-dependency from custom/Makefile (closes: Bug#26864) -- Martin Buck Thu, 24 Sep 1998 22:24:51 +0200 apcalc (2.10.3t5.45-4) unstable; urgency=low * Removed /usr/doc/apcalc/{copyright,changelog*} from package apcalc-dev because these files are also in apcalc, apcalc-dev depends on it and apcalc dev contains a link from /usr/doc/apcalc-dev to /usr/doc/apcalc. Now dpkg no longer complains about files being overwritten. -- Martin Buck Wed, 9 Sep 1998 23:19:58 +0200 apcalc (2.10.3t5.45-3) unstable; urgency=low * Use pristine sources * Switched from debstd to debhelper * Disabled regression tests 951 & 5984 to allow building without stdin connected to a tty (closes: Bug#25786) -- Martin Buck Tue, 25 Aug 1998 23:10:56 +0200 apcalc (2.10.3t5.45-2) unstable; urgency=low * apcalc-dev now depends on libc6-dev instead of libc5-dev -- Martin Buck Mon, 6 Oct 1997 01:09:51 +0200 apcalc (2.10.3t5.45-1) unstable; urgency=low * Initial Release. -- Martin Buck Tue, 23 Sep 1997 00:40:50 +0200 Local variables: mode: debian-changelog End: