osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

launchpad... how to add a backport dependency to a PPA.


That's great... Thank you!

 It almost works... All the normal repos have librabbitmq4, but when I
Backport the package it builds librabbitmq .. without the 4 ...

Ideas?

On Thu, Apr 12, 2018, 06:28 Colin Watson, <cjwatson at ubuntu.com> wrote:

> On Wed, Apr 11, 2018 at 08:45:15AM -0400, Peter Silva wrote:
> > that I have a recipe that auto builds it for 18.04, but it depends on a
> version
> > of a package where the distro version is too old in older releases.
> >
> > https://launchpad.net/~ssc-hpc-chp-spc/+archive/ubuntu/metpx-daily
> >
> > So I would like for the PPA to build & contain a back-ported version
> > of the dependency.
> >
> > librabbitmq > 0.8.0
> >
> > Do I create a project librabbitmq0_8 ? and build it as a package?
>
> Creating a full-scale project for it would be inappropriate overkill,
> but you should be able to use backportpackage(1) from the
> ubuntu-dev-tools package to produce a backport of librabbitmq.  Since
> the librabbitmq4 package will presumably be needed at runtime by users
> of the packages built against it, I'd recommend simply telling
> backportpackage to upload it to the metpx-daily PPA, i.e.:
>
>   backportpackage -s bionic -d xenial -u
> ppa:ssc-hpc-chp-spc/ubuntu/metpx-daily librabbitmq
>
> If that fails to build, you can grab the resulting source package back
> from your PPA, make whatever additional tweaks are needed, bump the
> version in debian/changelog, and reupload it.
>
> --
> Colin Watson                                       [cjwatson at ubuntu.com]
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20180412/51c82006/attachment.html>