]> git.pld-linux.org Git - packages/opera.git/commitdiff
- more fixes
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 1 Jan 2010 20:35:07 +0000 (20:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    opera-wrapper.patch -> 1.4

opera-wrapper.patch

index df60e7d7799950621dbd14d2783e822fd4e478eb..e9c258198e886fd78dd800514b1d66c47c502a81 100644 (file)
@@ -1,6 +1,15 @@
---- opera.org  2009-12-31 11:45:05.000000000 +0100
-+++ opera      2010-01-01 20:58:33.485442895 +0100
-@@ -45,7 +45,7 @@
+--- opera.org  2010-01-01 21:23:40.152583922 +0100
++++ opera      2010-01-01 21:34:51.531475131 +0100
+@@ -37,15 +37,14 @@
+ [ -z "$toset" ] || die "Missing parameter for $arg"
+-[ "$PWD" ] || PWD=`/bin/pwd`
+ if [ "$_PERSONALDIR_FROM_CMDLINE_" = NO ]
+ then
+-  OPERA_PERSONALDIR="$PWD/profile"
++  OPERA_PERSONALDIR="$HOME/.opera"
+   export OPERA_PERSONALDIR
  fi
  
  # Required for Session Management
@@ -9,7 +18,7 @@
  export OPERA_SCRIPT_PATH
  
  OPERA_SYSTEM_UNAME=`uname -s`
-@@ -56,6 +56,13 @@
+@@ -56,10 +55,17 @@
  [ -f "$OPERA_BINARYDIR/opera" ] || die "The Opera binary is not located at \"$OPERA_BINARYDIR/opera\"." "Please modify the wrapper script at \"$0\"."
  [ -x "$OPERA_BINARYDIR/opera" ] || die "You do not have execute rights on \"$OPERA_BINARYDIR/opera\", please ask the sysadmin to chmod +x it."
  
  # Opera enviroment
  if [ -z "$OPERA_DIR" ]
  then
+-    OPERA_DIR="$PWD/usr/share/opera"
++    OPERA_DIR="/usr/share/opera"
+ fi
+ export OPERA_DIR
+@@ -357,7 +363,7 @@
+ # Setting environment relative to current working directory
+ # Bundled Qt will be found here unless preloaded by the stance above
+-LD_LIBRARY_PATH="$PWD/usr/lib/opera${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
++LD_LIBRARY_PATH="$OPERA_BINARYDIR/${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
+ export LD_LIBRARY_PATH
+ # Run Opera:
This page took 0.336811 seconds and 4 git commands to generate.