diff -Nru gnome-breakout-0.5.3/debian/changelog gnome-breakout-0.5.3/debian/changelog --- gnome-breakout-0.5.3/debian/changelog 2009-12-05 05:29:47.000000000 +0000 +++ gnome-breakout-0.5.3/debian/changelog 2011-12-04 09:41:56.000000000 +0000 @@ -1,3 +1,20 @@ +gnome-breakout (0.5.3-3) unstable; urgency=low + + * Bump debhelper compatibility level to 9, thus enabling hardened build + flags + * debian/rules: Use dh + - Enable pie and bindnow options. gnome-breakout does not build with + -Wformat-security, so disable format. + - Call autoreconf with dh_autoreconf, add dh_autoreconf in Build-Depends + - Use --with autotools-dev to update config.guess and config.sub + - Add debian/gnome-breakout.manpages and debian/gnome-breakout.install + * Drop unneeded build dependencies on quilt, autoconf and automake1.9 + * Use my debian.org email address + * Fix Vcs-Browser field, drop ?op=log from the url + * Standards-Version 3.9.2 (No changes needed) + + -- Vincent Legout Sun, 04 Dec 2011 10:41:54 +0100 + gnome-breakout (0.5.3-2) unstable; urgency=low [ Barry deFreese ] diff -Nru gnome-breakout-0.5.3/debian/compat gnome-breakout-0.5.3/debian/compat --- gnome-breakout-0.5.3/debian/compat 2007-12-05 03:42:35.000000000 +0000 +++ gnome-breakout-0.5.3/debian/compat 2011-12-04 09:21:06.000000000 +0000 @@ -1 +1 @@ -5 +9 diff -Nru gnome-breakout-0.5.3/debian/control gnome-breakout-0.5.3/debian/control --- gnome-breakout-0.5.3/debian/control 2009-12-05 05:27:30.000000000 +0000 +++ gnome-breakout-0.5.3/debian/control 2011-12-04 09:33:02.000000000 +0000 @@ -2,11 +2,11 @@ Section: games Priority: optional Maintainer: Debian Games Team -Uploaders: Barry deFreese , Vincent Legout -Build-Depends: debhelper (>= 5), libgnomeui-dev, autotools-dev, quilt, libglib2.0-dev, autoconf, automake1.9 -Standards-Version: 3.8.3 +Uploaders: Barry deFreese , Vincent Legout +Build-Depends: debhelper (>= 8.9.11), libgnomeui-dev, libglib2.0-dev, autotools-dev, dh-autoreconf +Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/gnome-breakout/ -Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/gnome-breakout/?op=log +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/gnome-breakout/ Homepage: http://www.users.on.net/~mipearson/ Package: gnome-breakout diff -Nru gnome-breakout-0.5.3/debian/dirs gnome-breakout-0.5.3/debian/dirs --- gnome-breakout-0.5.3/debian/dirs 2007-12-05 03:42:35.000000000 +0000 +++ gnome-breakout-0.5.3/debian/dirs 2011-12-04 09:21:06.000000000 +0000 @@ -1 +1,2 @@ usr/share/applications +usr/share/pixmaps diff -Nru gnome-breakout-0.5.3/debian/gnome-breakout.install gnome-breakout-0.5.3/debian/gnome-breakout.install --- gnome-breakout-0.5.3/debian/gnome-breakout.install 1970-01-01 00:00:00.000000000 +0000 +++ gnome-breakout-0.5.3/debian/gnome-breakout.install 2011-12-04 09:21:06.000000000 +0000 @@ -0,0 +1 @@ +debian/gnome-breakout.xpm /usr/share/pixmaps diff -Nru gnome-breakout-0.5.3/debian/gnome-breakout.manpages gnome-breakout-0.5.3/debian/gnome-breakout.manpages --- gnome-breakout-0.5.3/debian/gnome-breakout.manpages 1970-01-01 00:00:00.000000000 +0000 +++ gnome-breakout-0.5.3/debian/gnome-breakout.manpages 2011-12-04 09:21:06.000000000 +0000 @@ -0,0 +1 @@ +debian/gnome-breakout.6 diff -Nru gnome-breakout-0.5.3/debian/rules gnome-breakout-0.5.3/debian/rules --- gnome-breakout-0.5.3/debian/rules 2009-12-04 10:11:48.000000000 +0000 +++ gnome-breakout-0.5.3/debian/rules 2011-12-04 09:21:06.000000000 +0000 @@ -1,73 +1,25 @@ #!/usr/bin/make -f -DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_BUILD_MAINT_OPTIONS := hardening=-format,+pie,+bindnow -CFLAGS = -Wall -g +%: + dh $@ --with autoreconf --with autotools-dev -ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) - CFLAGS += -O0 -else - CFLAGS += -O2 -endif - -configure: configure-stamp -configure-stamp: - dh_testdir - -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 - - autoreconf -f -i - ./configure --prefix=/usr \ +override_dh_auto_configure: + dh_auto_configure -- \ + --prefix=/usr \ --bindir=\$${prefix}/games \ - --datadir=\$${prefix}/share/games \ - --localedir=\$${prefix}/share/locale \ - --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info \ - --localstatedir=\$${prefix}/../var/lib/ \ - --enable-compile-warnings=minimum \ - CFLAGS="$(CFLAGS)" - - touch configure-stamp - -build: configure-stamp build-stamp -build-stamp: - dh_testdir - - $(MAKE) - - touch build-stamp - -clean: - dh_testdir - dh_testroot + --datadir=\$${prefix}/share/games - [ ! -f Makefile ] || $(MAKE) distclean - rm -f build-stamp configure-stamp - rm -f config.sub config.guess - - dh_clean - -install: build - dh_testdir - dh_testroot - dh_clean -k - dh_installdirs - - $(MAKE) install prefix=$(CURDIR)/debian/gnome-breakout/usr localstatedir=$(CURDIR)/debian/gnome-breakout/var/lib - - install -D -m 644 debian/gnome-breakout.xpm debian/gnome-breakout/usr/share/pixmaps/gnome-breakout.xpm +override_dh_auto_install: + dh_auto_install # don't include this file in the package, postinst will take care of it rm -rf debian/gnome-breakout/var # install puts desktop file in incorect location - mv debian/gnome-breakout/usr/share/games/gnome/apps/Games/gnome-breakout.desktop debian/gnome-breakout/usr/share/applications + mv debian/gnome-breakout/usr/share/games/gnome/apps/Games/gnome-breakout.desktop \ + debian/gnome-breakout/usr/share/applications rm -rf debian/gnome-breakout/usr/share/games/gnome # install puts gnome-breakout.png in incorrect location @@ -75,33 +27,7 @@ debian/gnome-breakout/usr/share/pixmaps/ rm -rf debian/gnome-breakout/usr/share/games/pixmaps -# 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 -a - dh_testroot -a - dh_installdocs -a - dh_installexamples -a - dh_installmenu -a - dh_installman -a debian/gnome-breakout.6 - dh_installinfo -a - dh_installchangelogs -a ChangeLog - dh_link -a - dh_strip -a - dh_compress -a - dh_fixperms -a - +override_dh_fixperms: + dh_fixperms chgrp games debian/gnome-breakout/usr/games/gnome-breakout chmod 2755 debian/gnome-breakout/usr/games/gnome-breakout - - dh_installdeb -a - dh_shlibdeps -a - dh_gencontrol -a - dh_md5sums - - dh_builddeb -a - -binary: binary-indep binary-arch -.PHONY: build clean binary-indep binary-arch binary install configure