diff --git a/buildlib/common.py b/buildlib/common.py index 614ccf6a..477735d7 100644 --- a/buildlib/common.py +++ b/buildlib/common.py @@ -291,9 +291,9 @@ class Builder: else: python_test_command = self.python2_command result = self._run_subprocess([python_test_command, "-c", - ("import sys;print '{}.{}.{}'.format(" + ("import sys;print('{}.{}.{}'.format(" "sys.version_info.major, sys.version_info.minor, " - "sys.version_info.micro)")], + "sys.version_info.micro))")], stdout=subprocess.PIPE, universal_newlines=True) if not result.returncode is 0: raise BuilderException("Python 2 command returned non-zero exit code {}".format( @@ -342,10 +342,10 @@ class Builder: with source_archive.open("rb") as file_obj: hasher.update(file_obj.read()) if not hasher.hexdigest() == hash_line[1]: - self.logger.error(("Archive does not have matching '{algorithm}'" - "hash '{hashhex}'").format(algorithm=hash_line[0], - hashhex=hash_line[1])) - return None + raise BuilderException(("Archive does not have matching '{algorithm}'" + "hash '{hashhex}'").format( + algorithm=hash_line[0], + hashhex=hash_line[1])) else: self.logger.warning("Hash algorithm '{}' not available. Skipping...".format( hash_line[0])) diff --git a/resources/common_debian/dpkg_dir/chromium.desktop b/resources/common_debian/dpkg_dir/chromium.desktop index 510d6d69..069e153f 100644 --- a/resources/common_debian/dpkg_dir/chromium.desktop +++ b/resources/common_debian/dpkg_dir/chromium.desktop @@ -1,4 +1,3 @@ -#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Name=Chromium Web Browser @@ -136,5 +135,5 @@ Type=Application Icon=chromium.png Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml_xml;application/x-mimearchive;x-scheme-handler/http;x-scheme-handler/https; -StartupWMClass=chromium-browser +StartupWMClass=chromium StartupNotify=true diff --git a/resources/common_debian/patches/common_debian/cups2.2.patch b/resources/common_debian/patches/common_debian/cups2.2.patch new file mode 100644 index 00000000..200476ea --- /dev/null +++ b/resources/common_debian/patches/common_debian/cups2.2.patch @@ -0,0 +1,14 @@ +description: add missing include that defines cups PPD interfaces +origin: https://bugs.chromium.org/p/chromium/issues/detail?id=622493 + +--- a/printing/backend/print_backend_cups.cc ++++ b/printing/backend/print_backend_cups.cc +@@ -4,6 +4,8 @@ + + #include "printing/backend/print_backend_cups.h" + ++#include ++ + #include + #include + #include diff --git a/resources/common_debian/patches/patch_order b/resources/common_debian/patches/patch_order index 85dabe15..e53f6e87 100644 --- a/resources/common_debian/patches/patch_order +++ b/resources/common_debian/patches/patch_order @@ -3,6 +3,7 @@ common_debian/manpage.patch common_debian/gtk3.patch common_debian/gtk3theme.patch +common_debian/cups2.2.patch common_debian/glibc2.24.patch common_debian/khronos.patch diff --git a/version.ini b/version.ini index 4729085c..eec5339e 100644 --- a/version.ini +++ b/version.ini @@ -1,3 +1,3 @@ [main] -chromium_version = 53.0.2785.116 +chromium_version = 53.0.2785.143 release_revision = 1