[Top][All Lists]

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

[bug #57217] --disable-java and --disable-csharp have no effect

From: Luke
Subject: [bug #57217] --disable-java and --disable-csharp have no effect
Date: Tue, 19 Nov 2019 18:51:10 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #2, bug #57217 (project gettext):

[comment #1 comment #1:]
> Works for me (on a glibc system): After configuring with --disable-java and
> 1) After "make install", the installation directory contains no *.jar nor
*.dll files.
> 2) Even the build directory contains no *.jar nor *.dll files.
> The topic of the javadocs has been discussed in bug #56111.

Perhaps I could have described the bug a bit cleared. I have tested this using
the latest version, as well as git trunk, and have the glibc version from your
autogen script.

The following files are still showing up on make install:

* /usr/share/gettext/javaversion.class
* ALL test files and folders/subfolders: hello-java, hello-java-swing,
hello-java-awt, hello-java-qtjambi, hello-csharp, hello-csharp-forms

I had thought that disabling Java would at minimum install no .class files or
tests, and perhaps disable the ability to parse Java files and Java

Additionally, there is no way to disable CSharp parsing functionality, since
there is no --disable-csharp option anywhere in the autoconfigure scripts.
It's an invalid option and errors on ./configure.

Here is the package log from a normal --disable-java --disable-native-java
--disable-csharp build showing the extra files:

I am also attaching a WIP patch which would remove CSharp and Java Support,
but causes gettext to not run properly. I believe the reason it crashes is
because read_properties and write_properties is used for much more than just
Java, but I do not have much experience in this code base.

(file #47906)

Additional Item Attachment:

File name: 0001-Attempt-to-remove-CSharp-and-Java.patch Size:463 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]