Neohtop packaging

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

Did you find this page helpful?