Actually add this to the rpm spec file, as was originally intended in
https://github.com/atom/atom/pull/25541.
This helps the bug report feature of the "notifications" package
include more system info on Linux systems -- if /usr/bin/lsb_release
is available, it will be called to gether some basic OS info to add to
the bug report info.
Fixes#23560.
lsb-core-noarch pulls in a lot of unnecessary dependencies and shouldn’t be used anymore.
Instead, only actual dependencies (in this case lsb_release) should be required.
Categories shouldn't include GNOME, as that's for GNOME core apps.
MimeType should include all default (i.e., with the default bundled
packages) supported file types for the editor.
Fedora's script tries to coerce all shebangs
to point to exact, system-provided binaries.
For example: `#!/usr/bin/env sh` becomes `#!/usr/bin/sh`.
Starting with Fedora 30, the script errors out when it encounters
ambiguous, versionless `python` in shebangs.
(`python2` and `python3` are allowed.)
For example, this shebang causes an error: `#!/usr/bin/env python`.
---
Disable this script for two reasons:
1) Fedora users should be able to build Atom without errors.
2) Consistent shebangs across builds of Atom on Ubuntu and Fedora.
See: https://github.com/atom/atom/issues/21937 for more details.
Fixes: https://github.com/atom/atom/issues/21937
`gnome-keyring` is necessary to run the secret service itself. A KDE-equivalent is not (yet) available. Without its daemon service, libsecret cannot store any secrets.
Put it in recommends so that it is installed by default (majority of use-cases)
Atom is not install-able on Ubuntu Groovy because of outdated dependencies as described in #21422
This fixes and updates Atom dependencies after investigation with @DeeDeeG
Some dependencies are not required by Electron anymore, some packages are unavailable/outdated and need alternatives
Some dependencies are less strict and can be a suggestion or recommendation. For details see bugreport #21422
These overrides are very outdated.
(Haven't been updated since the day they were added, back in 2014.)
Even with these applied, Lintian still prints many warns/errors.
I think no-one has been running Lintian
against the .deb package for a while now.
Python is only needed for apm --> npm --> node-gyp.
(For building Atom packages that include native C/C++ code.)
The rest of Atom/apm works 100%, even with no Python installed.
With Python 2 soon to be dropped from the Debian/Ubuntu repos,
having a hard dependency on `python` or `python2` is a problem.
None of the other OSes/platforms have an install-time requirement of
having Python on the system, so this is in line with Atom packaging
for the other platforms.
This is a polkit policy that is read when fs-admin invokes `dd` via
`pkexec` after trying to write into a restricted location. By specifying
`auth_admin_keep`, we are telling the polkit daemon to not prompt users
for a password again if they have already escalated privileges recently.
Co-Authored-By: Rafael Oleza <rafeca@github.com>
This is used by fs-admin to invoke `pkexec` and escalate privileges to
write into restricted locations.
Co-Authored-By: Rafael Oleza <rafeca@github.com>
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 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.
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.