/[smeserver]/rpms/e-smith-base/sme8/e-smith-base-5.2.0-do_not_remove_utf8.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme8/e-smith-base-5.2.0-do_not_remove_utf8.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Jun 29 17:46:49 2013 UTC (11 years ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-base-5_2_0-85_el5_sme, e-smith-base-5_2_0-86_el5_sme, e-smith-base-5_2_0-83_el5_sme, e-smith-base-5_2_0-84_el5_sme, e-smith-base-5_2_0-88_el5_sme, e-smith-base-5_2_0-81_el5_sme, e-smith-base-5_2_0-82_el5_sme, e-smith-base-5_2_0-89_el5_sme, e-smith-base-5_2_0-90_el5_sme, e-smith-base-5_2_0-87_el5_sme
* Sat Jun 29 2013 Ian Wells <esmith@wellsi.com> 5.2.0-81.sme
- Use UTF-8 in the console, by Daniel Berteaud [SME: 7699]

1 wellsi 1.1 diff -Nur e-smith-base-5.4.0/root/etc/e-smith/db/configuration/migrate/05sysconfig e-smith-base-5.4.0-utf-8/root/etc/e-smith/db/configuration/migrate/05sysconfig
2     --- e-smith-base-5.4.0/root/etc/e-smith/db/configuration/migrate/05sysconfig 2005-11-21 05:28:05.000000000 +0100
3     +++ e-smith-base-5.4.0-utf-8/root/etc/e-smith/db/configuration/migrate/05sysconfig 2013-05-18 11:47:41.605327053 +0200
4     @@ -4,7 +4,6 @@
5     close F;
6    
7     my $lang = ($line =~ /^LANG="(.*)"/) ? $1 : "en-us";
8     - $lang =~ s/\.UTF-8$//;
9    
10     my $kbdtype = "pc";
11     my $keytable = "us";
12     diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/LANG e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/LANG
13     --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/LANG 2005-11-21 05:28:08.000000000 +0100
14     +++ e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/LANG 2013-05-18 14:59:40.319511514 +0200
15     @@ -2,8 +2,10 @@
16     $OUT = "";
17     my $lang = $settings{LANG};
18     return unless defined $lang;
19     - if ($lang =~ /"(.*)\.UTF-8"/)
20     - {
21     - $settings{LANG} = '"' . $1 . '"';
22     + $lang =~ s/^['"]//;
23     + $lang =~ s/['"]$//;
24     + if ($lang !~ /\.UTF\-8$/)
25     + {
26     + $settings{LANG} = '"' . $lang . '.UTF-8"';
27     }
28     }
29     diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONT e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONT
30     --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONT 2005-11-21 05:28:08.000000000 +0100
31     +++ e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONT 2013-05-18 13:49:30.541877689 +0200
32     @@ -2,8 +2,8 @@
33     $OUT = "";
34     my $sysfont = $settings{SYSFONT};
35     return unless defined $sysfont;
36     - if ($sysfont eq '"latarcyrheb-sun16"')
37     + if ($sysfont eq '"lat0-sun16"')
38     {
39     - $settings{SYSFONT} = '"lat0-sun16"';
40     + $settings{SYSFONT} = '"latarcyrheb-sun16"';
41     }
42     }
43     diff -Nur e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONTACM e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONTACM
44     --- e-smith-base-5.4.0/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONTACM 2005-11-21 05:28:08.000000000 +0100
45     +++ e-smith-base-5.4.0-utf-8/root/etc/e-smith/templates/etc/sysconfig/i18n/SYSFONTACM 2013-05-18 13:50:08.093416513 +0200
46     @@ -1,8 +1,8 @@
47     {
48     $OUT = '';
49     - unless ($settings{SYSFONTACM})
50     + if ($settings{SYSFONTACM})
51     {
52     - $settings{SYSFONTACM} = '"iso15"';
53     - $order{scalar keys %settings} = "SYSFONTACM";
54     + $order{scalar keys %settings} = "SYSFONTACM";
55     + delete $order{scalar keys %settings};
56     }
57     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed