[PATCH] Forcing execution of make in C locale

Andreas Pakulat apaku at gmx.de
Thu Jan 17 13:51:06 UTC 2008


On 17.01.08 14:16:05, Amilcar do Carmo Lucas wrote:
> On Thursday 17 January 2008 11:48:29 Andreas Pakulat wrote:
> > OTOH it also forces all users to always see the build output in english,
> > and not being able to see it in another language (i.e. their own).
> >
> > Objections? Comments?
> Can it be made configurable ?

I could, I wanted to avoid the extra coding, especially as having
non-english output completely kills the usefulness of the outputviews

> Can you attach the patch ?

Sure.

Andreas

-- 
Hope that the day after you die is a nice day.
-------------- next part --------------
Index: autotools/autoprojectpart.cpp
===================================================================
--- autotools/autoprojectpart.cpp	(Revision 761824)
+++ autotools/autoprojectpart.cpp	(Arbeitskopie)
@@ -498,6 +498,7 @@
         environstr += EnvVarTools::quote((*it).second);
         environstr += " ";
     }
+    environstr += " LC_MESSAGES=\"C\" ";
     return environstr;
 }
 
Index: custommakefiles/customprojectpart.cpp
===================================================================
--- custommakefiles/customprojectpart.cpp	(Revision 761824)
+++ custommakefiles/customprojectpart.cpp	(Arbeitskopie)
@@ -859,6 +859,7 @@
         environstr += EnvVarTools::quote(( *it ).second );
         environstr += " ";
     }
+    environstr += " LC_MESSAGE=\"C\"";
     return environstr;
 }
 
Index: qmake/trollprojectpart.cpp
===================================================================
--- qmake/trollprojectpart.cpp	(Revision 761824)
+++ qmake/trollprojectpart.cpp	(Arbeitskopie)
@@ -258,6 +258,8 @@
          environstr += QString( "QTDIR=" ) + EnvVarTools::quote( DomUtil::readEntry(*projectDom(), "/kdevcppsupport/qt/root", "") ) + QString( " PATH=$QTDIR/bin:$PATH " );
     }
 
+
+    environstr += " LC_MESSAGES=\"C\" ";
     return environstr;
 }
 


More information about the KDevelop-devel mailing list