Difference between revisions of "Ubuntu PPA/FAQ"
Jump to navigation
Jump to search
(new page) |
(→What do I need to do if I'm bumping the SONAME?: link to example) |
||
Line 16: | Line 16: | ||
* Edit <code>debian/control</code> to change the package name from e.g. <code>libkiwix8</code> to <code>libkiwix9</code>. You will also need to add it to the list of Breaks. | * Edit <code>debian/control</code> to change the package name from e.g. <code>libkiwix8</code> to <code>libkiwix9</code>. You will also need to add it to the list of Breaks. | ||
* Rename any <code>.install</code> files with the old package name in them, e.g. <code>libkiwix8.install</code> to <code>libkiwix9.install</code>. | * Rename any <code>.install</code> files with the old package name in them, e.g. <code>libkiwix8.install</code> to <code>libkiwix9.install</code>. | ||
See [https://github.com/kiwix/kiwix-lib/pull/435 this PR] as an example. |
Latest revision as of 23:55, 28 December 2020
How does it work?
On every commit, CI runs the following GitHub actions:
- legoktm/gh-action-auto-dch: Adds a new changelog entry based on the Git version or tag so the package has the correct version that we want.
- legoktm/gh-action-build-deb: Builds the Debian package on the selected Debian/Ubuntu version.
- legoktm/gh-action-dput: If the commit is to the master branch or a tag push, it uploads the package to the PPA. Note that the Ubuntu PPA will rebuild the package on the launchpad infrastructure, the Debian PPA likely will not.
What dependencies are available
Build dependencies are specified in the debian/control
file, see the Debian policy for more info. Specific versions can be looked up using the normal package lists for Debian and Ubuntu.
If a dev package is being build, all of the packages already in the dev PPA will be available to depend upon. If it's a release package, all the release packages will be available.
If you need something packaged that isn't available yet, or want to depend upon a newer version, please reach out to Legoktm to see if a local backport is feasible.
What do I need to do if I'm bumping the SONAME?
- Edit
debian/control
to change the package name from e.g.libkiwix8
tolibkiwix9
. You will also need to add it to the list of Breaks. - Rename any
.install
files with the old package name in them, e.g.libkiwix8.install
tolibkiwix9.install
.
See this PR as an example.