Re: netty split

Bastien Roucaries <[email protected]> Wed, 21 Jan 2026 23:58:00 +0100
Newsgroups gmane.linux.debian.devel.java
Message-ID <9567722.CDJkKcVGEf@debian-ei>
--nextPart3324381.5fSG56mABF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Bastien Roucaries <[email protected]>
To: [email protected]
Subject: Re: netty split
Date: Wed, 21 Jan 2026 23:57:32 +0100
Message-ID: <9567722.CDJkKcVGEf@debian-ei>
In-Reply-To: <4671822.1IzOArtZ34@debian-ei>
MIME-Version: 1.0

Le jeudi 8 janvier 2026, 21:24:52 heure normale d=E2=80=99Europe centrale B=
astien Roucaries a =C3=A9crit :
Hi

Can someone review the split
> Le jeudi 8 janvier 2026, 18:00:48 heure normale d=E2=80=99Europe centrale=
 Markus Koschany a =C3=A9crit :
> > Hi Bastien,
> >=20
> > 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 cent=
rale Bastien
> > > Roucaries a =C3=A9crit :
> > > > Le lundi 5 janvier 2026, 10:28:30 heure normale d=E2=80=99Europe ce=
ntrale 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=
 library
> > > > > out netty main package.
> > > > >=20
> > > > > Because buffer depend on utils (commons jar) I will need to split=
 also
> > > > > 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
> >=20
> > I can't do a deep dive into netty currently but if you discover a circu=
lar
> > dependency I would try to disable those modules which require brotli4j =
or netty
> > 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 n=
etty
> > first. Another option is to patch out certain functionality like brotli=
 if
> > that's too troublesome at the moment.=20
>=20
> Agreed but longer term getting brotli4j  compiled will be nice so for me =
split was needed
>=20
> > Splitting the package into multiple
> > different ones is usually not necessary.
> >=20
> > Regards,
> >=20
> > Markus
> >=20
> >=20
>=20
>=20


--nextPart3324381.5fSG56mABF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

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

iQIzBAABCgAdFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmlxWdwACgkQADoaLapB
CF9wPw/9E503iw23ph0e2R19EFO1a/+SixEu4SGjcP/PT7wEdZrGhKioQaDm+Tcj
6zrF1NRHoaKekbn3gCR1VYc+oGin7N9FRN9EO+UUK62/ICtPbWcw+Wi98zxWvrcp
EqHN3mMfcMOLUd05rnfff85o+o0oDaT1ogfHe77G6edu9zr/5Nft34xvzrOoyLnK
EkHQMalsHy+gFPU0sdFx4OF7IaF96Uvy0zC3BwFs4iMseK2W6Svz0/tEeH9AWau1
gBxEfU2dm9YsQyIvTRyuJTix/1oa4Hgbc3t47/oxq5N7mu3l9fj9lkAH4YNlcMyC
zuCj8+IzqidFlJOy7bIsoeZIj+qzaod/02BhKKyrUZI15sJr7qgpOwBlh+GV3qU2
/87D9RORok+nont9wAtFdWx9byD2zS/ReVhX08Xus95yr4Hh9F/pGElYW5v33qci
Z0B/hkpFuW1ZVk0dY7/aUcJ/6f7EvFGpfVK2Q6WY35jnL2l9FSA5Tx/knDZuUn7l
V+/hDdKCha3WtleEKMUiM5Q/Xp5hamdMx8STGNEN/DQbRXQteu44eThMEgF7LLL5
TDMRGVEh8Ia9lqHLASrrr9fhqI5ftqgh6IYbHeW9U0lcTQ5P+YSMdMIIAdlgfOv+
QJMCkaE+lJ+roOaXKhwRYz1x3z42dC5Wl/2v3RILyz46Rz4fEzY=
=E18Z
-----END PGP SIGNATURE-----

--nextPart3324381.5fSG56mABF--