Commit 97f93a07 authored by Innocent De Marchi's avatar Innocent De Marchi

Updated debian directory for new version.

parent c1fd2744
xabacus (8.1.3+dfsg1-1) unstable; urgency=medium
* New maintainer (Closes: #870519).
* Deleted unnecessary sources directory win32 and repackaging.
* Update debian/watch file to version 4 and added dversionmangle
option.
* Update Standards-Version (4.1.1):
- Removed autotools-dev dependency on debian/control.
* Changed debian/rules to make the build reproducible,
thanks Chris Lamb (Closes: #865994).
* Changed the Priority field to optional from xmabacus
on debian/control.
* Removed duplicate field Priority on debian/control.
* Added Keywords field on debian/*.desktop files.
* Removed obsolete menu files on debian directory.
* Re-written the debian/copyright file to the standard 1.0 format.
* Install play.sh file on /usr/share/games/xabacus/:
+ Added move-play-file.patch file to change installation directory.
+ Added configuration flag on dbian/rules.
-- Innocent De Marchi <tangram.peces@gmail.com> Sat, 30 Sep 2017 18:20:12 +0100
xabacus (8.0.8-1) unstable; urgency=medium
* [23dfa61] change of xabacus hosting, adjusting debian/* accordingly
......
Source: xabacus
Section: games
Priority: optional
Maintainer: Florian Ernst <florian@debian.org>
Standards-Version: 4.0.0
Build-Depends: autotools-dev,
debhelper (>= 10),
Maintainer: Innocent De Marchi <tangram.peces@gmail.com>
Standards-Version: 4.1.1
Build-Depends: debhelper (>= 10),
dpkg-dev (>= 1.16.1~),
libaudiofile-dev,
libaudio-dev,
......@@ -33,7 +32,6 @@ Description: simulation of the ancient calculator (plain X version)
Package: xmabacus
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Priority: extra
Provides: xabacus
Conflicts: xabacus
Replaces: xabacus
......
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:
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
Upstream-Name: Abacus
Upstream-Contact: David A. Bagley <bagleyd AT verizon.net>
Source: http://www.sillycycle.com/abacus/
Files: *
Copyright: 1992-2016, 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
Sarat Chandran <saratcmahadevan AT yahoo.com> - collaboration 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
License: Custom
Files: install-sh
Copyright: 1994, X Consortium
License: MIT
Files: debian/*
Copyright: 1998-until 12 Mar 2000, Darren Benham <gecko@debian.org>
until 14 Sep 2000, Christian Kurz <shorty@debian.org>
until 24 May 2001, Adrian Bunk <bunk@fs.tum.de>
until 28 Jul 2004, Eric Van Buggenhaut <ericvb@debian.org>
until 23 Dec 2005, Florian Ernst <florian@debian.org>
until 11 Aug 2006, Jose Carlos Medeiros <debian@psabs.com.br>
until 29 Sep 2017, Florian Ernst <florian@debian.org>
2017, Innocent De Marchi <tangram.peces@gmail.com>
License: GPL-3+
License: Custom
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
......@@ -41,26 +43,51 @@ Copyright:
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
License: GPL-3+
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 3 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.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
License: MIT
Copyright (c) 1994 X Consortium
.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
.
Except as contained in this notice, the name of the X Consortium shall not
be used in advertising or otherwise to promote the sale, use or other deal-
ings in this Software without prior written authorization from the X Consor-
tium.
.
FSF changes to this file are in the public domain.
\ No newline at end of file
?package(xabacus):needs="X11" section="Applications/Science/Mathematics" \
title="Xabacus" command="/usr/games/xabacus" \
icon="/usr/share/pixmaps/xabacus.m.xpm"
Description: Changing the installation directory of the play.sh file
on Makefile.in file.
Author: Innocent De Marchi
Last-Update: 2017-10-19
--- a/Makefile.in
+++ b/Makefile.in
@@ -191,14 +191,15 @@
install : $(PROG)$(E) @NOPLAY@play.sh
$(srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
$(INSTALL_PROGRAM) $(PROG)$(E) $(DESTDIR)$(bindir)/$(R)$(M)$(wIDGET)$(E)
- @NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(bindir)/play.sh
+ #@NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(bindir)/play.sh
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(readdir)
+ @NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(readdir)/play.sh
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
$(INSTALL_DATA) $(srcdir)/$(PROG).man $(DESTDIR)$(mandir)/$(PROG).$(MANNUM)
$(srcdir)/mkinstalldirs $(DESTDIR)$(xapploaddir)
sed 's;^$(WIDGET)\*\(.*\): /usr/local/share/games/$(GROUP);$(WIDGET)*\1: $(DESTDIR)$(readdir);g' $(srcdir)/$(WIDGET).ad > $(WIDGET).ad.tmp
$(INSTALL_DATA) $(WIDGET).ad.tmp $(DESTDIR)$(xapploaddir)/$(WIDGET)
rm -f $(WIDGET).ad.tmp
- $(srcdir)/mkinstalldirs $(DESTDIR)$(readdir)
$(INSTALL_DATA) $(srcdir)/$(WIDGET).ps $(DESTDIR)$(readdir)/$(WIDGET).ps
$(INSTALL_DATA) $(srcdir)/abacusDemo.xml $(DESTDIR)$(readdir)/abacusDemo.xml
$(INSTALL_DATA) $(srcdir)@WAVDIR@/bump$(W) $(DESTDIR)$(readdir)/bump$(W)
@@ -212,7 +213,8 @@
uninstall :
$(RM) $(DESTDIR)$(bindir)/$(R)$(M)$(wIDGET)$(E)
- @NOPLAY@$(RM) $(DESTDIR)$(bindir)/play.sh
+ #@NOPLAY@$(RM) $(DESTDIR)$(bindir)/play.sh
+ @NOPLAY@$(RM) $(DESTDIR)$(readdir)/play.sh
$(RM) $(DESTDIR)$(mandir)/$(PROG).$(MANNUM)
$(RM) $(DESTDIR)$(xapploaddir)/$(WIDGET)
$(RM) $(DESTDIR)$(readdir)/$(WIDGET).ps
@@ -224,7 +226,9 @@
install-games : $(PROG)$(E) @NOPLAY@play.sh
$(srcdir)/mkinstalldirs /usr/games
$(INSTALL_PROGRAM) $(PROG)$(E) /usr/games/$(R)$(M)$(wIDGET)$(E)
- @NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(bindir)/play.sh
+ #@NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(bindir)/play.sh
+ $(srcdir)/mkinstalldirs $(DESTDIR)$(readdir)
+ @NOPLAY@$(INSTALL_PROGRAM) play.sh $(DESTDIR)$(readdir)/play.sh
chmod 2755 /usr/games/$(R)$(M)$(wIDGET)$(E)
chown games:games /usr/games/$(R)$(M)$(wIDGET)$(E)
$(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)
@@ -233,7 +237,6 @@
sed 's;^$(WIDGET)\*\(.*\): /usr/local/share/games/$(GROUP);$(WIDGET)*\1: $(DESTDIR)$(readdir);g' $(srcdir)/$(WIDGET).ad > $(WIDGET).ad.tmp
$(INSTALL_DATA) $(WIDGET).ad.tmp $(DESTDIR)$(xapploaddir)/$(WIDGET)
rm -f $(WIDGET).ad.tmp
- $(srcdir)/mkinstalldirs $(DESTDIR)$(readdir)
$(INSTALL_DATA) $(srcdir)/$(WIDGET).ps $(DESTDIR)$(readdir)/$(WIDGET).ps
$(INSTALL_DATA) $(srcdir)/abacusDemo.xml $(DESTDIR)$(readdir)/abacusDemo.xml
$(INSTALL_DATA) $(srcdir)@WAVDIR@/bump$(W) $(DESTDIR)$(readdir)/bump$(W)
@@ -247,7 +250,8 @@
uninstall-games :
$(RM) /usr/games/$(R)$(M)$(wIDGET)$(E)
- @NOPLAY@$(RM) $(DESTDIR)$(bindir)/play.sh
+ #@NOPLAY@$(RM) $(DESTDIR)$(bindir)/play.sh
+ @NOPLAY@$(RM) $(DESTDIR)$(readdir)/play.sh
$(RM) $(DESTDIR)$(mandir)/$(PROG).$(MANNUM)
$(RM) $(DESTDIR)$(xapploaddir)/$(WIDGET)
$(RM) $(DESTDIR)$(readdir)/$(WIDGET).ps
move-play-file.patch
......@@ -10,7 +10,8 @@ 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
--without-rplay --without-esound --with-nas \
--enable-def-play=/usr/share/games/xabacus/play.sh
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
......@@ -53,6 +54,7 @@ install: install-motif-stamp install-nomotif-stamp
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 ; \
sed -i -e "s@$(CURDIR)/debian/x$${INFIX}abacus@@g" $(CURDIR)/debian/x$${INFIX}abacus/etc/X11/app-defaults/Abacus ; \
done
install-motif-stamp: build-motif-stamp
......
version=2
version=4
opts=dversionmangle=s/-\d\+dfsg// \
http://www.sillycycle.com/abacus/ xabacus-(.*)\.tar\.xz
......@@ -10,3 +10,4 @@ Type=Application
X-MultipleArgs=false
Categories=Utility;Education;Math;Calculator
StartupNotify=true
Keywords=Education;Math;Calculator
\ No newline at end of file
......@@ -10,3 +10,4 @@ Type=Application
X-MultipleArgs=false
Categories=Utility;Education;Math;Calculator;Motif
StartupNotify=true
Keywords=Education;Math;Calculator
\ No newline at end of file
?package(xmabacus):needs="X11" section="Applications/Science/Mathematics" \
title="Xabacus w/Motif" command="/usr/games/xmabacus" \
icon="/usr/share/pixmaps/xmabacus.m.xpm"
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