Neohtop packaging

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

Did you find this page helpful?