[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Jitsi can be built



	Hi.

On Mon, Jun 08, 2020 at 02:17:27PM +0100, John ff wrote:
> A local member of the LUG here built jitsi from sources and he is not
> an IT professional.  From that I infer that it is possible.

I will assume that the build process was similar to described at [1].
A quick look at so-called "sources", i.e. [2] reveals us:

1) Multiple *jar files of unknown content.
2) Pre-built *so files without sources, and without any visible
licences.
3) Build-dependency on non-free Oracle JDK and pre-built Apache ANT.
4) Possible (too lazy to check it) arbitrary file downloads during the
build process - ant in (in)famous for it.


Proper building from the source would require (some steps omitted for
simplicity):

1) Building openjdk from the source (Debian does it, so that's easy).
2) Building ant from the source (ditto).
3) Re-building all those *jar blobs (possible, given that those are
popular java libraries).
4) Re-building from the source all those *so files.
5) Fixing build.xml to prevent it from downloading random *jars from all
the Internet (may be impossible).
6) De-composing the resulting *jar(s) and replacing bundled *jars with
proper Debian dependencies.

And last, but not least:
7) Repeat build process once jitsi source is updated.

Points from 3 to 7 inclusive require one to be an "IT professional" IMO.
Somehow I doubt that aforementioned local member of LUG followed the
latter process, most possibly it was former. I.e. - not real BTS at all.

Reco

[1] https://desktop.jitsi.org/Documentation/RetrievingAndBuildingTheSources
[2] http://download.jitsi.org/jitsi/src/jitsi-src-2.10.5550.zip


Reply to: