On Tue, 19 Mar 2024 at 21:46, Reuben Thomas <r...@sc3d.org> wrote:

> On Tue, 19 Mar 2024 at 21:37, Bastian Germann <b...@debian.org> wrote:
>
>>
>> As nobody has provided any patch yet and I do not have an idea how to use
>> gnulib properly generally and in Debian
>> context, I came up with this. I have actually tried to use Debian's
>> gnulib but could not get the thing to work.
>>
>
I've just had some information that may help. Simon Josefsson writes in a
thread on the gnulib mailing list:

The latest gnulib in Debian contains a
git bundle of gnulib, so you can Build-Depends on gnulib and via
GNULIB_REVISION pick out exactly the gnulib git revision that libpaper
needs.  This avoids including gnulib files in the tarball that is
uploaded to Debian, and there is no risk that you will get gnulib code
from a different git commit.  It requires an added 'Build-Depends: git'
in libpaper, though, which is unfortunate but I don't see how to avoid
it.  I should write a post to debian-devel describing this pattern on
how to use gnulib in Debian packages, but you can infer everything from
the links given in my blog post [1] and the latest upload of libntlm
into Debian.

[1]
https://blog.josefsson.org/2024/04/13/reproducible-and-minimal-source-only-tarballs/
[2] https://salsa.debian.org/auth-team/libntlm/-/tree/master/debian

Reply via email to