diff -pruN 0.261/debian/cdebconf-newt-udeb.install 0.261ubuntu1/debian/cdebconf-newt-udeb.install
--- 0.261/debian/cdebconf-newt-udeb.install	2011-05-26 22:13:57.000000000 +0000
+++ 0.261ubuntu1/debian/cdebconf-newt-udeb.install	2022-02-04 21:56:59.000000000 +0000
@@ -1 +1,5 @@
 udeb/usr/lib/cdebconf/frontend/newt* usr/lib/cdebconf/frontend
+../../debian/palette etc/newt
+../../debian/palette.dark etc/newt
+../../debian/palette.original etc/newt
+../../debian/palette.ubuntu etc/newt
diff -pruN 0.261/debian/changelog 0.261ubuntu1/debian/changelog
--- 0.261/debian/changelog	2021-11-12 19:25:16.000000000 +0000
+++ 0.261ubuntu1/debian/changelog	2022-02-04 21:56:59.000000000 +0000
@@ -1,3 +1,16 @@
+cdebconf (0.261ubuntu1) jammy; urgency=medium
+
+  * Merge with Debian; remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+    - Allow to build without udeb packages.
+
+ -- Matthias Klose <doko@ubuntu.com>  Fri, 04 Feb 2022 22:56:59 +0100
+
 cdebconf (0.261) unstable; urgency=medium
 
   * Team upload.
@@ -72,6 +85,36 @@ cdebconf (0.257) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Fri, 19 Mar 2021 19:21:24 +0100
 
+cdebconf (0.256ubuntu4) impish; urgency=medium
+
+  * No-change rebuild to build packages with zstd compression.
+
+ -- Matthias Klose <doko@ubuntu.com>  Thu, 07 Oct 2021 12:10:03 +0200
+
+cdebconf (0.256ubuntu3) hirsute; urgency=medium
+
+  * Allow to build without udeb packages.
+
+ -- Matthias Klose <doko@ubuntu.com>  Thu, 25 Feb 2021 13:33:22 +0100
+
+cdebconf (0.256ubuntu2) hirsute; urgency=medium
+
+  * No-change rebuild to drop the udeb package.
+
+ -- Matthias Klose <doko@ubuntu.com>  Mon, 22 Feb 2021 10:30:25 +0100
+
+cdebconf (0.256ubuntu1) hirsute; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 06 Jan 2021 18:01:37 -0800
+
 cdebconf (0.256) unstable; urgency=medium
 
   * Team upload
@@ -84,6 +127,18 @@ cdebconf (0.256) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Wed, 30 Dec 2020 22:45:44 +0100
 
+cdebconf (0.255ubuntu1) hirsute; urgency=low
+
+  * Merge from Debian unstable. Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 05 Nov 2020 15:59:19 -0800
+
 cdebconf (0.255) unstable; urgency=medium
 
   [ Samuel Thibault ]
@@ -101,6 +156,18 @@ cdebconf (0.255) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Wed, 28 Oct 2020 23:16:46 +0100
 
+cdebconf (0.254ubuntu1) hirsute; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Sat, 24 Oct 2020 17:11:51 -0700
+
 cdebconf (0.254) unstable; urgency=medium
 
   * Team upload
@@ -122,6 +189,18 @@ cdebconf (0.253) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Sun, 05 Jul 2020 21:36:47 +0200
 
+cdebconf (0.252ubuntu1) groovy; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Tue, 09 Jun 2020 13:14:47 -0700
+
 cdebconf (0.252) unstable; urgency=medium
 
   * Team upload
@@ -139,6 +218,18 @@ cdebconf (0.252) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Sun, 10 May 2020 17:45:10 +0200
 
+cdebconf (0.251ubuntu1) focal; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+    - Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Sat, 01 Feb 2020 21:18:17 -0800
+
 cdebconf (0.251) unstable; urgency=medium
 
   * Team upload
@@ -149,6 +240,23 @@ cdebconf (0.251) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Fri, 31 Jan 2020 23:08:40 +0100
 
+cdebconf (0.250ubuntu2) focal; urgency=medium
+
+  * Don't build cdebconf-{gtk,newt}-udeb on i386.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 20 Dec 2019 17:54:42 +0000
+
+cdebconf (0.250ubuntu1) focal; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Fri, 25 Oct 2019 21:15:28 -0700
+
 cdebconf (0.250) unstable; urgency=medium
 
   * Team upload.
