Commit Graph

226 Commits

Author SHA1 Message Date
Sai
1601f9d708 Update resources/win/atom.sh
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
2020-10-14 11:07:46 +01:00
Sai
f739f36efd Fix WSL uname test
On WSL2, Ubuntu 20.04.1, `uname -r` == `4.19.128-microsoft-standard`, so it won't match `/Microsoft$/` because both wrong case and non-final.

I've changed it to use a simple regex.
2020-10-07 18:42:59 +01: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
Mazen Elkashef
983bcd541a Merge pull request #20406 from zorn-v/patch-1
Fix .deb install on ubuntu 20.04
2020-04-02 15:19:32 -05: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
Mazen El-Kashef
4139da8008 remove unnecessary entitlements 2020-03-02 20:24:07 -05:00
Mazen El-Kashef
fd3bce93c6 update entitlements 2020-03-02 20:18:20 -05:00
Mazen El-Kashef
4f231cf0a3 cleaning up 2020-02-27 23:15:45 -05:00
Mazen El-Kashef
a534190de7 Double check the version of mac and xcode 2020-02-25 02:00:17 -05:00
Mazen El-Kashef
056dafd45f Try other entitlements to attempt starting the app 2020-02-25 01:27:08 -05:00
Mazen El-Kashef
58e9bcd6d4 add code signing using osx-sign 2020-02-24 20:18:52 -05:00
zorn-v
7b5945175e Fix .deb install on ubuntu 20.04 2020-02-12 19:49:54 +10:00
Mazen El-Kashef
e897ae2007 revert notarization 2020-02-07 15:08:55 -05:00
Mazen El-Kashef
b718e602ad Fix startup issue after notarization 2020-01-24 09:58:27 -05:00
Mazen El-Kashef
cd24d51ee1 Try to make the app work with minimum entitlements 2020-01-24 07:29:10 -05:00
Mazen El-Kashef
de0407baba Attempt fix by adding more entitlements 2020-01-24 06:09:29 -05:00
Mazen El-Kashef
135e64f9e2 Remove entitlement allow-jit and Downgrade CI to MacOS 10.13 2020-01-24 05:10:22 -05:00
Mazen El-Kashef
f6108fd31d Enable hardend runtime for code-signing on mac 2020-01-24 01:58:53 -05:00
Rafael Oleza
b6644dfad8 Merge branch 'master' into dw-windows-separate-channels 2019-06-25 15:49:34 +02: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
79f6836349 Merge commit '1d9a4cafcf6cc288d675512db8fd984e13aab869' into dw-windows-separate-channels 2019-06-01 00:28:37 +02:00
Rafael Oleza
975f203dc7 Merge commit '677bbb7f0b8754787ff9e7bfab4602ba82e13b0b' into dw-windows-separate-channels 2019-06-01 00:27:52 +02:00
Rafael Oleza
7f3f040628 Reformat all JS files using prettier 2019-05-31 18:33:56 +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
6eff118c52 Do not use arguments as variable name 2019-05-13 17:48:11 +02:00
Rafael Oleza
1a1468b61f Calculate env vars when launching Atom from the desktop 2019-04-11 17:11:07 +02:00
Ash Wilson
04685d13fe Port changes to atom.cmd to show conflicting option error on win32 2019-03-27 08:35:31 -04:00
David Wilson
02e97b9830 Enable dark mode title bar in macOS Mojave
Fixes #18111
2019-01-29 13:36:08 -08: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