diff -Nru newt-0.52.21/debian/changelog newt-0.52.21/debian/changelog --- newt-0.52.21/debian/changelog 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/changelog 2022-01-19 14:31:39.000000000 +0100 @@ -1,3 +1,19 @@ +newt (0.52.21-5ubuntu1) jammy; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Add correct build-dependencies on python3-all-dbg and + libpython3-all-dbg, needed due to debian/patches/snack.patch. + - Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + - Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + - Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Alexandre Ghiti Wed, 19 Jan 2022 14:31:39 +0100 + newt (0.52.21-5) unstable; urgency=medium * Standards-Version: 4.6.0 @@ -12,6 +28,64 @@ -- Alastair McKinstry Tue, 07 Sep 2021 10:59:05 +0100 +newt (0.52.21-4ubuntu8) jammy; urgency=medium + + * No-change rebuild to add python3.10. + + -- Matthias Klose Sat, 16 Oct 2021 06:57:10 +0000 + +newt (0.52.21-4ubuntu7) impish; urgency=medium + + * No-change rebuild to build packages with zstd compression. + + -- Matthias Klose Thu, 07 Oct 2021 12:21:30 +0200 + +newt (0.52.21-4ubuntu6) hirsute; urgency=medium + + * No-change rebuild to drop the udeb package. + + -- Matthias Klose Fri, 26 Feb 2021 08:11:32 +0100 + +newt (0.52.21-4ubuntu5) hirsute; urgency=medium + + * No-change rebuild to drop the udeb package. + + -- Matthias Klose Mon, 22 Feb 2021 10:35:39 +0100 + +newt (0.52.21-4ubuntu4) hirsute; urgency=medium + + * No-change rebuild to drop python3.8 extensions. + + -- Matthias Klose Mon, 07 Dec 2020 18:41:02 +0100 + +newt (0.52.21-4ubuntu3) hirsute; urgency=medium + + * No-change rebuild to build with python3.9 as supported. + + -- Matthias Klose Sat, 24 Oct 2020 10:53:13 +0200 + +newt (0.52.21-4ubuntu2) focal; urgency=medium + + * No-change rebuild to drop python3.7. + + -- Matthias Klose Tue, 18 Feb 2020 10:21:04 +0100 + +newt (0.52.21-4ubuntu1) focal; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Add correct build-dependencies on python3-all-dbg and + libpython3-all-dbg, needed due to debian/patches/snack.patch. + - Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + - Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + - Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Steve Langasek Thu, 13 Feb 2020 11:44:47 -0800 + newt (0.52.21-4) unstable; urgency=medium * Switch from sgmltools-lite to docbook-utils for py2, sgmltools orphaned. @@ -20,6 +94,22 @@ -- Alastair McKinstry Tue, 17 Dec 2019 07:32:55 +0000 +newt (0.52.21-3ubuntu1) focal; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Add correct build-dependencies on python3-all-dbg and + libpython3-all-dbg, needed due to debian/patches/snack.patch. + - Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + - Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + - Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Steve Langasek Fri, 18 Oct 2019 14:54:37 -0700 + newt (0.52.21-3) unstable; urgency=medium * Move to Standards-Version: 4.4.0 @@ -29,6 +119,22 @@ -- Alastair McKinstry Sun, 01 Sep 2019 16:59:14 +0100 +newt (0.52.21-2ubuntu1) eoan; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Add correct build-dependencies on python3-all-dbg and + libpython3-all-dbg, needed due to debian/patches/snack.patch. + - Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + - Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + - Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Steve Langasek Mon, 15 Jul 2019 22:16:32 -0700 + newt (0.52.21-2) unstable; urgency=medium * Standards-Version: 4.3.0 @@ -36,6 +142,22 @@ -- Alastair McKinstry Sun, 14 Jul 2019 12:14:59 +0100 +newt (0.52.21-1ubuntu1) eoan; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Add correct build-dependencies on python{3,}-all-dbg, needed due to + debian/patches/snack.patch. + - Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + - Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + - Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Steve Langasek Wed, 19 Jun 2019 14:05:19 -0700 + newt (0.52.21-1) unstable; urgency=medium * New upstream release @@ -44,6 +166,31 @@ -- Alastair McKinstry Sun, 16 Jun 2019 13:56:51 +0100 +newt (0.52.20-8ubuntu2) eoan; urgency=medium + + * Revert Debian's dropping of /etc/newt/palette.original, used as an + alternative in Ubuntu. + * Remove libnewt0.52.preinst altogether, which contains destructive + operations with none of the appropriate version guards. + * Drop call to update-alternatives --auto in our postinst, which would + clobber the user's settings. + + -- Steve Langasek Mon, 29 Apr 2019 15:54:40 -0700 + +newt (0.52.20-8ubuntu1) eoan; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + * Dropped changes: + - "Revert the stage1 changes": not a delta that's worth carrying. + - Install library into /lib instead of /usr/lib: no longer relevant as + /usr is now guaranteed to be mounted early in boot. + - Install whiptail in /bin instead of /usr/bin: no longer relevant. + + -- Steve Langasek Mon, 29 Apr 2019 10:41:12 -0700 + newt (0.52.20-8) unstable; urgency=medium * Don't ship /etc/newt/palette.original. Closes: #909030 @@ -60,6 +207,25 @@ -- Alastair McKinstry Mon, 17 Sep 2018 13:58:51 +0100 +newt (0.52.20-6ubuntu2) disco; urgency=medium + + * No-change rebuild to build without python3.6 support. + + -- Matthias Klose Sat, 03 Nov 2018 12:07:52 +0000 + +newt (0.52.20-6ubuntu1) cosmic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + - Install library into /lib instead of /usr/lib. + - Revert the stage1 changes, the package can be cross-built without it. + - Follow /lib install change for udeb as well + + -- Julian Andres Klode Thu, 13 Sep 2018 12:16:53 +0200 + newt (0.52.20-6) unstable; urgency=medium * Bump automake version to 1.16. Closes: #906494 @@ -75,6 +241,33 @@ -- Alastair McKinstry Thu, 28 Jun 2018 09:50:38 +0100 +newt (0.52.20-4ubuntu3) cosmic; urgency=medium + + * Renable libnewt0.52-udeb as this is needed by cdebconf-terminal + and transitivly debian-installer. + + -- Andy Whitcroft Wed, 15 Aug 2018 16:51:43 +0100 + +newt (0.52.20-4ubuntu2) cosmic; urgency=medium + + * No-change rebuild to build for python3.7. + + -- Matthias Klose Thu, 28 Jun 2018 06:53:58 +0000 + +newt (0.52.20-4ubuntu1) cosmic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + - Install library into /lib instead of /usr/lib. + - Revert the stage1 changes, the package can be cross-built without it. + * Follow /lib install change for udeb as well + * Disable libnewt0.52-udeb for now + + -- Julian Andres Klode Mon, 28 May 2018 17:39:26 +0200 + newt (0.52.20-4) unstable; urgency=medium * Drop Priority: important for whiptail, to minimize system size. @@ -112,6 +305,18 @@ -- Alastair McKinstry Tue, 30 Jan 2018 08:46:27 +0000 +newt (0.52.20-1ubuntu1) bionic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + - Install library into /lib instead of /usr/lib. + - Revert the stage1 changes, the package can be cross-built without it. + + -- Julian Andres Klode Fri, 12 Jan 2018 17:42:24 +0100 + newt (0.52.20-1) unstable; urgency=medium * New upstream release. Closes: #847729 @@ -128,6 +333,37 @@ -- Alastair McKinstry Sat, 15 Oct 2016 09:00:06 +0100 +newt (0.52.18-3ubuntu3) artful; urgency=medium + + * No change rebuild to drop Python 3.5 support. + + -- Michael Hudson-Doyle Fri, 04 Aug 2017 16:26:51 +1200 + +newt (0.52.18-3ubuntu2) artful; urgency=medium + + * No change rebuild to add Python 3.6 support. + + -- Michael Hudson-Doyle Fri, 12 May 2017 12:08:54 +1200 + +newt (0.52.18-3ubuntu1) yakkety; urgency=medium + + * Merge with Debian; remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + - Install library into /lib instead of /usr/lib. + - Revert the stage1 changes, the package can be cross-built without it. + + -- Matthias Klose Thu, 19 May 2016 19:20:58 +0200 + +newt (0.52.18-3) unstable; urgency=medium + + * Rebuild against python3.5 for transition + * Standards-Version: 3.9.7. No changes required. + + -- Alastair McKinstry Tue, 01 Mar 2016 22:05:40 +0000 + newt (0.52.18-2) unstable; urgency=medium * bidi.patch: Look for libfribidi in multi-arch directory. @@ -141,6 +377,24 @@ -- Alastair McKinstry Tue, 29 Dec 2015 10:21:48 +0000 +newt (0.52.18-1ubuntu2) xenial; urgency=medium + + * No-change rebuild to drop python3.4 support. + + -- Matthias Klose Mon, 18 Jan 2016 19:39:21 +0000 + +newt (0.52.18-1ubuntu1) wily; urgency=medium + + * Merge with Debian; remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + - Install library into /lib instead of /usr/lib. + * Revert the stage1 changes, the package can be cross-built without it. + + -- Matthias Klose Thu, 27 Aug 2015 13:51:20 +0200 + newt (0.52.18-1) unstable; urgency=medium * New upstream release. @@ -168,6 +422,35 @@ -- Alastair McKinstry Mon, 09 Jun 2014 09:38:39 +0100 +newt (0.52.15-3ubuntu4) wily; urgency=medium + + * Fix the abi tag for python3.5. LP: #1477759. + + -- Matthias Klose Fri, 24 Jul 2015 22:25:34 +0200 + +newt (0.52.15-3ubuntu3) wily; urgency=medium + + * No-change rebuild for python3.5 transition + + -- Steve Langasek Wed, 22 Jul 2015 20:29:04 +0000 + +newt (0.52.15-3ubuntu2) wily; urgency=medium + + * No-change rebuild for python3.5 transition + + -- Steve Langasek Wed, 22 Jul 2015 19:03:09 +0000 + +newt (0.52.15-3ubuntu1) utopic; urgency=low + + * Merge from Debian unstable. Remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + * Still build with tcl8.5 (8.6 is in universe). + + -- Michael Vogt Tue, 03 Jun 2014 21:38:03 +0200 + newt (0.52.15-3) unstable; urgency=low * Fix handling of alternatives for /etc/newt/palette in M-A package @@ -175,6 +458,42 @@ -- Alastair McKinstry Mon, 09 Sep 2013 16:27:24 +0100 +newt (0.52.15-2ubuntu5) trusty; urgency=medium + + * No-change rebuild to drop Python 3.3 support. + + -- Matthias Klose Sun, 23 Mar 2014 15:28:29 +0000 + +newt (0.52.15-2ubuntu4) trusty; urgency=medium + + * Rebuild for python3.4 as a supported python version. + + -- Matthias Klose Sat, 04 Jan 2014 18:31:26 +0000 + +newt (0.52.15-2ubuntu3) trusty; urgency=medium + + * Build for Tcl 8.6. + * Rename the python extension to the multiarch name. + + -- Matthias Klose Thu, 02 Jan 2014 17:24:22 +0100 + +newt (0.52.15-2ubuntu2) trusty; urgency=medium + + * Allow the package to cross build. + + -- Matthias Klose Sun, 08 Dec 2013 21:34:41 +0100 + +newt (0.52.15-2ubuntu1) saucy; urgency=low + + * Merge with Debian; remaining changes: + - Fix python-* package descriptions. + - Install/remove alternatives for the ubuntu palette. + - Don't install python-newt example files. + - Install whiptail in /bin instead of /usr/bin. + * Still build with tcl8.5 (8.6 is in universe). + + -- Matthias Klose Mon, 01 Jul 2013 23:06:29 +0200 + newt (0.52.15-2) unstable; urgency=low * Ensure unowned files get removed on purge.( /etc/newt/palette). @@ -209,6 +528,69 @@ -- Sebastian Ramacher Mon, 25 Feb 2013 19:58:40 +0100 +newt (0.52.14-11ubuntu7) raring; urgency=low + + * debian/palette.ubuntu, debian/palette.debian: LP: #1155441 + - update the palette configuration file for the Ubuntu palette + - the previous palette configuration file was read by a patch that + upstream did not accept; upstream did enable the configurable + palette feature, but the file format is completely different + - update palette.ubuntu to set the necessary values to magenta + - update palette.original, zeroing it out to empty (which will + default to the upstream default colors + + -- Dustin Kirkland Thu, 14 Mar 2013 23:52:24 -0500 + +newt (0.52.14-11ubuntu6) raring; urgency=low + + * debian/patches/python3.patch: Fix the $$variant tests in Makefile.in. + -z means to check for zero length (-n is for non-zero length). This + got the order of the _snack{,_d}.so files reversed. (LP: #1097922) + + -- Barry Warsaw Wed, 13 Feb 2013 15:16:35 -0500 + +newt (0.52.14-11ubuntu5) raring; urgency=low + + * Modified python3.patch (LP: #1092117). + - New snack.py depends on string modules. + + -- Mitsuya Shibata Sun, 23 Dec 2012 17:52:33 +0900 + +newt (0.52.14-11ubuntu4) raring; urgency=low + + * Fix link target of libnewt.so to cope with move to /lib. + + -- Colin Watson Wed, 28 Nov 2012 14:14:01 +0000 + +newt (0.52.14-11ubuntu3) raring; urgency=low + + * Build-depend on python3-all-dev. + + -- Matthias Klose Thu, 08 Nov 2012 18:04:44 +0100 + +newt (0.52.14-11ubuntu1) raring; urgency=low + + * Merge with Debian; remaining changes: + - Port python module to python3. + - Fix installation for multiple python3 versions. + - Move libnewt to /lib and whiptail to /bin so they can be used by + friendly-recovery on systems that have a separate /usr. + - debian/libnewt0.52.install, debian/libnewt0.52.postinst, + debian/palette => debian/palette.original: + - move palette from /usr to /etc such that they can be edited by an + admin. + * Configure --with-colorsfile=/etc/newt/palette. + + -- Matthias Klose Thu, 08 Nov 2012 14:50:00 +0100 + +newt (0.52.14-11.1) unstable; urgency=low + + * Non-maintainer upload. + * python-newt-dbg.preinst: Handle symlink to directory conversion. (Closes: + #700781) + + -- Sebastian Ramacher Mon, 25 Feb 2013 19:58:40 +0100 + newt (0.52.14-11) unstable; urgency=low * Add Latvian translation. Closes: #674705. @@ -301,6 +683,111 @@ -- Alastair McKinstry Sat, 03 Dec 2011 10:56:05 +0000 +newt (0.52.11-2ubuntu12) raring; urgency=low + + * Fix build failure with python3.3. + + -- Matthias Klose Mon, 22 Oct 2012 18:07:37 +0200 + +newt (0.52.11-2ubuntu11) quantal; urgency=low + + [ James Hunt ] + * Port python module to python3: + - Introduces python3-newt and python3-newt-dbg. + - Update build-depend to require python3-all-dev. + + [ Stéphane Graber ] + * Port python module to python3: + - Make a debian/patches patch out of James' changes. + - Add missing python3-all-dbg build-dependency. + - Fix debian/rules generated symlinks to work with the python3 + packages. + - Fix the Provides and Depends of the python3 packages. + + -- Stéphane Graber Wed, 13 Jun 2012 18:31:46 -0400 + +newt (0.52.11-2ubuntu10) precise; urgency=low + + * Move libnewt to /lib and whiptail to /bin so they can be used by + friendly-recovery on systems that have a separate /usr. + + -- Stéphane Graber Wed, 08 Feb 2012 23:23:34 -0500 + +newt (0.52.11-2ubuntu9) precise; urgency=low + + * Insert missing space in debian/patches/030_tcl8.5.patch + + -- Adam Conrad Sun, 20 Nov 2011 23:28:49 -0700 + +newt (0.52.11-2ubuntu8) oneiric; urgency=low + + * Convert to dh_python2 (Debian #616915, LP: #788514). + + -- Colin Watson Mon, 27 Jun 2011 11:59:01 +0100 + +newt (0.52.11-2ubuntu7) natty; urgency=low + + * debian/libnewt0.52.postinst: revert part of last change, do install + the original newt alternative, such that it's discoverable, other + packages will use --set to select + + -- Dustin Kirkland Tue, 22 Mar 2011 08:25:07 -0500 + +newt (0.52.11-2ubuntu6) natty; urgency=low + + * debian/libnewt0.52.postinst: don't add the newt-palette original + alternate to update-alternatives; let other packages or humans do this; + otherwise, every time this package upgrades, it would overwrite others' + choices + + -- Dustin Kirkland Sun, 20 Mar 2011 17:48:26 -0500 + +newt (0.52.11-2ubuntu5) natty; urgency=low + + * debian/libnewt0.52.install, debian/libnewt0.52.postinst, + debian/palette => debian/palette.original: + - move palette from /usr to /etc such that they can be edited by an + admin, LP: #738992 + + -- Dustin Kirkland Sun, 20 Mar 2011 17:24:08 -0500 + +newt (0.52.11-2ubuntu4) natty; urgency=low + + Fixes for LP: #737948 + * debian/patches/800_ubuntu_skin.patch, + debian/patches/801_configurable-palette.patch: + - drop the hardcoded color changes + - instead, read color values from /etc/newt/palette, if readable + * debian/libnewt0.52.install, debian/libnewt0.52.postinst, + debian/palette, debian/palette.ubuntu, debian/libnewt0.52.dirs: + - install the default palette, and an ubuntu palette, use the + update-alternatives system to set + + -- Dustin Kirkland Fri, 18 Mar 2011 21:56:08 -0500 + +newt (0.52.11-2ubuntu3) natty; urgency=low + + * debian/patches/800_ubuntu_skin.patch: LP: #730672 + - add an Ubuntu skin to newt colors, changing blue to magenta + - note that 'magenta' is actually be aubergine, when coupled + with the console-setup and kbd fixes for LP: #730672 + + -- Dustin Kirkland Thu, 17 Mar 2011 19:00:51 -0500 + +newt (0.52.11-2ubuntu2) natty; urgency=low + + * Rebuild to add support for python 2.7. + + -- Matthias Klose Fri, 03 Dec 2010 00:05:11 +0000 + +newt (0.52.11-2ubuntu1) natty; urgency=low + + * Resynchronise with Debian. Remaining changes: + - 020_bidi.patch: Link with -ldl for dlopen, so that we work properly + with GCC versions that default to --no-add-needed. + + -- Colin Watson Sun, 17 Oct 2010 02:22:58 +0100 + newt (0.52.11-2) unstable; urgency=low * Icelandic translation thanks to Sveinn í Felli. Closes: #3600258, #592828. @@ -312,6 +799,13 @@ -- Alastair McKinstry Sat, 16 Oct 2010 15:10:47 +0100 +newt (0.52.11-1ubuntu1) natty; urgency=low + + * 020_bidi.patch: Link with -ldl for dlopen, so that we work properly with + GCC versions that default to --no-add-needed. + + -- Colin Watson Fri, 15 Oct 2010 16:25:00 +0100 + newt (0.52.11-1) unstable; urgency=low * New upstream. Closes: #575561. diff -Nru newt-0.52.21/debian/control newt-0.52.21/debian/control --- newt-0.52.21/debian/control 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/control 2022-01-19 14:31:28.000000000 +0100 @@ -1,7 +1,8 @@ Source: newt Section: devel Priority: optional -Maintainer: Alastair McKinstry +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Alastair McKinstry Vcs-Browser: https://salsa.debian.org:/mckinstry/newt.git Vcs-Git: https://salsa.debian.org:/mckinstry/newt.git -b debian/latest Standards-Version: 4.6.0 @@ -17,7 +18,8 @@ dh-sequence-python3 , python3-all-dev:any , python3-all-dbg:any , - libpython3-all-dev + libpython3-all-dev , + libpython3-all-dbg Package: libnewt-dev Architecture: any diff -Nru newt-0.52.21/debian/libnewt0.52.install newt-0.52.21/debian/libnewt0.52.install --- newt-0.52.21/debian/libnewt0.52.install 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/libnewt0.52.install 2021-10-17 13:00:33.000000000 +0200 @@ -1,3 +1,5 @@ usr/share/locale usr/lib/*/libnewt.so.0.52.21 usr/lib/*/libnewt.so.0.52 +../../debian/palette.original etc/newt/ +../../debian/palette.ubuntu etc/newt/ diff -Nru newt-0.52.21/debian/libnewt0.52.postinst newt-0.52.21/debian/libnewt0.52.postinst --- newt-0.52.21/debian/libnewt0.52.postinst 1970-01-01 01:00:00.000000000 +0100 +++ newt-0.52.21/debian/libnewt0.52.postinst 2019-04-30 00:54:40.000000000 +0200 @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + configure|abort-remove|abort-deconfigure) + # Install alternatives + # update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.original 20 + update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.ubuntu 50 + update-alternatives --install /etc/newt/palette newt-palette /etc/newt/palette.original 20 + ;; + abort-upgrade) + # Nothing to undo + :; + ;; + + *) + echo "$0: Undocumented call: \"$@\"" >&2 + exit 1 + ;; +esac diff -Nru newt-0.52.21/debian/libnewt0.52.preinst newt-0.52.21/debian/libnewt0.52.preinst --- newt-0.52.21/debian/libnewt0.52.preinst 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/libnewt0.52.preinst 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - - -rm -f /etc/newt/palette* - -# Cleanup broken alternatives. See #868056 -update-alternatives --quiet --remove-all newt-palette >/dev/null 2>&1 || true - -#DEBHELPER# - -exit 0 -~ diff -Nru newt-0.52.21/debian/libnewt0.52.prerm newt-0.52.21/debian/libnewt0.52.prerm --- newt-0.52.21/debian/libnewt0.52.prerm 1970-01-01 01:00:00.000000000 +0100 +++ newt-0.52.21/debian/libnewt0.52.prerm 2016-05-19 19:24:33.000000000 +0200 @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then + update-alternatives --remove-all newt-palette +fi + +exit 0 diff -Nru newt-0.52.21/debian/python3-newt.examples newt-0.52.21/debian/python3-newt.examples --- newt-0.52.21/debian/python3-newt.examples 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/python3-newt.examples 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -peanuts.py -popcorn.py diff -Nru newt-0.52.21/debian/rules newt-0.52.21/debian/rules --- newt-0.52.21/debian/rules 2021-09-07 11:59:05.000000000 +0200 +++ newt-0.52.21/debian/rules 2021-10-17 13:00:33.000000000 +0200 @@ -40,6 +40,7 @@ rm -rf Makefile config.h* config.log config.status .depend libnewt.pc \ configure install-sh po/*.mo python* tutorial libnewt_pic.a po/newt.pot rm -f debian/shlibs.local + rm -f debian/python*-newt*.examples override_dh_auto_configure: # Nasty hack. why is it necessary?