SOURCES: monodevelop-MOZILLA_FIVE_HOME.patch - support for all pro...
charles
charles at pld-linux.org
Wed Jun 7 11:32:39 CEST 2006
Author: charles Date: Wed Jun 7 09:32:39 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support for all provides libgtkembedmoz.so
---- Files affected:
SOURCES:
monodevelop-MOZILLA_FIVE_HOME.patch (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch
diff -u SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch:1.5 SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch:1.6
--- SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch:1.5 Tue Oct 18 20:36:23 2005
+++ SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch Wed Jun 7 11:32:34 2006
@@ -1,20 +1,25 @@
-diff -ruN monodevelop-0.8./monodevelop.in monodevelop-0.8/monodevelop.in
---- monodevelop-0.8./monodevelop.in 2005-10-18 19:49:06.000000000 +0200
-+++ monodevelop-0.8/monodevelop.in 2005-10-18 20:30:38.000314250 +0200
-@@ -18,12 +18,14 @@
+--- monodevelop-0.11/monodevelop.in.orig 2006-05-06 01:26:55.000000000 +0200
++++ monodevelop-0.11/monodevelop.in 2006-06-07 08:28:04.000000000 +0200
+@@ -18,12 +18,16 @@
if test -n "$MOZILLA_FIVE_HOME"; then
MOZILLA_HOME=$MOZILLA_FIVE_HOME
-elif [ -f @MOZILLA_HOME@/chrome/comm.jar ]; then
- MOZILLA_HOME=@MOZILLA_HOME@
+-elif [ $(which mozilla) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
+- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
+-elif [ $(which firefox) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
+- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
+elif [ -f @MOZILLA_HOME@/mozilla/chrome/comm.jar ]; then
+ MOZILLA_HOME=@MOZILLA_HOME@/mozilla
- elif [ $(which mozilla) ] && grep MOZILLA_FIVE_HOME= "$(which mozilla)" > /dev/null ; then
- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which mozilla) | cut -d '"' -f 2)
- elif [ $(which firefox) ] && grep MOZILLA_FIVE_HOME= "$(which firefox)" > /dev/null ; then
- MOZILLA_HOME=$(grep MOZILLA_FIVE_HOME= $(which firefox) | cut -d '"' -f 2)
+elif [ -f @libdir@/mozilla/chrome/comm.jar ]; then
+ MOZILLA_HOME=@libdir@/mozilla
++elif [ -f @libdir@/seamonkey/chrome/comm.jar ]; then
++ MOZILLA_HOME=@libdir@/seamonkey
++elif [ -f @libdir@/mozilla-firefox/chrome/comm.jar ]; then
++ MOZILLA_HOME=@libdir@/mozilla-firefox
++elif [ -f @libdir@/mozilla-thunderbird/chrome/comm.jar ]; then
++ MOZILLA_HOME=@libdir@/mozilla-thunderbird
else
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
exit 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/monodevelop-MOZILLA_FIVE_HOME.patch?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list