fix utf8 issue kdeprint

This commit is contained in:
Than Ngo 2006-10-01 20:30:33 +00:00
parent 79c7f1ab76
commit e61bbe67a0
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- kdelibs-3.5.4/kdeprint/cups/kmcupsmanager.cpp.orig 2006-10-01 21:55:49.000000000 +0200
+++ kdelibs-3.5.4/kdeprint/cups/kmcupsmanager.cpp 2006-10-01 21:56:08.000000000 +0200
@@ -85,7 +85,7 @@
// change LANG variable so that CUPS is always using
// english language: translation may only come from the PPD
// itself, or from KDE.
- setenv("LANG", "en", 1);
+ setenv("LANG", "en_US.UTF-8", 1);
}
KMCupsManager::~KMCupsManager()

View File

@ -45,6 +45,7 @@ Patch35: kdelibs-3.4.92-inttype.patch
Patch37: kdelibs-3.5.2-kdebug-kmail-quiet.patch
Patch38: kdelibs-3.5.2-cupsdconf2-group.patch
Patch39: kdelibs-3.5.4-kabc-make.patch
Patch40: kdelibs-3.5.4-kdeprint-utf8.patch
# upstream patches
Patch100: kdelibs-3.5.4-kde#131933.patch
@ -195,6 +196,7 @@ format for easy browsing
%patch37 -p1 -b .kdebug-kmail-quiet
%patch38 -p1 -b .cupsdconf2-group
%patch39 -p1 -b .kabc-make
%patch40 -p1 -b .kdeprint-utf8
# upstream pathces
%patch100 -p0 -b .kde#131933
@ -442,6 +444,7 @@ fi
%changelog
* Sun Oct 01 2006 Than Ngo <than@redhat.com> 6:3.5.4-10
- fix utf8 issue kdeprint
- fix #178320,#198828, follow menu-spec
* Sat Sep 30 2006 Than Ngo <than@redhat.com> 6:3.5.4-9