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 4 and Version 5 of PortingTips


Ignore:
Timestamp:
04/15/08 06:58:40 (7 years ago)
Author:
andreasf
Comment:

Added VCS suggestions

Legend:

Unmodified
Added
Removed
Modified
  • PortingTips

    v4 v5  
    1212 
    1313 
    14 == Haiku OS tips == 
     14== Getting started on Haiku OS == 
    1515 
    1616=== gcc 2.x (default) === 
    … …  
    2727 
    2828A [http://dev.haiku-os.org/ticket/1844 shell script] to aid in this is available for use with autotools based software. 
     29 
     30 
     31== Porting considerations == 
     32 
     33To automatically patch software with the BePorter tool, source tarballs should be diff'ed (cf. CreatePatch). 
     34 
     35Most projects however use SCM/VCS software including CVS, Subversion, git and Mercurial and accept patches only against their latest (HEAD) development version. A possible strategy is: 
     36 
     37 1. Download and try the latest released source tarball. If it works, no further steps are necessary. 
     38 1. Otherwise, check if the project maintains a publicly accessible (anonymous) source code repository. You might be able to choose between a branch corresponding to the version number of the source tarball or trunk. (Terminology varies between the VCS tools.) 
     39 
     40Doing so, you can easily track or revert your own changes, and this is the preferred format for submitting patches to the respective projects. 
     41 
     42Note that it is not easily automatable for BePorter though, but once accepted, future source tarballs promise to compile without patching. 
     43 
     44Also note that doing so may, depending on the project, result in more dependencies but might be easier to handle, for instance when modifying {{{configure.in}}} or {{{Makefile.am}}} instead of an Autoconf-generated {{{configure}}} or Automake-generated {{{Makefile}}}. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

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