~ubuntu-branches/debian/sid/bzr-builddeb/sid

« back to all changes in this revision

Viewing changes to doc/user_manual/native.rst

  • Committer: Package Import Robot
  • Author(s): Jelmer Vernooij, Jonathan Riddell, Jelmer Vernooij, Martin Packman
  • Date: 2011-12-16 19:58:57 UTC
  • Revision ID: package-import@ubuntu.com-20111216195857-pnkqsnkv0qlv2358
Tags: 2.8.0
[ Jonathan Riddell ]
* Add get-orig-source command which will get the upstream tar file.
  LP: #862188
* Change "bd-do" command to "builddeb-do" and alias "bd-do".
* Add commit-message-from-changelog option for those who do not
  want commit message set automatically

[ Jelmer Vernooij ]
* Support importing and building packages with multiple upstream
  tarballs. LP: #653757, LP: #664834
* Move .bzr-builddeb/default.conf to debian/bzr-builddeb.conf.
  LP: #793137
* Fix test suite on Lucid, where dpkg-mergechangelogs is not available.

[ Martin Packman ]
* Fix test_utf8_changelog when run with older versions of python-debian.

[ Jelmer Vernooij ]
* Support svn-buildpackage tag names to find upstream versions.
  LP: #874263
* Support --revision argument to merge-package. LP: #888590
* By default, don't override the commit message from debian/changelog
  unless 'commit-message-from-changelog' is explicitly set to True. LP: #812749
* Support running dep3-patch against remote repositories, and with
  open-ended revision ranges. LP: #893608
* Fix finding orig tarballs in directories also containing filenames
  with non-utf8 characters. LP: #865753
* bzr-builddeb now prefers the 'get-packaged-orig-source' rule to
  retrieve the packaged upstream source, and warns about
  'get-orig-source'. LP: #409862
* Support translations.

[ Martin Packman ]
* Deal with invalid versions and bad encoding in the changelog merge
  hook. LP: #893495

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
Now you have a branch that you will create the package in you need to tell
55
55
`bzr-builddeb` that it will be a native package. To do this you need to
56
 
create the configuration file ``.bzr-builddeb/default.conf``. This contains
 
56
create the configuration file ``debian/bzr-builddeb.conf``. This contains
57
57
the default options for the package. The file starts with a ``[BUILDDEB]``
58
58
header which states that the file is for use by `bzr-builddeb`. The option
59
59
we are interested in is the ``native`` option. The commands to do this are::
60
60
 
61
 
  $ mkdir .bzr-builddeb/
62
 
  $ echo -e '[BUILDDEB]\nnative = True' > .bzr-builddeb/default.conf
63
 
  $ bzr add .bzr-builddeb/default.conf
 
61
  $ echo -e '[BUILDDEB]\nnative = True' > debian/bzr-builddeb.conf
 
62
  $ bzr add dbian/bzr-builddeb.conf
64
63
 
65
64
Now you are ready to create the package. Add all of the files for the
66
65
package, and the packaging in ``debian/``, and then you can add the files