@@ -167,6 +275,17 @@ cdebconf (0.250) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Sat, 19 Oct 2019 23:13:58 +0200
 
+cdebconf (0.249ubuntu1) eoan; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 22 Apr 2019 12:49:42 -0700
+
 cdebconf (0.249) unstable; urgency=medium
 
   * Team upload.
@@ -184,6 +303,17 @@ cdebconf (0.248) unstable; urgency=mediu
 
  -- Samuel Thibault <sthibault@debian.org>  Fri, 01 Mar 2019 19:00:17 -0800
 
+cdebconf (0.247ubuntu1) disco; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Mon, 11 Feb 2019 11:33:41 -0800
+
 cdebconf (0.247) unstable; urgency=medium
 
   * Team upload.
@@ -197,6 +327,17 @@ cdebconf (0.247) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Sat, 09 Feb 2019 17:26:54 +0100
 
+cdebconf (0.246ubuntu1) disco; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Thu, 31 Jan 2019 23:05:46 -0800
+
 cdebconf (0.246) unstable; urgency=medium
 
   * Team upload.
@@ -234,6 +375,17 @@ cdebconf (0.245) unstable; urgency=mediu
 
  -- Holger Wansing <hwansing@mailbox.org>  Wed, 26 Sep 2018 22:04:21 +0200
 
+cdebconf (0.244ubuntu1) cosmic; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Steve Langasek <steve.langasek@ubuntu.com>  Wed, 19 Sep 2018 03:07:26 +0200
+
 cdebconf (0.244) unstable; urgency=medium
 
   * Team upload.
@@ -481,6 +633,19 @@ cdebconf (0.214) unstable; urgency=mediu
 
  -- Christian Perrier <bubulle@debian.org>  Fri, 15 Jul 2016 19:51:11 +0200
 
+cdebconf (0.213ubuntu1) yakkety; urgency=medium
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+  * Drop Vcs-Bzr:. Merges into bzr from git are really inconvenient, and there
+    hasn't been any Ubuntu development for this package in years.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Wed, 08 Jun 2016 11:57:08 +0200
+
 cdebconf (0.213) unstable; urgency=medium
 
   * Rebuild with translations really back in place...:-)
@@ -604,6 +769,17 @@ cdebconf (0.199) unstable; urgency=mediu
 
  -- Christian Perrier <bubulle@debian.org>  Mon, 30 Nov 2015 07:19:19 +0100
 
+cdebconf (0.198ubuntu1) xenial; urgency=low
+
+  * Merge from Debian unstable.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Martin Pitt <martin.pitt@ubuntu.com>  Thu, 26 Nov 2015 21:49:45 +0100
+
 cdebconf (0.198) unstable; urgency=medium
 
   [ Regis Boudin ]
@@ -671,6 +847,17 @@ cdebconf (0.193) unstable; urgency=mediu
 
  -- Christian Perrier <bubulle@debian.org>  Wed, 13 May 2015 06:59:16 +0200
 
+cdebconf (0.192ubuntu1) vivid; urgency=medium
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 11 Nov 2014 13:23:44 +0000
+
 cdebconf (0.192) unstable; urgency=low
 
   * Drop cdebconf-slang-udeb from debian/control instead of using the
@@ -681,6 +868,17 @@ cdebconf (0.192) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Tue, 09 Sep 2014 08:39:44 +0200
 
+cdebconf (0.191ubuntu1) utopic; urgency=medium
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 05 Jun 2014 10:53:24 +0100
+
 cdebconf (0.191) unstable; urgency=low
 
   [ Updated translations ]
@@ -688,6 +886,17 @@ cdebconf (0.191) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Wed, 14 May 2014 06:43:40 +0200
 
+cdebconf (0.190ubuntu1) utopic; urgency=medium
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 30 Apr 2014 10:34:40 +0100
+
 cdebconf (0.190) unstable; urgency=medium
 
   * Resize banner when window width and banner width don't match
@@ -720,6 +929,17 @@ cdebconf (0.188) unstable; urgency=mediu
 
  -- Cyril Brulebois <kibi@debian.org>  Fri, 28 Feb 2014 21:49:31 +0300
 
+cdebconf (0.187ubuntu1) trusty; urgency=medium
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 13 Jan 2014 18:23:04 +0000
+
 cdebconf (0.187) unstable; urgency=medium
 
   * Convert library packages to multiarch.
