Changeset 202158 in webkit
- Timestamp:
- Jun 16, 2016 9:56:57 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r202157 r202158 1 2016-06-16 Gyuyoung Kim <gyuyoung.kim@webkit.org> 2 3 [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04 4 https://bugs.webkit.org/show_bug.cgi?id=158141 5 6 Reviewed by Michael Catanzaro. 7 8 * http/conf/debian-httpd-2.4-php7.conf: Added. 9 1 10 2016-06-15 Filip Pizlo <fpizlo@apple.com> 2 11 -
trunk/Tools/ChangeLog
r202157 r202158 1 2016-06-16 Gyuyoung Kim <gyuyoung.kim@webkit.org> 2 3 [EFL][GTK] LayoutTest doesn't run on Ubuntu 16.04 4 https://bugs.webkit.org/show_bug.cgi?id=158141 5 6 Reviewed by Michael Catanzaro. 7 8 * Scripts/webkitpy/port/base.py: Detect php version in system, then use it. 9 (Port._is_debian_php_version_7): 10 (Port._debian_php_version): 11 (Port._apache_config_file_name_for_platform): 12 * efl/install-dependencies: 13 * gtk/install-dependencies: 14 1 15 2016-06-16 Filip Pizlo <fpizlo@apple.com> 2 16 -
trunk/Tools/Scripts/webkitpy/port/base.py
r201404 r202158 1131 1131 return None 1132 1132 1133 def _is_debian_php_version_7(self): 1134 if self._filesystem.exists("/usr/lib/apache2/modules/libphp7.0.so"): 1135 return True 1136 return False 1137 1133 1138 # FIXME: This belongs on some platform abstraction instead of Port. 1134 1139 def _is_redhat_based(self): … … 1144 1149 config = self._executive.run_command([self._path_to_apache(), '-v']) 1145 1150 return re.sub(r'(?:.|\n)*Server version: Apache/(\d+\.\d+)(?:.|\n)*', r'\1', config) 1151 1152 def _debian_php_version(self): 1153 if self._is_debian_php_version_7(): 1154 return "-php7" 1155 return "" 1146 1156 1147 1157 # We pass sys_platform into this method to make it easy to unit test. … … 1153 1163 return 'fedora-httpd-' + self._apache_version() + '.conf' 1154 1164 if self._is_debian_based(): 1155 return 'debian-httpd-' + self._apache_version() + '.conf'1165 return 'debian-httpd-' + self._apache_version() + self._debian_php_version() + '.conf' 1156 1166 if self._is_arch_based(): 1157 1167 return 'archlinux-httpd.conf' -
trunk/Tools/efl/install-dependencies
r196601 r202158 112 112 apt-get install \ 113 113 apache2 \ 114 libapache2-mod-php5 \115 114 libruby \ 116 115 xvfb 116 117 installPHPWithApt 118 } 119 120 function installPHPWithApt { 121 if [ -f "/etc/os-release" ]; then 122 ubuntu_version=`grep VERSION_ID /etc/os-release` 123 if [[ $ubuntu_version == *VERSION_ID=\"16.04* ]]; then 124 apt-get install libapache2-mod-php7.0 125 else 126 apt-get install libapache2-mod-php5 127 fi 128 fi 117 129 } 118 130 -
trunk/Tools/gtk/install-dependencies
r194464 r202158 139 139 dbus-x11 \ 140 140 libapache2-mod-bw \ 141 libapache2-mod-php5 \142 141 libgpg-error-dev \ 143 142 pulseaudio-utils \ … … 193 192 194 193 apt-get install $packages 194 195 installPHPWithApt 195 196 } 196 197 … … 433 434 } 434 435 436 function installPHPWithApt { 437 if [ -f "/etc/os-release" ]; then 438 ubuntu_version=`grep VERSION_ID /etc/os-release` 439 if [[ $ubuntu_version == *VERSION_ID=\"16.04* ]]; then 440 apt-get install libapache2-mod-php7.0 441 else 442 apt-get install libapache2-mod-php5 443 fi 444 fi 445 } 446 435 447 checkInstaller 436 448
Note: See TracChangeset
for help on using the changeset viewer.