]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
updated system-libxnvctrl.patch to use shim headers
authorElan Ruusamäe <glen@delfi.ee>
Fri, 31 May 2013 12:15:47 +0000 (15:15 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 31 May 2013 12:15:47 +0000 (15:15 +0300)
system-libxnvctrl.patch

index efaa639d793544610f70b572730cba9f3deeaf79..aa84319d271c25bd2cb273d2748f6d2e8434d01d 100644 (file)
@@ -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
This page took 0.08697 seconds and 4 git commands to generate.