summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElvis Pranskevichus <elvis@magic.io>2017-02-01 10:24:21 -0500
committerMikhail Pukhlikov <cynede@gentoo.org>2017-02-08 16:40:37 +0400
commit198708cd96ba57af50bf44455812f7b996f7dd61 (patch)
tree7380b1940a54f5ab186464c0823d683a82a755af /dev-util
parentsci-biology/uchime: EAPI 6 (diff)
downloadgentoo-198708cd96ba57af50bf44455812f7b996f7dd61.tar.gz
gentoo-198708cd96ba57af50bf44455812f7b996f7dd61.tar.bz2
gentoo-198708cd96ba57af50bf44455812f7b996f7dd61.zip
dev-util/electron: Fix compilation with cups-2.2, bump to 1.3.13.
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=607462 Package-Manager: portage-2.3.3 Closes: https://github.com/gentoo/gentoo/pull/3761
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/electron/Manifest8
-rw-r--r--dev-util/electron/electron-0.36.12-r5.ebuild (renamed from dev-util/electron/electron-0.36.12-r4.ebuild)3
-rw-r--r--dev-util/electron/electron-0.37.8-r2.ebuild (renamed from dev-util/electron/electron-0.37.8-r1.ebuild)3
-rw-r--r--dev-util/electron/electron-1.3.13-r1.ebuild (renamed from dev-util/electron/electron-1.3.6.ebuild)24
-rw-r--r--dev-util/electron/files/chromium-cups-fix.patch12
-rw-r--r--dev-util/electron/files/electron-1.3.13-vendor-node.patch95
6 files changed, 126 insertions, 19 deletions
diff --git a/dev-util/electron/Manifest b/dev-util/electron/Manifest
index 69a65ab0398f..1f24dacffc61 100644
--- a/dev-util/electron/Manifest
+++ b/dev-util/electron/Manifest
@@ -1,19 +1,19 @@
DIST asar-0.12.1.tar.gz 1016626 SHA256 731714f0036318fe0878b517391a01977954bb088d4dbc7dd98682ff1e03c0e7 SHA512 fc64be9b11215426d405f7acd7adf6c0eead3135b0012baf6d168a13c77675058a4e2c60682928ac014e4bef4538d452ad745d1e87dd315387997a19e04718a7 WHIRLPOOL d73b8bb459724bb3b011de312171519c1f1954a94ce1bb0a20eb9877c168baa82a15786d3ab420d5b3d32ce8a11333e85f844b43c21cbd56c3b019e73774388e
-DIST brightray-554946c7873bbc6930779c871fe230856575049a.tar.gz 82384 SHA256 71965df08464a57ad599f70f32cc4adac3467b952bc6683e8d35b8e676a40935 SHA512 79a5bb1e901fd59953f78e148fd37106bf6f0aa899b273308e2c4fa647942e853c6e3722e570f674495a775ed7d507f4ba7ee1f5ec277f5b4ed6c95fb0808267 WHIRLPOOL 936cb8edb6c6e68bc6b4f9780a917fadf2a62d20dba816ad71a2a05d87e6adf991d218d42f7a6e6a22f953270fc1b297e91b7767c9be6e69636f1b0b6ace3625
DIST brightray-8dbaeed37b9c4fb8ae985670b142f659bb265fb4.tar.gz 76965 SHA256 fb5e57cc723500c8a7b5fba8cf0a38d4ca79b3f967dd9f9427e6fca8cde81552 SHA512 eb0ad05107ebfb4151fb0f26f7dbea58c353cde0407c13ea00c7b98487fb29582d5f3e334900749dc43c8aeca828d8885c4d77dff6739de97ec19b33017a6e93 WHIRLPOOL d2aa3bd6361643304158dff859aa071400bc1b74f0fce934d5dc5eb25bf76d599a27efabde6c13bd20dadb15ffec7bb3ea8577bdb1e38e2382f81600d543fd35
DIST brightray-9bc1d21b69ac99bed546d42035dc1205ea6b04af.tar.gz 74416 SHA256 9cb944145085384423efdbdbe4dd523b71eaf517fd040e1993666832ffac4fa6 SHA512 c7a16f3634111a43d45959e0406488dc7417848403a6261204b58f67d62688f888f733ca23f3eac3a2dc76955c185ce845d63a6dc1e5a0fba54fb115202414d0 WHIRLPOOL c1ebe0e3adbd74da772778589f59f30a2e288723d62cf8bc686c1b0795daef4c31e9d38363b29dae9b162ccf856707f7a9eb34c8b31ca76042870d7adfa14e99
+DIST brightray-ee26c5218eeec199c54c92a7517a72d2dbd0adbf.tar.gz 82375 SHA256 37090168dfa0d776e28ecca88ef3ba57d3aa2937ef7dc4238e6685aa6f2b3e21 SHA512 7595f5a168d40c42687b8013b588e9c74d6f0047e71549a32d892fa3ca9de9d467303e635364bd779e94094aa9772b705ac027aad481b40d42c0c039ce8f3709 WHIRLPOOL 7b1686cfd9d2189942ab268485a7b230b99ef2a043a4e1b06aaf25c37a01a4278b35769fd73af5b838fdcb782f3a78a2821f95f6a91358d27f11149451437a17
DIST chromium-47.0.2526.110.tar.xz 394673276 SHA256 edab0d78709ba5edd35e85d82241de884d75dc46abdf7621b6178fa6647d14af SHA512 7b83b4b9c192782035984a08f5102dc6bc9c8590f78dc74fe46ff431b7de3d33ee48e41c0b1fb3f8ff2881871f2a1c4c4c4c16297b42456082b514fb741fc1c4 WHIRLPOOL b9b4053089cdf0a37a81ef491a97749a6473d280b7ed9d391ef4b98a844dd8e0ecbc9b97b72b654c65c3ea9f706519262b8f62f5e5ba97cb005a8c98a40f2b28
DIST chromium-49.0.2623.75.tar.xz 452264916 SHA256 a4fd4c85b12b021789d8afc33b27555396e47d9f67c8a062ee3609c4d6b582f5 SHA512 694f0ccd0a4ff10d8b19e52defb48f6d47daeaa47013f01c2924251f3c6ebaccb20813379c3b7dd6fd939138f25122ed7d1a56e1a6b80309aca65b6c854768fa WHIRLPOOL 00d5b37f425714e4bcb2b563759a8a7b084dc01b7abe6e90f21a3aa470c42944675b5a875e3e918506469cb6cd870038791566ad647b26bd4b11502beb97ecad
DIST chromium-52.0.2743.82.tar.xz 458110272 SHA256 a7de6015df9cf685d68efd1e070ae9c706c723cd9395d079a7d43672a2c37eb4 SHA512 9bba841cb726bfa06888deefacfcee628e36d25de47dd0303d3fd1ce2f07922148d60befe934f44c33fcdfed6ce3dadfb9e3ee0828b66994807178a488051806 WHIRLPOOL f0d258882db85291262c2381aeb6d85ebf20a252344e114a2da35e75f79dc8b73de95b71926512537af17e109fd7a8dd04386d5b3ed610262d42d11bcc1a5707
DIST electron-0.36.12.tar.gz 3068567 SHA256 8e4ee7ed37d32ad73f8cbfb132ce0009506a01a68d5a71bafd6858c6bc11f9a6 SHA512 37d016768e57f81b01338cea6d0d5eaa6ea72d83a2122b54c9c73e37b0afc7fb8351b0cb846afda29206379d5625657b815b002c2eb3c31babcd0cffa47ae3de WHIRLPOOL a358e353259d377dd59ae563f38b2fe185ade6d7a00bbad8c61831c92b4e200ac1f2f25b79564eae11d9082a569be342ccd4be6e400955cd65729e9299b48796
DIST electron-0.37.8.tar.gz 3154625 SHA256 d6b01e800aa4cd54b680aa1d78e8c04ed99f82423bab37fe03ad5eb12310f0c0 SHA512 1469129cc6e07da2540ab67d2bb9e2dec4055da77b35bf0abf86a70e82e3ccf443e75edb25feac6c8855c5e841592738319e1a81a52d504e90a5ce9197153754 WHIRLPOOL 677fc9c5bd96d04de43a28c8db23921fb98d3d9a455c32da8235b15c72f2480cce16a3705ae258de1c2b3a5af8d11607c3f868bae248553e593a77c454f94582
-DIST electron-1.3.6.tar.gz 4556606 SHA256 37b745261bd6c5e7cb6b077b91c9c94d147ed5731236b904eb05b39cff0c1f93 SHA512 08ba717fdb2cf088a17c8de9243887f6d11ce104856fe54dfdb7d3707b0201463334d3a52abf36f92f5dc9db7b53fb9938649f5d091609cc555235871e9736c5 WHIRLPOOL 3cf852f87f7c32a3cfe4caa79ed63e85e8f0db19481fb44e83e04cf3bf370e2ddea6f49c369b996f9368a1529a65b73ea43871538703c3cbdb8f98d85bb4456a
+DIST electron-1.3.13.tar.gz 4560040 SHA256 36695722484da433e4bfd465c5688a3b1429365385b547973444c8d7ef0cd810 SHA512 c15b8303e1a18674fd828991a118bf670ccd052b35cac7d476b06e7903055fa905a93a79dced4186c70d30c7d220a3b7daa2a4f490b70c87134fbc393d54d94d WHIRLPOOL 4e027b48a076a208c4c83f7a82e8f591de9bf22b4c5146d50dc06772257768db6a996eea974ad6097838573f8e69828899c862b3b9271bd34c92d95e9502376b
DIST electron-node-6bcd8af891a991f8aa196e49e6bf908ebbe24cae.tar.gz 36600837 SHA256 6b7bb43be6d24bc55a6ccd4b8efd2f88d8d2fd7d8437d7aa33d813c649f791f7 SHA512 7fcafa01027bd68794a7cd2f049a7bdf45e1dd56622583bd5d53d662328e64619dd5dbeec295ff559b1b268e90bf6abf3d76cd6d00f055602bbaa7443e3a3450 WHIRLPOOL c5dd664910a59c7fb1d4aaf3c91b298b7266466596ce2a4f4f41ff6637db9e480450eaf1e9255ab810de13df1abbd769f32bdc73124bea9ab4ed013cda945bd0
DIST electron-node-a507a3c3816d6ac085ed46250c489a3d76ab8b3c.tar.gz 36578658 SHA256 56489ffa9d58b736008f5c1c2775bc10f3afe02d3c768035e7742893cc8e1d82 SHA512 a5b62c05ec7300a26b3feab3c1e796a87691d41fa7c039541574878491df51e9075685abc5d630fc62bca95bf821eeede041d4ab36caedaf76156844f1095ea6 WHIRLPOOL 8675b05753cf905cfb2fc0ebb19fc256489a7b932c57be291eb2fc7194de599c07f4120541f4a61cccdb43b09b6280c7c02f9565aef98129c584fdca4c154279
-DIST electron-node-ee8c429deaee0adeeef069c3ad34c0defe53a567.tar.gz 42764387 SHA256 82791b95fec0dfd7b80b53f5bed7789c4ea50353dca95d23115c1aff5a5249a5 SHA512 971fbe2d9ff899eaf8e06e131cd12539ec804f9f81b87bb43fe07c43a33838066b98a4b76b974cdfe19a002a3242b270c03325c81f52abdd1befec3dd9d649c6 WHIRLPOOL d604e0101da4ae020de3092cf02becf8a1655e1aec69d1cde8dd8293a591af566f5ad9972cf00c8288e1319431be7ee54f0c460fb83246522465e569f07ab2bf
+DIST electron-node-c47e9bf9011de682d07c82f7f610a467f30cca60.tar.gz 44172045 SHA256 d0dad2c1ee6eea81fa6f55a70f4142eb7bffcc143532d50e848fea08b31d5ef7 SHA512 830cb5e4aa1956d0f67b0c5ad44241254596791b3bbc533a170b1b7bcb7a45137ff62b885a65a78a64323ad94f660c6b75142109d79256420b8d20a7d26acff7 WHIRLPOOL a69758c90ddbd3f75f9d62efb9cfefba9fe6c52c627fbcab103abe6e11916826c42e1b5072e203ce34657ac7fe9b79c2bc1621dd3b595626e138161bd91c6766
+DIST libchromiumcontent-27add4cfef98f21d5910539bebb47ae175f024c2.tar.gz 403724 SHA256 cf0342130f4bb929894249a381b6d6433f8d5b6d9331f4bd843250c4e66063b6 SHA512 7995fe40100b91f57ccc8fde445f136fda62d2c88a8a06d1b07aa588bcdb27905a542d62ec9cdf567b626439d8648fc749b73d7e9f52deaa94ead27e191a732f WHIRLPOOL 426d75c7ff7788d6dd208b68407bad7600090f6c1208823db65ef10ab7efcb8b8cbe9fce7ada6886a6711dfea0503a70a088e63f71221a8098cb62f3f3d1131c
DIST libchromiumcontent-60c7ec9f9bf465a8c9c7ccc3fcd2aa1cdf644bac.tar.gz 402072 SHA256 69877d4b9def6dc69063f0bf37d9d59721c22acced45e271b3f36bde8446a37c SHA512 ddd52e58df1848edab6c514e0ef8e4155eccec6bec9d4e557dc0ee7d5c2cc4036f25d1786376b5b47a5122a266f00cd589ce665b8463549e9383d60292d180dc WHIRLPOOL 789be242983ab54e212df13c6f51c5c949d6a4ace21a548b99f17e292b37842ce0c748e29c17bd116a95a163ca2bd709dadc59ecacc9d3ab8c58143ddf9f2d71
DIST libchromiumcontent-ad63d8ba890bcaad2f1b7e6de148b7992f4d3af7.tar.gz 400648 SHA256 36b46659fff3053ce273d3ed159fca74e18ebc873694f857a521d3c48fc079b1 SHA512 5fcb5e3dd98d5875ff7aa9f9f4d02af45487534d0301ca7a0a7adde934f528fedc3dfaf886b9031027e41309eb8ba658b72a56af4ad8dc44cce458b9c04a0e47 WHIRLPOOL 31d28804f91bbdece8709ddac359e7f5c079b034137734041f274838d138d8e141fe12c0ecf1e66f92b15e8c653526a1779d3bcc342e3ecc9a39a18c689a94a6
-DIST libchromiumcontent-c5cf295ef93d4ee88bff0c4b06b28ff0969a890e.tar.gz 401427 SHA256 6a6c1590a3a07e38af5f3b59008258ffb800ac8f8b2b63d9a3b12d6f3b41e996 SHA512 f4732e86b3520d9a9a766d69585316889e1f35b4379ac726ac183af34f4cd066cea3b18cda1a6595bf6822f30797fb9658b1327eba9b1a5ebbb0d5aef559a23a WHIRLPOOL 027a188cfc2fbccd3cd7a838582851701e7d8a35845c4088e081b515a80dc8f1b92eb46d2e3a71aade62aa5c2632f1bc4252c1f3b4e6b246f6308dec900c858b
DIST native-mate-0df2d882ea2286e6335f206b7002037fce66c4a5.tar.gz 23738 SHA256 d0ad6b3079fcfdf1adb09a68f5d8b7ac5b83c6d19b078993941b1a95ccac232b SHA512 fdd928a4b170636320e6cfd65753aec47c38380ef6f1b6dde255fbdcf3756abe8568e689e1214d768056187b243f979f16d4289ce8429a5ddd17b07f806ef731 WHIRLPOOL 762c4f2c093853731cbf8a79953e0da0bf66d6f1f08a08ad3ba2131b87113209bc93e138e974745b89da5dd9c14c0d5035dd686ad5b79ad7faba0b6076d2a6fb
DIST native-mate-b5e5de626c6a57e44c7e6448d8bbaaac475d493c.tar.gz 23465 SHA256 e9a5340c51690100be798c3d8c76662f78b0f292b22e394a5703326c07fc2639 SHA512 d004f4ec3ca77d98b2b2bc271c830b769bb6396e70d8dbf25ede87c509ce95dea083d6e5b3d050647cdf3d0a6a21c6da91176eba90d7256ab80f5d23248a6bb1 WHIRLPOOL 66b0d5544d8e72692150541a8f7ecac7421edef2a4d3837a1f7a1dea785f99fb40492261654ad7b6c1a38fcf04a44d4afa832d20175eb34944437712bbb711ef
DIST native-mate-e719eab878c264bb03188d0cd6eb9ad6882bc13a.tar.gz 23818 SHA256 82da85193f6924ce395004ce9dfd1198848cf8f14b7904321e67cad26a39f794 SHA512 4272648127fb0bf90b36d2c090bea718d560737c1c7443a5b3c0de12999ffe607429b2112ecee36ece5d26cde54e78964303250ffd350a19c132c9733b72c523 WHIRLPOOL c275163b9f3f424f5909f17c67f5b029f03bf76679296781bd6d74e64d903dd29cf5c28f1c4e399a049331f54f03175fe2c02de9ef6bf65040d9cef05be44a51
diff --git a/dev-util/electron/electron-0.36.12-r4.ebuild b/dev-util/electron/electron-0.36.12-r5.ebuild
index b5159e6a8c54..869e4d29beef 100644
--- a/dev-util/electron/electron-0.36.12-r4.ebuild
+++ b/dev-util/electron/electron-0.36.12-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -296,6 +296,7 @@ src_prepare() {
epatch "${FILESDIR}/chromium-remove-gardiner-mod-font.patch"
epatch "${FILESDIR}/chromium-shared-v8.patch"
epatch "${FILESDIR}/chromium-lto-fixes.patch"
+ epatch "${FILESDIR}/chromium-cups-fix.patch"
# libcc chromium patches
_unnest_patches "${LIBCC_S}/patches"
diff --git a/dev-util/electron/electron-0.37.8-r1.ebuild b/dev-util/electron/electron-0.37.8-r2.ebuild
index 9d0742feba88..3e175472a44f 100644
--- a/dev-util/electron/electron-0.37.8-r1.ebuild
+++ b/dev-util/electron/electron-0.37.8-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -299,6 +299,7 @@ src_prepare() {
epatch "${FILESDIR}/chromium-shared-v8.patch"
epatch "${FILESDIR}/chromium-lto-fixes.patch"
epatch "${FILESDIR}/chromium-icu-58-r0.patch"
+ epatch "${FILESDIR}/chromium-cups-fix.patch"
# libcc chromium patches
_unnest_patches "${LIBCC_S}/patches"
diff --git a/dev-util/electron/electron-1.3.6.ebuild b/dev-util/electron/electron-1.3.13-r1.ebuild
index 1ec653dd2fa0..f12aaca60298 100644
--- a/dev-util/electron/electron-1.3.6.ebuild
+++ b/dev-util/electron/electron-1.3.13-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -16,13 +16,13 @@ inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib \
# Keep this in sync with vendor/brightray/vendor/libchromiumcontent/VERSION
CHROMIUM_VERSION="52.0.2743.82"
# Keep this in sync with vendor/brightray
-BRIGHTRAY_COMMIT="554946c7873bbc6930779c871fe230856575049a"
+BRIGHTRAY_COMMIT="ee26c5218eeec199c54c92a7517a72d2dbd0adbf"
# Keep this in sync with vendor/node
-NODE_COMMIT="ee8c429deaee0adeeef069c3ad34c0defe53a567"
+NODE_COMMIT="c47e9bf9011de682d07c82f7f610a467f30cca60"
# Keep this in sync with vendor/native_mate
NATIVE_MATE_COMMIT="b5e5de626c6a57e44c7e6448d8bbaaac475d493c"
# Keep this in sync with vendor/brightray/vendor/libchromiumcontent
-LIBCHROMIUMCONTENT_COMMIT="c5cf295ef93d4ee88bff0c4b06b28ff0969a890e"
+LIBCHROMIUMCONTENT_COMMIT="27add4cfef98f21d5910539bebb47ae175f024c2"
# Keep this in sync with package.json#devDependencies
ASAR_VERSION="0.12.1"
@@ -150,18 +150,14 @@ DEPEND+=" $(python_gen_any_dep '
dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
dev-python/html5lib[${PYTHON_USEDEP}]
- dev-python/jinja[${PYTHON_USEDEP}]
dev-python/jsmin[${PYTHON_USEDEP}]
- dev-python/ply[${PYTHON_USEDEP}]
dev-python/simplejson[${PYTHON_USEDEP}]
')"
python_check_deps() {
has_version --host-root "dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" &&
has_version --host-root ">=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" &&
has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" &&
- has_version --host-root "dev-python/jinja[${PYTHON_USEDEP}]" &&
has_version --host-root "dev-python/jsmin[${PYTHON_USEDEP}]" &&
- has_version --host-root "dev-python/ply[${PYTHON_USEDEP}]" &&
has_version --host-root "dev-python/simplejson[${PYTHON_USEDEP}]"
}
@@ -258,7 +254,7 @@ src_prepare() {
ln -s "${WORKDIR}/${ASAR_P}/node_modules" "${S}/node_modules" || die
# electron patches
- epatch "${FILESDIR}/${P}.patch"
+ epatch "${FILESDIR}/${PN}-1.3.6.patch"
# node patches
cd "${NODE_S}" || die
@@ -283,16 +279,15 @@ src_prepare() {
# brightray patches
cd "${BRIGHTRAY_S}" || die
- epatch "${FILESDIR}/${P}-vendor-brightray.patch"
+ epatch "${FILESDIR}/${PN}-1.3.6-vendor-brightray.patch"
# libcc patches
cd "${LIBCC_S}" || die
- epatch "${FILESDIR}/${P}-vendor-libchromiumcontent.patch"
+ epatch "${FILESDIR}/${PN}-1.3.6-vendor-libchromiumcontent.patch"
# chromium patches
cd "${S}" || die
epatch "${FILESDIR}/chromium-system-ffmpeg-r2.patch"
- epatch "${FILESDIR}/chromium-system-jinja-r9.patch"
epatch "${FILESDIR}/chromium-disable-widevine.patch"
epatch "${FILESDIR}/chromium-last-commit-position-r0.patch"
epatch "${FILESDIR}/chromium-snapshot-toolchain-r1.patch"
@@ -304,7 +299,7 @@ src_prepare() {
epatch "${FILESDIR}/chromium-shared-v8-r1.patch"
epatch "${FILESDIR}/chromium-lto-fixes-r1.patch"
epatch "${FILESDIR}/chromium-icu-58-r1.patch"
-
+ epatch "${FILESDIR}/chromium-cups-fix.patch"
# libcc chromium patches
_unnest_patches "${LIBCC_S}/patches"
@@ -374,6 +369,7 @@ src_prepare() {
'third_party/google_input_tools/third_party/closure_library/third_party/closure' \
'third_party/hunspell' \
'third_party/iccjpeg' \
+ 'third_party/jinja2' \
'third_party/jstemplate' \
'third_party/khronos' \
'third_party/leveldatabase' \
@@ -394,6 +390,7 @@ src_prepare() {
'third_party/libyuv' \
'third_party/lss' \
'third_party/lzma_sdk' \
+ 'third_party/markupsafe' \
'third_party/mesa' \
'third_party/modp_b64' \
'third_party/mt19937ar' \
@@ -412,6 +409,7 @@ src_prepare() {
'third_party/pdfium/third_party/libpng16' \
'third_party/pdfium/third_party/libtiff' \
'third_party/pdfium/third_party/zlib_v128' \
+ 'third_party/ply' \
'third_party/polymer' \
'third_party/protobuf' \
'third_party/protobuf/third_party/six' \
diff --git a/dev-util/electron/files/chromium-cups-fix.patch b/dev-util/electron/files/chromium-cups-fix.patch
new file mode 100644
index 000000000000..bbd462a8081e
--- /dev/null
+++ b/dev-util/electron/files/chromium-cups-fix.patch
@@ -0,0 +1,12 @@
+index 8bacfd7..b469a1c 100644
+--- a/printing/backend/print_backend_cups.cc
++++ b/printing/backend/print_backend_cups.cc
+
+@@ -4,6 +4,7 @@
+
+ #include "printing/backend/print_backend_cups.h"
+
++#include <cups/ppd.h>
+ #include <dlfcn.h>
+ #include <errno.h>
+ #include <pthread.h>
diff --git a/dev-util/electron/files/electron-1.3.13-vendor-node.patch b/dev-util/electron/files/electron-1.3.13-vendor-node.patch
new file mode 100644
index 000000000000..8db4a0527df2
--- /dev/null
+++ b/dev-util/electron/files/electron-1.3.13-vendor-node.patch
@@ -0,0 +1,95 @@
+From fe90355a9b8db14ad94cae189ccb90cab0800d5b Mon Sep 17 00:00:00 2001
+From: Elvis Pranskevichus <elvis@magic.io>
+Date: Wed, 10 Feb 2016 14:45:13 -0500
+Subject: [PATCH] Build fixes
+
+---
+ lib/internal/bootstrap_node.js | 2 ++
+ node.gyp | 13 ++++++++-----
+ src/node_main.cc | 2 ++
+ 3 files changed, 12 insertions(+), 5 deletions(-)
+
+diff --git a/lib/internal/bootstrap_node.js b/lib/internal/bootstrap_node.js
+index 9505c7b8a..27d7b9da9 100644
+--- a/lib/internal/bootstrap_node.js
++++ b/lib/internal/bootstrap_node.js
+@@ -50,7 +50,9 @@
+ setupGlobalConsole();
+ }
+
++ if (!process.env.ELECTRON_NODE_DISABLE_ASAR_SUPPORT) {
+ setupAsarSupport();
++ }
+
+ const _process = NativeModule.require('internal/process');
+
+diff --git a/node.gyp b/node.gyp
+index a6f7e6e5b..5b95c5778 100644
+--- a/node.gyp
++++ b/node.gyp
+@@ -1,6 +1,7 @@
+ {
+ 'variables': {
+ 'v8_use_snapshot%': 'false',
++ 'v8_gyp_path%': 'deps/v8/tools/gyp/v8.gyp',
+ 'node_use_dtrace%': 'false',
+ 'node_use_lttng%': 'false',
+ 'node_use_etw%': 'false',
+@@ -127,6 +128,8 @@
+
+ 'dependencies': [
+ 'node_js2c#host',
++ '<(v8_gyp_path):v8',
++ '<(v8_gyp_path):v8_libplatform'
+ ],
+
+ 'include_dirs': [
+@@ -258,8 +261,8 @@
+ }],
+ [ 'node_use_bundled_v8=="true"', {
+ 'dependencies': [
+- 'deps/v8/tools/gyp/v8.gyp:v8',
+- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
++ '<(v8_gyp_path):v8',
++ '<(v8_gyp_path):v8_libplatform'
+ ],
+ }],
+ [ 'node_use_v8_platform=="true"', {
+@@ -869,13 +872,13 @@
+ }],
+ [ 'node_use_v8_platform=="true"', {
+ 'dependencies': [
+- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform',
++ '<(v8_gyp_path):v8_libplatform',
+ ],
+ }],
+ [ 'node_use_bundled_v8=="true"', {
+ 'dependencies': [
+- 'deps/v8/tools/gyp/v8.gyp:v8',
+- 'deps/v8/tools/gyp/v8.gyp:v8_libplatform'
++ '<(v8_gyp_path):v8',
++ '<(v8_gyp_path):v8_libplatform'
+ ],
+ }],
+ ]
+diff --git a/src/node_main.cc b/src/node_main.cc
+index bde397562..5b5a6dd99 100644
+--- a/src/node_main.cc
++++ b/src/node_main.cc
+@@ -49,11 +49,13 @@ int wmain(int argc, wchar_t *wargv[]) {
+ }
+ #else
+ // UNIX
++#include <stdlib.h>
+ int main(int argc, char *argv[]) {
+ // Disable stdio buffering, it interacts poorly with printf()
+ // calls elsewhere in the program (e.g., any logging from V8.)
+ setvbuf(stdout, nullptr, _IONBF, 0);
+ setvbuf(stderr, nullptr, _IONBF, 0);
++ putenv("ELECTRON_NODE_DISABLE_ASAR_SUPPORT=1");
+ return node::Start(argc, argv);
+ }
+ #endif
+--
+2.11.0
+