View previous topic :: View next topic |
Author |
Message |
allex87 Apprentice
Joined: 02 Aug 2003 Posts: 154 Location: Ontario, Canada
|
Posted: Sat Apr 16, 2005 2:55 pm Post subject: HOWTO: Mozilla Firefox with improved GNOME support |
|
|
This HOWTO aims to guide you through the process of installing a version of Firefox with improved GNOME support
Thanks to IWBCMAN for the initiative at https://forums.gentoo.org/viewtopic-t-323850-postdays-0-postorder-asc-start-0.html
What it includes:
GTK file selector
Full GTK Interface
Some Dialogs now use GNOME icons
First, go to this bugzilla page and download mozilla-firefox-1.0.2-r1.ebuild mozilla-firefox_1.0.2-0ubuntu5.diff and mozilla-firefox-1.0.2-gtk-xft-only.diff.
Now, make sure your PORTDIR_OVERLAY variable is set correctly in /etc/make.conf (ie. PORTDIR_OVERLAY=/usr/local/portage)
Open up a terminal, and do this:
Code: |
aroman@idaho ~ $ su -
Password:
idaho ~ # cd /usr/local/portage
idaho portage # mkdir -p www-client/mozilla-firefox
idaho portage # cd www-client/mozilla-firefox/
idaho mozilla-firefox # mkdir files
idaho mozilla-firefox # cd files
idaho files # cp /usr/portage/www-client/mozilla-firefox/files/* .
cd ..
|
Don't close the terminal yet!
Now, save mozilla-firefox_1.0.2-0ubuntu5.diff and mozilla-firefox-1.0.2-gtk-xft-only.diff to /usr/local/portage/www-client/mozilla-firefox/files.
Next, save mozilla-firefox-1.0.2-r1.ebuild to /usr/local/portage/www-client/mozilla-firefox
Go back to the terminal and enter:
Code: |
idaho mozilla-firefox # ebuild mozilla-firefox-1.0.2-r1.ebuild digest
>>> Generating digest file...
<<< firefox-1.0.2-source.tar.bz2
>>> Generating manifest file...
<<< mozilla-firefox-1.0.2-r1.ebuild
<<< files/digest-mozilla-firefox-1.0.2-r1
<<< files/mozilla-firefox-1.0-4ft2.patch
<<< files/mozilla-firefox_1.0.2-0ubuntu5.diff
<<< files/mozilla-firefox-1.0.2-gtk-xft-only.diff
<<< files/svg-cairo-0.3.0-fix.patch
>>> Computed message digests.
|
You should get those messages from ebuild. If not, you've done something wrong (or I have... but it works on my system).
Now, if you have not previously done so, you must do this from the same root terminal:
Code: | echo "www-client/mozilla-firefox ~x86" >> /etc/portage/package.keywords |
And finally, to install the new Firefox, do this from the root terminal:
Code: | emerge -av mozilla-firefox |
I know that firefox-1.0.3 is out, but until Ubuntu releases their 1.0.3 patches, there's not much I can do about it.
I'll post some screenshots a bit later.
Note that I have only tested this on ~x86 and this MAY NOT BUILD on other platforms! If someone is willing to modify the ebuild for it to do so, he/she is welcome to do so!
Cheers
EDIT: Changed copy to include all the neccesary files from the main firefox ebuild files/ directory.
Last edited by allex87 on Mon Apr 18, 2005 12:39 am; edited 2 times in total |
|
Back to top |
|
|
allex87 Apprentice
Joined: 02 Aug 2003 Posts: 154 Location: Ontario, Canada
|
Posted: Sat Apr 16, 2005 4:14 pm Post subject: |
|
|
And here are the promissed screenshots. I've hosted them at my hosting account (which I don't have much bandwidth for, so please, if someone could host these files elsewhere, it would be GREATLY appreciated! Thanks!
So, the screenshots are at: http://alex.buildtolearn.net/index.php?itemid=2
Have fun building, and post back problems/suggestions!
Cheers! |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Sun Apr 17, 2005 6:53 am Post subject: |
|
|
Ahh, I see what they did. Looks like they just patched the aviary's. Nightly trunks from Mozilla are better than this. Same GTK file dialogue but better Preferences window:
http://www3.telus.net/titancreations/temp/preferences.png _________________ You're not afraid of the dark are you? |
|
Back to top |
|
|
allex87 Apprentice
Joined: 02 Aug 2003 Posts: 154 Location: Ontario, Canada
|
Posted: Sun Apr 17, 2005 12:50 pm Post subject: |
|
|
That looks neat
Thanks for the info! |
|
Back to top |
|
|
hoschi Advocate
Joined: 19 Jul 2003 Posts: 2517 Location: Ulm, Germany, Europe
|
Posted: Sun Apr 17, 2005 6:10 pm Post subject: |
|
|
HOT! Waiting for 1.03 Release _________________ Just you and me strogg! |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Sun Apr 17, 2005 6:29 pm Post subject: |
|
|
hoschi wrote: | HOT! Waiting for 1.03 Release |
Still aviary. Mozilla wont branch the trunk with the new features for some time to come I believe... _________________ You're not afraid of the dark are you? |
|
Back to top |
|
|
steevdave Retired Dev
Joined: 25 Oct 2004 Posts: 73 Location: Tulsa, OK
|
Posted: Sun Apr 17, 2005 6:47 pm Post subject: |
|
|
something that might be worth mentioning - if you don't copy over the .desktop file and the icon from the $PORTDIR/www-client/mozilla-firefox/files then the desktop entry (in gnome) doesn't get created. and since this is done with emerge - the old version gets removed - or at least, that is what happened to me. |
|
Back to top |
|
|
allex87 Apprentice
Joined: 02 Aug 2003 Posts: 154 Location: Ontario, Canada
|
Posted: Mon Apr 18, 2005 12:38 am Post subject: |
|
|
steevdave wrote: | something that might be worth mentioning - if you don't copy over the .desktop file and the icon from the $PORTDIR/www-client/mozilla-firefox/files then the desktop entry (in gnome) doesn't get created. and since this is done with emerge - the old version gets removed - or at least, that is what happened to me. |
Yeah, I was trying to make the user not copy EVERYTHING (since it is what I did)...
I'll update the howto... |
|
Back to top |
|
|
sofcik Tux's lil' helper
Joined: 20 Mar 2004 Posts: 99 Location: Poland, Warsaw, Ochota :]
|
Posted: Mon Apr 18, 2005 12:44 pm Post subject: |
|
|
I'm trying to compile it, but it seems that ebuild doesn't have deps - it is not compiling on system without gnome ( i'm trying to compile some libs from gnome, to find which ones are needed) _________________ SfmBE = Sorry for my Bad English
ThxToAllOfYouForHelpingOnTheGentooWay
GENTOO FOREVER ! |
|
Back to top |
|
|
sofcik Tux's lil' helper
Joined: 20 Mar 2004 Posts: 99 Location: Poland, Warsaw, Ochota :]
|
Posted: Mon Apr 18, 2005 6:42 pm Post subject: |
|
|
Now a can see how nice is firefox + gtk gnomelibs and gnomeus are needed to compile this version of firefox.
Thx for that ! _________________ SfmBE = Sorry for my Bad English
ThxToAllOfYouForHelpingOnTheGentooWay
GENTOO FOREVER ! |
|
Back to top |
|
|
otaku Guru
Joined: 16 Dec 2004 Posts: 428 Location: Rho (MI)
|
Posted: Mon May 02, 2005 9:49 am Post subject: |
|
|
i can't compile it on ~amd64, has someone compiled it on this arch? _________________ Ventiquattr'ore al giorno in preda a una follia contorta... |
|
Back to top |
|
|
steevdave Retired Dev
Joined: 25 Oct 2004 Posts: 73 Location: Tulsa, OK
|
Posted: Mon May 02, 2005 11:23 am Post subject: |
|
|
For those who want gnome libs - but don't want to pull in all of gnome - there is also the gnome-light package... i believe it pulls in just the necessary libraries without stuff like metacity, epiphany, evolution and so forth - I would need to read the ebuild, but I was told it doesn't pull in everything. |
|
Back to top |
|
|
|