From d9294282a9e8166a636446de6c7ca05fda5be5bb Mon Sep 17 00:00:00 2001 From: UK992 Date: Sat, 1 Dec 2018 23:01:20 +0100 Subject: [PATCH] Remove GStreamer installer from Servo bundle --- python/servo/package_commands.py | 12 ++---------- support/windows/Servo.wxs | 4 ---- support/windows/Servo.wxs.mako | 9 +-------- 3 files changed, 3 insertions(+), 22 deletions(-) diff --git a/python/servo/package_commands.py b/python/servo/package_commands.py index 661e805a1c4..83f308f1816 100644 --- a/python/servo/package_commands.py +++ b/python/servo/package_commands.py @@ -19,7 +19,6 @@ import shutil import subprocess import sys import tempfile -import urllib from mach.decorators import ( CommandArgument, @@ -415,14 +414,7 @@ class PackageCommands(CommandBase): dir_to_installer = path.join(dir_to_msi, "Installer.msi") print("Packaged Servo into " + dir_to_installer) - # Download GStreamer installer. Only once. - gstreamer_msi_path = path.join(dir_to_msi, 'Gstreamer.msi') - if not os.path.exists(gstreamer_msi_path): - print('Fetching GStreamer installer. This may take a while...') - gstreamer_url = 'https://gstreamer.freedesktop.org/data/pkg/windows/1.14.2/gstreamer-1.0-x86-1.14.2.msi' - urllib.urlretrieve(gstreamer_url, gstreamer_msi_path) - - # Generate bundle with GStreamer and Servo installers. + # Generate bundle with Servo installer. print("Creating bundle") shutil.copy(path.join(dir_to_root, 'support', 'windows', 'Servo.wxs'), dir_to_msi) bundle_wxs_path = path.join(dir_to_msi, 'Servo.wxs') @@ -439,7 +431,7 @@ class PackageCommands(CommandBase): except subprocess.CalledProcessError as e: print("WiX light exited with return value %d" % e.returncode) return e.returncode - print("Packaged Servo into " + path.join(dir_to_msi, "Servo.msi")) + print("Packaged Servo into " + path.join(dir_to_msi, "Servo.exe")) print("Creating ZIP") zip_path = path.join(dir_to_msi, "Servo.zip") diff --git a/support/windows/Servo.wxs b/support/windows/Servo.wxs index d6ef3a04981..301e7108670 100644 --- a/support/windows/Servo.wxs +++ b/support/windows/Servo.wxs @@ -5,10 +5,6 @@ UpgradeCode="91b09c7e-6c0d-4166-b806-1dc724acf728"> - - - - - - - @@ -45,8 +39,7 @@ Icon="servo.exe" Advertise="yes"/> - ${include_dependencies()} - + ${include_dependencies()} ${include_directory(resources_path, "resources")}