Difference between revisions of "User:Backinblakk"

From CDOT Wiki
Jump to: navigation, search
(Profile)
m (Profile)
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Profile =
 
= Profile =
 +
 +
[[Image:Lukas.jpg|250px]]<br />
 
'''Name:''' Lukas Blakk <br/>
 
'''Name:''' Lukas Blakk <br/>
 
'''IRC:''' lsblakk<br/>
 
'''IRC:''' lsblakk<br/>
 
'''Email:''' lsblakk [at] learn [dot] senecac [dot] ca<br/>
 
'''Email:''' lsblakk [at] learn [dot] senecac [dot] ca<br/>
'''Web:''' [http://backinblakk.blogspot.com backinblakk(videoblog)]
+
'''Web:''' [http://crashopensource.blogspot.com Crash Open Source class blog], [http://backinblakk.blogspot.com Backinblakk Videoblog], [http://avnerd.tv Hire Me]
  
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.   
+
Seventh semester BSD student.  I am a returning student and thus, hadn't been in school for 11 years before doing this program. 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 <em>female</em>.  It is important that I tell you that because otherwise you might not know and so now you do - let's move on.
 
Even though my name is Lukas, I am in fact <em>female</em>.  It is important that I tell you that because otherwise you might not know and so now you do - let's move on.
Line 13: Line 15:
 
Outside of the Seneca @ York universe I am teaching computer essentials to folks who are deaf-blind through the [http://chkc.org 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.
 
Outside of the Seneca @ York universe I am teaching computer essentials to folks who are deaf-blind through the [http://chkc.org 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.
+
Inside the S@Y universe I am trying to get the most out of this unique program, which includes taking advantage of Seneca's partnership with [http://mozilla.com Mozilla] and any other courses that offer a good deal of "real world" experience.
  
=Current Project=
+
=Current Project(s)=
* CSS Guide - porting to MDC CSS Reference
+
* [[Mozilla Source and Symbol Server]] - Project Leader
 +
* [[CSS guide]] - porting to MDC CSS Reference
  
=Building Firefox=
+
=Contributions=
 +
* [[Mmullin_%26_Lsblakk_running_Shark_on_SunSpider]]
 +
* Transcoding Mozilla 24 videos
 +
* Bug Days (learning to triage)
 +
* Test Days (over 100 tests and counting)
  
==On the PC==
+
=Class Labs =
I have yet to complete a build on the PC.
+
* Incremental Build Lab - [http://crashopensource.files.wordpress.com/2007/10/tabpatch.txt Patch for making tabs open on the right of the tab that creates it]
==Problems==
+
* Extension Creation Lab - [http://avnerd.tv/sharedFiles/addtabbeside2.xpi AddTabBeside]
When I installed cygwin, I left the line endings as UNIX type (recommended) - and when I tried to check out I got the following error:
+
* Thunderbird bug fix lab - [[LukasBlakkTBBugFixLab]]
===The error (1) ===
+
* XPcom lab I - [http://zenit.senecac.on.ca/wiki/imgs/Firstxpcom.xpi Firstxpcom.xpi]
  C:\proj\mozilla>make -f client.mk checkout
 
  cvs checkout: warning: failed to open /home/Lukas/.cvspass for reading: No such
 
  file or directory
 
  /cygdrive/c/proj/mozilla/.mozconfig: line 2: /cygdrive/c/proj/mozilla/browser/co
 
  : No such file or directory
 
  client.mk:517: /cygdrive/c/proj/mozilla/.mozconfig.mk: No such file or directory
 
  make: *** No rule to make target `/cygdrive/c/proj/mozilla/.mozconfig.mk'.  Stop
 
  .  
 
  
===The solution (1) ===
+
=My Bugs =
  in C:\proj\mozilla  
+
As a result of running tests on [http://litmus.mozilla.org Litmus] I have been starting to write bug reports.  Next week on Bug Day, I hope to learn how to triage bugs and go even deeper into the matrix.
  dos2unix .mozconfig
 
  
  This cleared everything up, and then I was able to begin downloading the source code.
+
Filed on Friday Nov 2, 2007
 +
*'''[https://bugzilla.mozilla.org/show_bug.cgi?id=402219 bug #402219]'''
 +
*'''[https://bugzilla.mozilla.org/show_bug.cgi?id=402228 bug #402228]'''
 +
*'''[https://bugzilla.mozilla.org/show_bug.cgi?id=402238 bug #402238]'''
  
===The error (2) ===
+
Filed on Friday Nov 9, 2007
 +
*'''[https://bugzilla.mozilla.org/show_bug.cgi?id=403212 bug #403212]'''
  
  SO, after an hour and a half of compiling, I get this at the end:
+
=FSOSS Report =
 +
[[LukasBlakkFSOSSReport]]
  
  <code>nsFieldSetFrame.cpp
+
=Building Firefox=
  nsFileControlFrame.cpp
 
  Building deps for /cygdrive/c/proj/mozilla/layout/forms/nsFileControlFrame.cpp
 
  make[5]: *** [nsFileControlFrame.obj] Error 5
 
  make[5]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir/layout/forms
 
  '
 
  make[4]: *** [libs] Error 2
 
  make[4]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir/layout'
 
  make[3]: *** [libs_tier_gecko] Error 2
 
  make[3]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
 
  make[2]: *** [tier_gecko] Error 2
 
  make[2]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
 
  make[1]: *** [default] Error 2
 
  make[1]: Leaving directory `/cygdrive/c/proj/mozilla/firefox-objdir'
 
  make: *** [build] Error 2</code>
 
  
===The solution (2) ===
+
==On the PC==
  To be continued...
+
[http://crashopensource.wordpress.com/2007/09/14/catching-up-with-firefox-3/ See my blog for complete run through]
  
Lukas -- I'd recommend you dump cygwin and use [http://benjamin.smedbergs.us/blog/2007-01-12/mozillabuild-rc1/ bsmedberg's MozillaBuild] environment based on msys. ([[User:David.humphrey|David.humphrey]] 09:26, 22 February 2007 (EST))
+
==On the MacBook (Intel) 2007==
 +
Too simple to even discuss here - the MDC docs are clear enough that you don't need more from me.  The only issue that came up was, using Fink on Leopard requires that you build it yourself at the momment.  Fink's homepage has a good doc on how to do this and I didn't have any trouble installing it.  However, the MDC build docs say that once fink is installed you call <code> sudo apt-get install orbit orbit-dev and glib </code> - I could not get the packages that way even though apt-get was installed and working and I was able to list the packages in fink.  In the end I called <code>sudo fink install orbit orbit-dev glib</code> and that worked just fine, all systems go to do mozilla building on the new toy.
  
==On the Mac==
+
==On the Mac (last year)==
 
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).
 
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).
  

Latest revision as of 00:00, 28 May 2008

Profile

Lukas.jpg
Name: Lukas Blakk
IRC: lsblakk
Email: lsblakk [at] learn [dot] senecac [dot] ca
Web: Crash Open Source class blog, Backinblakk Videoblog, Hire Me

Seventh semester BSD student. I am a returning student and thus, hadn't been in school for 11 years before doing this program. 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 get the most out of this unique program, which includes taking advantage of Seneca's partnership with Mozilla and any other courses that offer a good deal of "real world" experience.

Current Project(s)

Contributions

Class Labs

My Bugs

As a result of running tests on Litmus I have been starting to write bug reports. Next week on Bug Day, I hope to learn how to triage bugs and go even deeper into the matrix.

Filed on Friday Nov 2, 2007

Filed on Friday Nov 9, 2007

FSOSS Report

LukasBlakkFSOSSReport

Building Firefox

On the PC

See my blog for complete run through

On the MacBook (Intel) 2007

Too simple to even discuss here - the MDC docs are clear enough that you don't need more from me. The only issue that came up was, using Fink on Leopard requires that you build it yourself at the momment. Fink's homepage has a good doc on how to do this and I didn't have any trouble installing it. However, the MDC build docs say that once fink is installed you call sudo apt-get install orbit orbit-dev and glib - I could not get the packages that way even though apt-get was installed and working and I was able to list the packages in fink. In the end I called sudo fink install orbit orbit-dev glib and that worked just fine, all systems go to do mozilla building on the new toy.

On the Mac (last year)

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: