Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
gtk
Commits
93868ade
Commit
93868ade
authored
Dec 19, 2017
by
Chaoting Liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atom: update to 1.23.1, add nss as depends
parent
d5ca3f35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
atom/PKGBUILD
atom/PKGBUILD
+5
-5
atom/fix-license-path.patch
atom/fix-license-path.patch
+2
-2
atom/fix-restart.patch
atom/fix-restart.patch
+2
-2
No files found.
atom/PKGBUILD
View file @
93868ade
pkgname
=
atom
pkgver
=
1.2
2.0
pkgver
=
1.2
3.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
}
"
...
...
atom/fix-license-path.patch
View file @
93868ade
--- a/src/main-process/atom-application.coffee
+++ b/src/main-process/atom-application.coffee
@@ -2
6
2,7 +2
6
2,7 @@
@@ -2
7
2,7 +2
7
2,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
atom/fix-restart.patch
View file @
93868ade
--- a/src/main-process/atom-application.coffee
+++ b/src/main-process/atom-application.coffee
@@ -8
21
,7 +8
21
,7 @@
@@ -8
70
,7 +8
70
,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?
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment