[GNC-dev] Dependencies on Launchpad

Colin Law clanlaw at gmail.com
Mon May 27 03:22:42 EDT 2019


I would not bother trying to build for Trusty. It went out of support
in April, nobody should be using it now.
https://wiki.ubuntu.com/Releases

Colin

On Mon, 27 May 2019 at 02:11, John Ralls <jralls at ceridwen.us> wrote:
>
> You don't need libgwen-gtk3, GnuCash's CMakeLists will figure out if it's not present and build the sources included in borrowed/libgwen-gtk3.
>
> Ubuntu 14.04 includes libwebkit2gtk-3.0-dev and that's sufficient for GnuCash.
>
> GnuCash just needs the googletest sources, so util/ci/ubuntu-14.04-docker clones https://github.com/google/googletest. You don't need to build anything,
>
> Regards,
> John Ralls
>
>
> > On May 26, 2019, at 3:49 PM, Stephen M. Butler <kg7je at arrl.net> wrote:
> >
> > On 5/26/19 3:24 PM, Dale Phurrough wrote:
> >> Gnucash 3.5 builds clean on Ubuntu 14.04 aka Trusty with the list of
> >> packages in the Dockerfile at
> >> https://github.com/diablodale/gnucash-dev-docker/blob/master/debian.dockerfile
> >>
> >> You can see in it there are some logic tests to see what
> >> platform/packages are available in the repos.
> >> Currently I use the suggestion from the core devs to pull all the
> >> build dependencies for gnucash 2.x (build-dep -qq gnucash). I'll
> >> change that later to be more specific as I have done already with the
> >> CentOS and upcoming openSUSE Dockerfile.
> >> You can use the Dockerfile along with your own research to get the
> >> needed packages.
> >> Gtest and gmock are not available for Trusty. You will need to build
> >> that yourself. The core devs write about this and you can see in the
> >> Dockerfile that 1.8.0 is downloaded and later compiled by c/make.
> >>
> >> If you have a specific list of packages, I would be interested to help
> >> resolve them because I'll need to do that myself when I replace the
> >> build-dep approach.
> >>
> >> --Dale
> >>
> >
> > My problem is figuring out what to tell Launchpad so it will build from
> > source for Trusty.
> >
> > The debian/control file wants debhelper >= 11.  It looks like 9.2 is
> > available for Trusty do I'll try to downgrade that to >= 9.
> >
> > googletest isn't available for Trusty.  Somehow I'll need to get that
> > into my PPA first and have it built for Trusty there.
> >
> > Ditto for locales-all.  Haven't found that one yet.
> >
> > Also need ibgwengui-gtk3-dev and libwebkit2tk-4.0-dev
> >
> > So, if I can figure out those five packages for Trusty, then we'll take
> > another crack at building for the PPA.
> >
> > I can build on my own box just fine.  Teaching the PPA up on Launchpad
> > is another story!
> >
> >
> > --Steve
> >
> >> On Sun, May 26, 2019 at 11:51 PM Stephen M. Butler <kg7je at arrl.net
> >> <mailto:kg7je at arrl.net>> wrote:
> >>
> >>    I received this response from the folks on Launchpad:
> >>
> >>    You tried building the packages for Ubuntu trusty, but several
> >>    dependencies (at least debhelper (>= 11~), googletest, locales-all) do
> >>    not exist in the standard repositories or trusty.
> >>
> >>    If you really want to build these packages for trusty, then you first
> >>    have to find a solution for these dependent packages in trusty (either
> >>    in an existing PPA, or by backporting theses packages to trusty in
> >>    your
> >>    own PPA). Otherwise it is not possible to build that gnucash
> >>    package for
> >>    trusty.
> >>
> >>    ---------------------
> >>
> >>    What suggestions do the devs have?  What is the earliest Ubuntu
> >>    that has these in the standard repository or should I investigate
> >>    adding them to my PPA (and then I'll have to figure out how to do
> >>    that)?
> >>
> >>    --Steve
> >>
> >>
> >>    On 5/23/19 2:41 PM, Stephen M. Butler wrote:
> >>> I've made it to the point of uploading source to Launchpad to
> >>    build a
> >>> ppa.  However, Launchpad reported these dependency issues:
> >>>
> >>>
> >>    +------------------------------------------------------------------------------+
> >>> | Install gnucash build dependencies (apt-based resolver)
> >>                  |
> >>>
> >>    +------------------------------------------------------------------------------+
> >>>
> >>> Installing build dependencies
> >>> Reading package lists...
> >>> Building dependency tree...
> >>> Reading state information...
> >>> Some packages could not be installed. This may mean that you have
> >>> requested an impossible situation or if you are using the unstable
> >>> distribution that some required packages have not yet been created
> >>> or been moved out of Incoming.
> >>> The following information may help to resolve the situation:
> >>>
> >>> The following packages have unmet dependencies:
> >>>   sbuild-build-depends-gnucash-dummy : Depends: debhelper (>=
> >>    11~) but 9.20131227ubuntu1 is to be installed
> >>>                                        Depends: googletest but it
> >>    is not installable
> >>>                                        Depends:
> >>    libgwengui-gtk3-dev but it is not installable
> >>>                                        Depends:
> >>    libwebkit2gtk-4.0-dev but it is not installable
> >>>                                        Depends: locales-all but
> >>    it is not installable
> >>> E: Unable to correct problems, you have held broken packages.
> >>>
> >>> Builds fine on my local box.
> >>> --Steve
> >>>
> >>
> >>    --
> >>    Stephen M Butler, PMP, PSM
> >>    Stephen.M.Butler51 at gmail.com <mailto:Stephen.M.Butler51 at gmail.com>
> >>    kg7je at arrl.net <mailto:kg7je at arrl.net>
> >>    253-350-0166
> >>    -------------------------------------------
> >>    GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
> >>
> >>    _______________________________________________
> >>    gnucash-devel mailing list
> >>    gnucash-devel at gnucash.org <mailto:gnucash-devel at gnucash.org>
> >>    https://lists.gnucash.org/mailman/listinfo/gnucash-devel
> >>
> >
> > --
> > Stephen M Butler, PMP, PSM
> > Stephen.M.Butler51 at gmail.com
> > kg7je at arrl.net
> > 253-350-0166
> > -------------------------------------------
> > GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8
> >
> >
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel


More information about the gnucash-devel mailing list