File:  [mozdev] / helloworld / www / compile.html
Revision 1.5: download - view: text, annotated - select for diffs - revision graph
Tue Dec 9 05:04:50 2008 UTC (10 years, 11 months ago) by sphjak
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

<!-- MAIN CONTENT -->
<h5 class="page-header"><a id="content" name="content">Compile Instructions</a></h5>

<p><b>Author:</b> Chase Miller<br>
<ol>
<li>Copy the mediaDownloader folder into the top directory of mozilla eg /mozilla/mediaDownloader/</li>

<li><b>Create MakeFile:</b><br>
open mozilla/toolkit/toolkit=makefiles.sh<br>
Around line 459 add "mediaDownloader/Makefile" and save go back to the mozilla directory.<br>
<ul><li>
	./configure
</li></ul>
which will generate the makefile mediaDownloader</li>

<li><b>Install Component:</b><br>
<ul><li>
	cd /mediaDownloader</li><li>
	make
</li></ul>
this will build and install the component</li>

<li>If Mac, you need to copy the two mediaDownloader files from the components folder into the MinefieldDebugg.app/Content/MacOS/components folder the commands for this are:
<ul><li>
	cd /mozilla/dist/bin/components</li><li>
	cp *mediaDownloader* ../../MinefieldDebugg.app/ContentMacOS/components
</li></ul></li>

<li><b>Install extension:</b><br>
<ul><li>Drag the hello@3.xpi file into the MinefieldDebug extension manager window</li>
<li>Restart Minefield debug</li></ul></li>

<li>If Mac, for some reason the mediaDownloader files from the components folder need to be recopied to the .app components folder so type again:<br>
<ul><li>
	cd ../mozilla/dist/bin/components</li><li>
	cp *mediaDownloader* ../../MinefieldDebugg.app/ContentMacOS/components
</li></ul></li>
<li>Restart MinefieldDebug and the extension should be good to go.</li></ul>

<p><b>Default File Location:</b><br>
prefs are stored in default TEMP folder for your OS</p>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>