Firefox 2.0 Optimized for Mac G3

Written by rob on October 28, 2006 – 2:54 pm -

Neil over on Beatnikpad has been posting optimized Firefox builds for Mac for a while now. The latest Firefox release, 2.0, was officially released to the public earlier this week. The optimized builds for Firefox 2.0 are now up on his blog. There are many people who swear by his optimized builds and claim they yield a major speed increase. However, there is one little problem… he only offers builds for G4, G5, and Intel processors. That leaves me and my iBook G3 700mhz stuck without any optimization. So, what to do?

I decided to make my own optimized build. Firefox is an open source browser, so any old person can go download the source code. They have scripts that make it easy to build, so all you really need is a good development environment (meaning you have Perl, GCC, etc., which OSX users can get with the Developer Tools included on the Tiger DVD) and enough time to let it compile. Compiling the libIDL, which is a prerequisite for Firefox compilation, took about three hours. Firefox then took about five. The good part is I will only have to go through the five-hour process next time, since libIDL is already on my system.

To spare anyone else from going through the eight-hour process, I used the friendly installer-maker script to create a compressed dmg file ready for download and use. Keep in mind that this will only work on G3 processors. Without further ado, you may click here to download Firefox 2.0 Optimized for G3 processors.

Note: During the build process, I did come in contact with one little issue. However, the Firefox developers helped me resolve it quickly. The error I got was “‘kCGBitmapByteOrder32Host’ undeclared” in the file mozilla/gfx/cairo/cairo/src/cairo-quartz-surface.c. The developers informed me that in the header file for the problematic source file, there were three particular lines that checked to see if the SDK installed was version 10.4 or higher. If so, it did nothing. However, if it was a lesser version, it would define the kCGBitmapByteOrder32Host constant to 0. This is because Tiger implements the constant somewhere on its own, and doesn’t need the Firefox source code to do it. For whatever reason, my system registered as 10.4 or higher (I am using Tiger), but did not have that constant defined by the OS, and therefore errored out since it wasn’t defined by anything. I fixed this by commenting out the if statement in the header file so the constant would be defined as 0 for my system as well.

For those interested in a more technical representation of what I did, here is the diff file between the original and patched version of cairo-quartz.h.


Posted in Optimized Firefox | 3 Comments »

Fun Flash Game

Written by rob on October 20, 2006 – 4:57 pm -

Check out this awesome Flash game. Basically, you use a pencil tool to draw lines. Then a sledding guy uses those lines as his path. At first it is odd because you are getting used to the physics, but you can quickly do awesome stunts with it. My favorite thing to do is make a really steep slope so he builds up major speed, then have him go off a ramp into a wall! I tried to do a flip but still haven’t been able to get him to land well. :( Let me know what things you can do.


Posted in General Stuff | 1 Comment »

MediaCoder Review

Written by rob on October 15, 2006 – 11:25 am -

I saw a program Friday on Lifehacker called MediaCoder. When Lifehacker raves about a program, it is usually a very good thing. I was hoping MediaCoder would be no exception. This is a program that aims to allow someone to convert any type of video or audio to pretty much any other type of video or audio. But, you may say, there are hundreds of programs that do that. While you are correct, not all of them are free. More importantly, not all of them are easy to use. One program I have used before is River Past’s Video Cleaner. While it works, it requires a lot of messing around to actually produce working video. I used it mainly to convert XVid to Premiere-importable video, and it took a long time to get it working. The point is that Video Cleaner is both hard to use and costs money, in contrast to MediaCoder’s free and easy-to-use interface. (I do want to add that River Past’s Audio Convertor is probably the best around and I highly recommend it.)

Claims are all well and good, but how does MediaCoder actually perform? I put it to the test by performing a task that I do often, and one that I cover on this site often: iPod Video conversion. While Videora is free, it is lacking that “easy-to-use” aspect. While I debunked most of the difficulty, there are still a lot of difficult settings to work with in an interface that makes you jump from screen to screen. MediaCoder claims to make the process very easy, so I put it to the test by converted the movie Fearless with Jet Li.

I installed MediaCoder using all of the default installation settings. I noticed Mplayer was installed with the program, which is how I suspect the program does the actual transcoding. Anyway, I opened up the program. The first thing that I noticed that was particularly strange is that it opens up in your web browser, showing a window that is basically asking you to donate. That’s nice. I scrolled down and pressed the button to “Start MediaCoder”. The actual program then started. I right-clicked on the open white area and was presented with a large context menu. The only thing I did was press “Change Output Directory”, and then set it to my Desktop. I recommend you do the same. After that, I simply drug my AVI file into the white area, and an entry appeared. I clicked once on the entry to select it, and then went over to the Devices menu. I chose plug-ins from the drop-down, and finally “Digital Media Player”. Why they call it Digital media player as opposed to iPod Video, I have no idea, considering they have a picture of an iPod in the screen that comes up.

In that screen, I changed the bitrate to 384 kbps just because this was a test and not a real important video for me. The default values would be appropriate for most situations, which is something I like a lot. Then I simply pressed the “Start” button, which I feel was much too small. Despite this, the transcoding process then began. I waited.

About thirty-six minutes later, it was done. I don’t know about you, but 36 minutes of transcoding for a 100 minute movie is pretty good. It’s about the same as Videora with comparable settings. I haven’t tried doing the same movie with both, so I can’t tell for sure if either one is faster than the other. It definitely isn’t slower, though. Anyway, I drug the video into iTunes. Or at least I tried to. It wasn’t working. I then tried to play it in VLC Player and it also did not work. Hmm.

So, I tried to redo everything, and this time I chose to use the H264 encoding as opposed to the MP4. This took longer, at 74 minutes, but still did not work. For now, I have given up on using it for iPod converting. I already know how to use Videora, and at least Videora works. I will try to convert my next Premiere video file with MediaCoder and will update this review. However, right now it seems like the program is a lot more dificult to use than originally stated. I really don’t feel like messing with it now simply because I have other programs that do the same thing and work (Video Cleaner and Videora).


Posted in Tech | Comments Off

Reggie Bush – The Greatest

Written by rob on October 9, 2006 – 2:20 pm -

Here’s one for the long weekend.

http://youtube.com/watch?v=yGPT4Q1s97c

EDIT: YouTube removed this due to “copyright infringement”. I guess you can’t use any NFL highlights.


Posted in General Stuff | 2 Comments »