]> git.pld-linux.org Git - packages/chromium-browser.git/commitdiff
fix path to /etc/chromium-browser/native-messaging-hosts
authorElan Ruusamäe <glen@delfi.ee>
Tue, 29 Apr 2014 20:32:51 +0000 (23:32 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 29 Apr 2014 20:32:51 +0000 (23:32 +0300)
chromium-browser.spec
etc-dir.patch [new file with mode: 0644]

index 2be16df4f175d1f0e655cc130394e8e472981760..a7e8e70c2edb2c20ac87148e51296b2541da35f1 100644 (file)
@@ -71,7 +71,7 @@ Version:      %{branch}.%{patchver}
 %else
 Version:       %{branch}.%{basever}
 %endif
-Release:       1
+Release:       2
 License:       BSD%{!?with_system_ffmpeg:, LGPL v2+ (ffmpeg)}
 Group:         X11/Applications/Networking
 Source0:       http://carme.pld-linux.org/~glen/chromium-browser/src/stable/%{name}-%{branch}.%{basever}.tar.xz
@@ -108,6 +108,7 @@ Patch31:    system-jinja.patch
 Patch32:       remove_bundled_libraries-stale.patch
 Patch33:       gn.patch
 Patch34:       depot-tools.patch
+Patch35:       etc-dir.patch
 URL:           http://www.chromium.org/Home
 %{?with_gconf:BuildRequires:   GConf2-devel}
 %{?with_system_mesa:BuildRequires:     Mesa-libGL-devel >= 9.1}
@@ -313,6 +314,7 @@ ln -s %{SOURCE7} .
 %patch32 -p1
 %patch33 -p1
 %patch34 -p0
+%patch35 -p1
 
 sh -x clean-source.sh \
        %{!?with_nacl:nacl=0} \
diff --git a/etc-dir.patch b/etc-dir.patch
new file mode 100644 (file)
index 0000000..ba2b4b1
--- /dev/null
@@ -0,0 +1,14 @@
+fix /etc/ path.
+
+should we switch to /etc/chromium instead?
+--- chromium-browser-34.0.1847.116/./chrome/common/chrome_paths.cc~    2014-04-18 02:50:48.000000000 +0300
++++ chromium-browser-34.0.1847.116/./chrome/common/chrome_paths.cc     2014-04-18 04:01:17.224283548 +0300
+@@ -525,7 +525,7 @@
+           "/etc/opt/chrome/native-messaging-hosts"));
+ #else
+       cur = base::FilePath(FILE_PATH_LITERAL(
+-          "/etc/chromium/native-messaging-hosts"));
++          "/etc/chromium-browser/native-messaging-hosts"));
+ #endif
+ #endif  // !defined(OS_MACOSX)
+       break;
This page took 0.036825 seconds and 4 git commands to generate.