From 9172b9b2f7ba80cfe7c5b44cebb1a393a69e9f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Thu, 22 Nov 2012 16:38:37 +0100 Subject: [PATCH] Updates for Debian packaging --- extras/debian/changelog | 52 ++++++++++++++++--- extras/debian/compat | 1 + extras/debian/control | 7 +-- extras/debian/copyright | 50 ++++++++++++++++++ extras/debian/rules | 101 +++--------------------------------- extras/debian/source/format | 1 + 6 files changed, 108 insertions(+), 104 deletions(-) create mode 100644 extras/debian/compat create mode 100644 extras/debian/copyright create mode 100644 extras/debian/source/format diff --git a/extras/debian/changelog b/extras/debian/changelog index a7390b9..7822488 100644 --- a/extras/debian/changelog +++ b/extras/debian/changelog @@ -1,10 +1,50 @@ +eliot (2.0-3) quantal; urgency=low + + * Try to make a proper PPA build + + -- Olivier Teulière Thu, 22 Nov 2012 00:30:29 +0100 + +eliot (2.0-2) quantal; urgency=low + + * Build for Ubuntu 12.10 + * Patch in game/matrix.h (compilation error with new g++ version) + * Patch to fix Serbian translation + + -- Olivier Teulière Wed, 21 Nov 2012 22:10:50 +0100 + +eliot (2.0-1) precise; urgency=low + + * New upstream version (2.0) + * New arbitration mode. Main features: + * master move chosen by the arbitrator or automatically + * extremely efficient way to assign moves to players (very few keystrokes or mouse clicks) + * possibility to go on playing even if a turn is incomplete + * possibility to add a player during the game, or to change his/her table number + * possibility to assign the same word to many players in one click + * possibility to give solos, warnings and penalties to players + * warnings to auto-detect and avoid common mistakes (can be deactivated) + * New "statistics" view: all the information about the game at a glance + * New presentation of the bag, much more visual and intuitive + * New "timer" control, to play with time constraints + * Favorite players: no need to create the same players everytime + * Auto-save: the current game is saved automatically (useful in case of crash) + * More complete save game format + * Global ergonomy improvements: + * more information on the status bar (turn number, remaining letters) + * more intuitive focus handling + * less space lost + * New Spanish translation + * Many bug fixes... + + -- Olivier Teulière Sun, 14 Oct 2012 15:08:24 +0200 + eliot (1.14-1) oneiric; urgency=low * New game variant: "7 among 8" * New preference to define a default AI level * Bug fix in the dictionary creation wizard - -- Olivier Teulière Tue, 03 Jan 2012 21:57:38 +0100 + -- Olivier Teulière Tue, 03 Jan 2012 21:57:38 +0100 eliot (1.13-1) natty; urgency=low @@ -15,7 +55,7 @@ eliot (1.13-1) natty; urgency=low * New translations: Serbian and Indonesian * Several bugs fixes - -- Olivier Teulière Sun, 21 Aug 2011 00:25:18 +0200 + -- Olivier Teulière Sun, 21 Aug 2011 00:25:18 +0200 eliot (1.12-1) lucid; urgency=low @@ -23,7 +63,7 @@ eliot (1.12-1) lucid; urgency=low * New wizard to help creating custom dictionaries * Various bug fixes - -- Olivier Teuliere Sat, 22 May 2010 20:44:16 +0200 + -- Olivier Teuliere Sat, 22 May 2010 20:44:16 +0200 eliot (1.11-1) karmic; urgency=low @@ -31,7 +71,7 @@ eliot (1.11-1) karmic; urgency=low * Support for loading/saving games in all modes * Various encoding fixes - -- Olivier Teuliere Sun, 24 Jan 2010 16:15:51 +0100 + -- Olivier Teuliere Sun, 24 Jan 2010 16:15:51 +0100 eliot (1.10-1) karmic; urgency=low @@ -41,7 +81,7 @@ eliot (1.10-1) karmic; urgency=low particular) * Catalan translation - -- Olivier Teuliere Sat, 26 Sep 2009 11:27:13 +0200 + -- Olivier Teuliere Sat, 26 Sep 2009 11:27:13 +0200 eliot (1.9-1) jaunty; urgency=low @@ -51,7 +91,7 @@ eliot (1.9-1) jaunty; urgency=low * A coordinates arrow allows entering the coordinates more easily * Words can be entered in training mode without doing a search - -- Olivier Teuliere Sat, 21 Feb 2009 18:31:18 +0100 + -- Olivier Teuliere Sat, 21 Feb 2009 18:31:18 +0100 eliot (1.8-1) jaunty; urgency=low diff --git a/extras/debian/compat b/extras/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/extras/debian/compat @@ -0,0 +1 @@ +8 diff --git a/extras/debian/control b/extras/debian/control index 436d2dc..489a82e 100644 --- a/extras/debian/control +++ b/extras/debian/control @@ -2,15 +2,16 @@ Source: eliot Section: games Priority: optional Maintainer: Olivier Teuliere -Build-Depends: debhelper (>= 5), autotools-dev, libqt4-dev, libboost-dev, libexpat-dev -Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 8), autotools-dev, libqt4-dev, libboost-dev, libexpat-dev, libconfig++-dev, libarabica-dev +Standards-Version: 3.9.3 +Homepage: http://www.nongnu.org/eliot/ Package: eliot Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Scrabble game Eliot is a Scrabble game intended both for multi-player games and for training - competition Scrabble (duplicate mode). + or arbitrating competition Scrabble (duplicate mode). It finds the best score at each turn in a game using efficient search techniques. It also proposes several tools to lookup for words in the dictionary (for advanced training or crosswords games). diff --git a/extras/debian/copyright b/extras/debian/copyright new file mode 100644 index 0000000..c3c84db --- /dev/null +++ b/extras/debian/copyright @@ -0,0 +1,50 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: eliot +Upstream-Contact: Olivier Teulière +Source: http://download-mirror.savannah.gnu.org/releases/eliot/releases/ + +Files: * +Copyright: 1998-2007 Antoine Fraboulet + 2002-2012 Olivier Teulière +License: GPL-2+ + +Files: debian/* +Copyright: 2012 Olivier Teulière +License: GPL-2+ + +Files: intl/* +Copyright: 1995-2005 Free Software Foundation, Inc +License: LGPL-2+ + +License: LGPL-2+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + . + This library 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 + Library General Public License for more details. + . + On Debian systems, the complete text of the GNU Library General + Public License version 2 can be found in + "/usr/share/common-licenses/LGPL-2". + +License: GPL-2+ + This program 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 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. See the + GNU General Public License for more details. +Comment: + On Debian systems the full text of the GNU General Public + License can be found in the `/usr/share/common-licenses/GPL-2' file. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + diff --git a/extras/debian/rules b/extras/debian/rules index d482150..93024cb 100755 --- a/extras/debian/rules +++ b/extras/debian/rules @@ -1,99 +1,10 @@ #!/usr/bin/make -f -# -*- makefile -*- -# Sample debian/rules that uses debhelper. -# This file was originally written by Joey Hess and Craig Small. -# As a special exception, when this file is copied by dh-make into a -# dh-make output file, you may use that output file without restriction. -# This special exception was added by Craig Small in version 0.37 of dh-make. +%: + dh $@ -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +override_dh_auto_configure: + dh_auto_configure -- --disable-text --disable-ncurses --disable-dictools +override_dh_auto_install: + $(MAKE) DESTDIR=$$(pwd)/debian/eliot bindir=/usr/games install -# These are used for cross-compiling and for saving the configure script -# from having to guess our platform (since we know it already) -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) - - -config.status: configure - dh_testdir - # Add here commands to configure the package. -ifneq "$(wildcard /usr/share/misc/config.sub)" "" - cp -f /usr/share/misc/config.sub config.sub -endif -ifneq "$(wildcard /usr/share/misc/config.guess)" "" - cp -f /usr/share/misc/config.guess config.guess -endif - ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --disable-text --disable-ncurses CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" - - -build: build-stamp - -build-stamp: config.status - dh_testdir - - # Add here commands to compile the package. - $(MAKE) - #docbook-to-man debian/eliot.sgml > eliot.1 - - touch $@ - -clean: - dh_testdir - dh_testroot - rm -f build-stamp - - # Add here commands to clean up after the build process. - -$(MAKE) distclean - rm -f config.sub config.guess - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Add here commands to install the package into debian/eliot. - $(MAKE) DESTDIR=$(CURDIR)/debian/eliot install - - -# Build architecture-independent files here. -binary-indep: build install -# We have nothing to do by default. - -# Build architecture-dependent files here. -binary-arch: build install - dh_testdir - dh_testroot - dh_installchangelogs ChangeLog - dh_installdocs - dh_installexamples -# dh_install -# dh_installmenu -# dh_installdebconf -# dh_installlogrotate -# dh_installemacsen -# dh_installpam -# dh_installmime -# dh_python -# dh_installinit -# dh_installcron -# dh_installinfo - dh_installman - dh_link - dh_strip - dh_compress - dh_fixperms -# dh_perl -# dh_makeshlibs - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install diff --git a/extras/debian/source/format b/extras/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/extras/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt)