forked from pool/nodejs-electron
		
	- New upstream release 19.0.11 * Fixed webContents.getUserAgent() incorrectly returning an empty string unless previously set. * Disabled GPU acceleration on VMware on Linux. - New upstream release 19.0.10 * Added support for --ozone-platform-hint flag. * Fixed inertial scroll is broken when the scrollable element has an overlay with pointer-events: none. - Do not use non-free closure compiler JAR during compilation. - Use system jpeg-xl and XNVCtrl also on Tumbleweed. - Use system libyuv on Tumbleweed. * libyuv.gn - Make nodejs-electron-devel require zlib-devel instead of shipping own headers. * no-zlib-headers.patch * add -lz to LDFLAGS in electron-16-system-node-headers.patch - Use system toolchain, incl. nasm, ply, flatc * flatbuffers.gn * system-nasm.patch * system-pydeps.patch - Thorough cleanup of various other third party libraries from source tarball. * do-not-build-libvulkan.so.patch * libsecret.gn * node-system-icu.patch * skia-system-vulkan-headers.patch * system-six.patch * system-usb_ids.patch * Adjust system-gtest.patch to also account for the second googletest copy in electron_node - Re-enable full debuginfo on x64 for everything except Blink and v8, which fails to build due to heavy template use. * adjust chromium-102-compiler.patch * nasm-generate-debuginfo.patch - Fix build of EXPERIMENTAL ix86 and arm7hf ports by using the LLVM linker (lld) on these platforms. * Note that ix86 requires SSE2 instructions (that means Pentium 4 / Pentium M / Atom or equivalent) OBS-URL: https://build.opensuse.org/request/show/993568 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=26
		
			
				
	
	
		
			23 lines
		
	
	
		
			775 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			775 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
Chrome compiles an ancient copy of the usb ids database into the binary. Use the system copy for compilation instead.
 | 
						|
--- a/services/device/public/cpp/usb/BUILD.gn
 | 
						|
+++ b/services/device/public/cpp/usb/BUILD.gn
 | 
						|
@@ -2,16 +2,15 @@
 | 
						|
 # Use of this source code is governed by a BSD-style license that can be
 | 
						|
 # found in the LICENSE file.
 | 
						|
 
 | 
						|
-source_ids = "//third_party/usb_ids/usb.ids"
 | 
						|
+source_ids = "/usr/share/hwdata/usb.ids"
 | 
						|
 generated_ids = "$target_gen_dir/usb_ids_gen.cc"
 | 
						|
 
 | 
						|
 action("usb_device_ids") {
 | 
						|
   script = "//services/device/public/cpp/usb/tools/usb_ids.py"
 | 
						|
-  inputs = [ source_ids ]
 | 
						|
   outputs = [ generated_ids ]
 | 
						|
   args = [
 | 
						|
     "-i",
 | 
						|
-    rebase_path(source_ids, root_build_dir),
 | 
						|
+    source_ids,
 | 
						|
     "-o",
 | 
						|
     rebase_path(generated_ids, root_build_dir),
 | 
						|
   ]
 |