Re: [gentoo-dev] [PATCH] metadata.dtd: Add kde-invent remote-id

2022-10-06 Thread Sam James
> On 6 Oct 2022, at 09:46, Andreas Sturmlechner wrote: > > For their https://invent.kde.org/ (gitlab instance) > > Signed-off-by: Andreas Sturmlechner > --- > metadata.dtd | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/metadata.dtd b/metadata.dtd > index

[gentoo-dev] [PATCH v2] java-pkg-simple.eclass: allow to compile with sources.lst empty

2022-10-06 Thread Volkmar W. Pogatzki
Compilation of ${sources} fails with error if ${sources} is empty. This is the case when a package (or a module in case of a multi-jar package) has only module-info.java to get compiled. Signed-off-by: Volkmar W. Pogatzki --- eclass/java-pkg-simple.eclass | 28 1

[gentoo-dev] [PATCH] metadata.dtd: Add kde-invent remote-id

2022-10-06 Thread Andreas Sturmlechner
For their https://invent.kde.org/ (gitlab instance) Signed-off-by: Andreas Sturmlechner --- metadata.dtd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.dtd b/metadata.dtd index e1207de..44d4043 100644 --- a/metadata.dtd +++ b/metadata.dtd @@ -58,7 +58,7 @@

[gentoo-dev] [PATCH] java-pkg-simple.eclass: allow to compile with sources.lst empty

2022-10-06 Thread Volkmar W. Pogatzki
Compilation of ${sources} fails with error if ${sources} is empty. This is the case when a package (or a module in case of a multi-jar package) has only module-info.java to get compiled. Signed-off-by: Volkmar W. Pogatzki --- eclass/java-pkg-simple.eclass | 16 +--- 1 file changed,

[gentoo-dev] [PATCH v2] java-pkg-simple.eclass: improve MANIFEST.MF manipulation

2022-10-06 Thread Volkmar W. Pogatzki
For adding Main-class and/or Automatic-module-name to MANIFEST.MF it seems better to use "jar" functionality at the end of compilation. This does the necessary checks and issues warnings in case of duplicate entries. Erroneously used existence checks ( -v ) were causing wrong entries in