Skip to content
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

arm and aarch releases with statically linked dependencies #623

Closed
Kabouik opened this issue Jun 1, 2020 · 20 comments
Closed

arm and aarch releases with statically linked dependencies #623

Kabouik opened this issue Jun 1, 2020 · 20 comments

Comments

@Kabouik
Copy link
Collaborator

Kabouik commented Jun 1, 2020

Is your feature request related to a problem? Please describe.

I see that there are releases with statically linked dependencies, which can be very convenient on some systems. However there are no arm or aarch releases. Would that be feasible or are there dependencies missing on these architectures?

Describe alternatives you've considered

I've considered building on device, and will look into it if releases with statically linked dependencies cannot be offered in more architectures.

Additional context

I think it would be nice for some single board computers or even mobile phones featuring a hardware keyboard (in my case, F(x)tec Pro¹ running SailfishOS).

@Kabouik Kabouik changed the title arm and aarch releases arm and aarch releases with statically linked dependencies Jun 1, 2020
@jarun
Copy link
Owner

jarun commented Jun 1, 2020

I think cross-compiling for arm and aarch should be possible on CircleCI. But I can't spend time on it. If you are interested, please try it and raise a PR. Otherwise I can add this as a line item.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 1, 2020

Thanks for the quick answer jarun. There's hope then, I was afraid some missing libraries would end the discussion.

I don't know CircleCI. I will have a look at it but I'm not sure how far I can get. You should know that I'm not developer, I just use nnn because I like the kind of workflow it allows.

@jarun
Copy link
Owner

jarun commented Jun 1, 2020

I think you'll have to download the source of the libs and cross-compile them too.

You should know that I'm not developer

In that case it's simpler for you to follow the instructions in the Wiki and compile it locally on your Pi or Android. I will add a line item and close this issue.

@jarun jarun closed this as completed Jun 1, 2020
@jarun jarun mentioned this issue Jun 1, 2020
11 tasks
@jarun
Copy link
Owner

jarun commented Jun 1, 2020

Added as a line item in the ToDo list.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 1, 2020

Thanks. When this is available, if I have you approval, I would be happy to package that into .rpm for easier distribution among Sailfish OS users using the community-driven store. It's a small community but there's a fair share of Linux users among them so I'm sure there would be some people interested in using nnn.

First, I'll try to compile on device in the next few days.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 1, 2020

Well. Turns out we have the two main dependencies in the official repo in SFOS, so I could git clone nnn and compile it directly using make strip install, no need to build libraries first. Static binaries would still be a plus for other OSes if that's not too much work,

@jarun
Copy link
Owner

jarun commented Jun 1, 2020

If I have you approval, I would be happy to package that into .rpm for easier distribution among Sailfish OS users using the community-driven store.

Of course! We are happy to have nnn available for users as easily as possible.

I could git clone nnn and compile it directly using make strip install, no need to build libraries first.

That's good news. I think even on Alpine it's pretty straight. My point was on cross-compiling. I am not sure if CircleCi provides distro images with arm or arch architecture.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 2, 2020

You summarized nnn as "The missing terminal file manager for X" in your .yaml file as well as on the Github summary at the top. Is this reference to X still valid? nnn works fine on a pure Wayland system too, no (or maybe there's just something I didn't get). I'm asking because I am writing the .spec file for the rpm packaging for SFOS.

@jarun
Copy link
Owner

jarun commented Jun 2, 2020

When we started there was X. Just live with it. ;)

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 2, 2020

Thanks, I was just curious!

@jarun
Copy link
Owner

jarun commented Jun 2, 2020

No problem! You are not the first one to ask. But I do enjoy the satire in the tagline.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 2, 2020

For reference: https://openrepos.net/content/kabouik/nnn

Now I'm wondering which plugins would work on SFOS. Sadly I don't think we have any terminal supporting sixel for image preview.

@jarun
Copy link
Owner

jarun commented Jun 3, 2020

viu would be it. But in general we do not suggest shipping plugins because they have third-party dependencies themselves. The best option is for the user to download and setup.

@Kabouik
Copy link
Collaborator Author

Kabouik commented Jun 3, 2020

I'll look into viu, thanks. I totally agree, I won't ship plugins with the package.

@jarun
Copy link
Owner

jarun commented Jun 3, 2020

Can you please add it here along with the unlisted ones (expand to see them): https://github.com/jarun/nnn/wiki/Usage#from-a-package-manager

Alternatively, you can consider adding SailfishOS to repology.

@jarun
Copy link
Owner

jarun commented Jun 3, 2020

I have updated the listing to alphabetical order. Also removed the reference to the app because users are supposed to know the package manager app on the distro they use.

@jarun jarun mentioned this issue Jun 3, 2020
7 tasks
@githububub
Copy link

Raspbian Stable users will appreciate this (last I checked a few weeks back, nnn from the official repos was at 2.x)...

@jarun
Copy link
Owner

jarun commented Jun 18, 2020

Guys, we have a line item in ToDo list and no one is picking it up. Does that ring a bell?

I don't need it because I can compile directly on my boards and phone. Please refrain from leaving notes about something that's already added as a line item. I have to read hundreds of mails/comments in the morning and if I can save 2 minutes not re-reading known stuff that helps.

@jarun
Copy link
Owner

jarun commented Jun 18, 2020

(last I checked a few weeks back, nnn from the official repos was at 2.x)...

Did you check Raspbian Testing version on repology? It's on 3.2. Why do I have to look that up for you and leave a note so the next reader doesn't get wrong info?

@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2020
@jarun
Copy link
Owner

jarun commented Jun 6, 2021

The latest releases have moved to OBS and we generate both arm and aarch binaries. If you need anything extra there, please pitch in without any further notes. ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants