Bug 67832 - upgrade our jfreereport libraries
Summary: upgrade our jfreereport libraries
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Base (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: reviewed:2022
Keywords: difficultyMedium, easyHack, skillScript, topicCleanup
Depends on:
Blocks: Database-Reports-Builder
  Show dependency treegraph
 
Reported: 2013-08-06 16:06 UTC by Lionel Elie Mamane
Modified: 2022-10-02 15:57 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lionel Elie Mamane 2013-08-06 16:06:17 UTC
1) Upgrade our jfreereport externals
2) Check that reportbuilder didn't break

Sources:

 https://github.com/pentaho/pentaho-reporting
 http://jfree.org/jcommon/

Theoretically should be on http://sourceforge.net/projects/jfreereport/files/, but could not find sources there (only compiled class files).
Comment 1 Joel Madero 2014-02-27 22:55:03 UTC
In order to limit the confusion between ProposedEasyHack and EasyHack and to make queries much easier we are changing ProposedEasyHack to NeedsDevEval.

Thank you and apologies for the noise
Comment 2 Alex Thurgood 2015-01-03 17:39:52 UTC Comment hidden (no-value)
Comment 3 Robinson Tryon (qubit) 2015-12-14 06:54:06 UTC Comment hidden (obsolete)
Comment 4 Robinson Tryon (qubit) 2016-02-18 14:51:22 UTC Comment hidden (obsolete)
Comment 5 Hossein 2022-07-21 14:05:17 UTC
Re-evaluating the EasyHack in 2022

I think this is relevant as the reported versions are quite old.

$ cat external/jfreereport/version.mk 
FLUTE_VERSION=1.1.6
LIBBASE_VERSION=1.1.6
LIBFONTS_VERSION=1.1.6
LIBFORMAT_VERSION=1.1.6
LIBFORMULA_VERSION=1.1.7
LIBLOADER_VERSION=1.1.6
LIBREPOSITORY_VERSION=1.1.6
LIBSERIALIZER_VERSION=1.1.6
LIBXML_VERSION=1.1.7

The application is now called Pentaho reporting:
https://github.com/pentaho/pentaho-reporting

On the other hand, there is a little chance that this task would be easy because it is now several years behind of the latest version.
Comment 6 Julien Nabet 2022-10-01 08:10:47 UTC
IMHO, it doesn't worth it to upgrade, it should rather be closed.
Indeed, we need another tool not dependent from Java since Java dependency is forbidden in Appstore.
See https://bugs.documentfoundation.org/show_bug.cgi?id=151250#c4
Comment 7 Buovjaga 2022-10-01 08:25:39 UTC
(In reply to Julien Nabet from comment #6)
> IMHO, it doesn't worth it to upgrade, it should rather be closed.
> Indeed, we need another tool not dependent from Java since Java dependency
> is forbidden in Appstore.
> See https://bugs.documentfoundation.org/show_bug.cgi?id=151250#c4

C++ solution exists:
https://github.com/fralx/LimeReport
https://limereport.ru/en/

Discussion in the wiki:
https://wiki.documentfoundation.org/Development/Under-loved_areas#Replace_Java_report_generator_code

I asked Noel and he thinks it's feasible to use.
Comment 8 Rene Engelhard 2022-10-02 15:05:46 UTC
Just as a data point:

> C++ solution exists:
> https://github.com/fralx/LimeReport
> https://limereport.ru/en/

Tried/looked at that.

That
a) needs Qt, thus we get a strict dependency on qt for the report builder packages (or people ship Qt, too as an internal library..)
b) creates
$ find . -name "*.so*"
./liblimereport-qt5.so
./build/5.15.6/linux64/release/lib/libQtZint.so

which sucks and would mean shipping it internally as there is no SONAME to rely on to make it be used system-wide without breaking.

In this regard even the jfreereport libs are better if you have the versions under control (all of them are used from the system in Debian), even though admittedly they are bad because being Java ;-)