Difference between revisions of "User:Evmarbella"
Evmarbella (talk | contribs) (→About) |
Evmarbella (talk | contribs) (→About) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
I was a Seneca School of Communication Arts Student now in a Computer Studies Program(Bachelor in Software Development). Trying to be a jack of all trades, and a master of none. | I was a Seneca School of Communication Arts Student now in a Computer Studies Program(Bachelor in Software Development). Trying to be a jack of all trades, and a master of none. | ||
− | The current Open Source @ Seneca Logo you see was created | + | The current Open Source @ Seneca Logo you see was created by me :) |
+ | |||
+ | http://zenit.senecac.on.ca/wiki/index.php/Image:OSS-CDOT-FSOSS_set..jpg | ||
FSOSS 2008 Logos | FSOSS 2008 Logos | ||
Line 9: | Line 11: | ||
http://zenit.senecac.on.ca/wiki/index.php/Image:FSOSS_high_res_b.jpg | http://zenit.senecac.on.ca/wiki/index.php/Image:FSOSS_high_res_b.jpg | ||
+ | |||
+ | == Contributions == | ||
+ | |||
+ | Patrick Lam build-time | ||
+ | |||
+ | Anthony Hughes testing Birdtorrent on Mac | ||
+ | |||
+ | Aaron Train Tested Private Browsing | ||
== DPS909 == | == DPS909 == | ||
+ | You are probably better off to my notes. | ||
+ | |||
+ | '''Notes More: | ||
+ | |||
+ | [http://zadkielm.blogspot.com/search/label/notes MyBlog Notes]''' | ||
+ | |||
+ | [[Colour Management Tests]] | ||
+ | |||
+ | [http://zadkielm.blogspot.com/search/label/lab MyBlog Labs]''' | ||
+ | |||
+ | I update that more frequently. | ||
+ | |||
+ | '''Building Firefox on Ubuntu''' | ||
+ | |||
+ | notes from: | ||
+ | |||
+ | http://zenit.senecac.on.ca/wiki/index.php/User:Jamesboston | ||
+ | |||
+ | http://armenzg.blogspot.com/2007/09/session-3-setting-up-mozconfig-files.html | ||
+ | |||
+ | http://developer.mozilla.org/en/Linux_Build_Prerequisites | ||
+ | |||
+ | http://developer.mozilla.org/en/Configuring_Build_Options | ||
+ | |||
+ | |||
+ | Install build pre-requisites for Ubuntu users: | ||
+ | |||
+ | sudo apt-get install build-essential | ||
+ | |||
+ | |||
+ | sudo apt-get build-dep mozilla-firefox | ||
+ | |||
+ | |||
+ | Error 1: | ||
+ | seneca@seneca-laptop:~$ sudo apt-get build-dep mozilla-firefox | ||
+ | Reading package lists... Done | ||
+ | Building dependency tree | ||
+ | Reading state information... Done | ||
+ | E: Unable to find a source package for mozilla-firefox | ||
+ | |||
+ | |||
+ | Error 1 Solution: | ||
+ | changed for ff3 | ||
+ | sudo apt-get build-dep firefox-3.0 (thanks jboston!) | ||
+ | |||
+ | Error 1 Solution my side note: | ||
+ | |||
+ | went to bed with this running and it hung up the computer...going to run it again this morn. | ||
+ | |||
+ | sleep mode hangs up the mouse...but everything was installed last night. | ||
+ | |||
+ | |||
+ | Get the makefile instructions to pull the source tree and put it in a directory called mozilla in your home directory: | ||
+ | |||
+ | cd | ||
+ | cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk | ||
+ | |||
+ | Checkout the source: | ||
+ | |||
+ | cd ~/mozilla | ||
+ | make -f client.mk checkout MOZ_CO_PROJECT=browser | ||
+ | |||
+ | |||
+ | check out approx 8 mins. | ||
+ | |||
+ | Create and open a hidden file called .mozconfig in your home directory: | ||
+ | |||
+ | gedit ~/.mozconfig | ||
+ | |||
+ | Add the following lines to .mozconfig read the build configurations | ||
+ | |||
+ | # My first mozilla config | ||
+ | . $topsrcdir/browser/config/mozconfig | ||
+ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ | ||
+ | ac_add_options --disable-optimize | ||
+ | ac_add_options --enable-debug | ||
+ | ac_add_options --disable-static --enable-shared | ||
+ | |||
+ | |||
+ | note: | ||
+ | |||
+ | Using multiple mozconfig files | ||
+ | |||
+ | Alternatively, you may want to create separate mozconfig files. | ||
+ | |||
+ | |||
+ | As an example, the following steps can be used to build Firefox and Thunderbird. | ||
+ | |||
+ | You should first create three mozconfig files. | ||
+ | |||
+ | |||
+ | file1 | ||
+ | |||
+ | mozconfig-common: | ||
+ | |||
+ | mk_add_options MOZ_CO_PROJECT=browser,mail | ||
+ | |||
+ | # add other common options here, such as making a static release build and | ||
+ | # disabling tests | ||
+ | ac_add_options --enable-optimize --disable-debug | ||
+ | ac_add_options --disable-tests | ||
+ | |||
+ | file2 | ||
+ | |||
+ | mozconfig-firefox: | ||
+ | |||
+ | # include the common mozconfig | ||
+ | . ./mozconfig-common | ||
+ | |||
+ | # Build Firefox | ||
+ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-static | ||
+ | ac_add_options --enable-application=browser | ||
+ | |||
+ | file3 | ||
+ | |||
+ | mozconfig-thunderbird: | ||
+ | |||
+ | # include the common mozconfig | ||
+ | . ./mozconfig-common | ||
+ | |||
+ | # Build Thunderbird | ||
+ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbird-static | ||
+ | ac_add_options --enable-application=mail | ||
+ | |||
+ | To checkout, run the following commands: | ||
+ | |||
+ | export MOZCONFIG=/path/to/mozilla/mozconfig-common | ||
+ | make -f client.mk checkout | ||
+ | |||
+ | To build Firefox, run the following commands: | ||
+ | |||
+ | export MOZCONFIG=/path/to/mozilla/mozconfig-firefox | ||
+ | make -f client.mk build | ||
+ | |||
+ | To build Thunderbird, run the following commands: | ||
+ | |||
+ | export MOZCONFIG=/path/to/mozilla/mozconfig-thunderbird | ||
+ | make -f client.mk build | ||
+ | |||
+ | -----------------------note:Using multiple mozconfig files ------------------------------------------------------ | ||
+ | |||
+ | |||
+ | Build: | ||
+ | |||
+ | cd ~/mozilla | ||
+ | make -f client.mk build | ||
+ | |||
+ | approx 28 mins. | ||
+ | |||
+ | |||
+ | Run: | ||
+ | |||
+ | ~/mozilla/obj*/dist/bin/firefox -Profilemanager -no-remote | ||
+ | |||
+ | Create a new profile | ||
+ | |||
+ | |||
+ | '''Building FireFox on a MAC on Leopard 10.4.11''' | ||
+ | |||
+ | notes from: | ||
+ | http://armenzg.blogspot.com/2007/10/session-7-building-on-macos-x-104.html | ||
+ | http://developer.mozilla.org/en/Configuring_Build_Options | ||
+ | http://www.finkproject.org/download/index.php?phpLang=en | ||
+ | |||
+ | Hardware: | ||
+ | iMac Core Duo 2.16 GHz | ||
+ | 3GB RAM | ||
+ | |||
+ | Operating System: | ||
+ | 10.4.11 | ||
+ | |||
+ | Installed Xcode 2.4.1(you can get it online or on the OS disk) | ||
+ | and | ||
+ | Fink | ||
+ | |||
+ | fink note 001: | ||
+ | something went wrong...run this | ||
+ | /sw/bin/pathsetup.sh | ||
+ | close terminal and open it again. | ||
+ | |||
+ | fink note 002: - had to run commands in terminal instead because of password | ||
+ | through Fink Commander | ||
+ | # | ||
+ | |||
+ | The Fink Commander sequence to update fink from binaries is as follows: | ||
+ | |||
+ | 1. Binary->Update descriptions | ||
+ | 2. Select the fink package. | ||
+ | 3. Binary->Install | ||
+ | |||
+ | Binary> Run in Terminal update | ||
+ | Update All etc. | ||
+ | |||
+ | my side note: takes a while | ||
+ | |||
+ | Install orbit-dev glid you need this package (updated orbit dev) | ||
+ | |||
+ | sudo fink install orbit orbit-dev glib | ||
+ | |||
+ | |||
+ | --------------------------- | ||
+ | created .cvspass for what? apparently its just do it | ||
+ | |||
+ | * Opened terminal | ||
+ | * created .cvspass on my home folder since it wouldn't allow me to use cvs //I don't know why | ||
+ | |||
+ | cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk | ||
+ | |||
+ | cd mozilla | ||
+ | |||
+ | make -f client.mk checkout MOZ_CO_PROJECT=browser | ||
+ | approx 8 mins | ||
+ | |||
+ | cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/config/mozconfig | ||
+ | |||
+ | |||
+ | Create .mozconfig file for your configuration options | ||
+ | |||
+ | Firefox, Default Release Configuration () | ||
+ | |||
+ | . $topsrcdir/browser/config/mozconfig | ||
+ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt | ||
+ | ac_add_options --disable-tests | ||
+ | |||
+ | or | ||
+ | |||
+ | . $topsrcdir/browser/config/mozconfig | ||
+ | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff | ||
+ | ac_add_options --disable-libxul | ||
+ | ac_add_options --enable-debug --disable-optimize | ||
+ | ac_add_options --enable-shared --disable-static | ||
+ | ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk | ||
+ | mk_add_options MOZ_MAKE_FLAGS="-s -j4" | ||
+ | |||
+ | Build firefox: | ||
+ | |||
+ | make -f client.mk build | ||
+ | approx 27mins | ||
+ | |||
+ | side note 001: | ||
+ | if it doesn't build you might need sudo gcc | ||
+ | |||
+ | $> sudo gcc_select 4.0 | ||
+ | |||
+ | side note 002: without .mozconfig | ||
+ | |||
+ | configure: error: --enable-application=APP was not specified and is required. | ||
+ | *** Fix above errors and then restart with "make -f client.mk build" | ||
+ | make[1]: *** [configure] Error 1 | ||
+ | make: *** [/Users/username/mozilla/Makefile] Error 2 | ||
+ | |||
+ | |||
+ | where your build might be?! | ||
+ | |||
+ | mozilla/ff-opt/dist/Minefield.app/Contents/MacOS/ (might be in this folder or just find Minefield using spotlight) | ||
+ | mozilla/obj-ff/dist/ | ||
+ | |||
+ | Create a test profile if you don't have one | ||
+ | |||
+ | Using finder to find your build: | ||
+ | spotlight to 'Minefield' select Minefield.app and browse to show contents; if you double-click it will run minefield | ||
+ | |||
+ | Run: | ||
+ | |||
+ | Minefield.app/Contents/MacOS/firefox -no-remote -ProfileManager |
Latest revision as of 12:37, 13 June 2009
About
I was a Seneca School of Communication Arts Student now in a Computer Studies Program(Bachelor in Software Development). Trying to be a jack of all trades, and a master of none.
The current Open Source @ Seneca Logo you see was created by me :)
http://zenit.senecac.on.ca/wiki/index.php/Image:OSS-CDOT-FSOSS_set..jpg
FSOSS 2008 Logos
http://zenit.senecac.on.ca/wiki/index.php/Image:FSOSS_high_res_a.jpg
http://zenit.senecac.on.ca/wiki/index.php/Image:FSOSS_high_res_b.jpg
Contributions
Patrick Lam build-time
Anthony Hughes testing Birdtorrent on Mac
Aaron Train Tested Private Browsing
DPS909
You are probably better off to my notes.
Notes More:
I update that more frequently.
Building Firefox on Ubuntu
notes from:
http://zenit.senecac.on.ca/wiki/index.php/User:Jamesboston
http://armenzg.blogspot.com/2007/09/session-3-setting-up-mozconfig-files.html
http://developer.mozilla.org/en/Linux_Build_Prerequisites
http://developer.mozilla.org/en/Configuring_Build_Options
Install build pre-requisites for Ubuntu users:
sudo apt-get install build-essential
sudo apt-get build-dep mozilla-firefox
Error 1: seneca@seneca-laptop:~$ sudo apt-get build-dep mozilla-firefox Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for mozilla-firefox
Error 1 Solution: changed for ff3 sudo apt-get build-dep firefox-3.0 (thanks jboston!)
Error 1 Solution my side note:
went to bed with this running and it hung up the computer...going to run it again this morn.
sleep mode hangs up the mouse...but everything was installed last night.
Get the makefile instructions to pull the source tree and put it in a directory called mozilla in your home directory:
cd cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
Checkout the source:
cd ~/mozilla make -f client.mk checkout MOZ_CO_PROJECT=browser
check out approx 8 mins.
Create and open a hidden file called .mozconfig in your home directory:
gedit ~/.mozconfig
Add the following lines to .mozconfig read the build configurations
# My first mozilla config . $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ ac_add_options --disable-optimize ac_add_options --enable-debug ac_add_options --disable-static --enable-shared
note:
Using multiple mozconfig files
Alternatively, you may want to create separate mozconfig files.
As an example, the following steps can be used to build Firefox and Thunderbird.
You should first create three mozconfig files.
file1
mozconfig-common:
mk_add_options MOZ_CO_PROJECT=browser,mail
# add other common options here, such as making a static release build and # disabling tests ac_add_options --enable-optimize --disable-debug ac_add_options --disable-tests
file2
mozconfig-firefox:
# include the common mozconfig . ./mozconfig-common
# Build Firefox mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/firefox-static ac_add_options --enable-application=browser
file3
mozconfig-thunderbird:
# include the common mozconfig . ./mozconfig-common
# Build Thunderbird mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/thunderbird-static ac_add_options --enable-application=mail
To checkout, run the following commands:
export MOZCONFIG=/path/to/mozilla/mozconfig-common make -f client.mk checkout
To build Firefox, run the following commands:
export MOZCONFIG=/path/to/mozilla/mozconfig-firefox make -f client.mk build
To build Thunderbird, run the following commands:
export MOZCONFIG=/path/to/mozilla/mozconfig-thunderbird make -f client.mk build
note:Using multiple mozconfig files ------------------------------------------------------
Build:
cd ~/mozilla make -f client.mk build
approx 28 mins.
Run:
~/mozilla/obj*/dist/bin/firefox -Profilemanager -no-remote
Create a new profile
Building FireFox on a MAC on Leopard 10.4.11
notes from: http://armenzg.blogspot.com/2007/10/session-7-building-on-macos-x-104.html http://developer.mozilla.org/en/Configuring_Build_Options http://www.finkproject.org/download/index.php?phpLang=en
Hardware: iMac Core Duo 2.16 GHz 3GB RAM
Operating System: 10.4.11
Installed Xcode 2.4.1(you can get it online or on the OS disk) and Fink
fink note 001: something went wrong...run this /sw/bin/pathsetup.sh close terminal and open it again.
fink note 002: - had to run commands in terminal instead because of password through Fink Commander
The Fink Commander sequence to update fink from binaries is as follows:
1. Binary->Update descriptions 2. Select the fink package. 3. Binary->Install
Binary> Run in Terminal update Update All etc.
my side note: takes a while
Install orbit-dev glid you need this package (updated orbit dev)
sudo fink install orbit orbit-dev glib
created .cvspass for what? apparently its just do it
- Opened terminal
- created .cvspass on my home folder since it wouldn't allow me to use cvs //I don't know why
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk
cd mozilla
make -f client.mk checkout MOZ_CO_PROJECT=browser approx 8 mins
cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/browser/config/mozconfig
Create .mozconfig file for your configuration options
Firefox, Default Release Configuration ()
. $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt ac_add_options --disable-tests
or
. $topsrcdir/browser/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff ac_add_options --disable-libxul ac_add_options --enable-debug --disable-optimize ac_add_options --enable-shared --disable-static ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.4u.sdk mk_add_options MOZ_MAKE_FLAGS="-s -j4"
Build firefox:
make -f client.mk build approx 27mins
side note 001: if it doesn't build you might need sudo gcc
$> sudo gcc_select 4.0
side note 002: without .mozconfig
configure: error: --enable-application=APP was not specified and is required. *** Fix above errors and then restart with "make -f client.mk build" make[1]: *** [configure] Error 1 make: *** [/Users/username/mozilla/Makefile] Error 2
where your build might be?!
mozilla/ff-opt/dist/Minefield.app/Contents/MacOS/ (might be in this folder or just find Minefield using spotlight) mozilla/obj-ff/dist/
Create a test profile if you don't have one
Using finder to find your build: spotlight to 'Minefield' select Minefield.app and browse to show contents; if you double-click it will run minefield
Run:
Minefield.app/Contents/MacOS/firefox -no-remote -ProfileManager