Repository navigation
Add additional dependencies for linux - #16812
Conversation
|
Any idea what changes caused these dependencies to be needed? |
|
I think they have always been needed, it's just they are installed by default in most Desktop distributions. I can confirm from building a minimal install for CI purposes that Note that this fixes: |
|
Ah, looks like I'm getting |
|
Note that this is the list from the Chrome 64.0.3282.167-1 Note that it includes the following: Since Atom runs on Electron, which is based on Chrome, I'd say that's a pretty good indicator that these are needed 😉. Edit: |
|
Thanks a lot for all the background details! This all sounds great to me and the changes look fine. |
|
| Package: <%= appFileName %> | ||
| Version: <%= version %> | ||
| Depends: git, gconf2, gconf-service, libgtk2.0-0, libudev0 | libudev1, libgcrypt11 | libgcrypt20, libnotify4, libxtst6, libnss3, python, gvfs-bin, xdg-utils, libcap2 | ||
| Depends: git, gconf2, gconf-service, libgtk2.0-0, libudev0 | libudev1, libgcrypt11 | libgcrypt20, libnotify4, libxtst6, libnss3, python, gvfs-bin, xdg-utils, libcap2, libx11-xcb1, libxss1, libasound2, libxkbfile1 |
There was a problem hiding this comment.
I would change the libasound2 dependency to have the same minimum version as the Chrome package: libasound2 (>= 1.0.16).
There was a problem hiding this comment.
On that note, you may want to add a minimum version to the following:
libnss3->libnss3 (>= 2:3.22)
|
I've made the changes requested. Probably won't have much more time this week to test this. I didn't see any issues on ubuntu stock when testing on there, but of course, these deps are already on the system. I wanted to test this on the docker scenario but didn't know how to put the This isn't super urgent but I'll try to get around to it next week. |
|
You can test it locally using COPY in the Dockerfile (or by firing up a minimal VM 😆). |
|
Looks like Travis is having some network issues. Thanks for getting this put up btw! |
|
Restarting the TravisCI build to see if we can get this merged :) |
atom/atom#16812 landed on stable, so `libxss1 libx11-xcb1 libasound2` can be removed
From @Arcanemagus:
Note that this fixes:
#4114 (Supposedly fixed in f431bb6, but at minimum libasound2 was reported there but missed)
#13591 (Unstated, but supposedly an Ubuntu 16.04 install of some sort)
#16659 (Some minimal Ubuntu base image)
/cc @Arcanemagus