Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] ChatZilla with latest Xulrunner (2.0+)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
zalun
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2004
Posts: 89

PostPosted: Thu May 12, 2011 12:13 pm    Post subject: [HOWTO] ChatZilla with latest Xulrunner (2.0+) Reply with quote

I use ChatZilla with xulrunner which makes it looks like a standalone application.

First install xulrunner
Code:
sudo emerge xulrunner -av


Download latest ChatZilla prepared for xulrunner from http://chatzilla.rdmsoft.com/xulrunner/ - currently:
Code:
wget http://chatzilla.rdmsoft.com/xulrunner/download/chatzilla-0.9.86.1-xr.zip


unpack the chatzilla to prefered directory
Code:
sudo mkdir /opt/xulrunner/chatzilla-0.9.86.1 -p
sudo unzip -d "/opt/xulrunner/chatzilla-0.9.86.1" chatzilla-0.9.86.1-xr.zip
sudo ln -fs /opt/xulrunner/chatzilla-0.9.86.1 /opt/xulrunner/chatzilla


Now this is a little tricky as at the moment this addon is prepared for xulrunner < 2.0.
chrome.manifest file needs to be in addon's root directory, all references to chrome.jar are relative to this path.
Code:
cat /opt/xulrunner/chatzilla/chrome/chrome.manifest | awk '{ sub(/chatzilla.jar/, "chrome/chatzilla.jar"); print }' > /opt/xulrunner/chatzilla/chrome.manifest


Run ChatZilla
Code:
xulrunner-2.0 --app /opt/xulrunner/chatzilla/application.ini


Consider creating a simple script shortcut
Code:
sudo ln -fs /usr/bin/xulrunner-2.0 /usr/bin/xulrunner
echo "xulrunner --app /opt/xulrunner/chatzilla/application.ini" | sudo tee -a /usr/local/bin/chatzilla
chmod 755 /usr/local/bin/chatzilla


Thanks to Silver from irc://irc.mozilla.org/#chatzilla to make it work under xulrunner 2.0
Influenced by http://ubuntuforums.org/showthread.php?t=140811

If you think directory placement is not very "gentooish" please correct me.


Last edited by zalun on Thu May 12, 2011 12:25 pm; edited 2 times in total
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Thu May 12, 2011 12:18 pm    Post subject: Reply with quote

Moved from Other Things Gentoo to Documentation, Tips & Tricks as it fits better here.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum