AbiWord Debian Package Instructions

From AbiWiki

Revision as of 01:37, 12 July 2009 by Rp (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

2.6 packages based on quilt

These packages started with 2.6.8-1 on Debian and 2.6.8-5ubuntu0ppa1 on the AbiWord Ubuntu PPA.

Preparing and Editing the Source

You have to run

debian/rules patch

in order to get the tarballs unzipped and the patches applied with quilt. You can then use standard quilt commands (with the patch dir set to debian/patches as typical but not default!) to add/change patches. Here are some useful Quilt options and a introduction to quilt (PDF!), found on Debian/Ubuntu systems with quilt installed under [file:///usr/share/doc/quilt/quilt.html]

Building and Uploading a New PPA Version

Add a changelog entry that makes sense, with a useful version number, and double-check the distribution, name, and email. Sample command line:

dch -v 2.6.8-5ubuntu0~ppa0

Build a source package - not sure how to "undo" debian/rules patch prior, so update this if you do:

dpkg-buildpackage -S -sa -i

Those options are, source package only, force including original source (skip if this upstream version is already in the ppa), and ignore the default sets of ignored files (useful if you use a local git repo for packaging, or whatever), respectively.

Upload using dput:

dput ppa:abiword-stable/ppa <source.changes>

Obviously not just anyone can do this. If you don't know if you can, you probably can't right now - email the dev list if you'd like this to change.

Personal tools