]> git.pld-linux.org Git - packages/chromium-browser.git/blame - system-libxnvctrl.patch
up to 28.0.1500.20
[packages/chromium-browser.git] / system-libxnvctrl.patch
CommitLineData
7879021e 1TODO: use generate_shim_headers script
42e551c9 2
7879021e
ER
3--- /dev/null 2007-02-13 18:29:53.000000000 +0200
4+++ chromium-browser-28.0.1500.20/build/linux/unbundle/libXNVCtrl.gyp 2013-05-28 00:31:04.522225050 +0300
5@@ -0,0 +1,28 @@
6+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
7+# Use of this source code is governed by a BSD-style license that can be
8+# found in the LICENSE file.
9+
10+{
11+ 'targets': [
12+ {
13+ 'target_name': 'libXNVCtrl',
14+ 'type': 'none',
15+ 'direct_dependent_settings': {
16+ 'cflags': [
17+ '<!@(pkg-config --cflags libXNVCtrl)',
18+ ],
19+ 'defines': [
20+ 'USE_SYSTEM_LIBXNVCTRL',
21+ ],
22+ },
23+ 'link_settings': {
24+ 'ldflags': [
25+ '<!@(pkg-config --libs-only-L --libs-only-other libXNVCtrl)',
26+ ],
27+ 'libraries': [
28+ '<!@(pkg-config --libs-only-l libXNVCtrl)',
29+ ],
30+ },
31+ }
32+ ],
33+}
34--- chromium-browser-28.0.1500.20/build/linux/unbundle/replace_gyp_files.py~ 2013-05-21 05:47:31.000000000 +0300
35+++ chromium-browser-28.0.1500.20/build/linux/unbundle/replace_gyp_files.py 2013-05-29 23:15:43.738468072 +0300
36@@ -29,6 +29,7 @@
37 'use_system_libvpx': 'third_party/libvpx/libvpx.gyp',
38 'use_system_libwebp': 'third_party/libwebp/libwebp.gyp',
39 'use_system_libxml': 'third_party/libxml/libxml.gyp',
40+ 'use_system_libxnvctrl' : 'third_party/libXNVCtrl/libXNVCtrl.gyp',
41 'use_system_libxslt': 'third_party/libxslt/libxslt.gyp',
42 'use_system_opus': 'third_party/opus/opus.gyp',
43 'use_system_re2': 'third_party/re2/re2.gyp',
44--- chromium-browser-28.0.1500.20/content/gpu/gpu_info_collector_x11.cc~ 2013-05-21 05:47:09.000000000 +0300
45+++ chromium-browser-28.0.1500.20/content/gpu/gpu_info_collector_x11.cc 2013-05-28 21:17:34.045674426 +0300
42e551c9 46@@ -18,8 +18,7 @@
7879021e
ER
47 #include "base/strings/string_split.h"
48 #include "base/strings/string_tokenizer.h"
42e551c9
ER
49 #include "library_loaders/libpci.h"
50-#include "third_party/libXNVCtrl/NVCtrl.h"
51-#include "third_party/libXNVCtrl/NVCtrlLib.h"
52+#include "third_party/libXNVCtrl/libXNVCtrl.h"
53 #include "ui/gl/gl_bindings.h"
54 #include "ui/gl/gl_context.h"
55 #include "ui/gl/gl_implementation.h"
56--- /dev/null 2007-02-13 18:29:53.000000000 +0200
7879021e 57+++ chromium-browser-25.0.1364.29/src/third_party/libXNVCtrl/libXNVCtrl.h 2013-01-12 16:27:55.676465329 +0200
42e551c9
ER
58@@ -0,0 +1,17 @@
59+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
60+// Use of this source code is governed by a BSD-style license that can be
61+// found in the LICENSE file.
62+
63+// This is a shim header to include the right opus header.
64+// Use this instead of referencing the opus header directly.
65+
66+#if !defined(THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H)
67+#define THIRD_PARTY_LIBXNVCTRL_LIBXNVCTRL_H
68+#if defined(USE_SYSTEM_LIBXNVCTRL)
69+#include <NVCtrl.h>
70+#include <NVCtrlLib.h>
71+#else
72+#include "third_party/libXNVCtrl/NVCtrl.h"
73+#include "third_party/libXNVCtrl/NVCtrlLib.h"
74+#endif
75+#endif
This page took 0.034684 seconds and 4 git commands to generate.