This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
Update .deb package dependencies - #19358
Merged
Merged
Conversation
The `gconf2` and `gconf-service` dependencies originally were added in f431bb6 from the WebUpd8 version of the Atom .deb file. It looks like although they seemed to work for the most part, they were likely incorrect originally, and certainly are now. This commit switches these over to the `libgconf-2-4 | libgconf2-4` dependency listed in electron-installer-debian and Chrome.
This is another dependency that came from the old WebUpd8 package in f431bb6, however this one doesn't seem like it was necessary in the first place, or if it wass the `atom` binary no longer requires it.
This was added at the request of a user in #7066 with no reasoning behind it as far as I can tell. Since the current Atom binary doesn't depend on this library it should be removed.
This was referenced May 17, 2019
Contributor
We are now on Electron 3. |
Arcanemagus
force-pushed
the
la/deb-dependencies
branch
from
May 21, 2019 05:46
4073891 to
3945fd8
Compare
Contributor
Author
|
Removed the removal of |
jasonrudolph
approved these changes
May 23, 2019
jasonrudolph
left a comment
Contributor
There was a problem hiding this comment.
@Arcanemagus: I can't claim expertise in Linux dependency management, but I've reviewed the pull request description and diff, and I'm comfortable moving forward with this change if you are. Feel free to merge. 👍
This is still part of the deb package. I guess it can be removed now? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements for Contributing a Bug Fix
Identify the Bug
First reported in atom/ci#90, it seems that we aren't reporting the correct dependencies list in our
.debpackage files.Description of the Change
This PR:
gconf2andgconf-servicedependencies withlibgconf-2-4 (>= 3.2.5) | libgconf2-4webupd8package of Atom at the time, these were likely mistaken attempts at the correct dependency.electron-installer-debianlistslibgconf-2-4 | libgconf2-4, we are using the slightly more restrictive version range from Chrome 64.0.3282.167-1 documented here.libudev0 | libudev1dependencylibcap2dependencyAlternate Designs
The first point there is a mistake that definitely should be requested. The latter two removals of
libudev0 | libudev1andlibcap2could simply be left in though as it's possible some other part requires them.Possible Drawbacks
One of the removed dependencies may actually be required, leading to systems that don't have them installed from some other source having issues running Atom without manual installation of the dependencies first.
Verification Process
I manually ran through the dependencies that would be generated by electron-installer-debian for an Electron 2.x application and came up with the following list:
libgtk-3-0libnotify4libnss3libxss1libxtst6xdg-utilslibgconf-2-4 | libgconf2-4kde-cli-toolskde-runtimetrash-clilibglib2.0-bingvfs-binExcluding the dependencies listed in that for a generic Electron application we are left with:
libcurl3 | libcurl4dugite, see Add libcurl3 and libcurl4 as deps for .deb package #18201gitlibxkbfile1atom-keymap/keyboard-layout, see Add additional dependencies for linux #16812 (comment)libasound2 (>= 1.0.16)libx11-xcb1# From Chrome .deb, see Add additional dependencies for linux #16812 (comment)libgcrypt11 | libgcrypt20pythonAfter reviewing the list of dependencies and making the changes in this PR I ran through the build process manually in an
atom/atom-docker-cibuild instance and got a package with the following dependencies:This has not been tested in a full Debian based linux distribution, only minimal ones within Docker!
Release Notes
N/A