@@ -733,6 +953,17 @@ cdebconf (0.186) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Sun, 15 Dec 2013 14:13:01 +0100
 
+cdebconf (0.185ubuntu1) trusty; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Fri, 25 Oct 2013 17:56:30 +0100
+
 cdebconf (0.185) unstable; urgency=low
 
   * Drop useless shlibs.local file. Thanks to Sven Joachim
@@ -794,6 +1025,17 @@ cdebconf (0.183) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Tue, 16 Jul 2013 20:29:00 +0200
 
+cdebconf (0.182ubuntu1) saucy; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 30 Apr 2013 01:10:07 +0100
+
 cdebconf (0.182) unstable; urgency=low
 
   [ Updated translations ]
@@ -801,6 +1043,17 @@ cdebconf (0.182) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Sat, 30 Mar 2013 16:00:24 +0100
 
+cdebconf (0.181ubuntu1) raring; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 08 Jan 2013 16:24:51 +0000
+
 cdebconf (0.181) unstable; urgency=low
 
   * Fix the display of info messages (e.g. “Rescue mode”) by aligning them
@@ -817,6 +1070,31 @@ cdebconf (0.180) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Sun, 09 Dec 2012 16:33:29 +0100
 
+cdebconf (0.179ubuntu3) raring; urgency=low
+
+  * Call newtInit after establishing /etc/newt/palette symlink.
+  * Reformat palettes to match upstream file format in newt 0.52.13
+    (LP: #1089331).
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 13 Dec 2012 13:13:42 +0000
+
+cdebconf (0.179ubuntu2) raring; urgency=low
+
+  * Rebuild against libnewt-dev with fixed libnewt.so symlink.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 28 Nov 2012 15:21:41 +0000
+
+cdebconf (0.179ubuntu1) raring; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 28 Nov 2012 13:24:36 +0000
+
 cdebconf (0.179) unstable; urgency=low
 
   [ Updated translations ]
@@ -915,6 +1193,17 @@ cdebconf (0.173) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Sat, 25 Aug 2012 08:10:43 +0200
 
+cdebconf (0.172ubuntu1) quantal; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 20 Aug 2012 18:23:32 +0100
+
 cdebconf (0.172) unstable; urgency=low
 
   * Add myself to Uploaders and remove inactive developers from there
@@ -934,6 +1223,17 @@ cdebconf (0.171) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Tue, 03 Jul 2012 23:15:58 +0200
 
+cdebconf (0.170ubuntu1) quantal; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 03 Jul 2012 11:11:30 +0100
+
 cdebconf (0.170) unstable; urgency=low
 
   * Team upload
@@ -979,6 +1279,17 @@ cdebconf (0.167) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Thu, 21 Jun 2012 20:35:02 +0200
 
+cdebconf (0.166ubuntu1) quantal; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Thu, 21 Jun 2012 10:16:15 +0100
+
 cdebconf (0.166) unstable; urgency=low
 
   * Team upload
@@ -1038,6 +1349,17 @@ cdebconf (0.162) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Fri, 15 Jun 2012 18:41:25 +0200
 
+cdebconf (0.161ubuntu1) quantal; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 11 Jun 2012 14:14:04 +0100
+
 cdebconf (0.161) unstable; urgency=low
 
   [Christian Perrier]
@@ -1061,6 +1383,17 @@ cdebconf (0.161) unstable; urgency=low
 
  -- Regis Boudin <regis@debian.org>  Sun, 10 Jun 2012 14:33:35 +0200
 
+cdebconf (0.160ubuntu1) quantal; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 07 May 2012 15:40:38 +0100
+
 cdebconf (0.160) unstable; urgency=high
 
   * Fix cdebconf-gtk regression from 0.159 causing a fatal error on startup
@@ -1095,6 +1428,18 @@ cdebconf (0.159) unstable; urgency=low
 
  -- Regis Boudin <regis@debian.org>  Mon, 12 Mar 2012 20:18:10 +0100
 
+cdebconf (0.158ubuntu1) precise; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+  * Build cleanly with glib >= 2.31.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Tue, 20 Dec 2011 17:56:04 +0000
+
 cdebconf (0.158) unstable; urgency=low
 
   [ Regis Boudin ]
@@ -1121,6 +1466,17 @@ cdebconf (0.158) unstable; urgency=low
 
  -- Regis Boudin <regis@debian.org>  Sun, 20 Nov 2011 14:45:06 +0000
 
+cdebconf (0.157ubuntu1) precise; urgency=low
+
+  * Resynchronise with Debian.  Remaining changes:
+    - Read newt palette from /etc/newt/palette, symlinked at initialisation
+      according to FRONTEND_BACKGROUND.
+    - Install palettes for [original, dark, ubuntu].
+    - Install a default /etc/newt/palette symlink to
+      /etc/newt/palette.ubuntu.
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Mon, 17 Oct 2011 22:48:23 +0100
+
 cdebconf (0.157) unstable; urgency=low
 
   [ Regis Boudin ]
@@ -1201,6 +1557,29 @@ cdebconf (0.155) unstable; urgency=low
 
  -- Christian Perrier <bubulle@debian.org>  Fri, 22 Apr 2011 22:33:35 +0200
 
+cdebconf (0.154ubuntu2) natty; urgency=low
+
+  Fix for LP: #730672
+  * src/modules/frontend/newt/newt.c:
+    - use Ubuntu newt's new ability to read palette from configuration file
+    - establish a symlink to /etc/newt/palette at initialization according
+      to an optional FRONTEND_BACKGROUND kernel parameter
+  * debian/palette*, debian/cdebconf-newt-udeb.install:
+    - install palettes for [original, dark, ubuntu]
+    - install a default /etc/newt/palette symlink to /etc/newt/palette.ubuntu
+    - other derivatives can install their palette at /etc/newt/palette.FOO
+      and set the FRONTEND_BACKGROUND=FOO kernel parameter
+
+ -- Dustin Kirkland <kirkland@ubuntu.com>  Tue, 29 Mar 2011 12:22:21 -0500
+
+cdebconf (0.154ubuntu1) natty; urgency=low
+
+  * Appease compiler warnings in align_text_renderer_render.  (In practice
+    x_offset and y_offset are never uninitialised here, but knowing that
+    requires knowing that cell_area can never be NULL.)
+
+ -- Colin Watson <cjwatson@ubuntu.com>  Wed, 23 Feb 2011 13:32:53 +0000
+
 cdebconf (0.154) unstable; urgency=low
 
   [ Joey Hess ]
@@ -4264,3 +4643,4 @@ cdebconf (0.10-1) experimental; urgency=
   * Initial Release.
 
  -- Randolph Chung <tausq@debian.org>  Sun,  1 Oct 2000 15:54:15 -0700
+
diff -pruN 0.261/debian/control 0.261ubuntu1/debian/control
--- 0.261/debian/control	2021-10-31 15:36:24.000000000 +0000
+++ 0.261ubuntu1/debian/control	2022-02-04 21:56:59.000000000 +0000
@@ -14,7 +14,8 @@ Build-Depends:
  libselinux1-dev (>= 2.3) [linux-any] | libselinux-dev [linux-any],
  dh-autoreconf,
  dh-exec,
-Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
 Uploaders:
  Colin Watson <cjwatson@debian.org>,
  Cyril Brulebois <kibi@debian.org>
@@ -84,6 +85,7 @@ Priority: standard
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Provides: debconf-2.0
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Description: Debian Configuration Management System (C-implementation)
  Debconf is a configuration management system for Debian packages. It is
  used by some packages to prompt you for information before they are
@@ -99,6 +101,7 @@ Section: debian-installer
 Priority: standard
 Depends: cdebconf-udeb, ${misc:Depends}
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 XB-Installer-Menu-Item: 93000
 Description: Change debconf priority
  This is a udeb that allows you to change the priority limit for the
@@ -109,6 +112,7 @@ Architecture: any
 Section: debian-installer
 Depends: ${shlibs:Depends}, ${misc:Depends}, cdebconf-udeb
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Description: Debian Configuration Management System (C-implementation)
  Debconf is a configuration management system for Debian packages. It is
  used by some packages to prompt you for information before they are
@@ -122,6 +126,7 @@ Architecture: any
 Section: debian-installer
 Depends: cdebconf-udeb, ${shlibs:Depends}, ${misc:Depends}
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Description: Plain text frontend for Debian Configuration Management System
  Debconf is a configuration management system for Debian packages. It is
  used by some packages to prompt you for information before they are
@@ -136,6 +141,7 @@ Architecture: any
 Section: debian-installer
 Depends: cdebconf-udeb, di-utils-terminfo, ${shlibs:Depends}, ${misc:Depends}
 Package-Type: udeb
+Build-Profiles: <!noudeb>
 Description: Newt frontend for Debian Configuration Management System
  Debconf is a configuration management system for Debian packages. It is
  used by some packages to prompt you for information before they are
@@ -150,7 +156,7 @@ Architecture: any
 Section: debian-installer
 Depends: cdebconf-udeb, ${shlibs:Depends}, ${misc:Depends}, rootskel-gtk [!s390 !s390x]
 Package-Type: udeb
-Build-Profiles: <!pkg.cdebconf.nogtk>
+Build-Profiles: <!pkg.cdebconf.nogtk !noudeb>
 Description: Gtk+ frontend for Debian Configuration Management System
  Debconf is a configuration management system for Debian packages. It is
  used by some packages to prompt you for information before they are
diff -pruN 0.261/debian/palette 0.261ubuntu1/debian/palette
--- 0.261/debian/palette	1970-01-01 00:00:00.000000000 +0000
+++ 0.261ubuntu1/debian/palette	2022-02-04 21:56:59.000000000 +0000
@@ -0,0 +1,23 @@
+root=white,magenta
+border=black,lightgray
+window=black,lightgray
+shadow=white,black
+title=red,lightgray
+button=lightgray,red
+actbutton=red,lightgray
+checkbox=lightgray,magenta
+actcheckbox=lightgray,red
+entry=lightgray,magenta
+label=magenta,lightgray
+listbox=black,lightgray
+actlistbox=lightgray,magenta
+textbox=black,lightgray
+acttextbox=lightgray,red
+helpline=white,magenta
+roottext=lightgray,magenta
+emptyscale=,magenta
+fullscale=,red
+disentry=magenta,lightgray
+compactbutton=black,lightgray
+actsellistbox=lightgray,red
+sellistbox=black,brown
diff -pruN 0.261/debian/palette.dark 0.261ubuntu1/debian/palette.dark
--- 0.261/debian/palette.dark	1970-01-01 00:00:00.000000000 +0000
+++ 0.261ubuntu1/debian/palette.dark	2022-02-04 21:56:59.000000000 +0000
@@ -0,0 +1,23 @@
+root=white,black
+border=white,black
+window=white,black
+shadow=white,black
+title=yellow,black
+button=black,lightgray
+actbutton=gray,brightred
+checkbox=white,gray
+actcheckbox=black,lightgray
+entry=white,black
+label=brightred,black
+listbox=white,black
+actlistbox=yellow,blue
+textbox=white,black
+acttextbox=lightgray,black
+helpline=white,black
+roottext=yellow,blue
+emptyscale=,black
+fullscale=,blue
+disentry=blue,lightgray
+compactbutton=white,black
+actsellistbox=black,lightgray
+sellistbox=black,brown
diff -pruN 0.261/debian/palette.original 0.261ubuntu1/debian/palette.original
--- 0.261/debian/palette.original	1970-01-01 00:00:00.000000000 +0000
+++ 0.261ubuntu1/debian/palette.original	2022-02-04 21:56:59.000000000 +0000
@@ -0,0 +1,23 @@
+root=white,blue
+border=black,lightgray
+window=black,lightgray
+shadow=white,black
+title=red,lightgray
+button=lightgray,red
+actbutton=red,lightgray
+checkbox=lightgray,blue
+actcheckbox=lightgray,red
+entry=lightgray,blue
+label=blue,lightgray
+listbox=black,lightgray
+actlistbox=lightgray,blue
+textbox=black,lightgray
+acttextbox=lightgray,red
+helpline=white,blue
+roottext=lightgray,blue
+emptyscale=,blue
+fullscale=,red
+disentry=blue,lightgray
+compactbutton=black,lightgray
+actsellistbox=lightgray,red
+sellistbox=black,brown
diff -pruN 0.261/debian/palette.ubuntu 0.261ubuntu1/debian/palette.ubuntu
--- 0.261/debian/palette.ubuntu	1970-01-01 00:00:00.000000000 +0000
+++ 0.261ubuntu1/debian/palette.ubuntu	2022-02-04 21:56:59.000000000 +0000
@@ -0,0 +1,23 @@
+root=white,magenta
+border=black,lightgray
+window=black,lightgray
+shadow=white,black
+title=red,lightgray
+button=lightgray,red
+actbutton=red,lightgray
+checkbox=lightgray,magenta
+actcheckbox=lightgray,red
+entry=lightgray,magenta
+label=magenta,lightgray
+listbox=black,lightgray
+actlistbox=lightgray,magenta
+textbox=black,lightgray
+acttextbox=lightgray,red
+helpline=white,magenta
+roottext=lightgray,magenta
+emptyscale=,magenta
+fullscale=,red
+disentry=magenta,lightgray
+compactbutton=black,lightgray
+actsellistbox=lightgray,red
+sellistbox=black,brown
diff -pruN 0.261/debian/po/bo.po 0.261ubuntu1/debian/po/bo.po
--- 0.261/debian/po/bo.po	2016-09-14 22:42:38.000000000 +0000
+++ 0.261ubuntu1/debian/po/bo.po	2022-02-04 21:56:59.000000000 +0000
@@ -261,8 +261,9 @@ msgstr "འདེམས་ཐོའི
 #. Description
 #. :sl4:
 #: ../cdebconf-text-udeb.templates:6001
+#, fuzzy
 msgid "Select an empty entry"
-msgstr ""
+msgstr "གསོག་སྡེར་ཁག་ཞིག་འདེམས་པ"
 
 #. Type: text
 #. Description
diff -pruN 0.261/debian/rules 0.261ubuntu1/debian/rules
--- 0.261/debian/rules	2020-09-24 23:46:57.000000000 +0000
+++ 0.261ubuntu1/debian/rules	2022-02-04 21:56:59.000000000 +0000
@@ -12,6 +12,10 @@ udebbuild=debian/build-udeb
 
 include /usr/share/dpkg/architecture.mk
 
+ifeq (,$(filter noudeb, $(DEB_BUILD_PROFILES)))
+  with_udeb = yes
+endif
+
 CONFFILE=/etc/cdebconf.conf
 
 #package names
@@ -21,6 +25,11 @@ LIBDEBCONF=libdebconfclient0
 DEB_FRONTENDS=passthrough text newt gtk
 UDEB_FRONTENDS=passthrough text newt gtk
 
+ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes) $(DEB_HOST_ARCH), yes i386)
+   UDEB_FRONTENDS:=$(filter-out gtk newt,$(UDEB_FRONTENDS))
+   skip_packages = -Ncdebconf-gtk-udeb -Ncdebconf-newt-udeb
+endif
+
 ifneq ($(filter pkg.cdebconf.nogtk,$(DEB_BUILD_PROFILES)),)
     DEB_FRONTENDS:=$(filter-out gtk,$(DEB_FRONTENDS))
     UDEB_FRONTENDS:=$(filter-out gtk,$(UDEB_FRONTENDS))
