diff -Nru groundhog-1.4/debian/changelog groundhog-1.4/debian/changelog --- groundhog-1.4/debian/changelog 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/changelog 2016-03-15 08:18:12.000000000 +0000 @@ -1,3 +1,13 @@ +groundhog (1.4-10) unstable; urgency=low + + * Change Maintainer to Ying-Chun Liu (PaulLiu) + * Update debian/compat to 9 (Closes: #817487) + * Update source package to use DebSrc3.0 + * Bump Standard Version to 3.9.7 + * Modify debian/copyright to machine-readable format. + + -- Ying-Chun Liu (PaulLiu) Tue, 15 Mar 2016 13:05:48 +0800 + groundhog (1.4-9) unstable; urgency=low * New maintainer (Closes: Bug#465949) diff -Nru groundhog-1.4/debian/clean groundhog-1.4/debian/clean --- groundhog-1.4/debian/clean 1970-01-01 00:00:00.000000000 +0000 +++ groundhog-1.4/debian/clean 2016-03-15 05:08:37.000000000 +0000 @@ -0,0 +1,2 @@ +po/*.gmo +po/stamp-po* diff -Nru groundhog-1.4/debian/compat groundhog-1.4/debian/compat --- groundhog-1.4/debian/compat 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/compat 2016-03-15 05:41:10.000000000 +0000 @@ -1 +1 @@ -4 +9 diff -Nru groundhog-1.4/debian/control groundhog-1.4/debian/control --- groundhog-1.4/debian/control 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/control 2016-03-15 08:16:41.000000000 +0000 @@ -1,14 +1,20 @@ Source: groundhog Section: games Priority: optional -Maintainer: Ying-Chun Liu (PaulLiu) -Build-Depends: libtool, libgtk2.0-dev, liblockfile-dev, gettext, debhelper (>= 4), autoconf, automake, quilt -Standards-Version: 3.7.3 +Maintainer: Ying-Chun Liu (PaulLiu) +Build-Depends: debhelper (>= 9), + dh-autoreconf, + gettext, + libgtk2.0-dev, + liblockfile-dev, + libtool, + quilt +Standards-Version: 3.9.7 Homepage: http://home-2.consunet.nl/~cb007736/groundhog.html Package: groundhog Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends} -Description: A simple logic game - The purpose of this game is to put balls in pockets of the same color +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: simple logic game + The purpose of this game is to put balls in pockets of the same color by manipulating a maze of tubes. diff -Nru groundhog-1.4/debian/copyright groundhog-1.4/debian/copyright --- groundhog-1.4/debian/copyright 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/copyright 2016-03-15 08:16:41.000000000 +0000 @@ -1,85 +1,86 @@ -This is the Debian GNU/Linux prepackaged version of groundhog, a simple logic -game. Groundhog was written by Maurits Rijk. - -This package was originally put together by Ruud de Rooij . -It was maintained by Stephen M Moraco . -It is maintained by Ying-Chun Liu (PaulLiu) . - -It was downloaded from http://home-2.consunet.nl/~cb007736/groundhog.html - -Upstream Author: - - Maurits Rijk - -Copyright: - - Copyright (C) 1998 Maurits Rijk +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: groundhog +Upstream-Contact: Maurits Rijk +Source: http://home-2.consunet.nl/~cb007736/groundhog.html +Comment: + This is the Debian GNU/Linux prepackaged version of groundhog, a simple logic + game. Groundhog was written by Maurits Rijk. + +Files: * +Copyright: 1998 Maurits Rijk +License: GPL-2+ + +Files: debian/* +Copyright: 1999-2001 Ruud de Rooij + 2001-2006 Stephen M Moraco + 2008-2014 Ying-Chun Liu (PaulLiu) +License: GPL-2+ + +Files: intl/* +Copyright: 1989-2002 Free Software Foundation, Inc. +License: LGPL-2+ +Files: m4/* +Copyright: 2001-2002 Free Software Foundation, Inc. License: + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. - Groundhog is Copyright (C) 1998 Maurits Rijk. - - 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. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -On Debian GNU/Linux systems, the complete text of the GNU General -Public License can be found in `/usr/share/common-licenses/GPL'. - -There are files or directories which have a different copyright/license. -Listed as the following: - -License for intl/*: - This program 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, 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 - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - Licence along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA - 02110-1301, USA. - - On Debian GNU/Linux systems, the complete text of the GNU Library - General Public License may be found in - /usr/share/common-licenses/LGPL-2 - -License for m4/{gettext.m4,lcmessage.m4,progtest.m4} : - Copyright (C) 1995-2002 Free Software Foundation, Inc. - This file is free software, distributed under the terms of the GNU - General Public License. As a special exception to the GNU General - Public License, this file may be distributed as part of a program - that contains a configuration script generated by Autoconf, under - the same distribution terms as the rest of that program. - - This file can can be used in projects which are not available under - the GNU General Public License or the GNU Library General Public - License but which still want to provide support for the GNU gettext - functionality. - Please note that the actual code of the GNU gettext library is covered - by the GNU Library General Public License, and the rest of the GNU - gettext package package is covered by the GNU General Public License. - They are *not* in the public domain. - -License for other m4/*: - Copyright (C) 2001-2002 Free Software Foundation, Inc. - This file is free software, distributed under the terms of the GNU - General Public License. As a special exception to the GNU General - Public License, this file may be distributed as part of a program - that contains a configuration script generated by Autoconf, under - the same distribution terms as the rest of that program. +Files: m4/gettext.m4 m4/lcmessage.m4 m4/progtest.m4 +Copyright: 1995-2002 Free Software Foundation, Inc. +License: + This file is free software, distributed under the terms of the GNU + General Public License. As a special exception to the GNU General + Public License, this file may be distributed as part of a program + that contains a configuration script generated by Autoconf, under + the same distribution terms as the rest of that program. + . + This file can can be used in projects which are not available under + the GNU General Public License or the GNU Library General Public + License but which still want to provide support for the GNU gettext + functionality. + Please note that the actual code of the GNU gettext library is covered + by the GNU Library General Public License, and the rest of the GNU + gettext package package is covered by the GNU General Public License. + They are *not* in the public domain. + +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. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software Foundation, + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL'. + +License: LGPL-2+ + This program 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, 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 + Library General Public License for more details. + . + You should have received a copy of the GNU Library General Public + Licence along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + . + On Debian GNU/Linux systems, the complete text of the GNU Library + General Public License may be found in + /usr/share/common-licenses/LGPL-2 diff -Nru groundhog-1.4/debian/dirs groundhog-1.4/debian/dirs --- groundhog-1.4/debian/dirs 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/dirs 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -usr/games -usr/share/doc/groundhog -usr/share/man/man6 diff -Nru groundhog-1.4/debian/groundhog.dirs groundhog-1.4/debian/groundhog.dirs --- groundhog-1.4/debian/groundhog.dirs 1970-01-01 00:00:00.000000000 +0000 +++ groundhog-1.4/debian/groundhog.dirs 2016-03-15 08:16:41.000000000 +0000 @@ -0,0 +1,3 @@ +usr/games +usr/share/doc/groundhog +usr/share/man/man6 diff -Nru groundhog-1.4/debian/groundhog.manpages groundhog-1.4/debian/groundhog.manpages --- groundhog-1.4/debian/groundhog.manpages 1970-01-01 00:00:00.000000000 +0000 +++ groundhog-1.4/debian/groundhog.manpages 2016-03-15 08:16:41.000000000 +0000 @@ -0,0 +1 @@ +debian/groundhog.6 diff -Nru groundhog-1.4/debian/groundhog.menu groundhog-1.4/debian/groundhog.menu --- groundhog-1.4/debian/groundhog.menu 1970-01-01 00:00:00.000000000 +0000 +++ groundhog-1.4/debian/groundhog.menu 2016-03-15 04:47:31.000000000 +0000 @@ -0,0 +1,2 @@ +?package(groundhog):needs="X11" section="Games/Puzzles" \ + title="Groundhog" command="/usr/games/groundhog" diff -Nru groundhog-1.4/debian/menu groundhog-1.4/debian/menu --- groundhog-1.4/debian/menu 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/menu 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -?package(groundhog):needs="X11" section="Games/Puzzles" \ - title="Groundhog" command="/usr/games/groundhog" diff -Nru groundhog-1.4/debian/rules groundhog-1.4/debian/rules --- groundhog-1.4/debian/rules 2016-04-27 22:07:21.000000000 +0000 +++ groundhog-1.4/debian/rules 2016-03-15 05:40:31.000000000 +0000 @@ -5,89 +5,18 @@ # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 -# Setup proper platform id -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +%: + dh $@ --with autoreconf -ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) - confflags += --build=$(DEB_HOST_GNU_TYPE) -else - confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) -endif +override_dh_auto_configure: + dh_auto_configure -- --bindir=\$${prefix}/games -include /usr/share/quilt/quilt.make - -preconfigure: preconfigure-stamp -preconfigure-stamp: - dh_testdir - $(MAKE) -f debian/rules patch - autoreconf -i - touch preconfigure-stamp - -configure: configure-stamp -configure-stamp: preconfigure-stamp - dh_testdir - # Configure the package. - ./configure $(confflags) \ - --prefix=/usr --mandir=\$${prefix}/share/man --bindir=\$${prefix}/games - - touch configure-stamp - -build: build-stamp - -build-stamp: configure-stamp - dh_testdir - - # Compile the package. - $(MAKE) - - touch build-stamp - -clean: - dh_testdir - dh_testroot - rm -f build-stamp configure-stamp preconfigure-stamp - - # Clean up after the build process. - $(MAKE) -f debian/rules patch - [ ! -f Makefile ] || $(MAKE) distclean - rm -f src/Makefile.in m4/Makefile.in Makefile.in - rm -f config.guess config.sub ltmain.sh aclocal.m4 config.h.in configure - $(MAKE) -f debian/rules unpatch - rm -f -v po/*.gmo po/stamp-po* - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - # Install the package into debian/groundhog. - $(MAKE) install DESTDIR=$(CURDIR)/debian/groundhog - - -# 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_installdocs - dh_installmenu - dh_installman debian/groundhog.6 - dh_installchangelogs ChangeLog - dh_strip - dh_compress - dh_fixperms - dh_installdeb - dh_shlibdeps - dh_gencontrol - dh_md5sums - dh_builddeb - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure +override_dh_autoreconf: + # backup mkinstalldirs + if [ -f $(CURDIR)/mkinstalldirs ]; then if [ ! -f $(CURDIR)/mkinstalldirs.debbackup ]; then cp -f $(CURDIR)/mkinstalldirs $(CURDIR)/mkinstalldirs.debbackup; fi; fi + dh_autoreconf + +override_dh_autoreconf_clean: + dh_autoreconf_clean + # restore mkinstalldirs + if [ -f $(CURDIR)/mkinstalldirs.debbackup ]; then mv -f $(CURDIR)/mkinstalldirs.debbackup $(CURDIR)/mkinstalldirs; fi diff -Nru groundhog-1.4/debian/source/format groundhog-1.4/debian/source/format --- groundhog-1.4/debian/source/format 1970-01-01 00:00:00.000000000 +0000 +++ groundhog-1.4/debian/source/format 2016-03-15 05:02:13.000000000 +0000 @@ -0,0 +1 @@ +3.0 (quilt)