[packages/google-chrome] - chromium-browser patched to load libpdf.so from it's pluginsdir

glen glen at pld-linux.org
Fri Jul 13 20:54:00 CEST 2012


commit d9a87c2c827e4190eca8ce341a8925b7acf3f470
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Jul 13 21:53:57 2012 +0300

    - chromium-browser patched to load libpdf.so from it's pluginsdir

 google-chrome.spec | 9 ---------
 1 file changed, 9 deletions(-)
---
diff --git a/google-chrome.spec b/google-chrome.spec
index 233ffd4..ebbf85b 100644
--- a/google-chrome.spec
+++ b/google-chrome.spec
@@ -229,7 +229,6 @@ if [ "$1" = 0 ]; then
 fi
 
 # FIXME: chrome *needs* it to be in application dir. add symlink until it can load from other places
-# for chromium, we could likely patch source
 # FIXME: link PepperFlash, browser-plugins ignores subdirs, and currently nothing else than chrome browsers can do pepper
 %triggerin -n browser-plugin-adobe-flash -- google-chrome
 test -L %{_libdir}/google-chrome/PepperFlash || ln -sf %{_browserpluginsdir}/PepperFlash %{_libdir}/google-chrome/PepperFlash
@@ -255,14 +254,6 @@ if [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L %{_libdir}/chromium-browser/PepperFl
 	rm -f %{_libdir}/chromium-browser/PepperFlash
 fi
 
-%triggerin -n browser-plugin-chrome-pdf -- chromium-browser
-test -L %{_libdir}/chromium-browser/libpdf.so || ln -sf plugins/libpdf.so %{_libdir}/chromium-browser/libpdf.so
-
-%triggerun -n browser-plugin-chrome-pdf -- chromium-browser
-if [ "$1" = "0" ] || [ "$2" = "0" ] && [ -L %{_libdir}/chromium-browser/libpdf.so ]; then
-	rm -f %{_libdir}/chromium-browser/libpdf.so
-fi
-
 %triggerin -n browser-plugin-adobe-flash -- chromium-browser-bin
 test -L %{_libdir}/chromium-browser-bin/PepperFlash || ln -sf %{_browserpluginsdir}/PepperFlash %{_libdir}/chromium-browser-bin/PepperFlash
 


More information about the pld-cvs-commit mailing list