Bug#960692: src:netbeans: Please add support to build against libjson-simple-java >= 3

Gilles Filippini pini at debian.org
Fri May 15 14:43:45 BST 2020


Package: src:netbeans
Version: 10.0-3
Severity: normal
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I'd like to transition json-simple 3.1.1 to unstable, but netbeans is a blocker since it builds against libjson-simple-java << 3 only.

The json-simple classes used by netbeans were deprecated in version 2.0.0 [1]. There were removed in versions 3.x [2].

[1] https://github.com/cliftonlabs/json-simple/blob/json-simple-2.0.0/README.txt
[2] https://github.com/cliftonlabs/json-simple/blob/json-simple-3.0.1/CHANGELOG

Please find attached a patch proposal to use the current json-simple classes. I've tested that the package builds correctly against libjson-simple-java version 2.3.0-1 from unstable and version 3.1.1-1~exp2 currently in experimental. But I don't known how to test the package afterward.

Because this is a huge patch it may have errors, but they should be easy to fix once discovered. Please do not hesitate to ping me in case of broken tests.

Once this cleared, this patch should be push upstream. They can't keep going using this deprecated json-simple 1.x API.

Thanks in advance for considering.

_g.

- -- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

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

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAl6+nIgACgkQ7+hsbH/+
z4NK6wf/bcGCD9GJDh9QMfp13jsxhM9/xN+uz1z27mA3z2jzeUQKYmeYfwOFyia2
kX1ABSF9h7MjleXi2g0Q4rnyqEjDAoCZGroS5UDP9yCbauNRsJPuYRiiU0lPty5/
cMIUB1WHKVl/AhoWO0+aBAJY7WxOHaCPfBbwPxRKOgHZX9x6uXX3W+DabDm4F3Qp
usSABBCWr4/BM98qN/zdwTvnAZL8kRjbAHdG0ba2MU3daZ8/QmwsiyDVNlMzIh7M
IkFepPW2cZsAfKjdhBRW1+oT0PC2ELUGRZ0NxjVxvSHS9UvktY1AgyCTrSHpXHzE
5DhGp7cZofiWVIQ0CnS26h7oVrdnSA==
=ECGc
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netbean-json-simple.debdiff.gz
Type: application/gzip
Size: 61829 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20200515/8e1ee751/attachment-0001.gz>


More information about the pkg-java-maintainers mailing list