Changeset 116209 in webkit


Ignore:
Timestamp:
May 4, 2012 10:48:07 PM (12 years ago)
Author:
rakuco@webkit.org
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):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r116205 r116209  
     12012-05-04  Raphael Kubo da Costa  <rakuco@webkit.org>
     2
     3        webkitpy: Preserve XDG_DATA_DIRS in the environment passed to ServerProcess.
     4        https://bugs.webkit.org/show_bug.cgi?id=85694
     5
     6        Reviewed by Martin Robinson.
     7
     8        This is sort of a follow-up to r100674: $XDG_DATA_DIRS should be
     9        preserved, as it is particularly useful for Linux/Unix
     10        environments.  As a real use case, if shared-mime-info is
     11        installed into a non-trivial prefix, Glib and other libraries will
     12        have trouble to properly identify mimetypes (in ResourceResponses,
     13        for example) as the base freedesktop.org mimetype file will not be
     14        found.
     15
     16        * Scripts/webkitpy/layout_tests/port/base.py:
     17        (Port.to.setup_environ_for_server):
     18
    1192012-05-04  Gustavo Noronha Silva  <gns@gnome.org>
    220
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/base.py

    r115377 r116209  
    740740            'LD_LIBRARY_PATH',
    741741            'DBUS_SESSION_BUS_ADDRESS',
     742            'XDG_DATA_DIRS',
    742743
    743744            # Darwin:
Note: See TracChangeset for help on using the changeset viewer.