Hello community,

here is the log from the commit of package chromium for openSUSE:Factory 
checked in at 2018-12-12 17:30:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chromium (Old)
 and      /work/SRC/openSUSE:Factory/.chromium.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chromium"

Wed Dec 12 17:30:04 2018 rev:204 rq:657329 version:71.0.3578.80

Changes:
--------
--- /work/SRC/openSUSE:Factory/chromium/chromium.changes        2018-12-11 
15:47:45.478211330 +0100
+++ /work/SRC/openSUSE:Factory/.chromium.new.28833/chromium.changes     
2018-12-12 17:30:05.674754615 +0100
@@ -1,0 +2,11 @@
+Fri Dec  7 14:32:25 UTC 2018 - Guillaume GARDET <[email protected]>
+
+- Increase %limit_build value to avoid OOM
+
+-------------------------------------------------------------------
+Thu Dec  6 14:13:10 UTC 2018 - Tomáš Chvátal <[email protected]>
+
+- Add patch to build on Leap 42.x:
+  * chromium-old-libva.patch
+
+-------------------------------------------------------------------

New:
----
  chromium-old-libva.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ chromium.spec ++++++
--- /var/tmp/diff_new_pack.8NALDm/_old  2018-12-12 17:30:16.302741180 +0100
+++ /var/tmp/diff_new_pack.8NALDm/_new  2018-12-12 17:30:16.302741180 +0100
@@ -77,6 +77,7 @@
 Patch12:        chromium-old-glibc.patch
 Patch13:        chromium-initialize-list.patch
 Patch14:        chromium-skia-aarch64-buildfix.patch
+Patch15:        chromium-old-libva.patch
 # Google seem not too keen on merging this but GPU accel is quite important
 #  https://chromium-review.googlesource.com/c/chromium/src/+/532294
 #  
https://github.com/saiarcot895/chromium-ubuntu-build/tree/master/debian/patches
@@ -496,7 +497,7 @@
 %endif
 %endif
 # do not eat all memory
-%limit_build -m 1600
+%limit_build -m 1900
 
 # Set system libraries to be used
 gn_system_libraries=(
@@ -555,7 +556,7 @@
 # Limit number to avoid OOM errors
 myconf_gn+=" jumbo_file_merge_limit=5"
 %else
-myconf_gn+=" jumbo_file_merge_limit=12"
+myconf_gn+=" jumbo_file_merge_limit=8"
 %endif
 myconf_gn+=" concurrent_links=1"
 myconf_gn+=" symbol_level=1"

++++++ chromium-old-libva.patch ++++++
Index: chromium-71.0.3578.80/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc
===================================================================
--- chromium-71.0.3578.80.orig/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc
+++ chromium-71.0.3578.80/media/gpu/vaapi/vaapi_jpeg_decode_accelerator.cc
@@ -47,9 +47,11 @@ static void ReportToUMA(VAJDADecoderFail
 // macro in the header file without pulling in the entire <va/va.h>.
 static_assert(VA_FOURCC_YUYV == VA_FOURCC('Y', 'U', 'Y', 'V'),
               "VA_FOURCC_YUYV must be equal to VA_FOURCC('Y', 'U', 'Y', 'V')");
+#ifdef VA_FOURCC_I420
 constexpr VAImageFormat kImageFormatI420 = {.fourcc = VA_FOURCC_I420,
                                             .byte_order = VA_LSB_FIRST,
                                             .bits_per_pixel = 12};
+#endif
 constexpr VAImageFormat kImageFormatYUYV = {.fourcc = VA_FOURCC_YUYV,
                                             .byte_order = VA_LSB_FIRST,
                                             .bits_per_pixel = 16};
@@ -58,9 +60,11 @@ constexpr VAImageFormat kImageFormatYUYV
 bool VaSurfaceFormatToImageFormat(uint32_t va_rt_format,
                                   VAImageFormat* va_image_format) {
   switch (va_rt_format) {
+#ifdef VA_FOURCC_I420
     case VA_RT_FORMAT_YUV420:
       *va_image_format = kImageFormatI420;
       return true;
+#endif
     case VA_RT_FORMAT_YUV422:
       *va_image_format = kImageFormatYUYV;
       return true;
@@ -383,6 +387,7 @@ bool VaapiJpegDecodeAccelerator::OutputP
   size_t dst_v_stride = video_frame->stride(VideoFrame::kVPlane);
 
   switch (va_image_format.fourcc) {
+#ifdef VA_FOURCC_I420
     case VA_FOURCC_I420: {
       DCHECK_EQ(image->num_planes, 3u);
       const uint8_t* src_y = mem + image->offsets[0];
@@ -400,6 +405,7 @@ bool VaapiJpegDecodeAccelerator::OutputP
       }
       break;
     }
+#endif
     case VA_FOURCC_YUY2:
     case VA_FOURCC_YUYV: {
       DCHECK_EQ(image->num_planes, 1u);

Reply via email to