Commit Graph

107 Commits

Author SHA1 Message Date
DeeDeeG
8fd6ee4a06 Add lsb_release file to "Recommends:" of rpm spec
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.
2022-09-13 13:01:35 -04:00
expeehaa
16c4b54fb7 Replace RPM spec requirement "lsb-core-noarch" with "/usr/bin/lsb_release".
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.
2022-06-24 01:08:51 +02:00
Sadick
41234da15e Merge pull request #13414 from passeride/master
Added context menu for cinnamon desktop enviroment (Linux)
2021-09-03 12:49:17 +03:00
Brenton Horne
8d9b9da671 Update atom.desktop.ini
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.
2021-05-28 18:24:55 +03:00
Sadick
8722495b3c Merge pull request #22015 from mfonville/fixdebiandeps
Update required dependencies for Debian/Ubuntu
2021-05-21 18:55:25 +03:00
mfonville
6f6c14feb4 Add libgbm1
promote libasound to requires
2021-05-20 09:59:59 +02:00
mfonville
faae202469 Add alsa-lib and libX11-xcb.so.1 to rpm spec 2021-05-18 08:30:57 +02:00
mfonville
a0e3d920d7 fix libgcrypt for OpenSUSE 2021-05-17 23:05:35 +02:00
mfonville
8b28eebb0c Update RPM dependencies on new insights
Require gtk3 and libgbm(library), drop their lower dependencies
2021-05-17 23:05:35 +02:00
mfonville
239e4bec19 add parentheses, fix x11-xcb libversion number 2021-05-17 23:05:35 +02:00
mfonville
a107a22403 fix or-statements 2021-05-17 23:05:35 +02:00
mfonville
d4ac2c8a7e Fix RPM dependencies 2021-05-17 23:05:32 +02:00
mfonville
a7bb929949 update required libs 2021-03-09 14:53:32 +01:00
Sadick
f4d832f2e2 Upgrade to electron 9.4.4 (#21777)
* Electron 9.4.4 Upgrade

Co-authored-by: Amin Yahyaabaadi <aminyahyaabadi74@gmail.com>
Co-authored-by: Maarten Fonville <mfonville@users.noreply.github.com>
Co-authored-by: Andrea Bogazzi <andreabogazzi79@gmail.com>
2021-03-05 07:48:45 +03:00
Maarten Fonville
3d5c83be99 Add libxkbfile.so.1 to RPM Requires (#21980) 2021-02-23 07:00:08 +03:00
DeeDeeG
ff1e4f6be4 atom.spec.in: Disable Fedora's shebang lint script (#21964)
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
2021-02-15 06:54:12 +03:00
Maarten Fonville
bc85b5e39f Updated dependencies for trash-handling
According to findings of @DeeDeeG dependencies for trash-handling should be even more limited: https://github.com/atom/atom/issues/21422#issuecomment-703132449 because `ELECTRON_TRASH` variable would otherwise have to be set.
2020-10-04 13:10:18 +02:00
Maarten Fonville
f2be312487 Keep libxkbfile1 dependency
ldd doesn't see libxkbfile1 as dependency, but when typing in the Atom-editor, missing this library spawns an error
2020-10-02 13:22:39 +02:00
Maarten Fonville
d2a60dc242 Add gnome-keyring
`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)
2020-10-02 11:55:57 +02:00
Maarten Fonville
94657fd226 Update control.in
Keep libsecret-1-0 in suggests
2020-10-02 00:38:43 +02:00
Maarten Fonville
63466a8824 Update Debian dependencies, fixes Ubuntu Groovy
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
2020-10-01 23:21:02 +02:00
Mazen Elkashef
d840b89e62 Merge pull request #20856 from DeeDeeG/misc-python3-fixes
Miscellaneous python3-related updates and fixes
2020-07-10 14:01:20 -05:00
Mazen Elkashef
e4b9c1e081 Merge pull request #20716 from DeeDeeG/python-summary
Review/finalize Python approach for mid 2020
2020-06-05 23:19:38 -05:00
DeeDeeG
10811f1158 🔥 Lintian overrides
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.
2020-05-30 10:23:56 -04:00
Descear
4ecfc1c315 Use appFileName instead of appName 2020-05-29 00:52:49 +01:00
Descear
57fe385f77 Use %attr to fix chrome-sandbox 2020-05-29 00:17:11 +01:00
DeeDeeG
9b9547344f deb packaging: Drop python dependency
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.
2020-05-12 00:40:03 -04:00
DeeDeeG
e8b470cc79 Revert "Merge pull request #20406 from zorn-v/patch-1"
This reverts commit 983bcd541a, reversing
changes made to 6f2b863114.
2020-05-12 00:40:03 -04:00
zorn-v
75bad87791 Dummy 2020-03-28 16:54:59 +10:00
zorn-v
09a6af97cf Dummy 2020-03-28 16:54:44 +10:00
zorn-v
7b5945175e Fix .deb install on ubuntu 20.04 2020-02-12 19:49:54 +10:00
Antonio Scandurra
c52399b043 Update policy filename for RPM spec.in 2019-06-20 15:10:05 +02:00
Antonio Scandurra
6dcc0f1f74 Use a different polkit policy name for each Atom channel on Linux
Using the same name would generate an exception when trying to install 
more than one version of Atom at the same time.
2019-06-20 14:29:23 +02:00
Rafael Oleza
f5926fe8f1 Create folder before copying polkit policy file on redhat 2019-05-28 13:03:07 +02:00
Antonio Scandurra
3b5eb5d247 Add policy to prevent asking password more than once on RPM
See 50f73a5 for more details.

Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:59:29 +02:00
Antonio Scandurra
949e53e7f6 Require policykit in RPM distribution
Co-Authored-By: Rafael Oleza <rafeca@github.com>
2019-05-28 11:58:55 +02:00
Antonio Scandurra
50f73a57b7 Add policy to prevent asking password more than once on Debian
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>
2019-05-28 11:53:21 +02:00
Antonio Scandurra
1e87055f6d Require policykit in debian distribution
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>
2019-05-28 11:53:14 +02:00
Landon Abney
3945fd8646 🔥 Remove libcap2
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.
2019-05-17 11:01:41 -07:00
Landon Abney
120b916fd9 🔥 Remove libudev dependency
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.
2019-05-17 10:58:46 -07:00
Landon Abney
fc679a3646 🐛 Replace gconf2 with libgconf-2-4
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.
2019-05-17 10:55:39 -07:00
Rafael Oleza
1a1468b61f Calculate env vars when launching Atom from the desktop 2019-04-11 17:11:07 +02:00
David Wilson
812dcc4bf9 Add libcurl3 and libcurl4 as deps for .deb package 2018-10-25 11:40:33 -07:00
shadow-light
f21dc17769 Fix atom.desktop for some Linux systems
For some linux systems the window manager does not associate atom.desktop with Atom processes unless the class name is in lowercase. See #16791
2018-09-29 21:43:19 +10:00
Ray Foss
42a6d490aa .Desktop SCL compat by setting exec path
based on this zombie PR:
https://github.com/atom/atom/pull/15887
2018-06-13 08:52:22 -05:00
Landon Abney
e86136ffc5 Update to require libgtk-3-0
The new version of Chromium included with Electron 2.0 requires a newer
version of `libgtk` to be installed on the system to run.
2018-05-17 11:23:53 -07:00
David Wilson
2756c65a21 Merge pull request #16812 from atom/ungb-deb-dependency
Add additional dependencies for linux
2018-03-05 10:12:14 -08:00
Bryant Ung
c76bdbe704 Add versions to linux deps 2018-02-22 14:51:54 -08:00
Bryant Ung
deec0dc6b1 Add additional deb dependencies 2018-02-21 11:02:18 -08:00
Evpok Padding
28635194ca 🐧 add StartupWMClass to .desktop for window-app association 2018-02-20 09:55:42 +01:00