Neohtop packaging

looks good
No description
33 Replies
tulip
tulip7mo ago
hell yeha
Niklas ⚡
Niklas ⚡OP7mo ago
:Ametrine:
tulip
tulip7mo ago
oh dam
Zeglius
Zeglius7mo ago
@tulip🌷 right so how does one include npm in the build env?
tulip
tulip7mo ago
freedesktop sdk extension node22 you can add
sdk-extensions:
- org.freedesktop.Sdk.Extension.node22
sdk-extensions:
- org.freedesktop.Sdk.Extension.node22
then add the stuff to PATH
build-options:
append-path: /usr/lib/sdk/node22/bin
build-options:
append-path: /usr/lib/sdk/node22/bin
both of those at the top level
Zeglius
Zeglius7mo ago
Yeah i think i got stuck
No description
tulip
tulip7mo ago
its some name like that
tulip
tulip7mo ago
No description
tulip
tulip7mo ago
node20 i guess?
Zeglius
Zeglius7mo ago
Kk now seems is building
Noel
Noel7mo ago
I don't really understand the strong aversion to packaging something like this as an RPM if it will be included in the system image. Flatpak sandboxing is also going to be an issue for something like this which would require more work? I'm not saying we can't do it, but I feel like RPM packages still have a place for core pieces of software that are part of the image.
Zeglius
Zeglius7mo ago
Yeah, but if you have a flatpak, it will work anywhere So its not exclusive to rhel
Noel
Noel7mo ago
I get that, but we aren't building non-rpm based images yet?
Zeglius
Zeglius7mo ago
¯\_(ツ)_/¯ The guy has already rpms building in a GHA action So might as well make the flatpak that is missing
Owen
Owen7mo ago
Why am I not seeing this on flathub...?
Noel
Noel7mo ago
Because it doesn't exist. Folks are wanting to package it as a flatpak.
Owen
Owen7mo ago
Aaah, I see Sorry was just skimming this lol, working on the terra rpm
Noel
Noel7mo ago
No worries!
Zeglius
Zeglius7mo ago
@tulip🌷 okay so there is something wrong with npm inside the sandbox its stuck trying to run npm install
No description
Niklas ⚡
Niklas ⚡OP7mo ago
absolute fire
tulip
tulip7mo ago
hell yeah
Zeglius
Zeglius7mo ago
Ok yeah I give up on the flatpak, it was ok when extracting the deb and done I can't see maintaining it at long term
tulip
tulip7mo ago
the documentation is a bit complicated to grasp at first they need to rework it might write some at some point
Zeglius
Zeglius7mo ago
Yeah, plus adding the json schema I swear there was one somewhere
tulip
tulip7mo ago
ugh json dont do it through json is really hard to type out yaml ends up being a lot easier
Zeglius
Zeglius7mo ago
For the yaml
tulip
tulip7mo ago
its a breeze
Zeglius
Zeglius7mo ago
Json schema is cross compatible with yaml
tulip
tulip7mo ago
i think the stuff we put on the yaml file is arbitrary its just the flatpak builder that defines it but huh they really should release the schema
Owen
Owen7mo ago
Merged in Terra
Noel
Noel7mo ago
Thank you!
Owen
Owen7mo ago
No problem:) Might even use this lol, seems neat

Did you find this page helpful?