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

Contents 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.2 - (show annotations) (download)
Tue Feb 18 06:21:35 2014 UTC (10 years, 8 months ago) by wellsi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove obsolete patch files

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