AbiWord Debian Package Instructions
From AbiWiki
Contents |
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.
Compiling for Ubuntu Dapper
Dapper lacks the wv-1.2 package required by AbiWord 2.6 and above. It's in the PPA, but you need to do a little magic to get it to work if you're using a local pbuilder. I recommend installing ubuntu-dev-tools which includes pbuilder-dist, and running pbuilder-dist dapper create so you can use this as your build command:
pbuilder-dist dapper abiword_2.6.8-0ubuntu1.dsc --othermirror \'deb http://ppa.launchpad.net/abiword-stable/ppa/ubuntu dapper main\'
Note that the quotes are escaped using \ - this is intentional and if it's not there, it won't work (see the related bug in Launchpadd )