HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog
wiki:Guidelines

Context Navigation

  • ← Previous Version
  • View Latest Version
  • Next Version →


Version 12 (modified by scottmc, 7 years ago) (diff)

updated to reflect that the portlog plug-in is now in use.

Table of Contents

  1. Merging
  2. The PortLog
  3. Platforms
  4. Layout

Guidelines

This page discusses some guidelines about using the HaikuPorts' Trac site.

Merging

A port should eventually be merged with the original software's main source tree. Many open source projects use the GNU  Autotools in order to be portable on a source level. While the concept is great,  Autoconf and  Automake are quite daunting. It is however worthwhile to learn at least a minimum about the GNU Autotools. The PortingTips contain links to more information about Autoconf and Automake.

The PortLog

When porting an application or library, it is strongly advised you keep a log of:

  • what options are necessary for building on Haiku/Zeta?/BeOS; and
  • what problems you run into, and the solutions to them.

This information can be very helpful to others, after all.

When you get stuck and give up (hey, don't feel bad), create a new ticket explaining the problem. Also link to this ticket from within the port's PortLog. Consult TracLinks on how to do that. The tickets should be assigned to the component that corresponds to the port's category. The ticket summary should start with [portname] to indicate the port.

Platforms

Because of the incompatibilities between the various BeOS platforms, a port should be tested on all of them. BONE binaries however, should be able to run on Dano and Zeta, from what I hear. Correct me (Brecht) if I'm wrong. So that's one target for the three of those. R5 (5.0.3) and Haiku are very different from BONE and are therefor two other targets.

The status of a port is described by the following keywords:

  • untested: not tested on this platform
  • broken: doesn't build
  • unstable: builds, but fails tests or has obvious flaws
  • stable: passes tests and seems to be working as it should

Layout

The layout of the portlogs is controlled by the portlog plug-in. To create a new portlog page, locate it's  Gentoo Portage category, then browse to that category's wiki page and add the name of the port you want to add:

http://ports.haiku-files.org/wiki/blah-blah/portname

If it doesn't already exists, you will see a warning that it doesn't exists and will have the option to click a link to create a new page for it. Click that link and fill in the form that follows. Once the entry is created you'll be able to create a version, once the version is created you'll need to create a revision 1, which is where you'll enter in your build notes.

If the portlog already exists check for prior builds, there might be notes already there which could point out things you might have missed. Don't remove old versions or revisions from the portlog, the information can still be valuable.

Download in other formats:

  • Plain Text

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/