~eugenenuke/ubuntu/wily/console-setup/fix-for-1565542

« back to all changes in this revision

Viewing changes to Keyboard/ckbcomp-mini

  • Committer: Bazaar Package Importer
  • Author(s): Anton Zinoviev
  • Date: 2011-03-29 12:06:14 UTC
  • mto: This revision was merged to the branch mainline in revision 125.
  • Revision ID: james.westby@ubuntu.com-20110329120614-nucwnqqg7rz88508
Tags: 1.72
* 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.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
#     ckbcomp-mini -- convert XKB specification to keymap for loadkeys
4
 
#     Copyright © 2006 Anton Zinoviev
5
 
 
6
 
#     This program is free software; you can redistribute it and/or modify
7
 
#     it under the terms of the GNU General Public License as published by
8
 
#     the Free Software Foundation; either version 2 of the License, or
9
 
#     (at your option) any later version.
10
 
 
11
 
#     This program is distributed in the hope that it will be useful,
12
 
#     but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
#     GNU General Public License for more details.
15
 
 
16
 
#     If you have not received a copy of the GNU General Public License
17
 
#     along with this program, write to the Free Software Foundation, Inc.,
18
 
#     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
3
#     ckbcomp-mini -- convert XKB specification to loadkeys/kbdcontrol format
 
4
#     Copyright (c) 2006,2009,2011 Anton Zinoviev <anton@lml.bas.bg>
 
5
 
 
6
#     Permission is hereby granted, free of charge, to any person
 
7
#     obtaining a copy of this file (the "Program"), to deal in the
 
8
#     Program without restriction, including without limitation the
 
9
#     rights to use, copy, modify, merge, publish, distribute,
 
10
#     sublicense, and/or sell copies of the Program, and to permit
 
11
#     persons to whom the Program is furnished to do so, subject to
 
12
#     the following conditions: The above copyright notice and this
 
13
#     permission notice shall be included in all copies or substantial
 
14
#     portions of the Program.
 
15
 
 
16
#     THE PROGRAM IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 
17
#     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 
18
#     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 
19
#     NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 
20
#     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 
21
#     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 
22
#     FROM, OUT OF OR IN CONNECTION WITH THE PROGRAM OR THE USE OR
 
23
#     OTHER DEALINGS IN THE PROGRAM.
19
24
 
20
25
# Default values:
21
26
model=pc105