@@ -42,7 +51,7 @@ ifneq (,$(findstring debug,$(DEB_BUILD_O
 	DEBUG_CONFIGURE_OPT=--with-debug=yes
 endif
 
-build: build-deb build-udeb
+build: build-deb $(if $(with_udeb),build-udeb)
 
 build-arch: build
 build-indep: build
@@ -104,8 +113,10 @@ install-arch: build
 	dh_testroot
 	dh_prep
 	$(MAKE) -C $(debbuild) install DESTDIR=$(CURDIR)/debian/tmp/deb
+ifeq ($(with_udeb),yes)
 	$(MAKE) -C $(udebbuild) install DESTDIR=$(CURDIR)/debian/tmp/udeb
-	dh_install -a
+endif
+	dh_install -a $(skip_packages)
 
 install-indep:
 
@@ -146,12 +157,12 @@ endif
 	dh_strip -a
 	dh_compress -a
 	dh_fixperms -a
-	dh_makeshlibs -a --add-udeb=libdebconfclient0-udeb
+	dh_makeshlibs -a $(if $(with_udeb),--add-udeb=libdebconfclient0-udeb)
 	dh_installdeb -a
 	dh_shlibdeps -a
-	dh_gencontrol -a
+	dh_gencontrol -a $(skip_packages)
 	dh_md5sums -a
-	dh_builddeb -a
+	dh_builddeb -a $(skip_packages)
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install
diff -pruN 0.261/src/modules/frontend/newt/newt.c 0.261ubuntu1/src/modules/frontend/newt/newt.c
--- 0.261/src/modules/frontend/newt/newt.c	2015-11-16 23:26:08.000000000 +0000
+++ 0.261ubuntu1/src/modules/frontend/newt/newt.c	2022-02-04 21:56:59.000000000 +0000
@@ -72,47 +72,6 @@ struct newt_data {
     struct question *scale_info;
 };
 
-struct newtColors newtAltColorPalette = {
-	/*"white", "blue",*/ 			/* root fg, bg */
-	"white", "black", 			/* root fg, bg */
-	/*"black", "lightgray",*/		/* border fg, bg */
-	"white", "black",			/* border fg, bg */
-	/*"black", "lightgray",*/		/* window fg, bg */
-	"white", "black",			/* window fg, bg */
-	/*"white", "black",*/			/* shadow fg, bg */
-	"white", "black",			/* shadow fg, bg */
-	/*"red", "lightgray",*/			/* title fg, bg */
-	"yellow", "black",			/* title fg, bg */
-	/*"brightred", "gray",*/		/* button fg, bg */
-	"black", "lightgray",			/* button fg, bg */
-	"gray", "brightred",			/* active button fg, bg */
-	"white", "gray",			/* checkbox fg, bg */
-	/*"yellow", "brown",*/			/* active checkbox fg, bg */
-	"black", "lightgray",			/* active checkbox fg, bg */
-	/*"yellow", "blue",*/			/* entry box fg, bg */
-	"white", "black",			/* entry box fg, bg */
-	/*"blue", "lightgray",*/		/* label fg, bg */
-	"brightred", "black",			/* label fg, bg */
-	/*"black", "lightgray",*/		/* listbox fg, bg */
-	"white", "black",			/* listbox fg, bg */
-	"yellow", "blue",			/* active listbox fg, bg */
-	/*"black", "lightgray",*/		/* textbox fg, bg */
-	"white", "black",			/* textbox fg, bg */
-	"lightgray", "black",			/* active textbox fg, bg */
-	/*"white", "blue",*/			/* help line */
-	"white", "black",			/* help line */
-	"yellow", "blue",			/* root text */
-	/*"blue",*/				/* scale full */
-	"black",				/* scale full */
-	/*"red",*/				/* scale empty */
-	"blue",					/* scale empty */
-	"blue", "lightgray",			/* disabled entry fg, bg */
-	/*"black", "lightgray",*/		/* compact button fg, bg */
-	"white", "black",			/* compact button fg, bg */
-	"black", "lightgray",			/* active & sel listbox */
-	"black", "brown"			/* selected listbox */
-};
-
 typedef int (newt_handler)(struct frontend *obj, struct question *q);
 
 struct newt_help_callback_data {
@@ -194,7 +153,6 @@ cdebconf_newt_setup(void)
 {
     SLang_init_tty(0, 1, 0); /* disable flow control */
     newtInit();
-    newtSetColors(newtAltColorPalette);
     newtCls();
 }
 
@@ -1098,7 +1056,7 @@ newt_handler_error(struct frontend *obj,
 {
     char *oldrootBg, *oldshadowBg, *oldhelpLineFg, *oldhelpLineBg;
     int ret;
-    struct newtColors palette = newtAltColorPalette;
+    struct newtColors palette = newtDefaultColorPalette;
 
     oldrootBg = palette.rootBg;
     oldshadowBg = palette.shadowBg;
@@ -1168,15 +1126,22 @@ newt_initialize(struct frontend *obj, st
 {
     int width = 80, height = 24;
     const char *palette;
+    const char *base = "/etc/newt/palette";
+    char *path;
 
     obj->interactive = 1;
     obj->data = calloc(1, sizeof(struct newt_data));
     SLang_init_tty(0, 1, 0); /* disable flow control */
-    newtInit();
     palette = getenv("FRONTEND_BACKGROUND");
-    if (palette == NULL || strcmp(palette, "dark") != 0)
-        newtAltColorPalette = newtDefaultColorPalette;
-    newtSetColors(newtAltColorPalette);
+    if (palette != NULL && asprintf(&path, "%s.%s", base, palette) >= 0) {
+	/* Establish a symlink from /etc/newt/palette to
+         *   /etc/newt/palette.$FRONTEND_BACKGROUND
+	 */
+	unlink(base);
+	link(path, base);
+	free(path);
+    }
+    newtInit();
     newtGetScreenSize(&width, &height);
     newtFinished();
     return DC_OK;
