Help needed on packaging Portmaster #264454

I’m a bit busy, so I can’t exactly do this right now, so I’m searching for help that can help finish this up and put it in the mergeable state and maybe get the GUI working as well (could be done in a separate PR as well, though)

1 Like

I’m currently using portmaster, and I’d like to help.

What needs to be done to get it mergeable?

1 Like

I’d be willing to help. :wave:

i’m also willing to help, what’s still required to get the GUI working?
i tested your package a few weeks ago and it seemed like filter lists were also not updating (apparently they are supposed to be loaded at install time)

GUI, testing, and also just more work in general to make it more idiomatic.
Maybe a temporary Discord server (or Matrix channel would be in order for faster communication?)

Bumping this, can anyone help?

Sorry for taking so long to respond

I do still want to help, but don’t I really know where to start for any of your points.

I’m currently using a local branch of nixpkgs, with your and sntx’s commits rebased on upstream nixos-unstable.

When I run portmaster-start app, this error repeats:

[pmstart] starting /var/lib/portmaster/updates/linux_amd64/app/portmaster-app_v0-2-8/portmaster-app_v0-2-8 --data /var/lib/portmaster --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
Could not start dynamically linked executable: /var/lib/portmaster/updates/linux_amd64/app/portmaster-app_v0-2-8/portmaster-app_v0-2-8
NixOS cannot run dynamically linked executables intended for generic
linux environments out of the box. For more information, see:
https://nix.dev/permalink/stub-ld

While writing this, I just realized that this is because while portmaster-start is nix-compiled, and therefore static, It downloads the core and app, etc, which are not.
Would ‘more idiomatic’ include compiling everything with nix?

I was just looking around, and as of ~6 months ago, they now have basic build instructions in the Readme. Would we follow those?

my nixpkgs repo

Sidenote: a while ago, after the update to 1.6.23 I think, all the settings pages in the UI get stuck on infinite loading. Any ideas?
I just downgraded to 1.6.10, and ran it with a different data dir, pages still not loading.

Yeah, I’m stuck. I think it’ll be a lot of trial and error, you can fork my branch and lmk if you get any progress (also incorporating the review feedback in the pr would be nice)

i sent a link to this thread on the safing discord, perhaps they can assist.