unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#36551: [META] Run Guix System on Purism Librem 5
@ 2019-07-08 15:16 Jonathan Brielmaier
  2019-07-11 13:58 ` Jonathan Brielmaier
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2019-07-08 15:16 UTC (permalink / raw)
  To: 36551

This is a meta/tracker bug to track what needs to be done and what is
already done, to run Guix system on the Purism Librem 5 phone.
https://puri.sm/products/librem-5/

The Librem 5 will be shipped with a mobile optimized GNOME based on
PureOS which is based on Debian, but contains only free software :)

As the phone and the software is still in heavy development, we don't
know yet what exactly is required to have a proper "phone" experience.

Hardware spec:
SoC: NXP iMX8M Quad Core
arch: aarch64
storage: 32GB eMMC
For more details see: https://shop.puri.sm/shop/librem-5/

GNOME and it's packages should be on the newest versions, as they could
contain fixes and improvements for a mobile UI (responsive).

The following packages are still missing in Guix or may need adjustments.

Kernel/boot:
- kernel: At the moment there are surely patches on top of linux-vanilla
  required, but Purism pushes hard to upstream those. So maybe no
special  is required when the phones ship.
- u-boot-imx: U-Boot for iMX, they have still patches on top of
  https://source.codeaurora.org/external/imx/uboot-imx

Core libraries:
- libhandy: provides responsive UI stuff for GTK, may becoming
dependency of some GNOME packages https://source.puri.sm/Librem5  /libhandy
- phosh: Wayland shell (prototype) for GNOME on mobile devices:
  https://source.puri.sm/Librem5/phosh

Leaf packages:
- calls: App for calling, backend ModemManager or oFono
  https://source.puri.sm/Librem5/calls
- chatty: App for SMS and XMPP messaging:
  https://source.puri.sm/Librem5/chatty
- epiphany/GNOME Web: They have some patches for mobile UI:
  https://source.puri.sm/Librem5/epiphany
- gnome-contacts: Missing in Guix, they have a phone-focused fork:
  https://source.puri.sm/Librem5/gnome-contacts

Feel free to add comments, other bugs which are related or relevant
links etc.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
@ 2019-07-11 13:58 ` Jonathan Brielmaier
  2019-07-15 16:59 ` Jonathan Brielmaier
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2019-07-11 13:58 UTC (permalink / raw)
  To: 36551

Another missing package:

- squeekboard: virtual keyboard supporting Wayland
  https://source.puri.sm/Librem5/squeekboard

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
  2019-07-11 13:58 ` Jonathan Brielmaier
@ 2019-07-15 16:59 ` Jonathan Brielmaier
  2019-08-26 13:31 ` Jonathan Brielmaier
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2019-07-15 16:59 UTC (permalink / raw)
  To: 36551

Missing dependencies of chatty:
Required:
- purple-mm-sms: https://source.puri.sm/Librem5/purple-mm-sms
- carbons: https://github.com/gkdr/carbons
Optional:
- lurch: https://github.com/gkdr/lurch
- purple-matrix: https://github.com/matrix-org/purple-matrix

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
  2019-07-11 13:58 ` Jonathan Brielmaier
  2019-07-15 16:59 ` Jonathan Brielmaier
@ 2019-08-26 13:31 ` Jonathan Brielmaier
  2019-12-09 10:53 ` Jonathan Brielmaier
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2019-08-26 13:31 UTC (permalink / raw)
  To: 36551

libhandy is already in master since commit 213315d485:
https://issues.guix.gnu.org/issue/36926

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
                   ` (2 preceding siblings ...)
  2019-08-26 13:31 ` Jonathan Brielmaier
@ 2019-12-09 10:53 ` Jonathan Brielmaier
  2020-02-03 12:42 ` Jonathan Brielmaier
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2019-12-09 10:53 UTC (permalink / raw)
  To: 36551

