trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: May 2016

Re: [trinity-devel] Re: Re: TDEPIM cmake question

From: Slávek Banko <slavek.banko@...>
Date: Thu, 19 May 2016 17:49:59 +0200
On Thursday 19 of May 2016 10:10:08 Michele Calgaro wrote:
> On 2016/05/19 05:07 PM, Michael Howard wrote:
> >>>   Michele
> >>
> >> Hi Michele,
> >> you misunderstood. I did not want to build package, but build the tdepim
> >> source.
> >> For this I git clone tdepim and clone the cmake submodule. I try cmake
> >> but nothing happens. I guess the dpkg-buildpackage would also not work,
> >> but thats a guess.
> >>
> >> regards
> >
> > I don't think Michele misunderstood, he described how to build 'tdepim'
> > from source, which is what you say you want to do.
> >
> > Off the top of my head I can't remember if 'tdepim' is cmake ready or
> > not. Actually, just checked, it is.
> >
> > Cheers,
> > Mike.
>
> Hi Emanoil,
> as Mike said, that is the way you build package starting from source in
> Debian/Ubuntu. I build them the same way. It building tdepim fails, there
> are two possibilities:
> 1) you are missing some dependency packages. This is most likely not
> highlighted when invoking cmake directly from CLI. If you use
> dpkg-buildpackage or pbuilder, they will check dependencies as well in the
> process and inform you if a required package is missing.
> 2) you are using Debian/Stretch and a recent change in a package cause a
> FTBFS, in which case we will need to prepare a fix for.
>
> Most likely you are in case 1), although occasionally I run into 2) here
> and there (I use Debian/Stretch).
>
> Cheers
>   Michele

I've done a rebuild tdepim 14.0.4~pre on Stretch and was completely without 
problems. It seems that so far no updates in Stretch did not cause breakage 
tdepim.

Tip for installing necessary dependencies:

  apt-get build-dep tdepim-trinity

Tip for building: in debian/rules you can find DEB_CMAKE_EXTRA_FLAGS == 
options, which are used to build on Debian / Ubuntu.

-- 
Slávek