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

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 8 and Version 9 of AddingPorts


Ignore:
Timestamp:
08/16/10 14:27:55 (5 years ago)
Author:
michaelvoliveira
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AddingPorts

    v8 v9  
    11= Adding Ports = 
    22 
    3 This page assumes you have ported an application/library to the BeOS platform. If you aren't quite there yet, see PortingTips and [wiki:Guidelines]. 
     3This page assumes you have already ported an application/library to the Haiku platform. If you aren't quite there yet, see PortingTips and [wiki:Guidelines]. 
    44 
    5 To add a port to the !BePorts tree, you have to: 
     5To add a port to the !HaikuPorts tree, you have to: 
    66 
    7  1. Create a patch for the software's original source tree. It is important that this patch is generated in such a way that !BePorter can automatically apply the patch. See CreatePatch. 
     7 1. Create a patch for the software's original source tree. It is important that this patch is generated in such a way that !HaikuPorter can automatically apply the patch. See CreatePatch. 
    88 1. Rename the patch like such: {{{<portname>-<version>.patch}}}. For example, a patch for libsdl version 1.2.12 would be named {{{libsdl-1.2.12.patch}}} 
    99 1. Create the BepFile. Here's an [source:haikuports/trunk/media-libs/libsdl/libsdl-1.2.12.bep example] for libsdl-1.2.12. 
    10  1. Place the !BepFile and patch - at the right location - in your local !BePorts tree. Look up to what category your port belongs at http://gentoo-portage.com. The port name should also match the one on Gentoo Portage. 
     10 1. Place the !BepFile and patch - at the right location - in your local !HaikuPorts tree. Look up to what category your port belongs at http://gentoo-portage.com. The port name should also match the one on Gentoo Portage. 
    1111   * The !BepFile should go in {{{category/portname}}} 
    1212   * The patch should go in {{{category/portname/patches}}} 
    13  1. Test the !BepFile and patch with BePorter. Make sure !BePorter is able to download, unpack, patch, build and install your port. 
     13 1. Test the !BepFile and patch with !HaikuPorter. Make sure !HaikuPorter is able to download, unpack, patch, build and install your port. 
    1414 1. Commit the !BepFile and patch to the repository. Place '''only''' !BepFiles and patches in the repository. 
    1515 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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