|
I had no issue installing (and running) the Compass deb on 20.04 in a Docker container, after installing the dependencies listed in the deb.
There is some weirdness going on here, but I don’t think it’s breaking anything. Specifically, hadron-build and electron-installer-debian both add dependencies on libgconf2.
hadron-build adds “libgconf-2-4”, because of COMPASS-1298 – that was an issue for ancient Electron versions, and if I had to guess I would say we don’t need it anymore.
electron-installer-debian adds “libgconf-2-4 | libgconf2-4”, because it looks at the `version` file in the `dist/...` directory, and uses that as the Electron version. 2. We actually store the Compass version in that file, not the Electron version, so electron-installer-debian thinks that we’re using Electron < 3.0.0 and therefore adds libgconf2 as a dependency (newer Electron versions don’t require it).
So, presumably what we should do is:
- Drop the dependency on libgconf2 in hadron-build altogether, because electron-installer-debian already takes care of that for us
- Change the `dist/.../version` file to contain the Electron version, not the Compass version
But before doing anything, I’d like to check that I’m not misunderstanding the issue here.
|