Title: [116209] trunk/Tools
Revision
116209
Author
[email protected]
Date
2012-05-04 22:48:07 -0700 (Fri, 04 May 2012)

Log Message

webkitpy: Preserve XDG_DATA_DIRS in the environment passed to ServerProcess.
https://bugs.webkit.org/show_bug.cgi?id=85694

Reviewed by Martin Robinson.

This is sort of a follow-up to r100674: $XDG_DATA_DIRS should be
preserved, as it is particularly useful for Linux/Unix
environments.  As a real use case, if shared-mime-info is
installed into a non-trivial prefix, Glib and other libraries will
have trouble to properly identify mimetypes (in ResourceResponses,
for example) as the base freedesktop.org mimetype file will not be
found.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port.to.setup_environ_for_server):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (116208 => 116209)


--- trunk/Tools/ChangeLog	2012-05-05 04:26:50 UTC (rev 116208)
+++ trunk/Tools/ChangeLog	2012-05-05 05:48:07 UTC (rev 116209)
@@ -1,3 +1,21 @@
+2012-05-04  Raphael Kubo da Costa  <[email protected]>
+
+        webkitpy: Preserve XDG_DATA_DIRS in the environment passed to ServerProcess.
+        https://bugs.webkit.org/show_bug.cgi?id=85694
+
+        Reviewed by Martin Robinson.
+
+        This is sort of a follow-up to r100674: $XDG_DATA_DIRS should be
+        preserved, as it is particularly useful for Linux/Unix
+        environments.  As a real use case, if shared-mime-info is
+        installed into a non-trivial prefix, Glib and other libraries will
+        have trouble to properly identify mimetypes (in ResourceResponses,
+        for example) as the base freedesktop.org mimetype file will not be
+        found.
+
+        * Scripts/webkitpy/layout_tests/port/base.py:
+        (Port.to.setup_environ_for_server):
+
 2012-05-04  Gustavo Noronha Silva  <[email protected]>
 
         [GTK] Simplify how libWebCoreModules is linked in, and fix WebKit2 build

Modified: trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py (116208 => 116209)


--- trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py	2012-05-05 04:26:50 UTC (rev 116208)
+++ trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py	2012-05-05 05:48:07 UTC (rev 116209)
@@ -739,6 +739,7 @@
             'LANG',
             'LD_LIBRARY_PATH',
             'DBUS_SESSION_BUS_ADDRESS',
+            'XDG_DATA_DIRS',
 
             # Darwin:
             'DYLD_LIBRARY_PATH',
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to