diff -Nru the-3.3~rc1/debian/changelog the-3.3~rc1/debian/changelog --- the-3.3~rc1/debian/changelog 2016-02-07 09:46:27.000000000 +0000 +++ the-3.3~rc1/debian/changelog 2016-08-10 07:56:45.000000000 +0000 @@ -1,8 +1,13 @@ -the (3.3~rc1-2build1) xenial; urgency=medium +the (3.3~rc1-3) unstable; urgency=low - * No-change rebuild for ncurses6 transition. + * Applied patches from Maria Valentina Marin + and Chris Lamb to make the build reproducible + (closes: #793728, #777370). + * Fixed document directory path (closes: #736870) + * Fixed debian/rules binary-indep target (closes: #806117). + * Upgraded to Standards-Version: 3.9.8. - -- Matthias Klose Sun, 07 Feb 2016 09:46:27 +0000 + -- Alen Zekulic Wed, 10 Aug 2016 00:57:26 +0200 the (3.3~rc1-2) unstable; urgency=low diff -Nru the-3.3~rc1/debian/control the-3.3~rc1/debian/control --- the-3.3~rc1/debian/control 2012-06-30 15:01:02.000000000 +0000 +++ the-3.3~rc1/debian/control 2016-08-10 07:14:05.000000000 +0000 @@ -2,8 +2,8 @@ Section: editors Priority: optional Maintainer: Alen Zekulic -Build-Depends: libncurses5-dev, libregina3-dev, regina-rexx -Standards-Version: 3.9.3 +Build-Depends: libncurses5-dev, libregina3-dev, regina-rexx, autotools-dev +Standards-Version: 3.9.8 Homepage: http://hessling-editor.sourceforge.net Package: the diff -Nru the-3.3~rc1/debian/rules the-3.3~rc1/debian/rules --- the-3.3~rc1/debian/rules 2012-06-30 16:11:01.000000000 +0000 +++ the-3.3~rc1/debian/rules 2016-08-10 07:17:22.000000000 +0000 @@ -8,33 +8,42 @@ CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS) LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +export SOURCE_DATE_EPOCH = $(shell date -d "$$(dpkg-parsechangelog --count 1 -SDate)" +%s) build: build-arch build-indep build-arch: stamp-build build-indep: stamp-build stamp-doc stamp-build: stamp-configure $(checkdir) - $(MAKE) the THE_Help.txt + $(MAKE) touch stamp-build configure: stamp-configure stamp-configure: $(checkdir) + cp -f common/config.guess common/config.guess.old + cp -f common/config.sub common/config.sub.old + cp -f /usr/share/misc/config.sub common/ + cp -f /usr/share/misc/config.guess common/ CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \ --prefix=/usr --exec-prefix=/usr --with-ncurses \ --with-rexx=regina --with-rexxincdir=/usr/include/regina \ - --with-global-profile=/etc/therc --srcdir=`pwd` + --with-global-profile=/etc/therc --docdir=/usr/share/THE --srcdir=`pwd` touch stamp-configure stamp-doc: stamp-build $(checkdir) - $(MAKE) html + $(MAKE) html the.man touch stamp-doc doc: stamp-doc clean: $(checkdir) + if [ -f common/config.sub.old -a -f common/config.guess.old ]; then \ + mv common/config.sub.old common/config.sub; \ + mv common/config.guess.old common/config.guess; \ + fi -rm -f stamp-build stamp-configure stamp-doc THE_Help.txt THE_Help_head \ THE_Help_set THE_Help_sos THE_Help_tail app5.htm app6.htm config.guess \ config.h config.sub fdl.htm preparecomb.the title.htm nthe divtop.gif \ @@ -48,9 +57,9 @@ -rm -rf debian/tmp-doc install -d -m755 debian/tmp-doc/{DEBIAN,usr/share/{doc/{the/html,the-doc},doc-base,THE}} cp debian/manual.the debian/tmp-doc/usr/share/THE - gzip -9fc the.man > debian/tmp-doc/usr/share/doc/the/the.man.gz - gzip -9fc HISTORY > debian/tmp-doc/usr/share/doc/the-doc/changelog.gz - gzip -9fc debian/changelog > debian/tmp-doc/usr/share/doc/the-doc/changelog.Debian.gz + gzip -9nfc the.man > debian/tmp-doc/usr/share/doc/the/the.man.gz + gzip -9nfc HISTORY > debian/tmp-doc/usr/share/doc/the-doc/changelog.gz + gzip -9nfc debian/changelog > debian/tmp-doc/usr/share/doc/the-doc/changelog.Debian.gz cp debian/copyright debian/tmp-doc/usr/share/doc/the-doc install -m644 {*.html,doc/*.gif} debian/tmp-doc/usr/share/doc/the/html/ #uudecode debian/*.png.uu && mv *.png debian/tmp-doc/usr/share/doc/the/html/ @@ -61,6 +70,8 @@ chmod -R go=rX debian/tmp-doc chmod 755 debian/md5_sums debian/md5_sums tmp-doc + find debian/tmp-doc -newermt "@$$SOURCE_DATE_EPOCH" -print0 | \ + xargs -0r touch --no-dereference --date="@$$SOURCE_DATE_EPOCH" dpkg --build debian/tmp-doc .. binary-arch: checkroot build @@ -69,14 +80,14 @@ install -d -m755 debian/tmp/{DEBIAN,etc,usr/{bin,share/man/man1,share/doc/the,share/menu}} $(MAKE) install prefix=debian/tmp/usr exec_prefix=debian/tmp/usr mv debian/tmp/usr/bin/nthe debian/tmp/usr/bin/the -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) strip --strip-all --remove-section=.comment --remove-section=.note debian/tmp/usr/bin/the -endif +endif cp README TODO debian/tmp/usr/share/doc/the cp HISTORY debian/tmp/usr/share/doc/the/changelog cp debian/changelog debian/tmp/usr/share/doc/the/changelog.Debian cp debian/the.1 debian/tmp/usr/share/man/man1/the.1 - gzip -9f debian/tmp/usr/share/{doc/the/*,man/man1/the.1} + gzip -9nf debian/tmp/usr/share/{doc/the/*,man/man1/the.1} cp debian/copyright debian/tmp/usr/share/doc/the install -m755 debian/postinst debian/tmp/DEBIAN/postinst install -m755 debian/postrm debian/tmp/DEBIAN/postrm @@ -91,6 +102,8 @@ chmod -R go=rX debian/tmp* chmod 755 debian/md5_sums debian/md5_sums tmp + find debian/tmp -newermt "@$$SOURCE_DATE_EPOCH" -print0 | \ + xargs -0r touch --no-dereference --date="@$$SOURCE_DATE_EPOCH" dpkg --build debian/tmp .. define checkdir