GNU bug report logs - #36551
[META] Run Guix System on Purism Librem 5

Previous Next

Package: guix;

Reported by: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>

Date: Mon, 8 Jul 2019 15:17:02 UTC

Severity: normal

To reply to this bug, email your comments to 36551 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 08 Jul 2019 15:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jonathan Brielmaier <jonathan.brielmaier <at> web.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 08 Jul 2019 15:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: bug-guix <at> gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Mon, 8 Jul 2019 17:16:33 +0200
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.




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Thu, 11 Jul 2019 13:59:02 GMT) Full text and rfc822 format available.

Message #8 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Thu, 11 Jul 2019 15:58:42 +0200
Another missing package:

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




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 15 Jul 2019 17:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Mon, 15 Jul 2019 18:59:17 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 26 Aug 2019 13:32:02 GMT) Full text and rfc822 format available.

Message #14 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Mon, 26 Aug 2019 15:31:11 +0200
libhandy is already in master since commit 213315d485:
https://issues.guix.gnu.org/issue/36926




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 09 Dec 2019 10:54:02 GMT) Full text and rfc822 format available.

Message #17 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Mon, 9 Dec 2019 11:53:38 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 03 Feb 2020 12:43:02 GMT) Full text and rfc822 format available.

Message #20 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Mon, 3 Feb 2020 13:42:25 +0100
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




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 10 Feb 2020 17:52:01 GMT) Full text and rfc822 format available.

Message #23 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jesse Gibbons <jgibbons2357 <at> gmail.com>
To: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>, 36551 <at> debbugs.gnu.org
Subject: Re: bug#36551: [META] Run Guix System on Purism Librem 5
Date: Mon, 10 Feb 2020 10:51:31 -0700
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!





Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Mon, 10 Feb 2020 18:15:01 GMT) Full text and rfc822 format available.

Message #26 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: Jesse Gibbons <jgibbons2357 <at> gmail.com>, 36551 <at> debbugs.gnu.org
Subject: Re: bug#36551: [META] Run Guix System on Purism Librem 5
Date: Mon, 10 Feb 2020 19:14:49 +0100
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.




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Sun, 05 Jul 2020 23:33:02 GMT) Full text and rfc822 format available.

Message #29 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: Re: bug#36551: [META] Run Guix System on Purism Librem 5
Date: Mon, 6 Jul 2020 01:31:55 +0200
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...




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Tue, 29 Sep 2020 07:11:02 GMT) Full text and rfc822 format available.

Message #32 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
To: 36551 <at> debbugs.gnu.org
Subject: [META] Run Guix System on Purism Librem 5
Date: Tue, 29 Sep 2020 09:09:45 +0200
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.




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Wed, 17 Nov 2021 13:47:02 GMT) Full text and rfc822 format available.

Message #35 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "36551 <at> debbugs.gnu.org" <36551 <at> debbugs.gnu.org>
Subject: Waydroid
Date: Wed, 17 Nov 2021 13:46:23 +0000
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




Information forwarded to bug-guix <at> gnu.org:
bug#36551; Package guix. (Thu, 31 Mar 2022 15:10:02 GMT) Full text and rfc822 format available.

Message #38 received at 36551 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 36551 <at> debbugs.gnu.org
Date: Thu, 31 Mar 2022 11:08:51 -0400
Hi,

I have a patch open for sxmo-st from January 17:

https://issues.guix.gnu.org/53312

It is the simple terminal used on the sxmo pinephone distro:

https://sxmo.org

I have the other packages from the sxmo suite packaged here:

https://git.sr.ht/~whereiseveryone/guixrus/tree/master/item/guixrus/packages/suckless.scm#L207

I can send them all if there is interest in merging them upstream.

all best,

jgart

https://whereis.みんな/
gemini://whereis.みんな/




This bug report was last modified 3 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.