Skip to content

Instantly share code, notes, and snippets.

@yeroc
Created June 17, 2014 22:12
Show Gist options
  • Save yeroc/7d479943b9ae9faa2b76 to your computer and use it in GitHub Desktop.
Save yeroc/7d479943b9ae9faa2b76 to your computer and use it in GitHub Desktop.
chrome-deps patch to resolve issue #2.
From 114655ee413a5b5c6b52381443f63339ff690031 Mon Sep 17 00:00:00 2001
From: Corey <corey@-------.org>
Date: Tue, 17 Jun 2014 22:06:00 +0000
Subject: [PATCH] Include libgio and libgobject libraries from the glib2 Fedora RPM to resolve an issue with a missing symbol: "g_dbus_proxy_new_for_bus".
---
chrome-deps.spec | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/chrome-deps.spec b/chrome-deps.spec
index f9ff0bc..44a70b9 100644
--- a/chrome-deps.spec
+++ b/chrome-deps.spec
@@ -32,7 +32,7 @@
Name: chrome-deps
Version: 1.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Fedora libraries for running chrome on EL6
Group: System Environment/Libraries
License: LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ and GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and BSD
@@ -57,6 +57,8 @@ order to be able to run latest Google Chrome on EL6 and derivates.
rpm2cpio %{SOURCE1} | cpio -vid ./%{_lib}/libc-%{glibcver}.so ./%{_lib}/ld-%{glibcver}.so ./%{_lib}/libdl-%{glibcver}.so
rpm2cpio %{SOURCE2} | cpio -vid .%{_libdir}/libstdc++.so.%{stdcxxver}
rpm2cpio %{SOURCE3} | cpio -vid ./%{_lib}/libglib-2.0.so.0.%{glib2libver}
+rpm2cpio %{SOURCE3} | cpio -vid ./%{_lib}/libgio-2.0.so.0.%{glib2libver}
+rpm2cpio %{SOURCE3} | cpio -vid ./%{_lib}/libgobject-2.0.so.0.%{glib2libver}
rpm2cpio %{SOURCE4} | cpio -vid .%{_libdir}/libgtk-x11-2.0.so.0.%{gtk2libver} .%{_libdir}/libgdk-x11-2.0.so.0.%{gtk2libver}
rpm2cpio %{SOURCE5} | cpio -vid .%{_libdir}/libgdk_pixbuf-2.0.so.0.%{gdkpixbuf2libver}
rpm2cpio %{SOURCE6} | cpio -vid .%{_libdir}/libgnome-keyring.so.0.%{libgnomekeyringlibver}
@@ -88,6 +90,10 @@ install -m 0755 .%{_libdir}/libstdc++.so.%{stdcxxver}.patched $RPM_BUILD_ROOT%{i
ln -s libstdc++.so.%{stdcxxver} $RPM_BUILD_ROOT%{instdir}/libstdc++.so.6
install -m 0755 ./%{_lib}/libglib-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/
ln -s libglib-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/libglib-2.0.so.0
+install -m 0755 ./%{_lib}/libgio-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/
+ln -s libgio-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/libgio-2.0.so.0
+install -m 0755 ./%{_lib}/libgobject-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/
+ln -s libgobject-2.0.so.0.%{glib2libver} $RPM_BUILD_ROOT%{instdir}/libgobject-2.0.so.0
install -m 0755 .%{_libdir}/libgdk-x11-2.0.so.0.%{gtk2libver} $RPM_BUILD_ROOT%{instdir}/
ln -s libgdk-x11-2.0.so.0.%{gtk2libver} $RPM_BUILD_ROOT%{instdir}/libgdk-x11-2.0.so.0
install -m 0755 .%{_libdir}/libgtk-x11-2.0.so.0.%{gtk2libver} $RPM_BUILD_ROOT%{instdir}/
@@ -129,6 +135,10 @@ rm -rf $RPM_BUILD_ROOT
%{instdir}/libstdc++.so.6
%{instdir}/libglib-2.0.so.0.%{glib2libver}
%{instdir}/libglib-2.0.so.0
+%{instdir}/libgio-2.0.so.0.%{glib2libver}
+%{instdir}/libgio-2.0.so.0
+%{instdir}/libgobject-2.0.so.0.%{glib2libver}
+%{instdir}/libgobject-2.0.so.0
%{instdir}/libgdk-x11-2.0.so.0.%{gtk2libver}
%{instdir}/libgdk-x11-2.0.so.0
%{instdir}/libgtk-x11-2.0.so.0.%{gtk2libver}
--
1.7.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment