aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2016-05-28 14:18:55 +0800
committerTing-Wei Lan <lantw44@gmail.com>2016-05-28 14:18:55 +0800
commit7e684d1663abfc4374339d607a4c0c186da2b7b1 (patch)
tree9a16d40c467b67d8c3c99c676859d78f32614c73
parentde4f7160833f924fd254c210cfb33f517a931ca6 (diff)
downloadcopr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar.gz
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar.bz2
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar.lz
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar.xz
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.tar.zst
copr-rpm-spec-7e684d1663abfc4374339d607a4c0c186da2b7b1.zip
chromium: Chromium 50.0.2661.102 -> 51.0.2704.63
-rw-r--r--chromium/chromium/chromium-PNGImageDecoder.patch11
-rw-r--r--chromium/chromium/chromium.spec12
2 files changed, 19 insertions, 4 deletions
diff --git a/chromium/chromium/chromium-PNGImageDecoder.patch b/chromium/chromium/chromium-PNGImageDecoder.patch
new file mode 100644
index 0000000..986e662
--- /dev/null
+++ b/chromium/chromium/chromium-PNGImageDecoder.patch
@@ -0,0 +1,11 @@
+--- a/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cppg 2016-05-01 15:22:46.103607522 +0800
++++ b/third_party/WebKit/Source/platform/image-decoders/png/PNGImageDecoder.cpp 2016-05-01 15:25:14.459753876 +0800
+@@ -234,7 +234,7 @@
+ #endif
+ png_uint_32 profileLength = 0;
+ if (png_get_iCCP(png, info, &profileName, &compressionType, &profile, &profileLength)) {
+- setColorProfileAndTransform(profile, profileLength, imageHasAlpha, false /* useSRGB */);
++ setColorProfileAndTransform((const char*)profile, profileLength, imageHasAlpha, false /* useSRGB */);
+ }
+ }
+ #endif // PNG_iCCP_SUPPORTED
diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec
index 0e87c8a..6229976 100644
--- a/chromium/chromium/chromium.spec
+++ b/chromium/chromium/chromium.spec
@@ -29,7 +29,7 @@
%endif
Name: chromium
-Version: 50.0.2661.102
+Version: 51.0.2704.63
Release: 1%{?dist}
Summary: An open-source project that aims to build a safer, faster, and more stable browser
@@ -43,6 +43,10 @@ Source0: https://commondatastorage.googleapis.com/chromium-browser-official/c
Source1: chromium-browser.sh
Source2: chromium-browser.desktop
+# Add a patch from Arch Linux to fix libpng problem
+# https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/chromium&id=14bce0f
+Patch0: chromium-PNGImageDecoder.patch
+
# I don't have time to test whether it work on other architectures
ExclusiveArch: x86_64
@@ -105,9 +109,6 @@ Requires: hicolor-icon-theme
%prep
%autosetup -p1
touch chrome/test/data/webui/i18n_process_css_test.html
-# https://code.google.com/p/chromium/issues/detail?id=541273
-# https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/chromium&id=37c3842
-sed -i "/'target_name': 'libvpx'/s/libvpx/&_new/" build/linux/unbundle/libvpx.gyp
%build
./build/linux/unbundle/replace_gyp_files.py \
@@ -295,6 +296,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Thu May 26 2016 - Ting-Wei Lan <lantw44@gmail.com> - 51.0.2704.63-1
+- Update to 51.0.2704.63
+
* Thu May 12 2016 - Ting-Wei Lan <lantw44@gmail.com> - 50.0.2661.102-1
- Update to 50.0.2661.102