Re: netty split

Markus Koschany <[email protected]> Thu, 08 Jan 2026 18:00:48 +0100
Newsgroups gmane.linux.debian.devel.java
Message-ID <[email protected]>
--=-jydXp1Uu0MVFeh33usnM
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Bastien,

Am Donnerstag, dem 08.01.2026 um 17:47 +0100 schrieb Bastien Roucaries:
> Le lundi 5 janvier 2026, 17:22:47 heure normale d=E2=80=99Europe centrale=
 Bastien
> Roucaries a =C3=A9crit :
> > Le lundi 5 janvier 2026, 10:28:30 heure normale d=E2=80=99Europe centra=
le Bastien
> > Roucaries a =C3=A9crit :
> > > Hi,
> > >=20
> > > in order to compile netty I need brotli4j that need netty buffer
> > >=20
> > > I think I should split in this case netty, and extract the buffer lib=
rary
> > > out netty main package.
> > >=20
> > > Because buffer depend on utils (commons jar) I will need to split als=
o
> > > the common lib
> > >=20
> > > Could you confirm this analysis ?
> > >=20
> > > And how can I implement this ?
> > I tried this
> > https://salsa.debian.org/rouca/netty
> >=20
> > But depends of debian package fails to be correct (empty)
> I have manually added the depends and pushed to netty tree
> https://salsa.debian.org/java-team/netty
>=20
> I do not know if it is correct

I can't do a deep dive into netty currently but if you discover a circular
dependency I would try to disable those modules which require brotli4j or n=
etty
buffer first. You can ignore certain modules with debian/libnetty-java.poms=
 by
adding the --ignore flag. Try to get a minimum / bare bone version of netty
first. Another option is to patch out certain functionality like brotli if
that's too troublesome at the moment. Splitting the package into multiple
different ones is usually not necessary.

Regards,

Markus


--=-jydXp1Uu0MVFeh33usnM
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmlf4sBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQACgkQ2a0UuVE7
UeTPTg//SeZQv4yzU7XZGIsZRyxbwLj6DzRlAQMX7pjsckIg7jbYxQqSSWMgFMzW
UIPwrn20sWEY6zap/g3/DBnwUneM2k/3gCQdHP7PWnzstZ5pjpq7/QABvgHvAVz9
3zqfLxLcLn0xyHFF1pUxJ7t4WZcV3gXxAquBzYzwqyHzvYck+ywY6kfAFTPakO2c
5hLQg6OUMMo3Ppu+/jzPtbIb6I2Rtj0AAwF9E0VD8HY2DORdKOZkaXGJphnnn734
n2h+ahoJEm/L7I30kVLbqObbhocpZDZsIuU2hE83d8kdNn6u19Zuq7zCYfdjCyQN
bZdicPAZtD/uPrkUvFKEDNVyG8HhUvjaVCVoYYSpt9hwL8MdMgaTdkx9j9mofxyt
NrbNH0+FTQ+BpYmF5bamm9Y4Y8DLoRWcUJmMFzTTZhsCi/k3jlnMFQBm2S6pDPO9
KbF8Wa7tNX0CfhrXUWlr/7FC11VgXX9RZqzhT36VidNB3M4kA532/7DPWZDSUJL3
HK1BfwpyJeP9RfVshBYg/fFTbk1dlbdSQuwF5FwnkkeW/Gu+AamUH1RgsgDNgsUB
V1Nin2bq3XUj4DlpwIjTUO33O7i55YR8Nx24pYTEeRVJjWCQVYuLFJ0XdqNXcvmI
cUcS75esL66bRIDek7Cs6Nl2FolHJeOCsYokIpdgftB9i2iwW0M=
=nWZJ
-----END PGP SIGNATURE-----

--=-jydXp1Uu0MVFeh33usnM--