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

Bug#960742: RFS: lazpaint/7.1.3 ITP -- add LazPaint to Debian



On Wed, Sep 09, 2020 at 11:23:17AM +0200, Johann ELSASS wrote:
> Hello,
> 
> I have made a repository with everything in it. For now it is version 6.4.1.

(Robin also replied, please read the bug mentioned there… Though it has no
solution it might help understanding mechanics)


 
> It is there: https://github.com/bgrabitmap/lazpaint-upstream

Thanks for that, I think that is a starting point, but still some way to go.

First you need your build env fixed… I could not build the package; however
I'm not using dpkg-buildpackage but pbuilder for the job. pbuilder is closer to
how the buildds are working. You should find guides how to setup pbuilder with
somre research. Then make sure to give it a spin using some known-good source package:
For example 
apt source hello && cd hello-*/ && pdebuild

After that, try that with your package (you need to create an orig.tar. before;
easiest way (but not 100% correct for later -- this is just to bootstrap you)
is just to tar up the cloned git repo as lazpaint_6.4.1.orig.tar.xz

You will then see that the package is not building with pbuilder…*
So your next goal is then to fix that. I unfortunatly won't be able to help
much with lazbuild/lazarus problems, so you likely need to figure out stuff
yourself. ask here when you've got stuck. Taking a look at other (lazarus)
packages might help too, of course.

pbuilder bails out with
 The following packages have unmet dependencies:
  pbuilder-satisfydepends-dummy : Depends: lazarus-project (>= 1.8.6) which is a
   virtual package and is not provided by any available package

That means "lazarus-project" is as Build-Depends, there is no package with that name.
Not sure what it needed here. But I think I saw something in the bug Robin referenced.

Once you've got your package compiling, let us know.

I wish you best of luck: The first package is always the hardest -- and I fear
you did not choose the easiest one!

Cheers,
-- 
tobi


Reply to: