[FFe] merge console-setup 1.108 from Debian

Bug #1426721 reported by Mathieu Trudel-Lapierre
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
console-setup (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

It would be nice to merge console-setup (with 1.108 from Debian, as it was prepared by Steve Langasek). The main changes are to get more in sync with Debian.

There is still a lot of work required to get us in sync (or almost) with Debian since they've already moved on to 1.117; and there is still a lot of possibly unnecessary delta in keyboard-configuration.config, but this gets us a fair way towards reducing the delta from Debian, and more changes would require extra testing and coordination.

This update was tested from my PPA; I built mini.iso images including the change to be able to test that it was behaving properly at installation time for vivid, on upgrade on vivid as well on upgrade for a trusty->vivid manual dist-upgrade of all the packages and a utopic->vivid upgrade.

Changes:

 console-setup (1.108ubuntu1) vivid; urgency=medium
 .
   [ Steve Langasek ]
   * Merge from Debian unstable, remaining changes:
     - Don't gzip font or ACM files in /etc/console-setup/. The space saving
       is negligible, and it's more efficient not to need to uncompress them
       at boot time.
     - Include pc105.tree for ubiquity.
     - Move boot tasks to a combination of two udev rules and a single
       Upstart job, ensuring that they're run at points when we are able to
       satisfy the constraints on the relevant ioctls.
     - Stop running debconf-updatepo on clean.
     - Set keymap and font in the initramfs if possible and sensible.
     - Add an apport hook.
     - Use keymapper to generate decision trees for a restricted subset of
       the pc105 model.
     - Depend on kbd (>= 1.15-1ubuntu3) for a valuable loadkeys improvement.
     - Include support for translated keyboard names.
     - Depend on debconf instead of pre-depending, because pre-depends have
       no effect on config scripts.
     - debian/vtrgb, debian/vtrgb.vga,
       debian/console-setup-linux.setvtrgb.upstart, debian/rules,
       debian/console-setup-linux.postinst: use Ubuntu's virtual terminal color
       scheme by default, with a VGA color scheme available as an alternative.
     - Make setupcon explicitly exit 0, so that postinsts don't fail in the
       event that loadkeys can't find a console.
     - Update for new layouts and variants for Montenegro and Serbia, and
       migrate configuration files from the old layouts.
     - Generate a locale locally for translating keyboard names in
       kbdnames-maker.
     - Don't copy keyboard-configuration questions to /target in OEM mode.
       oem-config will ask them later, and copying these confuses it.
     - Change the default font from Fixed to VGA for Lat15; while it's not
       entirely complete, it looks better and is largely good enough.
     - If the detect-keyboard debconf plugin is available
       (cdebconf-newt-detect-keys in the installer), then offer to use it to
       detect the keyboard layout.
     - Fix default keyboard selection for language/country combinations
       lacking a proper combined locale.
     - Drop the layout/variant priority to high on fresh installs.
     - Set default for Dutch to us(intl), not just us.
     - Set default layout for Vietnam to 'us'.
     - Set default variant for French to oss.
     - Set default layout for Simplified Chinese to 'cn'.
     - Don't use the default keyboard variant if the layout is overridden by
       preseeding.
     - If keyboard-configuration/layoutcode is preseeded but not marked as
       seen, then set the default layout but don't lower the layout question
       priority or preseed console-setup/ask_detect.
     - Use the default keyboard model if an existing configuration file sets
       XKBMODEL="".
     - Go back to always asking layout before variant.
     - Fix keyboard layout detection to set the layout properly.
     - Reset keyboard-configuration/toggle to the default if it's set to "No
       toggling" and you select a non-Latin layout.
     - Automatically save the font and keymap to /etc in
       /etc/init.d/console-setup if it isn't being run from init. Similarly,
       ensure that the font and keymap are saved to /etc during initial
       installation.
     - Replace usplash detection code with Plymouth detection code.
     - Load the new keyboard configuration immediately when running
       'dpkg-reconfigure keyboard-configuration' in an installed system.
     - Don't fail to configure keyboard-configuration if setxkbmap fails to
       talk to the X display.
     - Tolerate absence of setupcon in keyboard-configuration.postinst.
     - Drop the simplified keyboard-configuration/xkb-keymap question.
     - Fix command injection in ckbcomp.
     - debian/console-setup.console-font.upstart: Add Upstart job that sets up
       console font when plymouth-splash is starting.
     - Override description of the ch layout from "German (Switzerland)" to
       just "Switzerland".
     - Map ppc64el/* to XKBMODEL=pc105.
   * Dropped changes, included in Debian:
     - "Do not configure keyboard; keep kernel keymap" model option,
       preseedable by keyboard-configuration/modelcode=SKIP: this is now
       supported upstream with either "unknown" or an empty string as the
       model.
     - Run kbd_mode on each tty in ACTIVE_CONSOLES rather than on the current
       tty, since the current tty might belong to X and changing X's tty out
       of raw mode is a very bad idea.
     - Include Terminus font in the compiled packages. Do not depend, but
       conflict/provide/replace console-terminus. New upstream version of
       the Terminus font (4.32).
     - Explicitly build-depend on liblocale-gettext-perl for kbdnames-maker,
       and likewise have keyboard-configuration depend on
       liblocale-gettext-perl.
     - Weaken test for whether /usr is mounted; testing for /usr/share is
       sufficient, and fixes operation in d-i.
     - Make keyboard-configuration replace old console-setup/console-setup-mini
       versions as well as conflicting with them.
     - Set default layout for Kurdish to tr(ku).
   * Dropped changes, no longer needed:
     - Cope with systems installed with console-setup-udeb (<< 1.53) (which
       predates Ubuntu 12.04 and Debian wheezy).
     - Drop ancient handling of an empty codeset in the config file.
     - Drop vtrgb upgrade handling from natty
     - Drop upstart job transition from lucid
   * setupcon: Map XKBMODEL=SKIP to '' for compatibility with existing
     configs.
   * debian/rules: revert hard-coding of a list of "debconf-selectable"
     layouts for the udebs, since we don't use this debconf question in Ubuntu
     and all layouts are selectable.
   * setupcon: revert ridiculous upstream twiddling of keymap cache filenames:
     - the variables are taken from a config file which, if changed,
       invalidates the cache.
     - there is only ever one keyboard map per system.
     - the system should not have to resolve filenames to find the keymap cache
       on boot.
   * Move vtrgb handling to console-setup-linux package, since this is clearly
     Linux-specific.
   * Add missing console-setup-linux.prerm to remove /etc/vtrgb alternatives
   * Keyboard/kbdcompiler: fix bug in filtering of unsupported variants that
     breaks generation of the pc105.tree for d-i keyboard detection.
   * debian/keyboard-configuration.postinst: udpkg is not part of an installed
     Debian system; don't fail to configure if it's absent and the script is
     called outside of an installer context.
   * Don't make debian/copyright a symlink to COPYRIGHT, this is disallowed
     by the Ubuntu archive installer.
 .
   [ Mathieu Trudel-Lapierre ]
   * debian/keyboard-configuration.config: fix typo in model check for SKIP;
     even when looking up the layout/variant, we need to check for the model
     as XKBMODEL, since $model doesn't exist.
   * debian/preprocessor: revert the removal of keyboard names (for size) of
     console-setup-udeb: we do need those, since we don't use the simplified
     xkb-keymap template from Debian just yet: this way we can still show
     country/language names when selecting a keyboard, layout or variant.
 .
 console-setup (1.108) unstable; urgency=low
 .
   [ Updated translations ]
   * Portuguese (pt.po) by Miguel Figueiredo
 .
 console-setup (1.107) unstable; urgency=low
 .
   [ Updated translations ]
   * Amharic (am.po) by Tegegne Tefera
 .
 console-setup (1.106) unstable; urgency=low
 .
   [ Updated translations ]
   * Korean (ko.po) by Changwoo Ryu
   * Simplified Chinese (zh_CN.po) by YunQiang Su
 .
 console-setup (1.105) unstable; urgency=low
 .
   [ Updated translations ]
   * Belarusian (be.po) by Viktar Siarheichyk
 .
   [ Christian Perrier ]
   * Explicitly link to GPL-2 document in debian/copyright
 .
 console-setup (1.104) unstable; urgency=low
 .
   * Use nepali keymap for Nepali and Tharu by default
 .
   [ Updated translations ]
   * Bosnian (bs.po) by Amila Valjevčić
   * Hungarian (hu.po) by Judit Gyimesi
   * Slovak (sk.po) by Ivan Masár
 .
 console-setup (1.103) unstable; urgency=low
 .
   [ Updated translations ]
   * Galician (gl.po) by Jorge Barreiro
   * Simplified Chinese (zh_CN.po) by YunQiang Su
 .
 console-setup (1.102) unstable; urgency=low
 .
   [ Updated translations ]
   * Danish (da.po) by Joe Hansen
   * Spanish (es.po) by Javier Fernández-Sanguino
   * Latvian (lv.po) by Rūdolfs Mazurs
 .
 console-setup (1.101) unstable; urgency=low
 .
   [ Updated translations ]
   * Arabic (ar.po) by Ossama Khayat
   * Bulgarian (bg.po) by Damyan Ivanov
   * German (de.po) by Holger Wansing
   * Greek, Modern (1453-) (el.po) by galaxico
   * Esperanto (eo.po) by Felipe Castro
   * French (fr.po) by Christian Perrier
   * Croatian (hr.po) by Tomislav Krznar
   * Italian (it.po) by Milo Casagrande
   * Japanese (ja.po) by Kenshi Muto
   * Kazakh (kk.po) by Baurzhan Muftakhidinov
   * Kannada (kn.po) by Prabodh C P (FSMK Localisation Team)
   * Malayalam (ml.po) by Anish Sheela
   * Marathi (mr.po) by sampada
   * Bokmål, Norwegian (nb.po) by Hans Fredrik Nordhaug
   * Polish (pl.po) by Michał Kułach
   * Tajik (tg.po) by Victor Ibragimov
   * Thai (th.po) by Theppitak Karoonboonyanan
   * Turkish (tr.po) by Mert Dirik
   * Uyghur (ug.po) by Abduqadir Abliz
   * Ukrainian (uk.po) by Yuri Chornoivan
   * Traditional Chinese (zh_TW.po) by Yao Wei (魏銘廷)
 .
 console-setup (1.100) unstable; urgency=low
 .
   [ Christian Perrier ]
   * Add Tibetan keyboard layout for D-I. Closes: #667056
 .
   [ Samuel Thibault ]
   * Make Tibetan keyboard understood as non-latin layout.
 .
   [ Christian Perrier ]
   * Add Tajik as keymap choice for D-I
 .
   [ Updated translations ]
   * Japanese (ja.po) by Kenshi Muto
   * Slovak (sk.po) by Ivan Masár
   * Tajik (tg.po) by Victor Ibragimov
   * Thai (th.po) by Theppitak Karoonboonyanan
 .
 console-setup (1.99) unstable; urgency=low
 .
   [ Updated translations ]
   * Tajik (tg.po) by Victor Ibragimov
 .
 console-setup (1.98) unstable; urgency=low
 .
   * Re-upload with more informative changelog. The change below was
     added in 1.97. Closes: #722069
 .
   [ Updated translations ]
   * Tajik (tg.po) by Victor Ibragimov
 .
 console-setup (1.97) unstable; urgency=low
 .
   * -
 .
 console-setup (1.96) unstable; urgency=low
 .
   [ Updated translations ]
   * Tajik (tg.po) by Victor Ibragimov
 .
 console-setup (1.95) unstable; urgency=low
 .
   * Set default keymap for Tajik
 .
   [ Updated translations ]
   * Tajik (tg.po) by Victor Ibragimov
 .
 console-setup (1.94) unstable; urgency=low
 .
   [ Dmitrijs Ledkovs ]
   * Set debian source format to '3.0 (native)'.
   * Bump debhelper compat level to 9.
   * Set Vcs-* to canonical format.
 .
 console-setup (1.93) unstable; urgency=low
 .
   [ Samuel Thibault ]
   * Do not fail keyboard configuration on hurd console not running.
 .
   [ Updated translations ]
   * Croatian (hr.po) by Tomislav Krznar
 .
 console-setup (1.92) unstable; urgency=low
 .
   [ Anton Zinoviev ]
   * keyboard-configuration.config: when in d-i properly update $STATE
     during the missing variant question. This was causing an endless
     loop. Thanks to Brian Potkin, closes: #697449.
 .
 console-setup (1.91) unstable; urgency=low
 .
   * A wrong command in keyboard-configuration.config was breaking the
     configuration of almost all non-Latin languages. Thanks to Theppitak
     Karoonboonyanan, closes: #697255. Due to the way console-setup works,
     this version will fix automatically the damage caused by the previous
     version in /etc/default/keyboard.
 .
 console-setup (1.90) unstable; urgency=low
 .
   [ Cyril Brulebois ]
   * Keyboard/xmlreader: Register the hwList tag as an ignored one, just
     like vendor is ignored already, which lets us get rid of a spurious
     warning in the build log (thanks, Holger & jenkins). Closes: #696754.
 .
   [ Anton Zinoviev ]
   * Proofreading of debian/keyboard-configuration.config. Make the file a
     little more readable with more comments. Some changes in the logic.
     This probably fixes the important part of #693485. Thanks to Bob Bib.
 .
 console-setup (1.89) unstable; urgency=low
 .
   * Team upload.
 .
   [ Updated translations ]
   * Marathi (mr.po) typo.
 .
   * keyboard-configuration.config: Add support for preseeding xkb-keymap.
     Closes: Bug#696188.
 .
 console-setup (1.88) unstable; urgency=low
 .
   [ Updated translations ]
   * Hungarian (hu.po) by Dr. Nagy Elemér Károly
   * Japanese (ja.po) by Kenshi Muto
 .
 console-setup (1.87) unstable; urgency=low
 .
   [ Samuel Thibault ]
   * keyboard-configuration.config: Fix greek and ethiopian default layout into
     including a US group, closes: #691201. Thanks Alkis Georgopoulos for the
     report.
 .
 console-setup (1.86) unstable; urgency=low
 .
   [ Updated translations ]
   * Malayalam (ml.po) by Hrishikesh K B
 .
 console-setup (1.85) unstable; urgency=low
 .
   * Replace XC-Package-Type by Package-Type in debian/control
 .
   [ Updated translations ]
   * Asturian (ast.po) by ivarela
   * Galician (gl.po) by Jorge Barreiro
   * Ukrainian (uk.po) by Yuri Chornoivan
 .
 console-setup (1.84) unstable; urgency=low
 .
   * Turn /usr/share/doc/console-setup{,-mini} into symlinks. Thanks to
     Sven Joachim for the patch, closes: #657904.
   * Tighten the dependency of console-setup-* on keyboard-configuration as
     /usr/share/doc/console-setup* are symlinks. Thanks to Sven Joachim for
     the patch.
   * postinst: Do not modify /etc/default/{keyboard,console-setup} if
     either file is a symlink. Thanks to Martin Ziegler, closes: #671003.
   * keyboard-setup.init: hide error messages issued by setupcon (those are
     normal if /usr is unavailable). Thanks to Miguel Angel, closes: #651229.
   * Make setupcon --save-keyboard fail if the keyboard model is unknown.
 .
 console-setup (1.83) unstable; urgency=low
 .
   [ Samuel Thibault ]
   * Add font-switch script to console-setup-linux-fonts-udeb package, remove
     fonts which are not used by d-i.
   [ Anton Zinoviev ]
   * Make setupcon --save-keyboard fail if ckbcomp fails. Thanks to
     Michael Prokop for discovering this bug.
 .
 console-setup (1.82) unstable; urgency=low
 .
   * Re-upload without .gitignore files in the source package.
 .
 console-setup (1.81) unstable; urgency=low
 .
   * Team upload
 .
   [ Samuel Thibault ]
   * console-setup-udeb.postinst: Support hurd keymap change by restarting the
     console.
 .
   [ Updated translations ]
   * Spanish (es.po) by Javier Fernández-Sanguino
 .
 console-setup (1.80) unstable; urgency=low
 .
   * Team upload.
   * Re-upload without mess from my checkout.
 .
 console-setup (1.79) unstable; urgency=low
 .
   * Team upload.
   * rules: Add missing dependency main_build -> ekmap generation, to fix empty
     kmap files generated by parallel builds. Closes: #679171.
 .
 console-setup (1.78) unstable; urgency=low
 .
   * Team upload.
   * Updated translations:
     - Amharic (am.po)
     - Croatian (hr.po)
   * Add support for parallel=n in DEB_BUILD_OPTIONS.
 .
 console-setup (1.77) sid; urgency=low
 .
   [ Updated translations ]
   * Amharic (am.po) by Tegegne Tefera
   * Welsh (cy.po) by Dafydd Tomos
   * Danish (da.po) by Joe Hansen
   * Basque (eu.po) by Piarres Beobide
   * Galician (gl.po) by Jorge Barreiro
   * Hungarian (hu.po) by SZERVÁC Attila
   * Lao (lo.po) by Anousak Souphavanh
   * Lithuanian (lt.po) by Rimas Kudelis
   * Latvian (lv.po) by Rūdolfs Mazurs
   * Marathi (mr.po) by sampada
   * Punjabi (Gurmukhi) (pa.po) by A S Alam
   * Romanian (ro.po) by ioan-eugen stan
   * Slovenian (sl.po) by Vanja Cvelbar
   * Tamil (ta.po) by Kumar Appaiah
   * Uyghur (ug.po) by Sahran
 .
 console-setup (1.76) unstable; urgency=low
 .
   [ Peter Eisentraut ]
   * Added support for "status" action to init scripts, closes: #651461.
 .
   [ Samuel Thibault ]
   * Remove kbdnames.gz from console-setup-udeb, it is not used any more.
 .
   [ Christian Perrier ]
   * Add Sindhi as "pk(snd)" to the list of keymap choices
   * Change "Slovakian" (incorrect spelling) to "Slovak"
   * Change "Slovene" (incorrect spelling) to "Slovenian"
 .
   [ Samuel Thibault ]
   * Fix Norwegian Nynorsk vs Persian keymap inversion. Closes: #665874.
 .
   [ Robert Millan ]
   * Add Catalan to the list of languages that can be represented with
     Lat15. Closes: #667986
 .
   [ Anton Zinoviev ]
   * setupcon: exit with error message if the kernel is neither Linux, nor
     FreeBSD.
   * setupcon: do not load font with UTF-8 on FreeBSD (the support of UTF-8
     on FreeBSD is very limited). Thanks to Robert Millan, closes: #666542
   * Only include the debconf-selectable layouts in the udebs. Based on a
     patch by Samuel Thibault with changes. Closes: #658668.
   * config: handle XkbLayout of the form us(intl),cz(qwerty) when guesing
     default values from xorg.conf. Thanks to Nathan Cutler,
     closes: #658020.
 .
 console-setup (1.75) unstable; urgency=low
 .
   * Team upload
 .
   [ Samuel Thibault ]
   * Fix setupcon when called from the installer menu.
   * Make console-setup-udeb depend on hurd-udeb for the hurd-any case.
 .
   [ Christian Perrier ]
   * Add build-arch and build-indep targets
 .
 console-setup (1.74) unstable; urgency=low
 .
   [ Samuel Thibault ]
   * Add cn(uig) keyboard (non-latin) variant.
   * Add d-i layouts for all supported languages: al, ara, es(ast), bd, by,
     in(ben), ba, es(cat), cn, bt, epo, et, ge, in(guj), in(jhelum), in(deva),
     ie, in(kan), kz, kh, kr, tr(ku_f), tr(ku), in(mal), np, no(smi), ir,
     in(guru), lk, in(tam), in(tel), cn(uig), vn.
   * Make console-setup-udeb depend on kbd-udeb or kbdcontrol-udeb to fix
     layout switch in textual d-i.
 .
   [ Christian Perrier ]
   * Default to Russian layout with Ossetian variant for Ossetian
     language
   * Galician translation updates. Closes: #644055
 .
   [ Colin Watson ]
   * Explicitly build-depend on liblocale-gettext-perl for kbdnames-maker,
     and likewise have keyboard-configuration depend on
     liblocale-gettext-perl.
 .
   [ Anton Zinoviev ]
   * Make U+007C in u_vga16.bdf to be a vertical line instead of broken
     bar. The fix is in u_vga16_fix.bdf together with the new arabic
     letters from version 1.29. Thanks to Bjarni Ingi Gislason,
     closes: #646626.
   * keyboard-configuration: depend on initscripts. Thanks to Johannes
     Schauer, closes: #621077.
   * setupcon: try to use large fonts with consolechars. Who knows, maybe
     it will be fixed some day...
   * Prefer console-tools to kbd if both utilities are installed. This is
     wrong as kbd is better but these days only Debian provides
     console-tools and the only way to have both variants of the console
     utilities is when the limited script wrappers of kbd-compat are
     installed. Thanks to mtths (patch was provided), closes: #631935.
   * setupcon: add /run and /dev to /lib/init/rw as alternative directories
     for temporary files. Thanks to Michael Biebl, closes: #633153.
   * setupcon: add traps to remove the temporary file when setupcon is
     interrupted.
   * debian/control: use Breaks+Replaces instead of Conflicts
   * ckbcomp-mini: do not drop the lines which do not contain "keycode".
     Thanks to Samuel Thibault.
   * setupcon: assume standard virtual consoles (/dev/tty[1-6], /dev/ttyv[0-3])
     when there is no getty & such to facilitate the detection. Thanks to
     Samuel Thibault.
   * ckbcomp: never die on errors in the rules files. This has the
     potential to create some difficult to trace bugs, so issue more
     informative warnings about the problem. Thanks to Javier Vasquez,
     Jonny, Cédric Boutillier, Daniel Schepler and Peter Eisentraut.
     Closes: #614127, #614550, #625215, #626025, #642287.
   * ckbcomp: interpret dead_abovering as degree sign. Update the
     xkbsym_date hash in compose_translator. Thanks to Bjarni Ingi Gislason,
     closes: #649201.
 .
 console-setup (1.73) unstable; urgency=low
 .
   [ Anton Zinoviev ]
   * Minor additions to keyboard(5) and ckbcomp(1).
   * Add information about setupcon and ckbcomp-mini in the copyright file.
   * Use /lib/init/rw for temporary file if /tmp is mounted read-only.
     When testing whether the keymap has to be recompiled, do not assume
     that either [ file1 -ot file2 ] or [ file2 -ot file1 ] (files can be
     the same age). Thanks to Jindřich Makovička (he provided a patch),
     Vincent Lefevre, Benoît MERLET and Tony Houghton.
     Closes: #620228, #620491.
 .
   [ Samuel Thibault ]
   * Remove br(abnt2) choice since br already provides the ABNT2-specific key.
   * Add Ethiopian to non-latin keymaps.
   * Add Kurdish default choice, set to critical like Turkish due to Q/F
     choice.
 .
 console-setup (1.72) unstable; urgency=low
 .
   * README: /etc/getty=>/etc/gettytab
   * debian/*.init: source /etc/default/locale to permit autodetection of
     the charmap when console-setup-mini operates without configuration
     file.
   * debian/*.init: do not test whether we are on the console, there are
     better tests inside setupcon.
   * setupcon: do not expect the existence of 'tty' (if /usr is not mounted
     'tty' will be unavailable). Thanks to Sven Joachim, closes: #619462.
   * README.Debian: console-setup-mini no longer installs only a minimal
     set of fonts. Without configuration file no font will be loaded.
   * A little Lintian cleaning:
     - copyright: add the required reference to common-licenses;
     - restore the separate copyright file for bdf2psf;
     - versioned build dependency on debhelper (>=7.2.3~) for dh_bugfiles;
     - standards version 3.9.1;
     - use dh_lintian to install the override file.
   * setupcon: new options --save-keyboard and --setup-dir. Keep them
     undocumented for now.
   * setupcon: some bug fixing:
     - the function findfile wouldn't work when setupcon is not run from
       /bin or /usr/local/bin, but from a non-standard location;
     - when working with incomplete information and guessing the font name,
       use [A-WXYZa-wyz] as file pattern for fonts instead of [A-Za-z] (we do
       not want 'x' and in some locales [A-Z] includes 'x').
   * Use all-permissive, non-copyleft license for setupcon and ckbcomp-mini.
 .
 console-setup (1.71) unstable; urgency=low
 .
   [ Anton Zinoviev ]
   * FAQ: correct some typos and apply two patches by Jonathan Nieder.
     Thanks also to Vincent Lefevre. Closes: #565391 (with apologies for
     the delay).
   * New manual pages keyboard(5) and console-setup(5). Updated ckbcomp(1)
     and setupcon(1). Remove README.fonts. Common documentation directory
     for keyboard-configuration, console-setup-linux,
     console-setup-freebsd, console-setup and console-setup-mini. New
     README.Debian. Thanks to Jorgen Grahn, closes: #617580.
   * Remove most of the comments in the default configuration files. It is
     difficult to update these comments when the functionality of
     console-setup changes and the new manual pages make these comments
     less necessary.
   * Remove the VERBOSE_OUTPUT option from the default configuration file
     (but it is still supported).
   * Install *.bug-control files for reportbug.
   * Ask the keyboard option question even when Debconf doesn't support the
     layout. Thanks to Petr Baudis and Julien Cristau, closes: #581758.
   * ckbcomp_mini: process properly empty layout and/or variant options.
     Thanks to Baptiste Carvello who reported the problem and traced its
     source. Closes: #617499.
   * ckbcomp: ignore actions[...] = ... specifications in key definitions.
     Thanks to Klaus Ethgen, closes: #607532.
   * setupcon: accept all methods to state font size in the configuration
     file (8x14, 14x8, 14).
   * Debconf: More human-friendly options for the font size question. By
     default use 8x14 format for all sizes.
   * setupcon: Improved test whether we are on the console. Thanks to
     Michael Schutte and Julien Cristau for the suggestions.
   * console-setup(-mini).postinst: add again commands to configure the
     console.
   * ckbcomp: improved implementation for Alt+PrintScreen=SysRq and
     Ctrl+Pause=Break on AT keyboards.
   * ckbcomp: more correct use of approximate(). This probably affects
     only some exotic key combination such as Ctrl+Alt+Shift+AltGr+F1.
   * ckbcomp: lets try to remove some unnecessary and potentialy harmful on
     non-standard layouts mappings for Linux (Ctrl+'=^G, Ctrl+3=^[,
     Ctrl+4=^\, Ctrl+5=^], Ctrl+7=^_, Ctrl+8=^?).
   * Do not source /etc/default/keyboard in /etc/default/console-setup
     (on new installs or upgrades from pre 1.47 versions).
   * setupcon: do not cache automatically the keymap. Instead add --save
     option the init script.
   * Do not remove /etc/console-setup in postrm.
   * setupcon, config, postinst: recognise 'guess' value in the
     configuration file.
   * postinst: do not fail if setupcon fails.
   * Include Terminus font in the compiled packages. Do not depend, but
     conflict and provide console-terminus. New upstream version of the
     Terminus font (4.32).
   * Keyboard/ckb: update with keyboard data of version 2.1 of xkb files.
     (This change is not relevant for Debian.)
   * New install targets in the Makefiles and debian/rules to better
     support non-Debian installs.
   * Support for FreeBSD. Packages for Debian GNU/kFreeBSD:
     - bdf2psf: new option --raw to generate raw fonts. Try to use CP437
       code positions if possible. When generating raw fonts with same
       codeset, use identical font map.
     - ckbcomp and setupcon: support for FreeBSD keymaps.
     - ckbcomp: new option -backspace [ del | bs ] to determine the
       behaviour of the keys BackSpace and Delete.
     - setupcon, postinst: A corresponding variable BACKSPACE in
       /etc/default/keyboard.
     - Termcap and Terminfo entries for FreeBSD.
     - setupcon: When UTF-8 is requested on FreeBSD, act as if the encoding
       is ISO-8859-1.
     - Debconf: Don't ask the question about font size on kFreeBSD (no need
       for this -- all available sizes will be loaded).
     - New configuration variable VIDEOMODE. Currently it is most useful
       on FreeBSD because the default Linux framebuffer driver (VesaFB)
       doesn't permit changes of the videomode.
     - Support for 8-bit encodings in console-setup-mini and in the udebs
     - Udebs for kFreeBSD.
 .
   [ Samuel Thibault ]
   * Fonts/bdf2psf: Fix typo.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :
Download full text (3.7 KiB)

Build log is attached.

Update to console-setup 1.108ubuntu1 on a "typical" vivid system:

$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  grilo-plugins-0.2-base libxen-4.4
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  console-setup-linux
The following packages have been kept back:
  gir1.2-totem-1.0 libtotem0 totem totem-common totem-plugins
The following packages will be upgraded:
  console-setup keyboard-configuration
2 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 1 912 kB of archives.
After this operation, 233 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ppa.launchpad.net/mathieu-tl/installer-dev/ubuntu/ vivid/main console-setup all 1.108ubuntu1~mtrudel10 [129 kB]
Get:2 http://ppa.launchpad.net/mathieu-tl/installer-dev/ubuntu/ vivid/main keyboard-configuration all 1.108ubuntu1~mtrudel10 [798 kB]
Get:3 http://ppa.launchpad.net/mathieu-tl/installer-dev/ubuntu/ vivid/main console-setup-linux all 1.108ubuntu1~mtrudel10 [985 kB]
Fetched 1 912 kB in 4s (406 kB/s)
Preconfiguring packages ...
(Reading database ... 395577 files and directories currently installed.)
Preparing to unpack .../console-setup_1.108ubuntu1~mtrudel10_all.deb ...
Unpacking console-setup (1.108ubuntu1~mtrudel10) over (1.70ubuntu11) ...
dpkg: warning: unable to delete old directory '/etc/console-setup': Directory not empty
Preparing to unpack .../keyboard-configuration_1.108ubuntu1~mtrudel10_all.deb ...
Unpacking keyboard-configuration (1.108ubuntu1~mtrudel10) over (1.70ubuntu11) ...
Selecting previously unselected package console-setup-linux.
Preparing to unpack .../console-setup-linux_1.108ubuntu1~mtrudel10_all.deb ...
Unpacking console-setup-linux (1.108ubuntu1~mtrudel10) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up keyboard-configuration (1.108ubuntu1~mtrudel10) ...
Installing new version of config file /etc/init.d/console-setup ...
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-initramfs: deferring update (trigger activated)
Setting up console-setup-linux (1.108ubuntu1~mtrudel10) ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-1.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-13.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-14.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-15.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-2.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-3.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-4.inc ...
Installing new version of config file /etc/console-setup/compose.ISO-8859-7.inc ...
Installing ...

Read more...

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 1426721] [NEW] [FFe] merge console-setup 1.108 from Debian

Why is it better to do this now than early in "W"?

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Given that it's a merge mostly for the sake of merging; it's not arguably *much* better; but there are some bugs and improvements in the revisions taken from Debian, in the form on smalll fixes to the keyboard layout selections for some languages, improved translations, etc.

Merging console-setup and reducing the delta we have with Debian on this package has been a months-long process, and there is still a lot of work needed. I feel any concrete improvements we can make now would be beneficial.

Revision history for this message
Steve Langasek (vorlon) wrote :

First, it's better to do it now instead of early in W because this is already years overdue, and this is a merge of an already-old version of console-setup that took about a month to stage (and further time to get testing done on). Waiting longer will increase the cost of re-merging again later.

Second, this is a blocker for merging the new version of initramfs-tools, which has also been stalled due to a dependency on the new version of console-setup; there's a fair amount of bit rot happening in initramfs-tools right now. We should evaluate that merge separately for 15.04 as a FFe, but whether or not we take initramfs-tools for 15.04, the dependency means that it helps to get console-setup done sooner rather than later.

Revision history for this message
Scott Kitterman (kitterman) wrote :

OK. Approved. Steve's reasoning makes sense and it would be a waste to not land it now and have to rework the merge later.

Changed in console-setup (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package console-setup - 1.108ubuntu3

---------------
console-setup (1.108ubuntu3) vivid; urgency=medium

  * Drop console-setup-freebsd; it's useless and uninstallable given that we
    don't have a freebsd port.
 -- Mathieu Trudel-Lapierre <email address hidden> Tue, 03 Mar 2015 10:15:31 -0500

Changed in console-setup (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.