Commit 34de61a1 authored by Innocent De Marchi's avatar Innocent De Marchi

Update debian version to 8.1.6+dfsg1-1.

parent eb5ffafe
xabacus (8.1.6+dfsg1-1) unstable; urgency=medium
* New upstream version.
+ Updated years on debian/copyright.
* Deleted unnecessary sources directory win32 and repackaging.
* Update Standards-Version (4.1.3):
* Bumped to debhelper 11.
* Removed unnecessary move-play-file-config.patch file.
-- Innocent De Marchi <tangram.peces@gmail.com> Sat, 10 Feb 2018 18:28:55 +0100
xabacus (8.1.5+dfsg1-1) unstable; urgency=medium
* New upstream version.
......
......@@ -2,8 +2,8 @@ Source: xabacus
Section: games
Priority: optional
Maintainer: Innocent De Marchi <tangram.peces@gmail.com>
Standards-Version: 4.1.2
Build-Depends: debhelper (>= 10),
Standards-Version: 4.1.3
Build-Depends: debhelper (>= 11),
dpkg-dev (>= 1.16.1~),
libaudiofile-dev,
libaudio-dev,
......
......@@ -4,7 +4,7 @@ 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>
Copyright: 1992-2018, 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> - collaboration on a few ideas
......@@ -30,7 +30,7 @@ Copyright: 1998-until 12 Mar 2000, Darren Benham <gecko@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>
2017-2018, Innocent De Marchi <tangram.peces@gmail.com>
License: GPL-3+
License: Custom
......
Description: Changing the installation directory of the play.sh file
on configure.ac file.
Author: Innocent De Marchi
Last-Update: 2017-10-19
--- a/configure.ac
+++ b/configure.ac
@@ -757,7 +757,7 @@
AC_ARG_ENABLE(def_play, [ --disable-def-play=program
set def-play to program that plays sounds],def_play=$enableval,def_play=yes)
if test "$def_play" = "yes"; then
- def_play=play.sh # yes is a bad default here
+ def_play=usr/share/games/xabacus/play.sh # yes is a bad default here
fi
if test "$def_play" != no; then
AC_MSG_RESULT([defining option DEF_PLAY = "$def_play"])
......@@ -18,36 +18,6 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
CFLAGS += -Wall
#PKD = $(abspath $(dir $(MAKEFILE_LIST)))
PKG = $(word 2,$(shell dpkg-parsechangelog -l | grep ^Source))
UVER = $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
DTYPE = +dfsg
VER ?= $(subst $(DTYPE),,$(UVER))
## http://wiki.debian.org/onlyjob/get-orig-source
.PHONY: get-orig-source
get-orig-source: $(PKG)_$(VER)$(DTYPE).orig.tar.xz $(info I: $(PKG)_$(VER)$(DTYPE))
@
$(PKG)_$(VER)$(DTYPE).orig.tar.xz:
@echo "# Downloading..."
uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD)
$(if $(wildcard $(PKG)-$(VER)),$(error $(PKG)-$(VER) exist, aborting..))
@echo "# Extracting..."
mkdir $(PKG)-$(VER) \
&& tar -xf $(PKG)_$(VER).orig.tar.* --directory $(PKG)-$(VER) --strip-components 1 \
|| $(RM) -r $(PKG)-$(VER)
@echo "# Cleaning-up..."
cd $(PKG)-$(VER) \
&& find . -depth -type d -name 'windows' -exec $(RM) -r {} \; -printf 'removed %p\n' \
&& $(RM) -r -v win32/*.*
#$(RM) -v $(PKG)_$(VER).orig.tar.*
@echo "# Packing..."
find -L "$(PKG)-$(VER)" -xdev -type f -print | LC_ALL=C sort \
| XZ_OPT="-6v" tar -caf "$(PKG)_$(VER)$(DTYPE).orig.tar.xz" -T- --owner=root --group=root --mode=a+rX \
&& $(RM) -r "$(PKG)-$(VER)"
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
......
#!/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 \
--enable-def-play=/usr/share/games/xabacus/play.sh
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 ; \
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
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
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