[packages/chromium-browser/dev-28: 6/6] updated system-libxnvctrl.patch to use shim headers
glen
glen at pld-linux.org
Fri May 31 14:16:41 CEST 2013
commit 9245150b876ee2d96f57b259ff344071be66224d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri May 31 15:15:47 2013 +0300
updated system-libxnvctrl.patch to use shim headers
system-libxnvctrl.patch | 50 +++++++++++++------------------------------------
1 file changed, 13 insertions(+), 37 deletions(-)
---
diff --git a/system-libxnvctrl.patch b/system-libxnvctrl.patch
index efaa639..aa84319 100644
--- a/system-libxnvctrl.patch
+++ b/system-libxnvctrl.patch
@@ -1,8 +1,6 @@
-TODO: use generate_shim_headers script
-
---- /dev/null 2007-02-13 18:29:53.000000000 +0200
-+++ chromium-browser-28.0.1500.20/build/linux/unbundle/libXNVCtrl.gyp 2013-05-28 00:31:04.522225050 +0300
-@@ -0,0 +1,28 @@
+--- /dev/null 2008-07-21 16:46:52.000000000 +0300
++++ chromium-browser-28.0.1500.20/build/linux/unbundle/libXNVCtrl.gyp 2013-05-31 13:26:23.840330832 +0300
+@@ -0,0 +1,38 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
@@ -12,6 +10,16 @@ TODO: use generate_shim_headers script
+ {
+ 'target_name': 'libXNVCtrl',
+ 'type': 'none',
++ 'variables': {
++ 'headers_root_path': '.',
++ 'header_filenames': [
++ 'NVCtrlLib.h',
++ 'NVCtrl.h',
++ ],
++ },
++ 'includes': [
++ '../../build/shim_headers.gypi',
++ ],
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags libXNVCtrl)',
@@ -41,35 +49,3 @@ TODO: use generate_shim_headers script
'use_system_libxslt': 'third_party/libxslt/libxslt.gyp',
'use_system_opus': 'third_party/opus/opus.gyp',
'use_system_re2': 'third_party/re2/re2.gyp',
---- chromium-browser-28.0.1500.20/content/gpu/gpu_info_collector_x11.cc~ 2013-05-21 05:47:09.000000000 +0300
-+++ chromium-browser-28.0.1500.20/content/gpu/gpu_info_collector_x11.cc 2013-05-28 21:17:34.045674426 +0300
-@@ -18,8 +18,7 @@
- #include "base/strings/string_split.h"
- #include "base/strings/string_tokenizer.h"
- #include "library_loaders/libpci.h"
--#include "third_party/libXNVCtrl/NVCtrl.h"
--#include "third_party/libXNVCtrl/NVCtrlLib.h"
-+#include "third_party/libXNVCtrl/libXNVCtrl.h"
- #include "ui/gl/gl_bindings.h"
- #include "ui/gl/gl_context.h"
- #include "ui/gl/gl_implementation.h"
---- /dev/null 2007-02-13 18:29:53.000000000 +0200
-+++ chromium-browser-25.0.1364.29/third_party/libXNVCtrl/libXNVCtrl.h 2013-01-12 16:27:55.676465329 +0200
-@@ -0,0 +1,17 @@
-+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-+// Use of this source code is governed by a BSD-style license that can be
-+// found in the LICENSE file.
-+
-+// This is a shim header to include the right opus header.
-+// Use this instead of referencing the opus header directly.
-+
-+#if !defined(THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H)
-+#define THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H
-+#if defined(USE_SYSTEM_LIBXNVCTRL)
-+#include <NVCtrl.h>
-+#include <NVCtrlLib.h>
-+#else
-+#include "third_party/libXNVCtrl/NVCtrl.h"
-+#include "third_party/libXNVCtrl/NVCtrlLib.h"
-+#endif
-+#endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/9245150b876ee2d96f57b259ff344071be66224d
More information about the pld-cvs-commit
mailing list