[packages/chromium-browser] fix path to /etc/chromium-browser/native-messaging-hosts

glen glen at pld-linux.org
Tue Apr 29 22:43:51 CEST 2014


commit d7fca4aae3b1371155f7ab13d9769713159e6753
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Apr 29 23:32:51 2014 +0300

    fix path to /etc/chromium-browser/native-messaging-hosts

 chromium-browser.spec |  4 +++-
 etc-dir.patch         | 14 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/chromium-browser.spec b/chromium-browser.spec
index 2be16df..a7e8e70 100644
--- a/chromium-browser.spec
+++ b/chromium-browser.spec
@@ -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
index 0000000..ba2b4b1
--- /dev/null
+++ b/etc-dir.patch
@@ -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;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/chromium-browser.git/commitdiff/3b9998d5828fd5f0f373bd707aa3774ec4ca5a3f



More information about the pld-cvs-commit mailing list