fink / fink-distributions

Package descriptions and patches for Fink
24 stars 38 forks source link

Scrapping java components #903

Open dmacks opened 2 years ago

dmacks commented 2 years ago

Java's not free for all users but is a low-level dependency of huge portions of our distro via the 'bison' package and the 'libidn-java' component of the 'libidn' package, not just packages actually for java tools. This is a tracker item for removing them from the main packages if possible:

(list not yet complete...please update as you find them)

akhansen commented 2 years ago

IIRC libiconv builds differently whether it finds Java or not. This is why we make people install Java as part of the bootstrap.

nieder commented 2 years ago

dpkg1.16 eliminates the java dep in base. Don't recall how exactly.

sth0 commented 2 years ago

Isn’t OpenJDK GPL v2 licensed? I use that to satisfy the Java dependencies in an OS manner.

On Apr 1, 2022, at 11:45 AM, Daniel Macks @.***> wrote:

Java's not free for all users but is a low-level dependency of huge portions of our distro via the 'bison' package and the 'libidn-java' component of the 'libidn' package, not just packages actually for java tools. This is a tracker item for removing them from the main packages if possible:

bison libidn (libidn-java is a splitoff, can we push it into a separate .info?) libgraphviz (list not yet complete...please update as you find them)

— Reply to this email directly, view it on GitHub https://github.com/fink/fink-distributions/issues/903, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADSJBYQR5RRWNHUOFYIRA3VC4KYVANCNFSM5SJCS5WQ. You are receiving this because you are subscribed to this thread.

dmacks commented 2 years ago

I have no idea about alternatives, just what happened when I tried to install fink (dpkg1.16) from scratch on a brand new computer. I could bootstrap and selfupdate, but not really install anything major due to explicit deps on system-java. If there's a free alt, it would be great to have it packaged, and either hard-code it (for consistency, which would solve a lot of older path chaos, such as #149) or as an alternative (if we just need "some javac").

nieder commented 2 years ago

Sample openjdk17.info. License is GPL2+. It requires a change to Validation.pm to allow %p/Library/Java. Each major JDK release will mean a new package, but there won't be a moving target. fink list system-java detects the provided files, and /usr/libexec/java_home -V also detects it.

openjdk17.info.txt

cooljeanius commented 11 months ago
  • [x] libgraphviz (java classes/bindings are compiled and made part of the -shlibs package)

For searchability purposes, this also affects other graphviz splitoffs, i.e., the one that's just "graphviz", and libgraphviz238-shlibs