Pork: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(New page: Pork is a set of tools built around the elsa C/C++ parser. The primary focus of pork is to provide automated refactoring (Gecko:DeCOMtamination) and static analysis tools for Mozilla2....)
 
No edit summary
Line 1: Line 1:
Pork is a set of tools built around the elsa C/C++ parser. The primary focus of pork is to provide automated refactoring ([[Gecko:DeCOMtamination]]) and static analysis tools for Mozilla2. [http://blog.mozilla.com/tglek/2007/07/13/dehydra-prcheck-squash-in-mercurial/ more info]
Pork is a set of tools built around the elsa C/C++ parser. The primary focus of pork is to provide automated refactoring ([[Gecko:DeCOMtamination]]) and static analysis tools for Mozilla2. [http://blog.mozilla.com/tglek/2007/07/13/dehydra-prcheck-squash-in-mercurial/ Pork announcement]


Pork is a fork of oink. In the future pork should become a development branch for oink.
Pork is a fork of [http://www.cubewano.org/oink oink]. In the future pork should become a development branch for oink.
 
More info for pork can be found on [http://blog.mozilla.com/tglek/ Taras' blog].
 
=== Requirements ===
* GCC 3.4.x or older that can successfully build Mozilla. 64bit Ubuntu, 32bit RHEL/CentOS are known to work. 32bit Ubuntu/Debian feature a linker bug that prevents Mozilla from building with gcc 3.4.6.
* MCPP is required for refactoring tools
* [[SpiderMonkey]] is required by [[DeHydra]]
* Bison and Flex
* patchutils are recommended to manage manual and automatic patches
* MQ extension for hg is recommended. Alternatively, quilt can be used instead.
 
=== Tools ===
Pork is broken down into tools that focus on a specific tasks. The tools can rarely be combined and thus should be applied incrementally.
 
==== Pork Virtual Machine ====
[[PorkVM]] is a CentOS virtual machine image with a presetup pork + moz checkout.

Revision as of 19:28, 12 November 2007

Pork is a set of tools built around the elsa C/C++ parser. The primary focus of pork is to provide automated refactoring (Gecko:DeCOMtamination) and static analysis tools for Mozilla2. Pork announcement

Pork is a fork of oink. In the future pork should become a development branch for oink.

More info for pork can be found on Taras' blog.

Requirements

  • GCC 3.4.x or older that can successfully build Mozilla. 64bit Ubuntu, 32bit RHEL/CentOS are known to work. 32bit Ubuntu/Debian feature a linker bug that prevents Mozilla from building with gcc 3.4.6.
  • MCPP is required for refactoring tools
  • SpiderMonkey is required by DeHydra
  • Bison and Flex
  • patchutils are recommended to manage manual and automatic patches
  • MQ extension for hg is recommended. Alternatively, quilt can be used instead.

Tools

Pork is broken down into tools that focus on a specific tasks. The tools can rarely be combined and thus should be applied incrementally.

Pork Virtual Machine

PorkVM is a CentOS virtual machine image with a presetup pork + moz checkout.