User:Backinblakk

From CDOT Wiki
Revision as of 14:43, 18 September 2007 by Backinblakk (talk | contribs) (Building Firefox: - removed last year's PC attempts added link to blog for this year's)
Jump to: navigation, search

Profile

Name: Lukas Blakk
IRC: lsblakk
Email: lsblakk [at] learn [dot] senecac [dot] ca
Web: backinblakk(videoblog)

Fifth semester BSD student. Currently on a steep learning curve. I am a returning student and thus, hadn't been in school for 11 years. Prior to this I have worked many jobs including (but not limited to) 7-11 clerk, Subway sandwich artist, nanny, cook, brunch chef, LCBO temp, delivering NOW Magazine, and many other odd jobs.

Even though my name is Lukas, I am in fact female. It is important that I tell you that because otherwise you might not know and so now you do - let's move on.

I'm most interested in web development, film/video - making, editing, videoblogging. I also knit...to give my eyes a break from computer screens. I'd like to learn more about graphic design to complement my interest in web development and design.

Outside of the Seneca @ York universe I am teaching computer essentials to folks who are deaf-blind through the Canadian Helen Keller Center. Interesting fact: you can be 'deaf-blind' without being completely deaf or completely blind. I am enjoying this experience and I hope to continue during the school year.

Inside the S@Y universe I am trying to take more steps to be involved. This is what brought me to here.

Current Project

  • CSS Guide - porting to MDC CSS Reference

Building Firefox

On the PC

see my blog

On the Mac

Okay, so I'm on a Power PC Mac G5 Dual 2 GHz running OS X 10.4.7 (I can't update to 10.4.8 because it messes up the networked printer).

Following the instructions on Mac OS X Build Prerequisites was tremendously useful. Xcode installers were already on the system and downloading DarwinPorts was a speedy.

libIDL and GLib

Once DarwinPorts was installed, I installed libIDL and GLib:

$ sudo port sync
$ sudo port install libidl

autoconf

Following that I installed autoconf:

$ sudo port install autoconf213

Gcc

I also changed my compiler:

$ sudo gcc_select 3.3

.mozconfig

At this point, I tried to check out the source code, but I hadn't followed the directions closely enough, and didn't have a .mozconfig file set up and so I went back to the drawing board.

I set up a .mozconfig file based on the default and this is what it ended up being (includes the use of objdir based on this page:

  1 # This file specifies the build flags for Firefox.  You can use it by adding:
  2 #  . $topsrcdir/browser/config/mozconfig
  3 # to the top of your mozconfig file.
  4 
  5 . $topsrcdir/browser/config/mozconfig
  6 mk_add_options MOZ_CO_PROJECT=browser
  7 ac_add_options --enable-application=browser
  8 mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@

Checkout

Finally, I was able to check out the source code (once I remembered to be in the mozilla directory) using make:

cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/config/mozconfig
$ cd mozilla
$ make -f client.mk checkout MOZ_CO_PROJECT=browser

Build

More time passes...then it's time to build:

$ make -f client.mk build

Hours go by before I get the message: "make[4]: `tools/test-harness/Makefile' is up to date."

This is the moment I know you've been waiting for. With baited breath, I go into obj-powerpc-apple-darwin8.70/dist/Minefield.app, when I am told upon double clicking that I must close the 15 Firefox tabs before I can open it.

Proof of Life

Lsblakk Minefield SS.png

Links

PC Build documentation:

And also auenf2 on irc://irc.mozilla.org/#firefox for figuring out that it was the line endings preventing me from a seamless build.

Mac Build Documentation: