A few people(you know who you are) have helped me fix my problems and I'm very grateful. I just thought I give back to the community. I don't write a lot of tutorials but here it goes...g'luck
To update firefox from 2.0.0.14 to 2.0.0.15, do the following...
Download mozilla-firefox.SlackBuild and mozilla-firefox-simple.diff.gz at the following mirror, or choose a mirror closest to you and put it on your desktop. The 2 files are located in slackware_sources\xap.
ftp://slackware.cs.utah.edu/pub/slackware/
Now you need to edit the slackbuild script, open it with your text editor and where it says VERSION=.......put your version # i.e, 2.0.0.15, then save it.
Now decompress mozilla-firefox-simple.diff.gz like this:
Code:
gzip -d mozilla-firefox-simple.diff.gz
It should create a file on your desktop called mozilla-firefox-simple.diff, open the file with your text editor and change the directories to 2.0.0.15, it should look like this:
Code:
--- ./firefox.orig 2007-05-15 06:47:30.000000000 -0500
+++ ./firefox 2007-06-01 18:15:02.000000000 -0500
@@ -92,8 +92,8 @@
#uncomment for debugging
#set -x
-moz_libdir=/usr/local/lib/firefox-2.0.0.15
-MRE_HOME=/usr/local/lib/mre/mre-2.0.0.15
+moz_libdir=/usr/lib/firefox-2.0.0.15
+MRE_HOME=/usr/lib/mre/mre-2.0.0.15
# Use run-mozilla.sh in the current dir if it exists
# If not, then start resolving symlinks until we find run-mozilla.sh
After making your changes, save it and gzip the file again like this:
Code:
gzip mozilla-firefox-simple.diff
Go and download firefox-2.0.0.15.tar.gz from the official site.
Create a folder called "firefox" on your desktop. Now store all 3 files in your firefox folder. Your firefox folder should contain the following 3 items:
mozilla-firefox-simple.diff.gz
mozilla-firefox.SlackBuild
firefox-2.0.0.15.tar.gz
Cd to your firefox folder and make mozilla-firefox.SlackBuild into an executable by issuing the command:
Code:
chmod +x mozilla-firefox-SlackBuild
That's it, you can now install it like any other slackbuild script.
> su to root
> ./mozilla-firefox-SlackBuild
> cd to /tmp
> installpkg mozilla-firefox