-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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: build from source #162593
JabRef: build from source #162593
Conversation
@ofborg build jabref |
@ofborg build jabref |
d951c7a
to
31a0595
Compare
@ofborg build jabref |
@Artturin Could you please review again? |
@ofborg build jabref |
@ofborg build jabref |
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.
Built on aarch64-linux and x86_64-linux.
Hi, i tried your patch and it works like charm. Thanks so much for tackling this build-jabref-from-source thing. I have also tried this before, but gave up very quickly. In the past I used the derivation from 21.11 with a small modification to make the Firefox plugin work. Glad to see, that you already fixed this. Unfortunately,
To make it work again I applied the following change to 77c77
< cmd = str(JABREF_PATH).split() + ["--importBibtex", r"{}".format(data)]
---
> cmd = str(JABREF_PATH).split() + ["--importBibtex", r"'{}'".format(data)] by adding the following line to the sed -i "s/r\"{}\"/r\"'{}'\"/g" $out/opt/jabref/lib/jabrefHost.py At the moment I am not sure which of the two files is the root cause. Unfortunately, I don't have time to investigate this further in the next few days. Nevertheless, I did not want to withhold this from you. Cheers |
I build it again and the hash changed again even with gradle.lockfile. I guess the problem is that snapshot deps are used which are not locked. |
@koschtschei Thanks! I have been confused about why the extension doesn't work for a long time! I implement your fix and it work now! |
@ofborg build jabref |
I removed those test deps including some snapshot. Now there is only one snapshot which has been inactive since 2019. |
Result of 1 package built:
|
d630d04
to
29917d0
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
@ofborg build jabref |
Thanks! |
@SuperSandro2000 could you please try backporting this via label Edit: opened a manual backport PR in any case. |
If you are a maintainer you can add the label yourself. |
Thanks for notifying. I am not a maintainer, but I will notify maintainers with such requests in the future. |
Backport failed for Please cherry-pick the changes locally. git fetch origin release-22.05
git worktree add -d .worktree/backport-162593-to-release-22.05 origin/release-22.05
cd .worktree/backport-162593-to-release-22.05
git checkout -b backport-162593-to-release-22.05
ancref=$(git merge-base 0b683abff06fe55755ea992ba47f2e787081a30f 2df7e1869949e771d7b989fafdc02e1690053f1b)
git cherry-pick -x $ancref..2df7e1869949e771d7b989fafdc02e1690053f1b |
Motivation for this change
JabRef 5.5 crashes
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@Artturin @zoedsoupe @wamserma @Coda-Coda
Closes #130717
Closes #134516