On Thu, 2026-01-15 at 13:04 +0100, Jan Engelhardt wrote:
> On Thursday 2026-01-15 11:50, John Paul Adrian Glaubitz wrote:
> > 
> > libgit2 was previously switched from http_parser to llhttp and then back to
> > http_parser after it was discovered that llhttp was tied to nodejs reducing
> > the portability of llhttp.
> > 
> > Luckily, this entanglement has been fixed now and llhttp is available for 
> > all
> > of Debian's architectures [1].
> 
> Having to install nodejs just to use libgit2 seems excessive, even if 
> llhttp is available for all arches.

Not sure what I'm missing as the dependency on nodejs no longer exists, see [1]:

Build-Depends: debhelper-compat (= 13)
Build-Depends-Arch:
 , dh-cmake-compat (=1)
 , dh-cmake
 , cmake
 , libllhttp-source (>= 9.3~),
 , libllhttp-source (<< 9.4~)
Build-Depends-Indep:
 , dh-nodejs
 , binaryen
 , clang
 , libclang-rt-dev-wasm32
 , lld (>= 1:16)
 , node-debug
 , node-markdown-it (>= 22.2.3+dfsg+~12.2.3-2~) <!nocheck>
 , node-semver
 , node-typescript
 , ts-node
 , wasi-libc

and:

Package: libllhttp-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends}
 , libllhttp9.3 (= ${binary:Version})
Description: HTTP messages parser library dev files
 A C HTTP messages parser generated from typescript
 definitions, making it easier to maintain.
 .
 This package contains the development files.

Package: libllhttp9.3
Section: libs
Architecture: any
Depends: ${misc:Depends}
 , ${shlibs:Depends}
Breaks: libllhttp9.1 (<< 6)
Replaces: libllhttp9.1
Description: HTTP messages parser library
 A C HTTP messages parser generated from typescript
 definitions, making it easier to maintain.
 .
 This package contains the shared library.

NodeJS is just required for the arch:all package.

Adrian

> [1] 
> https://sources.debian.org/src/llhttp/9.3.3~really9.3.0%2B~cs12.11.8-3/debian/control

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to