[Koha-bugs] [Bug 13799] Add base for building RESTful API

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 8 01:36:12 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13799

--- Comment #33 from Robin Sheat <robin at catalyst.net.nz> ---
(In reply to Julian Maurice from comment #32)
> I tried to build Mojolicious package for Wheezy from here:
> git://git.debian.org/git/pkg-perl/packages/libmojolicious-perl.git

This is version 5.54 though. The problem is when you run uscan to create the
DFSG-compliant source tarball of version 6.08, and swagger2 declares a
dependency on Mojolicious 6.0+, so changing the minimum version that Koha
requires doesn't change a whole lot.

> I had to install several *build* dependencies from Jessie, but the resulting
> binary package should work well on wheezy.
> In Jessie libmojolicious-perl depends on libjs-prettify which is not in
> Wheezy so I had to also build this package.
> Building source packages requires much more work, as there is a lot of build
> dependencies not packaged in wheezy, but do we need them ?

We will need the source packages, because we need to build them. This is
because we need to modify the changelogs to specify which pockets of the repo
it's going to go into.

I avoid doing it in hacky ways, or ways that are not Debian-compliant, because
that ends up causing maintenance headaches and more unnecessary work in the
long run, and will also interfere with my planned efforts to automate some
parts of this process.

All this said, I just downgraded tar in my package building VM to the version
from squeeze, and uscan succeeds. So there is hope yet.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list