Commit 65d6c772 authored by Innocent De Marchi's avatar Innocent De Marchi

New upstream version 8.1.4+dfsg1

parent c1fd2744
......@@ -4493,8 +4493,7 @@ void
drawBeadRail(AbacusWidget w, int rail, Boolean highlight) {
int deck;
if ((checkPiece(w) &&
(rail == w->abacus.decimalPosition - 1)) ||
if ((checkPiece(w) && (rail == w->abacus.decimalPosition - 1)) ||
(checkPiecePercent(w) &&
(rail == w->abacus.decimalPosition -
w->abacus.shiftPercent - 1 -
......@@ -4504,6 +4503,13 @@ drawBeadRail(AbacusWidget w, int rail, Boolean highlight) {
rail == w->abacus.decimalPosition - 3))) {
return;
}
if (w->abacus.rail < -w->abacus.decimalPosition || w->abacus.rail >=
w->abacus.rails - w->abacus.decimalPosition) {
#ifdef DEBUG
(void) printf("Error drawBeadRail: %d\n", w->abacus.rail);
#endif
return;
}
if (w->abacus.mode == MEDIEVAL) {
drawLineAndCounter(w, rail, highlight);
return;
......
This diff is collapsed.
[Oct 15, 2017] V8.1.4:
Teach fix for (division or root) and piece rail.
Teach fix for for lower bounds of rails with cube roots.
Teach fix for presentation of groups for root operations.
Removed gcc-7 warnings.
[Oct 01, 2017] V8.1.3:
Updates for 64 bit compilation in Windows.
Quarter percent now independent of piece rail for quarter and
......
x(m)abacus for Debian
---------------------
You can copy /etc/X11/app-defaults/Abacus to $(HOME)/Abacus and modify the
local copy for adjusting the way x(m)abacus looks and feels.
-- Florian Ernst <florian@debian.org>, Sun, 23 Jan 2005 15:48:48 +0100
This diff is collapsed.
Source: xabacus
Section: games
Priority: optional
Maintainer: Florian Ernst <florian@debian.org>
Standards-Version: 4.0.0
Build-Depends: autotools-dev,
debhelper (>= 10),
dpkg-dev (>= 1.16.1~),
libaudiofile-dev,
libaudio-dev,
libmotif-dev,
libxpm-dev,
libxt-dev
Homepage: http://www.sillycycle.com/abacus.html
Vcs-Browser: https://anonscm.debian.org/git/collab-maint/xabacus.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/xabacus.git
Package: xabacus
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Provides: xabacus
Conflicts: xabacus
Replaces: xabacus
Description: simulation of the ancient calculator (plain X version)
This program is an implementation of the original abacus, it provides
the Chinese, Japanese, Korean, Roman and Russian version and can be
modified to allow others.
.
This version was compiled without the Motif GUI widget library and thus
shows limited user interface functionality. See xmabacus for the
extended version.
Package: xmabacus
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Priority: extra
Provides: xabacus
Conflicts: xabacus
Replaces: xabacus
Description: simulation of the ancient calculator (Motif version)
This program is an implementation of the original abacus, it provides
the Chinese, Japanese, Korean, Roman and Russian version and can be
modified to allow others.
.
This is the Motif version which shows additional functionality. Motif
is a GUI widget library for the X Window system.
This package was debianized by Darren Benham <gecko@debian.org> on 30 Jun 1998.
Since then it has been maintained by
Darren Benham <gecko@debian.org> (until 12 Mar 2000)
Christian Kurz <shorty@debian.org> (until 14 Sep 2000)
Adrian Bunk <bunk@fs.tum.de> (until 24 May 2001)
Eric Van Buggenhaut <ericvb@debian.org> (until 28 Jul 2004)
Florian Ernst <florian@debian.org> (until 23 Dec 2005)
Jose Carlos Medeiros <debian@psabs.com.br> (until 11 Aug 2006)
The current maintainer is Florian Ernst <florian@debian.org>.
It was downloaded from <http://www.sillycycle.com/abacus/>
Author:
David A. Bagley <bagleyd AT verizon.net>
with Thanks to:
Luis Fernandes <elf AT ee.ryerson.ca> - independent xabacus 1.00, initial demo
Sarat Chandran <saratcmahadevan AT yahoo.com> - colaboration on a few ideas
The files file.{c,h} and sound.{c,h} are taken from xlock, many authors...
For the files rngs.{c,h} the following is given:
Dr. Park's algorithm published in the Oct. '88 ACM
"Random Number Generators: Good Ones Are Hard To Find"
His version available at ftp://cs.wm.edu/pub/rngs.tar
Present form by many authors.
Copyright:
Copyright 1992 - 2017 David A. Bagley, bagleyd AT verizon.net
All Rights Reserved
Permission to use, copy, modify, and distribute this software and
its documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear in
supporting documentation, and that the name of the author not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.
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.
For install-sh:
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of M.I.T. not be used in advertising or
# publicity pertaining to distribution of the software without specific,
# written prior permission. M.I.T. makes no representations about the
# suitability of this software for any purpose. It is provided "as is"
# without express or implied warranty.
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
Document: xabacus
Title: xabacus: The Abacus - The Art of Calculation using Beads
Author: David A. Bagley <bagleyd AT verizon.net>
Abstract: This manual describes what an abacus is
and how it can be used for calculations.
Section: Science/Mathematics
Format: postscript
Files: /usr/share/doc/xabacus/Abacus.ps.gz
?package(xabacus):needs="X11" section="Applications/Science/Mathematics" \
title="Xabacus" command="/usr/games/xabacus" \
icon="/usr/share/pixmaps/xabacus.m.xpm"
#!/usr/bin/make -f
# -*- makefile -*-
# # Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
#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)
CONFIGURE_FLAGS := --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --bindir=/usr/games --with-xpm \
--without-rplay --without-esound --with-nas
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS += -Wall
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:
true
build-motif-stamp:
dh_testdir
ln -sf /usr/share/misc/config.sub .
ln -sf /usr/share/misc/config.guess .
LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" LIBS="-laudiofile" ./configure $(CONFIGURE_FLAGS) --with-motif
$(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" XWIDGETLDFLAGS="$(LDFLAGS)"
touch $@
build-nomotif-stamp:
dh_testdir
[ ! -f Makefile ] || $(MAKE) -i distclean
LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" LIBS="-laudiofile" ./configure $(CONFIGURE_FLAGS) --without-motif
$(MAKE) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" XWIDGETLDFLAGS="$(LDFLAGS)"
touch $@
clean:
dh_testdir
dh_testroot
[ ! -f Makefile ] || $(MAKE) -i distclean
dh_clean build-motif-stamp build-nomotif-stamp config.sub config.guess
install: install-motif-stamp install-nomotif-stamp
for INFIX in '' m ; do \
set -e ; \
install -D debian/x$${INFIX}abacus.desktop \
$(CURDIR)/debian/x$${INFIX}abacus/usr/share/applications/x$${INFIX}abacus.desktop ; \
PIXDIR=$(CURDIR)/debian/x$${INFIX}abacus/usr/share/pixmaps ; \
install -D -m 0644 $(CURDIR)/pixmaps/16x16/abacus.xpm $$PIXDIR/x$${INFIX}abacus.t.xpm ; \
install -D -m 0644 $(CURDIR)/pixmaps/32x32/abacus.xpm $$PIXDIR/x$${INFIX}abacus.m.xpm ; \
rm $(CURDIR)/debian/x$${INFIX}abacus/usr/share/games/xabacus/Abacus.ps ; \
done
install-motif-stamp: build-motif-stamp
dh_testroot
$(MAKE) install DESTDIR=$(CURDIR)/debian/xmabacus xapploaddir=/etc/X11/app-defaults
install-nomotif-stamp: build-nomotif-stamp
dh_testroot
$(MAKE) install DESTDIR=$(CURDIR)/debian/xabacus xapploaddir=/etc/X11/app-defaults
binary-indep: install
# We have nothing to do by default.
binary-arch: install
dh_testdir -a
dh_testroot -a
dh_installdocs -a -A debian/README.Debian Abacus.ps README TODO
dh_installmenu -a
dh_installman -a
dh_installchangelogs -a ChangeLog
dh_strip -a
dh_link -a
dh_compress -a
dh_fixperms -a
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build build-arch build-indep build-stamp build-motif-stamp build-nomotif-stamp clean install install-motif-stamp install-nomotif-stamp binary-indep binary-arch binary
version=2
http://www.sillycycle.com/abacus/ xabacus-(.*)\.tar\.xz
[Desktop Entry]
Name=Xabacus
Version=7.5.5
GenericName=Abacus ancient calculator
Comment=simulation of the ancient calculator (plain X version)
Exec=xabacus
Icon=/usr/share/pixmaps/xabacus.m.xpm
Terminal=false
Type=Application
X-MultipleArgs=false
Categories=Utility;Education;Math;Calculator
StartupNotify=true
[Desktop Entry]
Name=XMabacus
Version=7.5.5
GenericName=Abacus ancient calculator
Comment=simulation of the ancient calculator (Motif version)
Exec=xmabacus
Icon=/usr/share/pixmaps/xmabacus.m.xpm
Terminal=false
Type=Application
X-MultipleArgs=false
Categories=Utility;Education;Math;Calculator;Motif
StartupNotify=true
Document: xabacus
Title: xabacus: The Abacus - The Art of Calculation using Beads
Author: David A. Bagley <bagleyd AT verizon.net>
Abstract: This manual describes what an abacus is
and how it can be used for calculations.
Section: Science/Mathematics
Format: postscript
Files: /usr/share/doc/xmabacus/Abacus.ps.gz
usr/games/xabacus usr/games/xmabacus
usr/share/man/man6/xabacus.6.gz usr/share/man/man6/xmabacus.6.gz
?package(xmabacus):needs="X11" section="Applications/Science/Mathematics" \
title="Xabacus w/Motif" command="/usr/games/xmabacus" \
icon="/usr/share/pixmaps/xmabacus.m.xpm"
......@@ -50,7 +50,8 @@ play_sound(const char *fileName)
#if 0
(void) printf("%s\n", progrun);
#endif
(void) system(progrun);
if (system(progrun))
(void) printf("audio error\n");
free(progrun);
}
}
......
#ifndef _version_h
#define _version_h
#define VERSION "8.1.3"
#define VERSION "8.1.4"
#endif /* _version_h */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment