Date: Sunday, January 15, 2017 @ 13:51:57 Author: tensor5 Revision: 207441
upgpkg: atom 1.13.0-2 Fix FS#52324 and FS#52507. Added: atom/trunk/fix-restart.patch Modified: atom/trunk/PKGBUILD -------------------+ PKGBUILD | 6 +++++- fix-restart.patch | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2017-01-15 11:36:07 UTC (rev 207440) +++ PKGBUILD 2017-01-15 13:51:57 UTC (rev 207441) @@ -3,7 +3,7 @@ pkgname=atom pkgver=1.13.0 -pkgrel=1 +pkgrel=2 pkgdesc='A hackable text editor for the 21st Century' arch=('i686' 'x86_64') url='https://github.com/atom/atom' @@ -11,11 +11,13 @@ depends=('apm' 'electron' 'libxkbfile') makedepends=('git' 'npm') optdepends=('ctags: symbol indexing support') +replaces=('atom-editor') options=(!emptydirs) source=("${pkgname}-${pkgver}.tar.gz::https://github.com/atom/atom/archive/v${pkgver}.tar.gz" 'fix-atom-sh.patch' 'fix-ime-events-handler.patch' 'fix-license-path.patch' + 'fix-restart.patch' 'symbols-view-use-system-ctags.patch' 'use-system-apm.patch' 'use-system-electron.patch') @@ -23,6 +25,7 @@ '73efe3485c9f009b788afdfa688a93a1db15ab0010203c833940406cb852240e' 'ab638bb8ef2b27f24433738299b9714a53ebabdecf7b01e8d9df6a9ecee77ec2' '7f56269c3b0679dc6ec118e27348e238ce492d4c766cb3813708c981a0692fa1' + 'e85051d4f435791c4bd898958304c3ee082d434228a68246a65d43479684c8cb' 'a5a2b1fefa29799b3225c4aa3fe0e5b057b2b320f98ad7bc28d3596923e52b41' '822e1629ff754af3225bc3c1c9301b4459a67c79e016fd57cc122644d571e24b' '68430695ef866e87d2ae469e0677d3cd5256fe2dba58f750046aa8ec674c67ab') @@ -34,6 +37,7 @@ patch -Np1 -i "${srcdir}"/use-system-electron.patch patch -Np1 -i "${srcdir}"/use-system-apm.patch patch -Np1 -i "${srcdir}"/fix-license-path.patch + patch -Np1 -i "${srcdir}"/fix-restart.patch # Fix for Electron 1.4.0 patch -Np1 -i "${srcdir}"/fix-ime-events-handler.patch Added: fix-restart.patch =================================================================== --- fix-restart.patch (rev 0) +++ fix-restart.patch 2017-01-15 13:51:57 UTC (rev 207441) @@ -0,0 +1,11 @@ +--- a/src/main-process/atom-application.coffee ++++ b/src/main-process/atom-application.coffee +@@ -794,7 +794,7 @@ + @restart() + + restart: -> +- args = [] ++ args = ["--app=/usr/lib/atom"] + args.push("--safe") if @safeMode + args.push("--portable") if @setPortable + args.push("--log-file=#{@logFile}") if @logFile?