pdfstudio: remove libgccjit dependency
I don't think pdfstudio depends on libgccjit. If it did, that would be a license violation. Unlike the other libraries in gcc, libgccjit is licensed GPLv3 with no exceptions, since libgccjit contains the entire compiler. I wasn't able to build pdfstudio2022 prior to this PR due to openjdk breakage. However I did download and extract the `.deb` used, and ran this command, which produced no outputs: ``` find . -name \*.so -exec ldd {} \; | grep libgccjit ``` Maybe somebody confused `libgccjit` with (may it rest in peace) `libgcj`?
This commit is contained in:
parent
b83bc07b4f
commit
34bb2681f5
@ -8,10 +8,11 @@
|
||||
# - year identifies the year portion of the version, defaults to most recent year.
|
||||
# - pname is either "pdfstudio${year}" or "pdfstudioviewer".
|
||||
|
||||
{ program ? "pdfstudio"
|
||||
{ lib
|
||||
, program ? "pdfstudio"
|
||||
, year ? "2022"
|
||||
, fetchurl
|
||||
, libgccjit
|
||||
, gcc
|
||||
, callPackage
|
||||
, jdk11
|
||||
, jdk17
|
||||
@ -49,7 +50,7 @@ in
|
||||
sha256 = "sha256-wQgVWz2kS+XkrqvCAUishizfDrCwGyVDAAU4Yzj4uYU=";
|
||||
};
|
||||
extraBuildInputs = [
|
||||
libgccjit #for libstdc++.so.6 and libgomp.so.1
|
||||
(lib.getLib gcc) # for libstdc++.so.6 and libgomp.so.1
|
||||
];
|
||||
jdk = jdk11;
|
||||
};
|
||||
@ -62,7 +63,7 @@ in
|
||||
sha256 = "sha256-B3RrftuKsPWUWP9hwnq4i311hgZgwZLqG1pJLdilfQI=";
|
||||
};
|
||||
extraBuildInputs = [
|
||||
libgccjit #for libstdc++.so.6 and libgomp.so.1
|
||||
(lib.getLib gcc) # for libstdc++.so.6 and libgomp.so.1
|
||||
];
|
||||
jdk = jdk17;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user