mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Update version.ini to 53.0.2785.143
Import Debian changes from 53.0.2785.143-1 Make Python 2 detection fail with a more informative error on Python 3 Throw a BuilderException when the source archive hashes do not match instead of continuing
This commit is contained in:
+6
-6
@@ -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]))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 <cups/ppd.h>
|
||||
+
|
||||
#include <dlfcn.h>
|
||||
#include <errno.h>
|
||||
#include <pthread.h>
|
||||
@@ -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
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
[main]
|
||||
chromium_version = 53.0.2785.116
|
||||
chromium_version = 53.0.2785.143
|
||||
release_revision = 1
|
||||
|
||||
Reference in New Issue
Block a user