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
Librem 5 phone packages #88767
Librem 5 phone packages #88767
Conversation
Please change the commit message of the last commit to |
PR #65361 also mentions |
Already in nixpkgs: https://github.com/NixOS/nixpkgs/blob/6ade57efe37b5a4bc08b36579f771e0629f481cc/pkgs/applications/networking/calls/default.nix . There is a new version 0.1.5 but I think i'll update it in another PR |
I marked this as stale due to inactivity. → More info |
Ouch, I'm sad to see this gone stale. @masipcat, was there anything in here not addressed yet? Or does this mostly need another rebase? |
I think the packages were working fine and the missing bits were in the btw, the package |
I'll be trying to finish up this PR next week. Sorted out mobile-nixos on my pinephone last week, so phosh was my next step :) |
I updated phoc and phosh, but I've been having problems packaging squeekboard. Squeekboard uses cargo through it's meson build, and Cargo.toml is now generated during build time. If I follow correctly, @masipcat's definition used the rust builder to fetch the dependencies, then proceed with the meson build. That now fails because Librem also maintains their own gnome-settings-daemon fork that we'd need to package (it adds some options and drops a few dependencies?). As an aside, it has been a total pain to cross-compile things because the total graph ended up being almost 3k packages. gnome-settings-daemon pulls in a bunch of applications which pull in codecs that haven't been updated since 2002 that need patches to properly cross-compile. |
@archseer I got Squeekboard to build using |
I think these packages should go under the gnome3 namespace. They are very closely related to gnome. And some already have plans to be moved to the gnome infrastructure, while others will probably be moved eventually |
AIUI they are only slightly more related to GNOME than Pantheon is. And we are actually trying to remove everything but gnome-core from the |
Ohh I didn't know that. Well it would be nice if there was a better place to put them rather than misc. Also I think phoc can go in window-managers, its a compositor just like sway which is also there. And phosh would probably be better described as a desktop. |
I guess things like squeekboard could go under applications/mobile, that seems appropriate. Gonna try getting archseer's fork working on my PinePhone. Is there anything that still needs to be done? Been sitting on a branch that builds correctly, but I'm still missing a display manager etc that actually cross-compiles. |
So I was able to get Phosh to start on the latest master (started directly without a display manager), with the changes here. Some notes:
One thing I don't understand is that gnome-session can't seem to find Phosh's session file. At the end of the launch script it tries to run |
I merged your branch into mine, but it's missing this patch: ./0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch. Is it just a revert commit of the one patch? |
Sorry, forgot to add the patch. It's the one I linked in the comment. I have updated my branch. |
@archseer I was able to update squeekboard to 1.12.0, feel free to copy from |
I have rebased my branch against master, now that squeekboard is added into Nixpkgs in #116253. It seems to work fine on my PinePhone. In case you are interested in trying out Purism's patches against GTK which implement mobile-friendly versions of some GTK components/dialogs, you can cherry-pick this commit and replace the system GTK with one that have |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/mobile-nixos-progress-thread/342/65 |
I've rebased my branch again and bumped the versions of Phoc and Phosh. Anything we can do to push this PR forward? |
I guess at this point it would be best if you opened a new PR. |
New PR opened: #121226 |
Thanks, closing in favour of that. And thanks masipcat for getting this off the ground. |
Motivation for this change
Use this amazing applications from Librem on PinePhone running Mobile NixOS
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)Custom:
Closes #72715
Based on PR #57614 from @jtojnar