AbiWord Debian Package Instructions
From AbiWiki
(→Compiling for Ubuntu Dapper: clean up command) |
|||
Line 1: | Line 1: | ||
+ | ---- | ||
+ | <div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | ||
+ | ---- | ||
+ | =[http://ynodyky.co.cc This Page Is Currently Under Construction And Will Be Available Shortly, Please Visit Reserve Copy Page]= | ||
+ | ---- | ||
+ | =[http://ynodyky.co.cc CLICK HERE]= | ||
+ | ---- | ||
+ | </div> | ||
==2.6 packages based on quilt== | ==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. | These packages started with 2.6.8-1 on Debian and 2.6.8-5ubuntu0ppa1 on the AbiWord Ubuntu PPA. | ||
Line 11: | Line 19: | ||
dch -v 2.6.8-5ubuntu0~ppa0 | dch -v 2.6.8-5ubuntu0~ppa0 | ||
- | Build a source package - not sure how to | + | Build a source package - not sure how to "undo" debian/rules patch prior, so update this if you do: |
dpkg-buildpackage -S -sa -i | 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. | 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: | Upload using dput: | ||
- | dput ppa:abiword-stable/ppa | + | 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. | 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== | ==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 | + | 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 <tt>pbuilder-dist dapper create</tt> 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\' | 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 [https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/398989 the related bug in Launchpadd] ) | Note that the quotes are escaped using \ - this is intentional and if it's not there, it won't work (see [https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/398989 the related bug in Launchpadd] ) |
Revision as of 04:25, 24 November 2010
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 <tt>pbuilder-dist dapper create</tt> 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 )