Neohtop packaging

looks good
No description
33 Replies
tulip🌷
tulip🌷2mo ago
hell yeha
Niklas ⚡
Niklas ⚡OP2mo ago
:Ametrine:
tulip🌷
tulip🌷2mo ago
oh dam
Zeglius
Zeglius2mo ago
@tulip🌷 right so how does one include npm in the build env?
tulip🌷
tulip🌷2mo 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
Zeglius2mo ago
Yeah i think i got stuck
No description
tulip🌷
tulip🌷2mo ago
its some name like that
tulip🌷
tulip🌷2mo ago
No description
tulip🌷
tulip🌷2mo ago
node20 i guess?
Zeglius
Zeglius2mo ago
Kk now seems is building
Noel
Noel2mo 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
Zeglius2mo ago
Yeah, but if you have a flatpak, it will work anywhere So its not exclusive to rhel
Noel
Noel2mo ago
I get that, but we aren't building non-rpm based images yet?
Zeglius
Zeglius2mo ago
¯\_(ツ)_/¯ The guy has already rpms building in a GHA action So might as well make the flatpak that is missing
Owen
Owen2mo ago
Why am I not seeing this on flathub...?
Noel
Noel2mo ago
Because it doesn't exist. Folks are wanting to package it as a flatpak.
Owen
Owen2mo ago
Aaah, I see Sorry was just skimming this lol, working on the terra rpm
Noel
Noel2mo ago
No worries!
Zeglius
Zeglius2mo ago
@tulip🌷 okay so there is something wrong with npm inside the sandbox its stuck trying to run npm install
No description
Niklas ⚡
Niklas ⚡OP2mo ago
absolute fire
tulip🌷
tulip🌷2mo ago
hell yeah
Zeglius
Zeglius2mo 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🌷
tulip🌷2mo ago
the documentation is a bit complicated to grasp at first they need to rework it might write some at some point
Zeglius
Zeglius2mo ago
Yeah, plus adding the json schema I swear there was one somewhere
tulip🌷
tulip🌷2mo ago
ugh json dont do it through json is really hard to type out yaml ends up being a lot easier
Zeglius
Zeglius2mo ago
For the yaml
tulip🌷
tulip🌷2mo ago
its a breeze
Zeglius
Zeglius2mo ago
Json schema is cross compatible with yaml
tulip🌷
tulip🌷2mo 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
Owen2mo ago
Merged in Terra
Noel
Noel2mo ago
Thank you!
Owen
Owen2mo ago
No problem:) Might even use this lol, seems neat

Did you find this page helpful?