-
-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
tokodon: init at 22.11.2 #170466
tokodon: init at 22.11.2 #170466
Conversation
pkg-config | ||
]; | ||
|
||
buildInputs = with libsForQt5; [ |
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.
Would it be possible to add this package to pkgs/top-level/qt5-packages.nix
and remove the need for libsForQt5
prefix?
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.
How would that make the libsForQt5
obsolete?
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.
As you can see here https://github.com/NixOS/nixpkgs/blob/350fd0044447ae8712392c6b212a18bdf2433e71/pkgs/development/libraries/signond/default.nix this package is added to pkgs/top-level/qt5-packages.nix
. It's referencing qmake without the libsForQt5 prefix
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.
Is it a native QT application it would be better to go there
5c4fd79
to
1c5b0c8
Compare
If ready for review please squash both commits into one |
5e71f90
to
b893f32
Compare
32f60d4
to
9cb6154
Compare
@ofborg build tokodon |
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.
Running the app from inside nixpkgs-review fails for me but this could depend on my missing local Qt configuration
[nix-shell:~/.cache/nixpkgs-review/pr-170466-2]$ ./results/libsForQt5.tokodon/bin/tokodon
QApplication: invalid style override 'adwaita-dark' passed, ignoring it.
Available styles: Windows, Fusion
Loading any accounts from settings.
Segmentation fault (core dumped)
@ofborg build tokodon |
It's building but doesn't run for me. Maybe someone else could take a look @SuperSandro2000 |
27ed6d1
to
94055c9
Compare
it's failing in a similar way for me on sway. 22.09 is out (this PR is for 22.04). i tried updating for me it takes a good 2 minutes of hanging after "Loading any accounts from settings" until it segfaults. i don't know if that's just how long it takes to coredump, or if maybe it just needs some accounts file for it to work? |
regarding the segfault:
the other 3 threads appear to be event handlers idling in poll or futex_wait. that line in main which calls engine.load(QUrl(QStringLiteral("qrc:/content/ui/main.qml"))); stracing the app, i see no fs request for anything close to |
Updated for the 22.09 release, but the crash still exists. |
i got this further along (maybe all the way?). try adding without these,
these new buildInputs don't actually make that warning go away, but the application does start now and shows me a login page. actually, grepping for so i'm not sure what the deal with that dep is. maybe some input into this package should have specified them as |
For me it still segfaults with these. |
try clearing |
Now I get at least:
I guess we're at a point where we should open issues in their bugtracker, don't you think? |
This commit is artificially built over the end-results of the Nixpkgs PR NixOS#170466 with the package now being built in the way Plasma Mobile Gear packages are built. Main differences: - `mkDerivation` from the Plasma Mobile Gear package set, and related changes (dropping redundant wrapQtAppsHook). - inputs re-ordered and split by usage like sibling packages. The actual work though was by @matthiasbeyer, I only mechanically rehashed the changes. Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
@matthiasbeyer before somewhat rudely force-pushing this on top of this PR, here's the equivalent changes:
|
Do I have to do something, or is this done and I can close this PR? |
Maybe you can create a new PR with the changes mentioned by @samueldr , I would be happy to review :) |
@onny I meant because tokodon is in the plasma mobile gear derivation... so there's no point in keeping this PR, as far as I understand. |
tokodon is there in the srcs.nix file but missing a derivation. I can't find it in master nor staging yet |
Oh, I was waiting for a comment to continue with this. I suppose the 👍 here means it's alright then, right? |
Oh, I was waiting for a comment to continue with this. I suppose the 👍 here means it's alright then, right?
Sure, go ahead!
|
This commit is artificially built over the end-results of the Nixpkgs PR NixOS#170466 with the package now being built in the way Plasma Mobile Gear packages are built. Main differences: - `mkDerivation` from the Plasma Mobile Gear package set, and related changes (dropping redundant wrapQtAppsHook). - inputs re-ordered and split by usage like sibling packages. The actual work though was by @matthiasbeyer, I only mechanically rehashed the changes. Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
This force push:
|
I'm getting following error while trying to build it with nixpkgs-review
|
Right, this was tested on my end with So this is something I didn't know: there is an implicit
Anyway, let's fix it for the actual project page, as listed on their project page. |
This commit is artificially built over the end-results of the Nixpkgs PR NixOS#170466 with the package now being built in the way Plasma Mobile Gear packages are built. Main differences: - `mkDerivation` from the Plasma Mobile Gear package set, and related changes (dropping redundant wrapQtAppsHook). - inputs re-ordered and split by usage like sibling packages. The actual work though was by @matthiasbeyer, I only mechanically rehashed the changes. Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Thank you @samueldr for fixing this! When I try to run
|
Working on it. Explanation is simple: the gear release only has 22.11, this was for 22.11.2. That escaped me initially. |
This commit is artificially built over the end-results of the Nixpkgs PR NixOS#170466 with the package now being built in the way Plasma Mobile Gear packages are built. Main differences: - `mkDerivation` from the Plasma Mobile Gear package set, and related changes (dropping redundant wrapQtAppsHook). - inputs re-ordered and split by usage like sibling packages. The actual work though was by @matthiasbeyer, I only mechanically rehashed the changes. Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Result of 1 package built:
|
Thank you know it worked for me! Thank you @matthiasbeyer and @samueldr |
this hangs and then segfaults at start. i suppose i should `gdb` it.
Description of changes
nix builds some bash script that sets some environment variables before the application is
exec
d. The execution of the application itself then segfaults.If I start the binary directly from the store it works.
Maybe someone with more KDE+nixpkgs knowledge can help me out here?