Difference between revisions of "User:Backinblakk"

From CDOT Wiki
Jump to: navigation, search
(Tweaks)
m (Profile)
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
= Profile =
 
= Profile =
 +
 +
[[Image:Lukas.jpg|250px]]<br />
 
'''Name:''' Lukas Blakk <br/>
 
'''Name:''' Lukas Blakk <br/>
'''IRC:''' lsblakk (or occasionally as backinblakk)<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]
  
Fourth 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 11: Line 13:
 
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.
 
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 run with my dog and am training for a triathlon.
+
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 involvedThis 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(s)=
 +
* [[Mozilla Source and Symbol Server]] - Project Leader
 +
* [[CSS guide]] - porting to MDC CSS Reference
 +
 
 +
=Contributions=
 +
* [[Mmullin_%26_Lsblakk_running_Shark_on_SunSpider]]
 +
* Transcoding Mozilla 24 videos
 +
* Bug Days (learning to triage)
 +
* Test Days (over 100 tests and counting)
 +
 
 +
=Class Labs =
 +
* 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]
 +
* Extension Creation Lab - [http://avnerd.tv/sharedFiles/addtabbeside2.xpi AddTabBeside]
 +
* Thunderbird bug fix lab - [[LukasBlakkTBBugFixLab]]
 +
* XPcom lab I - [http://zenit.senecac.on.ca/wiki/imgs/Firstxpcom.xpi Firstxpcom.xpi]
 +
 
 +
=My Bugs =
 +
As a result of running tests on [http://litmus.mozilla.org Litmus] I have been starting to write bug reportsNext 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
 +
*'''[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]'''
 +
 
 +
Filed on Friday Nov 9, 2007
 +
*'''[https://bugzilla.mozilla.org/show_bug.cgi?id=403212 bug #403212]'''
 +
 
 +
=FSOSS Report =
 +
[[LukasBlakkFSOSSReport]]
  
 
=Building Firefox=
 
=Building Firefox=
  
Just to jump in, I am trying to build firefox.
+
==On the PC==
 +
[http://crashopensource.wordpress.com/2007/09/14/catching-up-with-firefox-3/ See my blog for complete run through]
  
=Problems=
+
==On the MacBook (Intel) 2007==
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:
+
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.
===The error (1) ===
 
  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) ===
+
==On the Mac (last year)==
  in C:\proj\mozilla
+
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).
  dos2unix .mozconfig
 
  
  This cleared everything up, and then I was able to begin downloading the source code.
+
Following the instructions on [http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites Mac OS X Build Prerequisites] was tremendously useful.  Xcode installers were already on the system and downloading [http://darwinports.opendarwin.org/getdp/ DarwinPorts] was a speedy.
 +
===libIDL and GLib===
 +
Once [http://darwinports.opendarwin.org/getdp/ DarwinPorts] was installed, I installed libIDL and GLib:
 +
<pre>
 +
$ sudo port sync
 +
$ sudo port install libidl
 +
</pre>
 +
===autoconf===
 +
Following that I installed autoconf:
 +
<pre>
 +
$ sudo port install autoconf213
 +
</pre>
 +
===Gcc===
 +
I also changed my compiler:
 +
<pre>
 +
$ sudo gcc_select 3.3
 +
</pre>
 +
===.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.
  
===The error (2) ===
+
I set up a .mozconfig file based on the [http://lxr.mozilla.org/mozilla/source/browser/config/mozconfig default] and this is what it ended up being (includes the use of objdir based on [http://developer.mozilla.org/en/docs/Configuring_Build_Options#Using_a_.mozconfig_Configuration_File this page]:
 +
<pre>
 +
  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@
 +
</pre>
 +
===Checkout===
 +
Finally, I was able to check out the source code (once I remembered to be in the mozilla directory) using make:
 +
<pre>
 +
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
 +
</pre>
 +
===Build===
 +
More time passes...then it's time to [http://developer.mozilla.org/en/docs/Build_and_Install build]:
 +
<pre>
 +
$ make -f client.mk build
 +
</pre>
  
  SO, after an hour and a half of compiling, I get this at the end:
+
Hours go by before I get the message:  
 +
"make[4]: `tools/test-harness/Makefile' is up to date."
  
  <code>nsFieldSetFrame.cpp
+
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.
  nsFileControlFrame.cpp
+
===Proof of Life===
  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) ===
+
[[Image:Lsblakk_Minefield_SS.png]]
  To be continued...
 
  
 
=Links=
 
=Links=
This is amazing documentation:
+
PC Build documentation:
 
*[[Liz_Chak_Assignment_1]]
 
*[[Liz_Chak_Assignment_1]]
 
*[http://cs.senecac.on.ca/%7Edavid.humphrey/writing/firefox-win32-build.html David Humphrey's Guide to Building Firefox on Win32 using Visual Studio .NET 2005]
 
*[http://cs.senecac.on.ca/%7Edavid.humphrey/writing/firefox-win32-build.html David Humphrey's Guide to Building Firefox on Win32 using Visual Studio .NET 2005]
  
And also to [[User:auenf2|auenf2]] on irc://irc.mozilla.org/#firefox for figuring out that it was the line endings preventing me from a seamless build.
+
And also [[User:auenf2|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:
 +
*[http://developer.mozilla.org/en/docs/Build_and_Install Build and Install]
 +
*[http://developer.mozilla.org/en/docs/Mac_OS_X_Build_Prerequisites Mac OS X Build Prerequisites]
 +
*[http://developer.mozilla.org/en/docs/Configuring_Build_Options#Using_a_.mozconfig_Configuration_File Configuring Build Options]
 +
*[http://developer.mozilla.org/en/docs/Mozilla_Source_Code_%28CVS%29 Source Code]
 +
*[http://lxr.mozilla.org/mozilla/source/browser/config/mozconfig Default .mozconfig settings]

Latest revision as of 01: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: