Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to install Phoenix (binary) without compiling Mozilla
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Tue Oct 29, 2002 11:58 pm    Post subject: How to install Phoenix (binary) without compiling Mozilla Reply with quote

I'll make this quick because its almost 1am and I am very tired :)

1. Download latest Phoenix binarys
2. Unpack the tar.gz file. I put it in /opt

Code:

root@genesis root # cd /opt
root@genesis opt # tar zxvf /path/to/your/phoenix-i686-pc-linux-gnu.tar.gz


3. Emerge lib-compat

Code:

root@genesis phoenix # emerge -s lib-compat
Searching...   
[ Results for search key : lib-compat ]
[ Applications found : 1 ]
 
*  sys-libs/lib-compat
      Latest version available: 1.0-r2
      Latest version installed: 1.0-r2
      Homepage: http://www.gentoo.org/
      Description: Compatibility c++ and libc5 libraries for programs new and old
 
root@genesis phoenix # emerge lib-compat


4. Create a symlink to a missing lib

Code:

root@genesis phoenix # ln -s /usr/lib/libstdc++-libc6.1-1.so.2 /usr/lib/libstdc++-libc6.2-2.so.3


5. Create a symlink to the Phoenix binary

Code:

root@genesis phoenix # ln -s /opt/phoenix/phoenix /usr/bin/phoenix


Start it and have fun :)
This message was posted with
Code:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021029 Phoenix/0.4

on a fresh Gentoo Linux 1.4 without Mozilla installation :)


Thanks to phoen][x for his ebuild script (which depends on mozilla :( ) and unimatrix for the nice IRC session (which kept me awake) and the lib-compat trick :D

Hope this helps someone!
Back to top
View user's profile Send private message
garion911
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 88

PostPosted: Wed Oct 30, 2002 4:09 am    Post subject: Reply with quote

Can you post that ebuild that builds phoenix?

It would come in very handy for those of us running pentiums that can't use the i686 binaries....... I can wait for the compile..

If you don't have the ebuild, I wrote a shell script that handles it, compiles straight from the latest CVS... I can post that....
Back to top
View user's profile Send private message
dob
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 199
Location: S.L.P.

PostPosted: Wed Oct 30, 2002 11:52 am    Post subject: Reply with quote

Interesting topic :)

I followed your instructions, though I made the symbolic links in /usr/local/lib and /usr/local/bin, seems 'cleaner' to me.

I have mozilla 1.1 installed, and phoenix refused to start.
To clear this, you need to start phoenix with the following command:

Quote:
MOZILLA_FIVE_HOME=/opt/phoenix phoenix


(works for desktop shortcuts as well :))

Now my problem is that phoenix, unlike mozilla, doesn't seem to find my truetype fonts, and thus I have to use awfull non antialiased fonts :/
Back to top
View user's profile Send private message
orochi
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2002
Posts: 76

PostPosted: Wed Oct 30, 2002 12:30 pm    Post subject: unix.js Reply with quote

take a look at ur unix.js file in /opt/pheonix/pheonix/defaults/pref/
u have to enable freetype and specify ur ttf path
Back to top
View user's profile Send private message
tirantloblanc
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 179
Location: Barcelona, ES

PostPosted: Wed Oct 30, 2002 2:54 pm    Post subject: Reply with quote

:? I downloaded phoenix0.3 into my homedir, unzipped un run it, i had no problems.
Problems come after installing Mozilla, so i had te create an small script.
Back to top
View user's profile Send private message
dob
Apprentice
Apprentice


Joined: 04 Oct 2002
Posts: 199
Location: S.L.P.

PostPosted: Wed Oct 30, 2002 3:25 pm    Post subject: Re: unix.js Reply with quote

orochi wrote:
take a look at ur unix.js file in /opt/pheonix/pheonix/defaults/pref/
u have to enable freetype and specify ur ttf path


Thanks I had put it in vain in my user.js but editing the system wide file did the trick
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Wed Oct 30, 2002 8:41 pm    Post subject: Reply with quote

tirantloblanc wrote:
:? I downloaded phoenix0.3 into my homedir, unzipped un run it, i had no problems.
Problems come after installing Mozilla, so i had te create an small script.


You might have a Gcc 2.95 compiled system then.
The way I described above works expecially for Gcc 3.x systems :)
Back to top
View user's profile Send private message
Cardoe
Retired Dev
Retired Dev


Joined: 28 Jun 2002
Posts: 32

PostPosted: Wed Oct 30, 2002 9:49 pm    Post subject: Reply with quote

If you have Mozilla installed you just need to open up /opt/phoenix/phoenix in your favorite text editor and comment out a few lines to make it play nice.

