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
libdeltachat: init at 1.54.0 #121151
libdeltachat: init at 1.54.0 #121151
Conversation
bb925b3
to
59bd3ad
Compare
What does it mean? It does not start or you did not figure out how to use it? There is a menu for account manager where you can create an account, KDE frameworks other than kirigami are not needed. |
Never mind. I just didn't know how to set up an account. What's not working is seeing messages sent from KDeltaChat on the phone, but I guess you haven't implemented that yet? |
59bd3ad
to
ff31887
Compare
Also, hitting Ctrl+Q results in
|
ff31887
to
95ffa91
Compare
Yes, there is no BCC-self setting on the Settings page yet. But overall, KDeltaChat is pre-alpha, there are many things missing and it sometimes segfaults on exit probably due to deltachat/deltachat-core-rust#2280 |
369f3bc
to
fcc23c4
Compare
homepage = "https://github.com/deltachat/deltachat-core-rust/"; | ||
changelog = "https://github.com/deltachat/deltachat-core-rust/blob/${version}/CHANGELOG.md"; | ||
license = licenses.mpl20; | ||
maintainers = with maintainers; [ dotlambda ]; |
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.
maintainers = with maintainers; [ dotlambda ]; | |
maintainers = with maintainers; [ dotlambda ]; | |
# darwin fails with: | |
# error: failed to add native library /private/tmp/nix-build-libdeltachat-1.52.0.drv-0/source/target/release/build/libsqlite3-sys-e85b24d5407a705c/out/libsqlite3.a: file too small to be an archive | |
broken = stdenv.isDarwin; |
feel free to short the error message.
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.
@SuperSandro2000 Can you try again?
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 didn't build it myself. Ofborg did it for me. My builder is currently very flaky and I don't know why so lets wait a bit for ofborg.
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 ended up setting platforms = platforms.linux
. If someone wants to use it on macOS, feel free to contribute a patch.
I have no clue how to test whether it's actually using the system libraries. |
@ofborg build python3.pkgs.deltachat python39.pkgs.deltachat |
I think you are still using vendored OpenSSL. Patch This will be fixed in the next version, |
1be684e
to
809f461
Compare
I can confirm that system-wide OpenSSL is used now:
But it doesn't look like SQLite is. |
@dotlambda I have just fixed vendoring on the Could you try commit deltachat/deltachat-core-rust@8e9d8ae without any patches? If this works, I think it's easier to wait until the next release, it will be made after deltachat/deltachat-core-rust#2384 is merged. |
Nice, it works perfectly:
Thank you so much for looking into this!
That's what I'll do. |
809f461
to
af564c4
Compare
@dotlambda The lastest version tagged 1.54.0 is released: https://github.com/deltachat/deltachat-core-rust/tree/1.54.0 |
af564c4
to
250cdec
Compare
250cdec
to
3a0df77
Compare
I pushed a commit that adds setting that you need to enable: https://git.sr.ht/~link2xt/kdeltachat/commit/6989af9c746a054dabe24af1210736f464099793 |
3a0df77
to
8a6ad02
Compare
cargoDeps = rustPlatform.fetchCargoTarball { | ||
inherit src; | ||
name = "${pname}-${version}"; | ||
sha256 = "1p5yrhczp9nfijbvkmkmx1rabk5k3c1ni4k1vc0mw4jgl26lslcm"; | ||
}; |
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.
just curious as to why rustPlatform.buildRustPackage
wasn't used since, it looks like you're running most of the logic.
And maybe just comment as to why buildRustPackage
isn't suitable if there is a good reason :)
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.
Cause I'm using CMake. Using buildRustPackage
leads to an empty output though I guess I could do make
and make install
in postBuild
and installPhase
. I don't see any advantage of that though.
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.
@jonringer Do you know of an easier way?
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.
Ah, I missed that. No, the way that you did it makes sense then :)
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)I could not try KDeltaChat because the interface was unusable for me. Might be that I need to run KDE to test it.