Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526670 - need android-json package in tree?
Summary: need android-json package in tree?
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 527378
  Show dependency tree
 
Reported: 2014-10-24 18:21 UTC by Matthew Marlowe (RETIRED)
Modified: 2014-10-29 21:50 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Marlowe (RETIRED) gentoo-dev 2014-10-24 18:21:01 UTC
One of the packages I'm maintaining, zabbix, has just released a new version with changed java dependencies.

See https://support.zabbix.com/browse/ZBX-4800

Upstream seems to have responded to requests from debian/fedora, and started depending on a 'android-json' package instead of json-simple.  

Doing a quick search in eix, I couldn't see any existing gentoo packages with that or similar names.  However, I'm not that familiar with json packages or java myself, so I wouldn't know if the package goes by another name.

I'm not even sure if continuing to depend on json-simple instead of android-json would be fine.  Could someone on the java team please advise?
Comment 1 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2014-10-25 06:13:56 UTC
What i see is: android-json is an implementation to get rid of the JSON license (https://bugzilla.redhat.com/show_bug.cgi?id=958533, Title "Androids rewrite of the evil licensed Json.org")

android-json is *NOT* compatible to json-simple: JSONObject from json-simple has 8 public methods, JSONObject from android-json has 51.
So even if it may would work now, it will break in the future. Not to mention the different licenses.
Comment 2 Matthew Marlowe (RETIRED) gentoo-dev 2014-10-29 21:50:25 UTC
OK, zabbix upstream includes a jar file for android-json in its tarball, so I will install that instead of a gentoo android-json pkg until such time as we have an android-json pkg in the tree.  My java/json experience isn't enough to maintain an 'android-json' package on my own.