mozilla

Revision 121869 of Building PyXPCOM

  • Revision slug: Building_PyXPCOM
  • Revision title: Building PyXPCOM
  • Revision id: 121869
  • Created:
  • Creator: Matiu
  • Is current revision? No
  • Comment Simple build instructions for gentoo at least.

Revision Content

These commands seem to work well on gentoo:

{{{cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r DOM_AGNOSTIC2_BRANCH mozilla/client.mk cd mozilla make -f client.mk checkout MOZ_CO_PROJECT=suite cat > .mozconfig mk_add_options MOZ_CO_PROJECT=suite ac_add_options --enable-application=suite ac_add_options --enable-default-toolkit=gtk2 ac_add_options --enable-xft ac_add_options --enable-extensions=python/xpcom,python/dom,default ac_add_options --disable-optimize ac_add_options --enable-debug mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/suite-debug}}}

Hit (Ctrl+D)

{{{make -f client.mk build}}}

Once done, to test your pyxpcom install do this:

{{{cd suite-debug/dist/bin ./run-mozilla.sh ./seamonkey -chrome chrome://pyxultest/content}}}

Revision Source

<p>These commands seem to work well on gentoo:
</p><p><span class="plain">{{{cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r DOM_AGNOSTIC2_BRANCH mozilla/client.mk
cd mozilla
make -f client.mk checkout MOZ_CO_PROJECT=suite
cat &amp;gt; .mozconfig
mk_add_options MOZ_CO_PROJECT=suite
ac_add_options --enable-application=suite
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
ac_add_options --enable-extensions=python/xpcom,python/dom,default
ac_add_options --disable-optimize
ac_add_options --enable-debug
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/suite-debug}}}</span>
</p><p>Hit (Ctrl+D)
</p><p><span class="plain">{{{make -f client.mk build}}}</span>
</p><p>Once done, to test your pyxpcom install do this:
</p><p><span class="plain">{{{cd suite-debug/dist/bin
./run-mozilla.sh ./seamonkey -chrome chrome://pyxultest/content}}}</span>
</p>
Revert to this revision