Monday, November 2, 2009

Yet antoher firefox logo problem solving

firefox original logo

Most of linux users prefer Archlinux because of the rollover package-magament system or it' s clean and fast. It is my favourite distro, too. But there are some issues that must be handled, such as firefox branding.

After Mozilla Foundation  has registered firefox and thunderbird as their trademark, most of linux distros put this softwares with a different name and logo. In archlinux if you want to use firefox with the original name and logo there is two way for you:

manual way:
This is very easy as you go and download the executables. You can make a secret folder in your home folder such as .apps, and make a shortcut to desktop. It is quiet easy.

compiling way:
First I assume that you install abs (arch build system). Then, copy the firefox build directory to any directory to your home. I think you may be tidy.
[user@localhost ~]$cp /var/abs/extra/firefox /home/abs/extra/
 Now we need to change some lines in these files. Look at the mozconfig file, and find the line:
ac_add_options --with-branding=browser/branding/unofficial
and change it to:
ac_add_options --enable-official-branding
then have md5sum of file:
[user@localhost ~]$md5sum mozconfig
d672df11a6e16a5dec68428b00bfb810 mozconfig
add the md5sum to the PKGBUILD file like this:

after these small editing things you can command:
[user@localhost ~]$makepkg -ci
If installation has any make or usage depends, you can easily install them with pacman as a regular way.
After installation you will have the original name and logo of the firefox.

No comments:

Post a Comment