diff options
Diffstat (limited to 'foxitreader.patch')
-rw-r--r-- | foxitreader.patch | 45 |
1 files changed, 8 insertions, 37 deletions
diff --git a/foxitreader.patch b/foxitreader.patch index 8e194051dac8..9228c59b3fbd 100644 --- a/foxitreader.patch +++ b/foxitreader.patch @@ -1,46 +1,17 @@ -diff -Naur pkg.orig/foxitreader/usr/lib/foxitreader/FoxitReader.sh pkg.new/foxitreader/usr/lib/foxitreader/FoxitReader.sh ---- pkg.orig/foxitreader/usr/lib/foxitreader/FoxitReader.sh 2015-08-04 19:45:59.000000000 +0200 -+++ pkg.new/foxitreader/usr/lib/foxitreader/FoxitReader.sh 2015-11-01 18:00:56.153638257 +0100 -@@ -1,14 +1,8 @@ - #!/bin/sh -- appname=`basename $0 | sed s,\.sh$,,` -- selfpath=$(cd "$(dirname "$0")"; pwd) -- dirname=`dirname $0` -- tmp="${dirname#?}" -- -- if [ "${dirname%$tmp}" != "/" ]; then -- dirname=$PWD/$dirname -- fi -- LD_LIBRARY_PATH=$selfpath/lib:$selfpath/platforms:$selfpath/printsupport:$selfpath/rmssdk:$selfpath/sensors:$selfpath/imageformats:$selfpath/platforminputcontexts:$LD_LIBRARY_PATH -- export LD_LIBRARY_PATH -+selfpath="$(dirname $(readlink "$0"))" -+dirname=$(dirname $(readlink "$0")) - -- chmod +x $dirname/$appname -- $dirname/$appname "$@" -+LD_LIBRARY_PATH=$selfpath/lib:$selfpath/platforms:$selfpath/printsupport:$selfpath/rmssdk:$selfpath/sensors:$selfpath/imageformats:$selfpath/platforminputcontexts:$LD_LIBRARY_PATH -+export LD_LIBRARY_PATH -+ -+"$dirname/FoxitReader" "$@" -diff -Naur pkg.orig/foxitreader/usr/share/applications/foxitreader.desktop pkg.new/foxitreader/usr/share/applications/foxitreader.desktop ---- pkg.orig/foxitreader/usr/share/applications/foxitreader.desktop 2015-11-01 18:01:16.606971000 +0100 -+++ pkg.new/foxitreader/usr/share/applications/foxitreader.desktop 2015-11-01 18:11:57.038483005 +0100 -@@ -1,15 +1,10 @@ +diff -Naur foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop foxitreader/usr/lib/foxitreader/FoxitReader.desktop +--- foxitreader.orig/usr/lib/foxitreader/FoxitReader.desktop 2016-02-16 15:23:41.000000000 +0100 ++++ foxitreader/usr/lib/foxitreader/FoxitReader.desktop 2016-03-06 02:41:40.882259342 +0100 +@@ -1,10 +1,11 @@ [Desktop Entry] Name=Foxit Reader -Comment=View pdf documents --Keywords=pdf;octet-stream; +Comment=View PDF documents + Keywords=pdf;octet-stream; StartupNotify=true Terminal=false Type=Application --#Icon=FoxitReader --X-GNOME-DocPath= --X-GNOME-Bugzilla-Bugzilla=GNOME --X-GNOME-Bugzilla-Product=FoxitReader --X-GNOME-Bugzilla-Component=BugBuddyBugs --X-GNOME-Bugzilla-Version=3.14.1 + Categories=Application;Office;Viewer;X-Red-Hat-Base; + MimeType=application/pdf;application/octet-stream; +-Icon=FoxitReader +Icon=foxitreader +Exec=foxitreader %F - Categories=GNOME;Viewer;Graphics;2DGraphics;VectorGraphics; - MimeType=application/pdf;application/octet-stream; |