On lines 38 through 41... just comment them out.
Code:

# honor MOZILLA_FIVE_HOME if it's there                                       
#if [ -n "$MOZILLA_FIVE_HOME" ] ; then 
#  dist_bin="$MOZILLA_FIVE_HOME"                                                                                               
#else


then lastly line 80
Code:

#fi


This is for Phoenix 0.4 so the line numbers might be different for other versions but probably not.undefined
_________________
Cardoe

Retired Gentoo Developer
Gentopia, MythTV, D-Bus
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Thu Oct 31, 2002 10:31 am    Post subject: Re: unix.js Reply with quote

orochi wrote:
take a look at /opt/phoenix/phoenix/defaults/pref/unix.js
u have to enable freetype and specify ur ttf path


ok:
in the line: pref("font.FreeType2.enable", false); I set false to true, that's how to enable freetype, right?

but I cannot find where to specify my ttf path
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Thu Oct 31, 2002 2:22 pm    Post subject: Re: unix.js Reply with quote

H-Pi wrote:
orochi wrote:
take a look at /opt/phoenix/phoenix/defaults/pref/unix.js
u have to enable freetype and specify ur ttf path


ok:
in the line: pref("font.FreeType2.enable", false); I set false to true, that's how to enable freetype, right?

but I cannot find where to specify my ttf path


Here is how my Phoenix looks now: http://0x1337.net/tmp/aa.png (I know, small screen - its my laptop :) )

And here is the modified part of my unix.js:

Code:

// TrueType
pref("font.FreeType2.enable", true);
pref("font.freetype2.shared-library", "libfreetype.so.6");
// if libfreetype was built without hinting compiled in
// it is best to leave hinting off
pref("font.FreeType2.autohinted", false);
pref("font.FreeType2.unhinted", false);
// below a certian pixel size anti-aliased fonts produce poor results
pref("font.antialias.min",0);
pref("font.embedded_bitmaps.max", 1000000);
pref("font.scale.tt_bitmap.dark_text.min", 0);
pref("font.scale.tt_bitmap.dark_text.gain", "0.0");
// sample prefs for TrueType font dirs
pref("font.directory.truetype.1", "/usr/share/fonts/truetype");
pref("font.directory.truetype.2", "/usr/X11R6/lib/X11/fonts/TTF");
pref("font.directory.truetype.3", "/usr/X11R6/lib/X11/fonts/truetype");


And here are my Phoenix font settings:
Proportional: Serif (Size: 16)
Serif: monotype-arial-iso8859-15
Sans-Serif: monotype-arial-iso8859-15
Monospace: monotype-courier new-iso8859-15 (Size: 12)
Minimum font size: 9

(even the text in this textbox here looks such sweet :) )
Back to top
View user's profile Send private message
tirantloblanc
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 179
Location: Barcelona, ES

PostPosted: Fri Nov 01, 2002 1:42 am    Post subject: Reply with quote

why:
Code:

pref("font.scale.tt_bitmap.dark_text.min", 0);
pref("font.scale.tt_bitmap.dark_text.gain", "0.0");


And not 64 - 0.8???

Anyway, thanks for your config file. I could make AA work in Phoenix.
Back to top
View user's profile Send private message
bazik
Retired Dev
Retired Dev


Joined: 22 Jul 2002
Posts: 277
Location: Behind you.

PostPosted: Fri Nov 01, 2002 11:22 am    Post subject: Reply with quote

tirantloblanc wrote:
why:
Code:

pref("font.scale.tt_bitmap.dark_text.min", 0);
pref("font.scale.tt_bitmap.dark_text.gain", "0.0");


And not 64 - 0.8???


When I used 64 and 0.8, the font was blurry and unreadable. Maybe because of the relative small font size I use :)
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Fri Nov 01, 2002 2:27 pm    Post subject: Reply with quote

hm, doesn't work for me, fonts are still aliased
I saw I haven't got the dir /usr/share/fonts/truetype, but then he must look in the other to right?

and in galeon AA works perfectly, without any 'hacks'
Back to top
View user's profile Send private message
tirantloblanc
Apprentice
Apprentice


Joined: 22 Oct 2002
Posts: 179
Location: Barcelona, ES

PostPosted: Fri Nov 01, 2002 6:51 pm    Post subject: Reply with quote

bAZiK: thanks. I tried it, and i also found the fonts blurrier...

H-Pi: Some fonts are never antialiased. You may need to change your fonts in the options menu.
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Fri Nov 01, 2002 8:44 pm    Post subject: Reply with quote

ok i know, but the strange thing is I have set the same fonts as I did in galeon

emerged phoenix 0.4 now, doesn't work either
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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