-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jabref: 5.7 -> 5.9 #205299
jabref: 5.7 -> 5.9 #205299
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Reviewing because it helps me learn more about now nix packages Java apps.
Think this is the best way forward right now, while JabRef/jabref#9417 is still open.
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Upstream rolled back to JDK17 and released v5.8. Maybe this PR can be dropped after bumping JabRef. |
I failed to build 5.8. I'd like to get this merged first. |
@ofborg build jabref |
Fails (on Arm) because Gradle omits platform from paths:
While the file is at
|
Is this a new problem? javafx always has that suffix. |
Yes (see /nix/store/w3h510lpzvmrb4wacw796czhr1pkb7vj-jabref-deps-5.6/org/openjfx/javafx-graphics/18/), but JabRef 5.6 on 7e27b83 was able to build on aarch64-linux, so it is some issue introduced by either Gradle or the JabRef bump. |
I don't have an arm device to test it. Is the linux.jar in the arm64 deps in 5.7 and 5.9? Does it work to run assemble directly on arm64 device? Maybe it's an error of the downloadDependencies task? |
I marked the aarch64 as broken. |
|
Upstream uses some deps with snapshot versions in 5.9. |
I patch the source to pin the snapshot versions. I don't know why but today jabref can't find some libs suddenly. I add them to LD_LIBRARY_PATH. |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@@ -51,16 +53,24 @@ stdenv.mkDerivation rec { | |||
find $GRADLE_USER_HOME/caches/modules-2 -type f -regex '.*\.\(jar\|pom\)' \ | |||
| perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/''${\($5 =~ s/-jvm//r)}" #e' \ | |||
| sh | |||
mv $out/com/tobiasdiez/easybind/2.2.1-20230117.075740-16 $out/com/tobiasdiez/easybind/2.2.1-SNAPSHOT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should move this into a variable to prevent easy errors in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean? Could you elaborate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I applied your suggestion. Please review it again.
The missing lib problem is fixed. The arm build is fixed. |
@ofborg build jabref |
@SuperSandro2000 Could you please merge this? JabRef has been more and more broken... Thanks! |
Description of changes
Closes #220470
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes