diff --git a/kdelibs-3.5.4-kdeprint-utf8.patch b/kdelibs-3.5.4-kdeprint-utf8.patch new file mode 100644 index 0000000..ea500ca --- /dev/null +++ b/kdelibs-3.5.4-kdeprint-utf8.patch @@ -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() diff --git a/kdelibs.spec b/kdelibs.spec index 340f72e..89c10ba 100644 --- a/kdelibs.spec +++ b/kdelibs.spec @@ -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 6:3.5.4-10 +- fix utf8 issue kdeprint - fix #178320,#198828, follow menu-spec * Sat Sep 30 2006 Than Ngo 6:3.5.4-9