Changes between Version 1 and Version 2 of BuildingATestPackage


Ignore:
Timestamp:
10/17/12 19:30:38 (12 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingATestPackage

    v1 v2  
    1 After you have prepared a change, you will want to test that it builds 
    2 and perhaps that it works before committing it.  First, if it is an 
    3 Athena source directory using autoconf, run "daconfiscate" to set up 
    4 the autoconf boilerplate which we don't check in.  Second, run 
    5 "daorig" to copy or create an orig tarball in the parent directory if 
    6 necessary.  Third, run "debuild".  The resulting package will be 
    7 placed in the parent directory. 
     1 = Buildling A Test Package = 
    82 
    9 In order to test if the package works, you can install it with "dpkg 
    10 -i filename.deb". 
     3Because of the way our build system is configured, building a test package is not always as simple as "debuild".  Most of the time it will work, but with legacy Athena packages (under the `athena` section of the tree), some autoconf preparation is necessary.   You can run `daconfiscate` to prepare a legacy athena package for building. 
     4 
     5You can then run `daorig` to copy or create an orig tarball in the parent directory if 
     6necessary.   
     7 
     8Finally, run "debuild".  The resulting package will be placed in the parent directory. 
     9 
     10In order to test if the package works, you can install it with "dpkg -i filename.deb".