diff --git a/atom/0001-do-not-check-node-version.patch b/atom/0001-do-not-check-node-version.patch deleted file mode 100644 index 60495a2..0000000 --- a/atom/0001-do-not-check-node-version.patch +++ /dev/null @@ -1,29 +0,0 @@ -*** a/verify-machine-requirements.js Mon May 15 19:46:51 2017 ---- b/verify-machine-requirements.js Sun May 21 17:38:05 2017 -*************** -*** 7,30 **** - const CONFIG = require('../config') - - module.exports = function () { -- verifyNode() - verifyNpm() - if (process.platform === 'win32') { - verifyPython() - } - } - -- function verifyNode () { -- const fullVersion = process.versions.node -- const majorVersion = fullVersion.split('.')[0] -- if (majorVersion >= 4 && majorVersion < 7) { -- console.log(`Node:\tv${fullVersion}`) -- } else if (majorVersion >= 7) { -- throw new Error(`Atom does not build properly on node v7+. node v${fullVersion} is installed.`) -- } else { -- throw new Error(`node v4+ is required to build Atom. node v${fullVersion} is installed.`) -- } -- } - - function verifyNpm () { - const stdout = childProcess.execFileSync(CONFIG.getNpmBinPath(), ['--version'], {env: process.env}) ---- 7,18 ---- diff --git a/atom/PKGBUILD b/atom/PKGBUILD index c1243a5..a146e65 100644 --- a/atom/PKGBUILD +++ b/atom/PKGBUILD @@ -1,5 +1,5 @@ pkgname=atom -pkgver=1.23.1 +pkgver=1.23.2 pkgrel=1 pkgdesc='A hackable text editor for the 21st Century' arch=('x86_64') @@ -11,8 +11,8 @@ options=(!emptydirs) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/atom/archive/v${pkgver}.tar.gz" 'fix-license-path.patch' 'fix-restart.patch') -sha256sums=('56147093f1b8fd98e1cdf9671888694b732ed6b83f7641c199ddbc54df76544f' - 'e9df53a60c1d27d7adf9d6b8d6eb2d3462967875e3a21b672f2cc8fbbefeec0c' +sha256sums=('d814b179cdd816faf832ef4da2e4b5deaa03c3ad9b22291972f72837bde525a3' + '75e60c20ddbe79c812595fdf88771422317db4256a200d2caefd09ebdd27ecc7' '34625e26f1089a068582bd43a9a3755b3f5186b90dcc097b519def8f701d9f3a') prepare() { diff --git a/atom/fix-license-path.patch b/atom/fix-license-path.patch index b643cff..0d2546f 100644 --- a/atom/fix-license-path.patch +++ b/atom/fix-license-path.patch @@ -8,10 +8,10 @@ + @openPathOnEvent('application:open-license', '/usr/share/licenses/atom/LICENSE.md') @disposable.add ipcHelpers.on app, 'before-quit', (event) => - unless @quitting + resolveBeforeQuitPromise = null --- a/src/workspace.js +++ b/src/workspace.js -@@ -1046,7 +1046,7 @@ +@@ -1102,7 +1102,7 @@ // Open Atom's license in the active pane. openLicense () {