diff options
| author | 2025-02-17 07:41:07 +0100 | |
|---|---|---|
| committer | 2025-02-17 07:41:07 +0100 | |
| commit | fdc421bbb68ca6d214934b7ccde340826a09bcbe (patch) | |
| tree | 4268cb5c733a3b88e7c5b765a30f5b9fd81c804e /docs/source/devguide/packaging/launchpad-recipe.md | |
| parent | 794b1404be2f9bdb3667d2cfb2dc7ad1fedf1e60 (diff) | |
Adding upstream version 2.1.2~dev0+20230529.
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'docs/source/devguide/packaging/launchpad-recipe.md')
| -rw-r--r-- | docs/source/devguide/packaging/launchpad-recipe.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/source/devguide/packaging/launchpad-recipe.md b/docs/source/devguide/packaging/launchpad-recipe.md new file mode 100644 index 0000000..7d48727 --- /dev/null +++ b/docs/source/devguide/packaging/launchpad-recipe.md @@ -0,0 +1,43 @@ +# Launchpad recipe + +The launchpad build recipes are for build from source automatically to provide +Ubuntu packages. They are used to create daily builds of a Deluge git branch. + +Note these don't have the same control as a creating a publishing to PPA. + +Main reference: <https://help.launchpad.net/Packaging/SourceBuilds/Recipes> + +## Deluge Launchpad build recipes + +Recipe configuration: <https://code.launchpad.net/~deluge-team/+recipes> + +An example for building the develop branch: + + # git-build-recipe format 0.4 deb-version 2.0.0.dev{revno}+{git-commit}+{time} + lp:deluge develop + nest-part packaging lp:~calumlind/+git/lp_deluge_deb debian debian develop + +There are two parts, first to get the source code branch and then the `debian` +files for building the package. + +## Testing and building locally + +Create a `deluge.recipe` file with the contents from launchpad and create the +build files with `git-build-recipe`: + + git-build-recipe --allow-fallback-to-native deluge.recipe lp_build + +Setup [pbuilder] and build the deluge package: + + sudo pbuilder build lp_build/deluge*.dsc + +Alternatively to build using local files with [pdebuild]: + + cd lp_build/deluge/deluge + pdebuild + +This will allow modifying the `debian` files to test changes to `rules` or +`control`. + +[pbuilder]: https://wiki.ubuntu.com/PbuilderHowto +[pdebuild]: https://wiki.ubuntu.com/PbuilderHowto#pdebuild |
