summaryrefslogtreecommitdiffstats
path: root/www/galeon2/files/patch-ab
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 14:16:51 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-04-13 14:16:51 +0800
commit6f0bb84062ec9747810ec8b2f412e3b9066f201f (patch)
tree50cbfcf9a5cf762a17eec9bdea92581effed921f /www/galeon2/files/patch-ab
parentb7fa0c11ff90b0eff5881aab152417967f1deb80 (diff)
downloadmarcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar.gz
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar.bz2
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar.lz
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar.xz
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.tar.zst
marcuscom-ports-6f0bb84062ec9747810ec8b2f412e3b9066f201f.zip
Add galeon2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@630 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/galeon2/files/patch-ab')
-rw-r--r--www/galeon2/files/patch-ab52
1 files changed, 52 insertions, 0 deletions
diff --git a/www/galeon2/files/patch-ab b/www/galeon2/files/patch-ab
new file mode 100644
index 000000000..b81cef0f4
--- /dev/null
+++ b/www/galeon2/files/patch-ab
@@ -0,0 +1,52 @@
+--- src/galeon.in.orig Thu Dec 27 19:13:42 2001
++++ src/galeon.in Mon Mar 10 11:20:39 2003
+@@ -4,18 +4,14 @@
+
+ if test -n "$MOZILLA_FIVE_HOME"; then
+ MOZILLA_HOME=$MOZILLA_FIVE_HOME
+-elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
++elif [ -f @MOZILLA_HOME@/libgtkembedmoz.so ]; then
+ MOZILLA_HOME=@MOZILLA_HOME@
+-elif [ -f /usr/local/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/local/mozilla
+-elif [ -f /usr/lib/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/lib/mozilla
+-elif [ -f /opt/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/opt/mozilla
+-elif [ -f /usr/lib/mozilla-0.9.7/chrome/comm.jar ]; then
+- MOZILLA_HOME=/usr/lib/mozilla-0.9.7/
+-elif [ -f /opt/gnome/lib/mozilla/chrome/comm.jar ]; then
+- MOZILLA_HOME=/opt/gnome/lib/mozilla/
++elif [ -f %%LOCALBASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%LOCALBASE%%/lib/%%MOZILLA%%
++elif [ -f %%X11BASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
++elif [ -f %%PREFIX%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
++ MOZILLA_HOME=%%PREFIX%%/lib/%%MOZILLA%%
+ else
+ echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
+ exit
+@@ -27,16 +23,17 @@
+ MOZILLA_FIVE_HOME=$MOZILLA_HOME
+ export MOZILLA_FIVE_HOME
+
+-# for some reason this lets Galeon start properly on Red Hat 7.1 systems
+-if [ -f /etc/redhat-release ]; then
+- if [ "`cat /etc/redhat-release`" = "Red Hat Linux release 7.1 (Seawolf)" ]; then
+- export LD_ASSUME_KERNEL=2.2.5
+- fi
++MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins
++export MOZ_PLUGIN_PATH
++
++if [ -f %%FLASHPLAYER%% ]; then
++ LD_PRELOAD=%%FLASHPLAYER%%
++ export LD_PRELOAD
+ fi
+
+ if [ -f ./galeon-bin ]; then
+ exec ./galeon-bin "$@"
+ else
+-exec $dist_bin/galeon-bin "$@"
++exec %%PREFIX%%/bin/galeon-bin "$@"
+ fi
+