Commit 93868ade authored by Chaoting Liu's avatar Chaoting Liu

atom: update to 1.23.1, add nss as depends

parent d5ca3f35
pkgname=atom
pkgver=1.22.0
pkgver=1.23.1
pkgrel=1
pkgdesc='A hackable text editor for the 21st Century'
arch=('x86_64')
url='https://github.com/atom/atom'
license=('MIT' 'custom')
depends=('libxkbfile' 'gtk2' 'libxtst' 'libxss' 'alsa-lib')
depends=('libxkbfile' 'gtk2' 'libxtst' 'libxss' 'alsa-lib' 'nss')
makedepends=('git' 'npm' 'libgnome-keyring' 'gconf' 'python2' 'libsecret')
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=('28f2db2c92e2ee12fedbcf8e21f91df7a8308f05babc7b93f196f61f0b975103'
'b7a325867a16fe1eece589ff5d70e642e7387557865c6d6c566b760cbe93f4e2'
'83b6a85c8f3d38fcb13682bc8d948137448ae5cd9f616f20f76b5f504f4caa52')
sha256sums=('56147093f1b8fd98e1cdf9671888694b732ed6b83f7641c199ddbc54df76544f'
'e9df53a60c1d27d7adf9d6b8d6eb2d3462967875e3a21b672f2cc8fbbefeec0c'
'34625e26f1089a068582bd43a9a3755b3f5186b90dcc097b519def8f701d9f3a')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
......
--- a/src/main-process/atom-application.coffee
+++ b/src/main-process/atom-application.coffee
@@ -262,7 +262,7 @@
@@ -272,7 +272,7 @@
@openPathOnEvent('application:open-your-keymap', 'atom://.atom/keymap')
@openPathOnEvent('application:open-your-snippets', 'atom://.atom/snippets')
@openPathOnEvent('application:open-your-stylesheet', 'atom://.atom/stylesheet')
......@@ -19,4 +19,4 @@
+ return this.open('/usr/share/licenses/atom/LICENSE.md')
}
// Synchronously open the given URI in the active pane. **Only use this method
\ No newline at end of file
// Synchronously open the given URI in the active pane. **Only use this method
--- a/src/main-process/atom-application.coffee
+++ b/src/main-process/atom-application.coffee
@@ -821,7 +821,7 @@
@@ -870,7 +870,7 @@
@restart()
restart: ->
......@@ -8,4 +8,4 @@
+ args = ["--app=/usr/lib/atom"]
args.push("--safe") if @safeMode
args.push("--log-file=#{@logFile}") if @logFile?
args.push("--socket-path=#{@socketPath}") if @socketPath?
\ No newline at end of file
args.push("--socket-path=#{@socketPath}") if @socketPath?
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment