[arch-commits] Commit in electron/trunk (4 files)
Date: Friday, October 25, 2019 @ 02:59:06 Author: tensor5 Revision: 518844 upgpkg: electron 7.0.0-1 Added: electron/trunk/chromium-system-icu.patch electron/trunk/chromium-system-zlib.patch Modified: electron/trunk/PKGBUILD electron/trunk/default_app-icon.patch + PKGBUILD | 30 ++ chromium-system-icu.patch | 20 chromium-system-zlib.patch | 13 + default_app-icon.patch |4 ++-- 4 files changed, 57 insertions(+), 10 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 00:34:42 UTC (rev 518843) +++ PKGBUILD2019-10-25 02:59:06 UTC (rev 518844) @@ -1,9 +1,9 @@ # Maintainer: Nicola Squartini pkgname=electron -pkgver=6.1.1 -_commit=aa863bc323d8ddfcae9e1211d9c2cb05f1f77c46 -_chromiumver=76.0.3809.146 +pkgver=7.0.0 +_commit=3083693e67632720b8d12b32d3811be0f4336318 +_chromiumver=78.0.3905.1 pkgrel=1 pkgdesc='Build cross platform desktop apps with web technologies' arch=('x86_64') @@ -12,7 +12,7 @@ depends=('c-ares' 'ffmpeg' 'gtk3' 'http-parser' 'libevent' 'libnghttp2' 'libxslt' 'libxss' 'minizip' 'nss' 're2' 'snappy') makedepends=('clang' 'git' 'gn' 'gperf' 'harfbuzz-icu' 'java-runtime-headless' - 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja' 'npm' 'pciutils' + 'jsoncpp' 'libnotify' 'lld' 'llvm' 'ninja' 'npm' 'pciutils' 'yarn' 'python2' 'wget' 'yasm') optdepends=('kde-cli-tools: file deletion support (kioclient5)' 'trash-cli: file deletion support (trash-put)' @@ -23,13 +23,17 @@ 'default_app-icon.patch' 'use-system-libraries-in-node.patch' 'chromium-skia-harmony.patch' +'chromium-system-icu.patch' +'chromium-system-zlib.patch' ) sha256sums=('SKIP' 'SKIP' '5270db01f3f8aaa5137dec275a02caa832b7f2e37942e068cba8d28b3a29df39' -'545196274b7fac0cf1e1169624bbc67414bb47a65c5112c88b6c0f4f9cb5914c' +'3d97c2b6d83a0c6dd22609484abd841a1c34dde45bd024cccbb85d4ae249dff5' 'c7eadac877179e586d0cce7f898aa1462b4c207733e68ecc17de9754b691713a' '771292942c0901092a402cc60ee883877a99fb804cb54d568c8c6c94565a48e1' +'e73cc2ee8d3ea35aab18c478d76fdfc68ca4463e1e10306fa1e738c03b3f26b5' +'eb67eda4945a89c3b90473fa8dc20637511ca4dcb58879a8ed6bf403700ca9c8' ) _system_libs=('ffmpeg' @@ -97,11 +101,15 @@ python2 src/third_party/depot_tools/download_from_google_storage.py \ --no_resume --extract --no_auth --bucket chromium-nodejs \ -s src/third_party/node/node_modules.tar.gz.sha1 - vpython src/chrome/android/profiles/update_afdo_profile.py + vpython src/tools/download_cros_provided_profile.py \ +--newest_state=src/chrome/android/profiles/newest.txt \ +--local_state=src/chrome/android/profiles/local.txt \ +--output_name=src/chrome/android/profiles/afdo.prof \ +--gs_url_base=chromeos-prebuilt/afdo-job/llvm python2 src/electron/script/apply_all_patches.py \ - src/electron/patches/common/config.json + src/electron/patches/config.json cd src/electron - npm install + yarn install --frozen-lockfile cd .. echo "Patching Chromium for using system libraries..." @@ -125,6 +133,8 @@ echo "Applying local patches..." patch -Np0 -i ../chromium-skia-harmony.patch + patch -Np1 -i ../chromium-system-icu.patch + patch -Np1 -i ../chromium-system-zlib.patch patch -Np1 -i ../use-system-libraries-in-node.patch patch -Np1 -i ../default_app-icon.patch # Icon from .desktop file } @@ -135,6 +145,10 @@ export AR=ar export NM=nm + # Do not warn about unknown warning options + CFLAGS+=' -Wno-unknown-warning-option' + CXXFLAGS+=' -Wno-unknown-warning-option' + cd src export CHROMIUM_BUILDTOOLS_PATH="${PWD}/buildtools" GN_EXTRA_ARGS=' Added: chromium-system-icu.patch === --- chromium-system-icu.patch (rev 0) +++ chromium-system-icu.patch 2019-10-25 02:59:06 UTC (rev 518844) @@ -0,0 +1,20 @@ +diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn +index 4450e40..9ca36dd 100644 +--- a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn +@@ -96,6 +96,7 @@ shim_headers("icui18n_shim") { + "unicode/fpositer.h", + "unicode/gender.h", + "unicode/gregocal.h", ++"unicode/listformatter.h", + "unicode/measfmt.h", + "unicode/measunit.h", + "unicode/measure.h", +@@ -178,7 +179,6 @@ shim_headers("icuuc_shim") { + "unicode/icudataver.h", + "unicode/icuplug.h", + "unicode/idna.h", +-"unicode/listformatter.h", + "unicode/localpointer.h", + "unicode/locdspnm.h", + "unicode/locid.h", Added: chromium-system-zlib.patch === --- chr
[arch-commits] Commit in electron/trunk (4 files)
Date: Sunday, November 27, 2016 @ 16:27:50 Author: tensor5 Revision: 197035 upgpkg: electron 1.4.8-2 Revert to using GDK_SCALE for HiDPI. Added: electron/trunk/chromium-gtk3.patch Modified: electron/trunk/PKGBUILD Deleted: electron/trunk/chromium-gtk3-hidpi.patch electron/trunk/chromium-gtk3-use-x11-backend.patch -+ PKGBUILD| 11 ++- chromium-gtk3-hidpi.patch | 49 -- chromium-gtk3-use-x11-backend.patch | 12 chromium-gtk3.patch | 13 + 4 files changed, 17 insertions(+), 68 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-11-27 15:19:05 UTC (rev 197034) +++ PKGBUILD2016-11-27 16:27:50 UTC (rev 197035) @@ -4,7 +4,7 @@ _chromiumver=53.0.2785.143 pkgname=electron pkgver=1.4.8 -pkgrel=1 +pkgrel=2 pkgdesc='Build cross platform desktop apps with web technologies' arch=('i686' 'x86_64') url='http://electron.atom.io/' @@ -50,8 +50,7 @@ 'libchromiumcontent-use-system-ffmpeg.patch' 'libchromiumcontent-use-system-tools.patch' 'chromium-cups.patch' -'chromium-gtk3-hidpi.patch' -'chromium-gtk3-use-x11-backend.patch' +'chromium-gtk3.patch' 'chromium-unset-madv_free.patch' 'chromium-use-system-ffmpeg.patch' 'chromium-use-system-minizip.patch' @@ -90,8 +89,7 @@ '56522aeb26fc5d6d70ed2b476e292b0ac24740f64e9e0384b501ba648bb8d9fa' '2fb2157c854dab173a2ef9b4aa0ab5bb3c0dd077447c4719c7554eee6e0546b6' 'f0db776be86c01020c6d28c9b4d2f53391692698231655003dcde43dea4eacb6' -'697767af13945702e57a182db561493d5fee431e82b17a776afe7fa1226ce353' -'9fd584d6198b915ad35198d1fcb6318e5ecb43b0befca95384148a305e2954dd' +'5573da0c0f1120ecbc0b20798c7342a06a978bb39d4e4362ea465244a8683c5f' 'ccba3002243fb1f9a67c8a60af310706caa591d12aef45f1d0f4bda47626f3ab' '7cda59fe372b37beca079adf55b951b4f3a6c7a5490813b729fa145562d2ba12' 'bc78d7af8e514ea28caa6c6ccaf78cc3e80044ef862e2ca7978439f183e36179' @@ -188,8 +186,7 @@ fi cd src patch -Np1 -i "${srcdir}"/chromium-cups.patch # fixes build with CUPS 2.2 - patch -Np1 -i "${srcdir}"/chromium-gtk3-hidpi.patch - patch -Np1 -i "${srcdir}"/chromium-gtk3-use-x11-backend.patch + patch -Np1 -i "${srcdir}"/chromium-gtk3.patch patch -Np1 -i "${srcdir}"/chromium-unset-madv_free.patch # fixes crash with kernels < 4.5 patch -Np1 -i "${srcdir}"/chromium-use-system-ffmpeg.patch patch -Np1 -i "${srcdir}"/chromium-use-system-minizip.patch Deleted: chromium-gtk3-hidpi.patch === --- chromium-gtk3-hidpi.patch 2016-11-27 15:19:05 UTC (rev 197034) +++ chromium-gtk3-hidpi.patch 2016-11-27 16:27:50 UTC (rev 197035) @@ -1,49 +0,0 @@ a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc -+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc -@@ -454,12 +454,18 @@ - - // Queries GTK for its font DPI setting and returns the number of pixels in a - // point. -+#if GTK_MAJOR_VERSION == 2 - double GetPixelsInPoint(float device_scale_factor) { -+#else -+double GetPixelsInPoint() { -+#endif - double dpi = GetDPI(); - -+#if GTK_MAJOR_VERSION == 2 - // Take device_scale_factor into account — if Chrome already scales the - // entire UI up by 2x, we should not also scale up. - dpi /= device_scale_factor; -+#endif - - // There are 72 points in an inch. - return dpi / 72.0; -@@ -1371,8 +1377,13 @@ - // Round the value when converting to pixels to match GTK's logic. - const double size_points = pango_font_description_get_size(desc) / - static_cast(PANGO_SCALE); -+#if GTK_MAJOR_VERSION == 2 - default_font_size_pixels_ = static_cast( - GetPixelsInPoint(device_scale_factor_) * size_points + 0.5); -+#else -+default_font_size_pixels_ = static_cast( -+GetPixelsInPoint() * size_points + 0.5); -+#endif - query.point_size = static_cast(size_points); - } - -@@ -1405,8 +1416,13 @@ - float Gtk2UI::GetDeviceScaleFactor() const { - if (display::Display::HasForceDeviceScaleFactor()) - return display::Display::GetForcedDeviceScaleFactor(); -+#if GTK_MAJOR_VERSION == 2 - const int kCSSDefaultDPI = 96; - const float scale = GetDPI() / kCSSDefaultDPI; -+#else -+ const float scale = static_cast(gdk_window_get_scale_factor( -+ gdk_screen_get_root_window(gdk_screen_get_default(; -+#endif - - // Blacklist scaling factors <130% (crbug.com/484400) and round - // to 1 decimal to prevent rendering problems (crbug.com/485183). Deleted: chromium-gtk3-use-x11-backend.patch === --- chromium-gtk3-use-x11-backend.patch 2016-11-27 15:19:05 UTC (rev 197034) +++ chromium-gtk3-use-x11-backend.patch 2016-11-27 16:27:50 UTC (rev 197035)
[arch-commits] Commit in electron/trunk (4 files)
Date: Thursday, August 11, 2016 @ 08:20:33 Author: tensor5 Revision: 186383 upgpkg: electron 1.3.3-1 Modified: electron/trunk/PKGBUILD electron/trunk/brightray-no-whole-archive.patch electron/trunk/brightray-use-system-ffmpeg.patch electron/trunk/libchromiumcontent-use-system-ffmpeg.patch + PKGBUILD | 14 +- brightray-no-whole-archive.patch |2 +- brightray-use-system-ffmpeg.patch |2 +- libchromiumcontent-use-system-ffmpeg.patch |2 +- 4 files changed, 8 insertions(+), 12 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-11 04:42:04 UTC (rev 186382) +++ PKGBUILD2016-08-11 08:20:33 UTC (rev 186383) @@ -3,8 +3,8 @@ _chromiumver=52.0.2743.82 pkgname=electron -pkgver=1.3.2 -pkgrel=4 +pkgver=1.3.3 +pkgrel=1 pkgdesc='Build cross platform desktop apps with web technologies' arch=('i686' 'x86_64') url='http://electron.atom.io/' @@ -70,11 +70,11 @@ 'dc3286a1947240ab6ec562263af0b3c9971da2a4ab45970e3e664563e877280f' 'fd237dada74a67a5652e0a4661d1e7f3a53a3bfa010b963579346f5456e9f190' '3bf045dc4ac1cb32491c4a20de313c3056824e75308f97b9e869fd5a2a166480' -'dc4a8937d8683ada2e008fb2b63cd02d58415629c220966c6a3a1cddcbe60e75' -'ee9c26d0248cbac908ec9120d26ec5694febfdf93413044552da892cf6a3b073' +'47371fb1061cfd8fd4b4f9f4477eb3ea119be1c84554fb2e590e73eda38aa2c2' +'eed2633bc4a5dd1c9449d19a8569ae1a682f3fac67177091952c4dba4b69bf95' '68977a78fb41a549eb449dd35f94e0168d647245516397f0ecdfa7a03a147045' '7bc4cc154643712556f2cfbcba72bc08d032a52a39bccc61c91a7b230fe9a80e' -'3adc8eb4408e4a89e907fdfa4cabc229d4f44592d75f7ef1aadad3ad77a852ae' +'1c4c4ad492cd5bb437d4b0ee1001e3e01e952eee23b56e697e44294c715c97ba' '2fb2157c854dab173a2ef9b4aa0ab5bb3c0dd077447c4719c7554eee6e0546b6' 'f890e35922a5e049491259354c221c8a51baff84092ef566ea590495e615445f' 'caaa63eabcfdced965638b3353448fabda9bc4e6d898d8ec278ecac31502ded1' @@ -85,9 +85,6 @@ prepare() { cd "${srcdir}"/electron - # Temporary fix incorrect version - git checkout 59076711cbbf79af8b20ba8040049f3c7e6eb665 - patch -Np1 -i "${srcdir}"/gtk3-menu-bar.patch patch -Np1 -i "${srcdir}"/use-system-clang.patch patch -Np1 -i "${srcdir}"/use-system-libraries-in-node.patch @@ -131,7 +128,6 @@ patch -Np1 -i "${srcdir}"/gyp-no-rpath.patch cd "${srcdir}"/electron/vendor/brightray/vendor/libchromiumcontent - git checkout 2d4ac5878f3a757a3f247122e86021732040bc6a # Temporary fix missing resources git submodule update --init vendor/python-patch patch -Np1 -i "${srcdir}"/libchromiumcontent-use-system-tools.patch patch -Np1 -i "${srcdir}"/libchromiumcontent-use-system-ffmpeg.patch Modified: brightray-no-whole-archive.patch === --- brightray-no-whole-archive.patch2016-08-11 04:42:04 UTC (rev 186382) +++ brightray-no-whole-archive.patch2016-08-11 08:20:33 UTC (rev 186383) @@ -1,6 +1,6 @@ --- a/brightray.gyp +++ b/brightray.gyp -@@ -37,14 +37,13 @@ +@@ -39,14 +39,13 @@ 'conditions': [ # Link with libraries of libchromiumcontent. ['OS=="linux" and libchromiumcontent_component==0', { Modified: brightray-use-system-ffmpeg.patch === --- brightray-use-system-ffmpeg.patch 2016-08-11 04:42:04 UTC (rev 186382) +++ brightray-use-system-ffmpeg.patch 2016-08-11 08:20:33 UTC (rev 186383) @@ -1,6 +1,6 @@ --- a/brightray.gyp +++ b/brightray.gyp -@@ -102,8 +102,6 @@ +@@ -104,8 +104,6 @@ }, { 'link_settings': { 'libraries': [ Modified: libchromiumcontent-use-system-ffmpeg.patch === --- libchromiumcontent-use-system-ffmpeg.patch 2016-08-11 04:42:04 UTC (rev 186382) +++ libchromiumcontent-use-system-ffmpeg.patch 2016-08-11 08:20:33 UTC (rev 186383) @@ -8,7 +8,7 @@ ], 'win32': [ 'chromedriver.exe', -@@ -298,7 +297,6 @@ +@@ -302,7 +301,6 @@ copy_generated_sources(target_arch, component, output_dir) copy_locales(target_arch, component, output_dir)