]> git.pld-linux.org Git - packages/galeon.git/blob - galeon-mozilla_five_home.patch
- updated for galeon 2
[packages/galeon.git] / galeon-mozilla_five_home.patch
1 diff -Nur galeon-1.2.99.orig/configure.in galeon-1.2.99/configure.in
2 --- galeon-1.2.99.orig/configure.in     Mon Sep 16 00:04:20 2002
3 +++ galeon-1.2.99/configure.in  Wed Oct 16 22:46:52 2002
4 @@ -119,7 +119,7 @@
5  MOZILLA_INCLUDE_ROOT="`$PKG_CONFIG --variable=includedir mozilla-gtkmozembed`"
6  AC_SUBST(MOZILLA_INCLUDE_ROOT)
7  
8 -MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`"
9 +MOZILLA_HOME="`$PKG_CONFIG --variable=libdir mozilla-gtkmozembed`/mozilla"
10  AC_SUBST(MOZILLA_HOME)
11  
12  dnl ################
13 diff -Nur galeon-1.2.99.orig/src/galeon.in galeon-1.2.99/src/galeon.in
14 --- galeon-1.2.99.orig/src/galeon.in    Fri Dec 28 01:13:42 2001
15 +++ galeon-1.2.99/src/galeon.in Wed Oct 16 22:13:47 2002
16 @@ -2,31 +2,12 @@
17  
18  dist_bin=`dirname $0`
19  
20 -if test -n "$MOZILLA_FIVE_HOME"; then
21 -       MOZILLA_HOME=$MOZILLA_FIVE_HOME
22 -elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
23 -       MOZILLA_HOME=@MOZILLA_HOME@
24 -elif [ -f /usr/local/mozilla/chrome/comm.jar ]; then
25 -       MOZILLA_HOME=/usr/local/mozilla
26 -elif [ -f /usr/lib/mozilla/chrome/comm.jar ]; then
27 -       MOZILLA_HOME=/usr/lib/mozilla
28 -elif [ -f /opt/mozilla/chrome/comm.jar ]; then
29 -       MOZILLA_HOME=/opt/mozilla
30 -elif [ -f /usr/lib/mozilla-0.9.7/chrome/comm.jar ]; then
31 -       MOZILLA_HOME=/usr/lib/mozilla-0.9.7/
32 -elif [ -f /opt/gnome/lib/mozilla/chrome/comm.jar ]; then
33 -        MOZILLA_HOME=/opt/gnome/lib/mozilla/
34 -else
35 -       echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
36 -       exit
37 -fi
38 +MOZILLA_FIVE_HOME=@MOZILLA_HOME@
39 +export MOZILLA_FIVE_HOME
40  
41 -LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
42 +LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
43  export LD_LIBRARY_PATH
44  
45 -MOZILLA_FIVE_HOME=$MOZILLA_HOME
46 -export MOZILLA_FIVE_HOME
47 -
48  # for some reason this lets Galeon start properly on Red Hat 7.1 systems
49  if [ -f /etc/redhat-release ]; then
50         if [ "`cat /etc/redhat-release`" = "Red Hat Linux release 7.1 (Seawolf)"  ]; then
This page took 0.07388 seconds and 4 git commands to generate.