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 20 and Version 21 of PortingTips


Ignore:
Timestamp:
11/27/09 13:27:01 (6 years ago)
Author:
mmadia
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortingTips

    v20 v21  
    2121to your {{{build/jam/UserBuildConfig}}} file. This sets up a development environment and unzips a small tree of ready-to-use binary tools onto your image, including a Haiku-specific gcc2, [wiki:dev-lang/perl Perl] and autotools. Other helpful packages are {{{OpenSSL}}} and the {{{Pe}}} text editor (which allows you to jump to the line of an error message) and {{{Firefox}}} (which allows you to copy-and-paste console output to our Wiki pages). 
    2222 
    23 Most software cannot handle {{{i586-pc-haiku}}} yet, so it is usually necessary to {{{configure}}} with {{{--build=i586-pc-beos}}}, or you can: 
     23Most software cannot handle {{{i586-pc-haiku}}} yet, so it is usually necessary to  
    2424{{{ 
    2525 cp /boot/common/share/libtool/config/config.* . 
    … …  
    4444== Porting considerations == 
    4545 
    46 To automatically patch software with the BePorter tool, source tarballs should be diff'ed (cf. CreatePatch). 
     46To automatically patch software with the HaikuPorter tool, source tarballs should be diff'ed (cf. CreatePatch). 
    4747 
    4848Most projects however use SCM/VCS software, including [wiki:dev-util/cvs CVS], [wiki:dev-util/subversion Subversion], [wiki:dev-util/git Git], [wiki:dev-util/mercurial Mercurial] and [wiki:dev-util/bzr Bazaar], and accept patches only against their latest (HEAD/trunk/master) development version. A possible strategy is: 
    … …  
    5353Doing so, you can easily track or revert your own changes, and this is the preferred format for submitting patches to the respective projects. 
    5454 
    55 Note that it is not easily automatable for BePorter though, but once accepted, future source tarballs promise to compile without patching. 
     55Note that it is not easily automatable for HaikuPorter though, but once accepted, future source tarballs promise to compile without patching. 
    5656 
    5757Also 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/