Further "audio" packages:
- wys, daemon for PulseAudio loopbacks for phone calls:
https://source.puri.sm/Librem5/wys
- haegtesse, daemon for audio between modem and PulseAudio. Seems to
only be used on the developer board:
https://source.puri.sm/Librem5/haegtesse
- sound-theme-librem5: https://source.puri.sm/Librem5/sound-theme-librem5

Core:
- phoc, wlroots based phone compositor https://source.puri.sm/Librem5/phoc

Leaf packages:
- kgx (King's cross), a simple terminal:
https://gitlab.gnome.org/ZanderBrown/kgx

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
                   ` (3 preceding siblings ...)
  2019-12-09 10:53 ` Jonathan Brielmaier
@ 2020-02-03 12:42 ` Jonathan Brielmaier
  2020-02-10 17:51   ` Jesse Gibbons
  2020-09-29  7:09 ` Jonathan Brielmaier
  2021-11-17 13:46 ` bug#36551: Waydroid phodina via Bug reports for GNU Guix
  6 siblings, 1 reply; 11+ messages in thread
From: Jonathan Brielmaier @ 2020-02-03 12:42 UTC (permalink / raw)
  To: 36551

On the Guix days there was a session about running Guix on mobile
phones. The notes will be published somewhere else. Don't know when and
where yet.

Patch for chatty:
http://issues.guix.gnu.org/issue/39312

On my personal (dirty) wip-librem5 branch on Gitlab.com is additionally
software for the Librem5:
https://gitlab.com/jonsger/Guix/commits/wip-librem5
phoc: successful build, somehow working
phosh: successful build but not yet running
purple-mm-sms: successful build, don't know if it's working as I lack
modem for testing
calls: not yet pushed, depends on updates (meson) who are not yet in
master, but on core-updates

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2020-02-03 12:42 ` Jonathan Brielmaier
@ 2020-02-10 17:51   ` Jesse Gibbons
  2020-02-10 18:14     ` Jonathan Brielmaier
  2020-07-05 23:31     ` Jonathan Brielmaier
  0 siblings, 2 replies; 11+ messages in thread
From: Jesse Gibbons @ 2020-02-10 17:51 UTC (permalink / raw)
  To: Jonathan Brielmaier, 36551

Hi Jonathan
On Mon, 2020-02-03 at 13:42 +0100, Jonathan Brielmaier wrote:
> On the Guix days there was a session about running Guix on mobile
> phones. The notes will be published somewhere else. Don't know when
> and
> where yet.
I too hope guix system can work on L5, but it looks like guix system
itself has a long way to go. IIRC, L5 is aarch64, and there are
problems running guix (package manager) on aarch64. If L5 is armhf
that's possibly a little better, but it still needs a lot of work.
> 
> Patch for chatty:
> http://issues.guix.gnu.org/issue/39312
> 
> On my personal (dirty) wip-librem5 branch on Gitlab.com is
> additionally
> software for the Librem5:
> https://gitlab.com/jonsger/Guix/commits/wip-librem5
Thanks for doing this!
> phoc: successful build, somehow working
> phosh: successful build but not yet running
> purple-mm-sms: successful build, don't know if it's working as I lack
> modem for testing
I think I saw somewhere in the purism docs how to emulate a modem for
testing. I'll send a link if I find it, or you can ask in their matrix
rooms.
> calls: not yet pushed, depends on updates (meson) who are not yet in
> master, but on core-updates
If you use this branch as a channel, you can take the necessary meson
updates and dependencies from core-updates to test things. Just make
sure you're prepared to rebuild the world.

Another thing to consider is the bootloader. Last I checked the librem
5 u-boot still isn't available in the current u-boot packages.

Thanks again for working on this!

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2020-02-10 17:51   ` Jesse Gibbons
@ 2020-02-10 18:14     ` Jonathan Brielmaier
  2020-07-05 23:31     ` Jonathan Brielmaier
  1 sibling, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2020-02-10 18:14 UTC (permalink / raw)
  To: Jesse Gibbons, 36551

On 10.02.20 18:51, Jesse Gibbons wrote:
> I too hope guix system can work on L5, but it looks like guix system
> itself has a long way to go. IIRC, L5 is aarch64, and there are
> problems running guix (package manager) on aarch64. If L5 is armhf
> that's possibly a little better, but it still needs a lot of work.

The Librem5 is aarch64 based. I think you mixed something here. aarch64
runs fine with Guix, armhf has some problems with Guile 3.0 ATM. So I
don't think the way is so long.

>> phoc: successful build, somehow working
>> phosh: successful build but not yet running
>> purple-mm-sms: successful build, don't know if it's working as I lack
>> modem for testing
> I think I saw somewhere in the purism docs how to emulate a modem for
> testing. I'll send a link if I find it, or you can ask in their matrix
> rooms.

Oh that is interesting. My laptop has a 3G modem (Ericsson N5321). I'll
try to test stuff with it. But I'm not sure if it supports SMS and calls
at all.

>> calls: not yet pushed, depends on updates (meson) who are not yet in
>> master, but on core-updates
> If you use this branch as a channel, you can take the necessary meson
> updates and dependencies from core-updates to test things. Just make
> sure you're prepared to rebuild the world.

I know, but I guess I'll just wait. As the phones will likely ship in
July, I have no real time pressure :P

> Another thing to consider is the bootloader. Last I checked the librem
> 5 u-boot still isn't available in the current u-boot packages.

I'm aware of that. We probably need a "custom" u-boot package for the
Librem 5.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2020-02-10 17:51   ` Jesse Gibbons
  2020-02-10 18:14     ` Jonathan Brielmaier
@ 2020-07-05 23:31     ` Jonathan Brielmaier
  1 sibling, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2020-07-05 23:31 UTC (permalink / raw)
  To: 36551

chatty was merged as d26186232ed4c753db73c6a0d2c623d2816e721d in June 2020.

phoc and phosh are still bitrotting in a not really functional state in
my personal repo. I need to revive that...




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: [META] Run Guix System on Purism Librem 5
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
                   ` (4 preceding siblings ...)
  2020-02-03 12:42 ` Jonathan Brielmaier
@ 2020-09-29  7:09 ` Jonathan Brielmaier
  2021-11-17 13:46 ` bug#36551: Waydroid phodina via Bug reports for GNU Guix
  6 siblings, 0 replies; 11+ messages in thread
From: Jonathan Brielmaier @ 2020-09-29  7:09 UTC (permalink / raw)
  To: 36551

Eric already worked on Anbox:
https://notabug.org/bavier/guix-bavier/src/master/bavier/packages/android.scm
It still needs some work to get upstream.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#36551: Waydroid
  2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
                   ` (5 preceding siblings ...)
  2020-09-29  7:09 ` Jonathan Brielmaier
@ 2021-11-17 13:46 ` phodina via Bug reports for GNU Guix
  6 siblings, 0 replies; 11+ messages in thread
From: phodina via Bug reports for GNU Guix @ 2021-11-17 13:46 UTC (permalink / raw)
  To: 36551

Hi,

there's a new alternative to Anbox [1]. I've created patches that aim to bring the support [2].

Cheers
Petr

[1]: https://waydro.id/
[2]: http://issues.guix.gnu.org/51737




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-11-17 13:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 15:16 bug#36551: [META] Run Guix System on Purism Librem 5 Jonathan Brielmaier
2019-07-11 13:58 ` Jonathan Brielmaier
2019-07-15 16:59 ` Jonathan Brielmaier
2019-08-26 13:31 ` Jonathan Brielmaier
2019-12-09 10:53 ` Jonathan Brielmaier
2020-02-03 12:42 ` Jonathan Brielmaier
2020-02-10 17:51   ` Jesse Gibbons
2020-02-10 18:14     ` Jonathan Brielmaier
2020-07-05 23:31     ` Jonathan Brielmaier
2020-09-29  7:09 ` Jonathan Brielmaier
2021-11-17 13:46 ` bug#36551: Waydroid phodina via Bug reports for GNU Guix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).