LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-22-2008, 05:49 AM   #31
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,781

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459

Quote:
Originally Posted by Daedra View Post
replace the mozilla-firefox.slackbuild file with the edited one four here http://webpages.charter.net/daedra/1...fox.SlackBuild
Hi,

I suggest changing --enable-optimize=-O2 to
Code:
--enable-optimize="-O2 -march=i686"
or to
Code:
--enable-optimize="$SLKFLAGS"
and then adding lines for i686 above where SLKFLAGS is set like this:

Code:
elif [ "$ARCH" = "i686" ]; then
  SLKCFLAGS="-O2 -march=i686"
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 06-22-2008, 04:45 PM   #32
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Good call, thank you for that, I updated the file.

Thanks Again.

Last edited by Daedra; 06-22-2008 at 04:58 PM.
 
Old 06-22-2008, 05:34 PM   #33
Oliver_H
Member
 
Registered: May 2008
Distribution: Slackware, FreeBSD
Posts: 47

Rep: Reputation: 16
You should enable jemalloc to for better memory mangement etc. It's default in the Mozilla builds. This is new in Firefox 3.

–enable-jemalloc
 
Old 06-22-2008, 05:48 PM   #34
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Quote:
Originally Posted by Oliver_H View Post
You should enable jemalloc to for better memory mangement etc. It's default in the Mozilla builds. This is new in Firefox 3.

–enable-jemalloc
If it is default in the mozilla builds, then my understanding is that it should not be necessary to add it to .mozconfig. I understood that '.mozconfig' settings are only necessary to change the build configuration from the defaults that are specified in the source tree.

Bill.
 
Old 06-23-2008, 04:59 AM   #35
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,781

Rep: Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459Reputation: 1459
Quote:
Originally Posted by Oliver_H View Post
You should enable jemalloc to for better memory mangement etc. It's default in the Mozilla builds.
about:buildconfig in the navigation toolbar shows the compiler flags and the configure arguments used. The default linux binary shows only these configure arguments:

--enable-application=browser --enable-update-channel=release --enable-update-packaging --enable-optimize --disable-debug --disable-tests --enable-official-branding
 
Old 06-23-2008, 05:38 AM   #36
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Quote:
Originally Posted by Petri Kaukasoina View Post
about:buildconfig in the navigation toolbar shows the compiler flags and the configure arguments used. The default linux binary shows only these configure arguments:

--enable-application=browser --enable-update-channel=release --enable-update-packaging --enable-optimize --disable-debug --disable-tests --enable-official-branding
Yes, this is exactly my point. about:buildconfig will only show the additional build options specified in 'mozconfig'. It does not for example show which 'toolkit' is used for the build or whether libxul is built. Both of these of course are.

I would like to know of a way to query the source tree to find all the default configuration options of which there are many.
Bill
 
Old 06-23-2008, 06:14 AM   #37
Oliver_H
Member
 
Registered: May 2008
Distribution: Slackware, FreeBSD
Posts: 47

Rep: Reputation: 16
>If it is default in the mozilla builds, then my understanding is that it should not be necessary to add it to .mozconfig.

Otherwise it doesn't kill you ;-) I don't know whether it's activated by default so I enabled it myself just to be sure.
 
Old 06-23-2008, 08:56 AM   #38
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
When I built Firefox from source, I encountered this bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=409192

Did this happen to anyone else?
 
Old 06-24-2008, 08:43 PM   #39
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,098

Rep: Reputation: 54
i've used slackware since 9.1, and i have to admit it has never looked this good. thanks! Great Post!!!
 
Old 06-25-2008, 11:09 PM   #40
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Just to update everyone, I changed the slackbuild. It seems if you have read the post "firefox 3.0 + thunderbird = no email links" it turns out the Pat's firefox/thunderbird patch doesn't seem to be needed anymore and in some cases (mine and otheres) it was causing problems, I now have removed the patch from the slackbuild and now my email problem is fixed. So on the safe side I changed the build however you can still download the original slackbuild from here http://webpages.charter.net/daedra/1...SlackBuild.old
 
Old 06-28-2008, 05:34 PM   #41
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
To the SlackBuild, I recommend fixing the blank applications menu bug.

The Bugzilla entry:
https://bugzilla.mozilla.org/show_bug.cgi?id=409192

The patch:
https://bugzilla.mozilla.org/attachment.cgi?id=325195

I added the patch to my SlackBuild and now everything works perfectly. (The crashing problem I mentioned earlier seems to have solved itself).
 
Old 06-28-2008, 08:11 PM   #42
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
So this patch is all you need to fix the application problem? I thought I read that you had to compile a whole bunch of gnome stuff to get that working? Also where did you add the patch, before or after compile?
 
Old 06-28-2008, 08:26 PM   #43
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
That so called subpixel rendering of colored pixels makes my eyes water... Its that bad. Blowing cigarette smoke in my face isn't nearly as bad.
I like my fonts with AA but no subpixel rendering.
http://img384.imageshack.us/img384/148/fontsfv1.png
That's how its done.
 
Old 06-28-2008, 08:45 PM   #44
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by r00tb33r View Post
That so called subpixel rendering of colored pixels makes my eyes water... Its that bad. Blowing cigarette smoke in my face isn't nearly as bad.
I like my fonts with AA but no subpixel rendering.
http://img384.imageshack.us/img384/148/fontsfv1.png
That's how its done.
I can see what your saying, but without the subpixel rendering they just look to soft to me. I prefer subpixel rendering, but I also like the old bytecode nonAA rendering too, I didn't include that into my howto because it seems so few have CRTs now, most people have switched to LCD.
 
Old 06-29-2008, 12:08 AM   #45
r00tb33r
Member
 
Registered: Feb 2007
Distribution: Vector
Posts: 318

Rep: Reputation: 31
Quote:
Originally Posted by Daedra View Post
I can see what your saying, but without the subpixel rendering they just look to soft to me. I prefer subpixel rendering, but I also like the old bytecode nonAA rendering too, I didn't include that into my howto because it seems so few have CRTs now, most people have switched to LCD.
Hmm, now that I think about it, it will look even worse on a CRT. Meaning I've been using LCDs for many years now. Perhaps it needs tuning for my current monitor, like the color order in a pixel, but I've played with that before, and none of the combinations produced a result I would be happy with. I definitely have to have AA on text at all times though, I even went the length of doing a GTK+ 1 hack, although I don't use that many of GTK+ 1 apps anymore.
NonAA renderings have their purpose... But not in a browser.
Matter of taste I guess. It didn't seem like a biggie back in Win 98 days where I had a choice of nonAA and nonAA.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If I were to recompile & arch-optimize Slackware, where to begin? GrapefruiTgirl Slackware 124 06-22-2007 09:46 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 06:42 PM
How to fully optimize Slackware? Introx Slackware 4 05-30-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration