Merge pull request #2371 from poyraz76/master

yapıstır gelsin
This commit is contained in:
yusuf
2016-12-10 12:41:12 +03:00
committed by GitHub
8 changed files with 260 additions and 93 deletions
@@ -28,7 +28,7 @@
<History>
<Update release="1">
<Date>2016-10-01</Date>
<Date>2016-12-12</Date>
<Version>1.5</Version>
<Comment>First Release.</Comment>
<Name>Stefan Gronewold(groni)</Name>
@@ -44,11 +44,11 @@
<History>
<Update release="1">
<Date>2016-12-07</Date>
<Date>2016-12-12</Date>
<Version>0.98.2</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Community</Name>
<Email>admin@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
+10 -3
View File
@@ -12,7 +12,7 @@
<IsA>library</IsA>
<Summary>Google Chrome's Pepper Flash plugin for Chromium.</Summary>
<Description>Google Chrome's Pepper Flash plugin for Chromium (stable version)</Description>
<Archive sha1sum="6ab01b5c3330afb8b3eb8a3d4b7522cdde939e73" type="targz">https://sourceforge.net/projects/pisi-source/files/pepperflash-22.0.0.209.tar.gz</Archive>
<Archive sha1sum="f3dce14a3fd1660cc620def982b8b48c4e3e7923" type="targz">https://sourceforge.net/projects/pisi-source/files/pepperflash-23.0.0.207.tar.gz</Archive>
</Source>
<Package>
@@ -33,8 +33,15 @@
<History>
<Update release="4">
<Date>2016-07-22</Date>
<Version>22.0.0.209</Version>
<Date>2016-12-12</Date>
<Version>23.0.0.207</Version>
<Comment>Version Bump</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2016-06-30</Date>
<Version>22.0.0.192</Version>
<Comment>Version Bump</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
+48 -86
View File
@@ -17,106 +17,68 @@ ARCH = "x64"
def setup():
shelltools.export("LC_ALL", "C")
shelltools.system("export -n CFLAGS CXXFLAGS")
shelltools.system("sed -i 's|icu)|icu-i18n)|g' build/linux/system.gyp")
shelltools.system("CFLAGS+=' -fno-delete-null-pointer-checks'")
shelltools.touch(get.workDIR() + "/chromium-*/chrome/test/data/webui/i18n_process_css_test.html")
options = "\
-Dwerror= \
-Dclang=0 \
-Dpython_ver=2.7 \
-Dlinux_link_gsettings=1 \
-Dlinux_link_libpci=1 \
-Dlinux_link_libspeechd=1 \
-Dlinux_link_pulseaudio=1 \
-Dlinux_strip_binary=1 \
-Dlinux_use_bundled_binutils=0 \
-Dlinux_use_bundled_gold=0 \
-Dlinux_use_gold_flags=0 \
-Dicu_use_data_file_flag=1 \
-Dlogging_like_official_build=1 \
-Dtracing_like_official_build=1 \
-Dffmpeg_branding=Chrome \
-Dproprietary_codecs=1 \
-Duse_gnome_keyring=0 \
-Duse_system_bzip2=1 \
-Duse_system_flac=1 \
-Duse_system_ffmpeg=0 \
-Duse_system_harfbuzz=1 \
-Duse_system_icu=0 \
-Duse_system_libevent=1 \
-Duse_system_libjpeg=1 \
-Duse_system_libpng=1 \
-Duse_system_libvpx=1 \
-Duse_system_libxml=0 \
-Duse_system_snappy=1 \
-Duse_system_xdg_utils=1 \
-Duse_system_yasm=1 \
-Duse_system_zlib=0 \
-Duse_mojo=0 \
-Duse_gconf=0 \
-Duse_sysroot=0 \
-Denable_widevine=1 \
-Ddisable_glibc=1 \
-Ddisable_nacl=1 \
-Ddisable_pnacl=1 \
-Ddisable_fatal_linker_warnings=1 \
-Drelease_extra_cflags=-fno-ipa-cp \
-Denable_hangout_services_extension=1 \
-Dusb_ids_path=/usr/share/misc/usb.ids \
-Dlibspeechd_h_prefix=speech-dispatcher/ \
-Dfieldtrial_testing_like_official_build=1 \
-Dlinux_sandbox_path=/usr/lib/chromium-browser/chromium-sandbox \
-Dlinux_sandbox_chrome_path=/usr/lib/chromium-browser/chromium-browser \
-Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc \
-Dgoogle_default_client_id=329227923882.apps.googleusercontent.com \
-Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu "
shelltools.system("build/linux/unbundle/replace_gyp_files.py %s" % options)
shelltools.system("build/gyp_chromium build/all.gyp --depth=. %s" % options)
shelltools.export("GYP_GENERATORS","ninja")
for LIB in ["flac", "harfbuzz-ng" "libwebp" ,"libxslt", "yasm"]:
shelltools.system('find -type f -path "*third_party/$LIB/*" \! -path "*third_party/$LIB/chromium/*" \! -path "*third_party/$LIB/google/*" \! -regex ".*\.\(gn\|gni\|isolate\|py\)" -delete')
shelltools.system("build/linux/unbundle/replace_gn_files.py --system-libraries flac harfbuzz-ng libwebp libxslt yasm")
opt = 'use_sysroot=false \
is_clang=false enable_nacl=false \
enable_nacl_nonsfi=false \
fieldtrial_testing_like_official_build=true \
clang_use_chrome_plugins=false \
symbol_level=0 \
fatal_linker_warnings=false \
treat_warnings_as_errors=false \
use_cups=true \
use_gnome_keyring=false\
use_gold=false \
use_kerberos=true \
enable_hangout_services_extension=true \
use_gconf=false \
enable_widevine=true \
linux_use_bundled_binutils=false \
is_debug=false \
ffmpeg_branding="Chrome" \
google_default_client_secret="0ZChLK6AxeA3Isu96MkwqDR4" \
google_api_key="AIzaSyDwr302FpOSkGRpLlUpPThNTDPbXcIn_FM" \
google_default_client_id="413772536636.apps.googleusercontent.com" \
remove_webcore_debug_symbols=true \
proprietary_codecs=true \
link_pulseaudio=true \
use_pulseaudio=true \
use_gtk3=false'
shelltools.system("tools/gn/bootstrap/bootstrap.py --gn-gen-args '%s'"% opt)
shelltools.system("out/Release/gn gen out/Release --args='%s'"% opt)
def build():
#Sandbox for error must remain separate
shelltools.system("ninja -C out/Release chrome")
shelltools.system("ninja -C out/Release chrome_sandbox")
shelltools.system("ninja -C out/Release chromedriver")
shelltools.system("ninja -C out/Release widevinecdmadapter")
def install():
shelltools.cd("out/Release")
#should be checked should for the missing folder "out/Release"
pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
pisitools.insinto("/usr/lib/chromium-browser", "*.json")
pisitools.insinto("/usr/lib/chromium-browser", "chrome")
pisitools.insinto("/usr/lib/chromium-browser", "locales")
pisitools.insinto("/usr/lib/chromium-browser", "resources")
pisitools.insinto("/usr/lib/chromium-browser", "icudtl.dat")
pisitools.insinto("/usr/lib/chromium-browser", "mksnapshot")
pisitools.insinto("/usr/lib/chromium-browser", "chromedriver")
pisitools.insinto("/usr/lib/chromium-browser", "natives_blob.bin")
pisitools.insinto("/usr/lib/chromium-browser", "snapshot_blob.bin")
pisitools.insinto("/usr/lib/chromium-browser", "character_data_generator")
pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chrome-sandbox")
pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/bin/chromium-browser")
shelltools.system("chmod -v 4755 %s/usr/lib/chromium-browser/chrome-sandbox" %get.installDIR())
for vla in ["*.pak", "*.json", "chrome", "locales", "resources", "icudtl.dat", "mksnapshot", "chromedriver", "natives_blob.bin", "snapshot_blob.bin", "character_data_generator"]:
pisitools.insinto("/usr/lib/chromium-browser", "%s" % vla)
pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chrome-sandbox")
pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/bin/chromium-browser")
shelltools.system("chmod -v 4755 %s/usr/lib/chromium-browser/chrome-sandbox" %get.installDIR())
pisitools.newman("chrome.1", "chromium-browser.1")
shelltools.cd("../..")
for size in ["22", "24", "48", "64", "128", "256"]:
pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")
pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
pisitools.dodoc("LICENSE")
pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
pisitools.dodoc("LICENSE")
@@ -0,0 +1,135 @@
From 424584b4984bde7c831f42e9fb47f1ad583a1c46 Mon Sep 17 00:00:00 2001
From: jshin <jshin@chromium.org>
Date: Fri, 21 Oct 2016 01:15:50 -0700
Subject: [PATCH] Update aspirational_scripts per Unicode 9
This is a preparation to update ICU to 58.1.
Without this change, ICU update CL cannot be tested on
trybots because a compile will fail due to '#error' checking
if ICU version is less than 58.
BUG=637001
TEST=None
TBR=pkasting@chromium.org
Review-Url: https://chromiumcodereview.appspot.com/2436113003
Cr-Commit-Position: refs/heads/master@{#426749}
---
components/url_formatter/url_formatter.cc | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/components/url_formatter/url_formatter.cc b/components/url_formatter/url_formatter.cc
index 4455db3..2b82c0c 100644
--- a/components/url_formatter/url_formatter.cc
+++ b/components/url_formatter/url_formatter.cc
@@ -428,9 +428,9 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) {
// section at
// http://www.unicode.org/Public/security/latest/xidmodifications.txt) are
// are added to the allowed set. The list has to be updated when a new
- // version of Unicode is released. The current version is 8.0.0 and ICU 58
- // will have Unicode 9.0 data.
-#if U_ICU_VERSION_MAJOR_NUM < 58
+ // version of Unicode is released. The current version is 9.0.0 and ICU 60
+ // will have Unicode 10.0 data.
+#if U_ICU_VERSION_MAJOR_NUM < 60
const icu::UnicodeSet aspirational_scripts(
icu::UnicodeString(
// Unified Canadian Syllabics
@@ -444,13 +444,13 @@ void IDNSpoofChecker::SetAllowedUnicodeSet(UErrorCode* status) {
// Yi
"\\uA000-\\uA48C"
// Miao
- "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7F"
+ "\\U00016F00-\\U00016F44\\U00016F50-\\U00016F7E"
"\\U00016F8F-\\U00016F9F]",
-1, US_INV),
*status);
allowed_set.addAll(aspirational_scripts);
#else
-#error "Update aspirational_scripts per Unicode 9.0"
+#error "Update aspirational_scripts per Unicode 10.0"
#endif
// U+0338 is included in the recommended set, while U+05F4 and U+2027 are in
--
2.10.2
From e60b571faa3f14dd9119a6792dccf12f8bf80192 Mon Sep 17 00:00:00 2001
From: jshin <jshin@chromium.org>
Date: Fri, 21 Oct 2016 12:20:05 -0700
Subject: [PATCH] Prepare to upgrade ICU to 58 part 2
U_LB_COUNT is assumed to be 40 in Blink line breaking code, but it's
43 in ICU 58/Unicode 9.
Three new classes (Emoji Base, Emoji Modifier, and ZWJ) should behave
identically whether or not 'word-break: break-all' is in effect.
BUG=637001
TEST=TextBreakIterator.cpp is compiled without an error with ICU 58.
R=kojii@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Review-Url: https://chromiumcodereview.appspot.com/2440923002
Cr-Commit-Position: refs/heads/master@{#426860}
---
.../WebKit/Source/platform/text/TextBreakIterator.cpp | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/third_party/WebKit/Source/platform/text/TextBreakIterator.cpp b/third_party/WebKit/Source/platform/text/TextBreakIterator.cpp
index 568dc0a..36121eb 100644
--- a/third_party/WebKit/Source/platform/text/TextBreakIterator.cpp
+++ b/third_party/WebKit/Source/platform/text/TextBreakIterator.cpp
@@ -28,6 +28,9 @@
#include "wtf/StdLibExtras.h"
#include "wtf/text/CharacterNames.h"
+#include <unicode/uchar.h>
+#include <unicode/uvernum.h>
+
namespace blink {
unsigned numGraphemeClusters(const String& string) {
@@ -129,6 +132,11 @@ static const unsigned char asciiLineBreakTable[][(asciiLineBreakTableLastChar -
};
// clang-format on
+#if U_ICU_VERSION_MAJOR_NUM >= 58
+#define BA_LB_COUNT (U_LB_COUNT - 3)
+#else
+#define BA_LB_COUNT U_LB_COUNT
+#endif
// Line breaking table for CSS word-break: break-all. This table differs from
// asciiLineBreakTable in:
// - Indices are Line Breaking Classes defined in UAX#14 Unicode Line Breaking
@@ -136,7 +144,7 @@ static const unsigned char asciiLineBreakTable[][(asciiLineBreakTableLastChar -
// - 1 indicates additional break opportunities. 0 indicates to fallback to
// normal line break, not "prohibit break."
// clang-format off
-static const unsigned char breakAllLineBreakClassTable[][U_LB_COUNT / 8 + 1] = {
+static const unsigned char breakAllLineBreakClassTable[][BA_LB_COUNT / 8 + 1] = {
// XX AI AL B2 BA BB BK CB CL CM CR EX GL HY ID IN IS LF NS NU OP PO PR QU SA SG SP SY ZW NL WJ H2 H3 JL JT JV CP CJ HL RI
{ B(0, 0, 0, 0, 0, 0, 0, 0), B(0, 0, 0, 0, 0, 0, 0, 0), B(0, 0, 0, 0, 0, 0, 0, 0), B(0, 0, 0, 0, 0, 0, 0, 0), B(0, 0, 0, 0, 0, 0, 0, 0) }, // XX
{ B(0, 1, 1, 0, 1, 0, 0, 0), B(0, 0, 0, 0, 0, 1, 0, 0), B(0, 0, 0, 1, 1, 0, 1, 0), B(1, 0, 0, 0, 0, 0, 0, 0), B(0, 0, 0, 0, 0, 0, 1, 0) }, // AI
@@ -190,7 +198,7 @@ static_assert(WTF_ARRAY_LENGTH(asciiLineBreakTable) ==
asciiLineBreakTableLastChar - asciiLineBreakTableFirstChar +
1,
"asciiLineBreakTable should be consistent");
-static_assert(WTF_ARRAY_LENGTH(breakAllLineBreakClassTable) == U_LB_COUNT,
+static_assert(WTF_ARRAY_LENGTH(breakAllLineBreakClassTable) == BA_LB_COUNT,
"breakAllLineBreakClassTable should be consistent");
static inline bool shouldBreakAfter(UChar lastCh, UChar ch, UChar nextCh) {
@@ -226,8 +234,8 @@ static inline ULineBreak lineBreakPropertyValue(UChar lastCh, UChar ch) {
static inline bool shouldBreakAfterBreakAll(ULineBreak lastLineBreak,
ULineBreak lineBreak) {
- if (lineBreak >= 0 && lineBreak < U_LB_COUNT && lastLineBreak >= 0 &&
- lastLineBreak < U_LB_COUNT) {
+ if (lineBreak >= 0 && lineBreak < BA_LB_COUNT && lastLineBreak >= 0 &&
+ lastLineBreak < BA_LB_COUNT) {
const unsigned char* tableRow = breakAllLineBreakClassTable[lastLineBreak];
return tableRow[lineBreak / 8] & (1 << (lineBreak % 8));
}
--
2.10.2
@@ -0,0 +1,27 @@
--- chromium-55.0.2883.75/tools/gn/gn_main.cc.orig 2016-12-12 11:49:56.260549036 +0000
+++ chromium-55.0.2883.75/tools/gn/gn_main.cc 2016-12-12 11:50:14.780931485 +0000
@@ -11,13 +11,7 @@
#include "tools/gn/standard_out.h"
#include "tools/gn/switches.h"
-// Only the GN-generated build makes this header for now.
-// TODO(brettw) consider adding this if we need it in GYP.
-#if defined(GN_BUILD)
-#include "tools/gn/last_commit_position.h"
-#else
#define LAST_COMMIT_POSITION "UNKNOWN"
-#endif
namespace {
--- chromium-55.0.2883.75/tools/gn/BUILD.gn.orig 2016-12-12 11:50:43.513524769 +0000
+++ chromium-55.0.2883.75/tools/gn/BUILD.gn 2016-12-12 11:50:57.697817632 +0000
@@ -227,7 +227,6 @@
deps = [
":gn_lib",
- ":last_commit_position",
"//base",
"//build/config/sanitizers:deps",
]
@@ -0,0 +1,27 @@
--- chromium-55.0.2883.75/tools/gn/gn_main.cc.orig 2016-12-12 11:49:56.260549036 +0000
+++ chromium-55.0.2883.75/tools/gn/gn_main.cc 2016-12-12 11:50:14.780931485 +0000
@@ -11,13 +11,7 @@
#include "tools/gn/standard_out.h"
#include "tools/gn/switches.h"
-// Only the GN-generated build makes this header for now.
-// TODO(brettw) consider adding this if we need it in GYP.
-#if defined(GN_BUILD)
-#include "tools/gn/last_commit_position.h"
-#else
#define LAST_COMMIT_POSITION "UNKNOWN"
-#endif
namespace {
--- chromium-55.0.2883.75/tools/gn/BUILD.gn.orig 2016-12-12 11:50:43.513524769 +0000
+++ chromium-55.0.2883.75/tools/gn/BUILD.gn 2016-12-12 11:50:57.697817632 +0000
@@ -227,7 +227,6 @@
deps = [
":gn_lib",
- ":last_commit_position",
"//base",
"//build/config/sanitizers:deps",
]
+10 -1
View File
@@ -13,7 +13,7 @@
<IsA>app:gui</IsA>
<Summary>A WebKit powered web browser</Summary>
<Description>Chromium-browser is an open-source web browser, powered by WebKit.</Description>
<Archive sha1sum="9f20ac0a5d1720bc932ed85779112d164390327f" type="tarxz">https://commondatastorage.googleapis.com/chromium-browser-official/chromium-53.0.2785.116.tar.xz</Archive>
<Archive sha1sum="8a36da476a83068871ea0e6b1a92cb52b7f049be" type="tarxz">https://commondatastorage.googleapis.com/chromium-browser-official/chromium-55.0.2883.75.tar.xz</Archive>
<BuildDependencies>
<Dependency>alsa-lib-devel</Dependency>
<Dependency>at-spi2-atk-devel</Dependency>
@@ -86,8 +86,10 @@
<Patches>
<Patch level="1">chromium-52.0.2743.116-unset-madv_free.patch</Patch>
<Patch level="1">chromium-widevine.patch</Patch>
<Patch level="1">chromium-icu58.patch</Patch>
<Patch level="1">pisilinux/gfx_jpeg_codec.patch</Patch>
<Patch level="1">pisilinux/fix_build_with_newer_gcc.patch</Patch>
<Patch level="1">pisilinux/last_commit_position.patch</Patch>
</Patches>
</Source>
<Package>
@@ -153,6 +155,13 @@
</Package>
<History>
<Update release="9">
<Date>2016-12-12</Date>
<Version>55.0.2883.75</Version>
<Comment>Version Bump.</Comment>
<Name>Ergün Salman</Name>
<Email>poyraz76@pisilinux.org</Email>
</Update>
<Update release="8">
<Date>2016-09-23</Date>
<Version>53.0.2785.116</Version>