On Tue, Jun 1, 2021 at 8:40 AM Stephan Bergmann <sbergman(a)redhat.com> wrote:
On 01/06/2021 05:42, Mikolaj Izdebski wrote:
> On Mon, May 31, 2021 at 1:12 PM Miro HronĨok <mhroncok(a)redhat.com> wrote:
[...]
>> Seems like the configure script (or whatever that is) fails to find hamcrest.
>
> That's because libreoffice hardcodes path to hamcrest JAR in the
> configure script, instead of using one of the tools designed to locate
> JAR files in the system. That is covered in Java Packaging Guidelines
> [1].
"packager SHOULD use one of tools designed to locating JAR files in the
system": whatever those tools are; that packaging guidelines page
doesn't seem to tell
These would be find-jar, build-classpath, build-jar-repository etc.
from javapackages-tools. They are described in Java Packaging HOWTO.
Java packaging guideline is fairly minimal and primarily defines
policy (MUSTs and SHOULDs) for packaging Java. It strives not to
provide specific examples directly, but rather refers to Java
packaging HOWTO. The split into two documents, one maintained by FPC
that defines packaging policy and the other maintained by Java SIG
that provides packaging documentation, is intentional - it gives Java
SIG ability to work on packaging documentation without involving FPC
and at the same time keeps FPC in control of packaging policy.
--
Mikolaj Izdebski
>> The bugzilla is
https://bugzilla.redhat.com/show_bug.cgi?id=1965975
>
> I could add a compat symlink to the hamcrest package, but it seems
> that the issue was fixed on the libreoffice side.
yes, thanks, no need to adapt the hamcrest side
[...]
> [1]
https://docs.fedoraproject.org/en-US/packaging-guidelines/Java/#_hardcode...
_______________________________________________
devel mailing list -- devel(a)lists.fedoraproject.org
To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure