[arch-commits] Commit in atom/trunk (5 files)

Nicola Squartini tensor5 at archlinux.org
Sun Apr 18 12:54:08 UTC 2021


    Date: Sunday, April 18, 2021 @ 12:54:07
  Author: tensor5
Revision: 919911

upgpkg: atom 1.56.0-1

Modified:
  atom/trunk/PKGBUILD
  atom/trunk/atom.js
  atom/trunk/fix-license-path.patch
  atom/trunk/fix-restart.patch
  atom/trunk/use-system-electron.patch

---------------------------+
 PKGBUILD                  |   22 +++++++++++-----------
 atom.js                   |    2 +-
 fix-license-path.patch    |    2 +-
 fix-restart.patch         |    2 +-
 use-system-electron.patch |   10 +++++-----
 5 files changed, 19 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-18 12:33:26 UTC (rev 919910)
+++ PKGBUILD	2021-04-18 12:54:07 UTC (rev 919911)
@@ -1,14 +1,14 @@
 # Maintainer: Nicola Squartini <tensor5 at gmail.com>
 
 pkgname=atom
-pkgver=1.55.0
-_commit=3eeaff50711ae72357591a94a5e9a5c11b6be184
+pkgver=1.56.0
+_commit=9da50c7216dd9da7aa8f71c548261f2a30594144
 pkgrel=1
 pkgdesc='A hackable text editor for the 21st Century'
 arch=('x86_64')
 url='https://github.com/atom/atom'
 license=('MIT' 'custom')
-depends=('apm' 'electron6' 'libxkbfile' 'ripgrep')
+depends=('apm' 'electron9' 'libxkbfile' 'ripgrep')
 makedepends=('git' 'npm')
 optdepends=('ctags: symbol indexing support'
             'git: Git and GitHub integration')
@@ -27,17 +27,17 @@
         'use-system-apm.patch'
         'use-system-electron.patch')
 sha256sums=('SKIP'
-            '6ae4f78667a8735d24ba11a47f1ee374f65325a3d604bcd221d56e27e16ddad4'
+            'a4f198ae1040637ce72c163585662d94e0d59b593f69d919d0acd7044c316cac'
             '530b46d31df0f5e8f5881e1608a66fe75d549092a6db2e72ba3ad69c48714153'
             'b3d3706519556a59ba557b695017c9debe8b23efe2782cdb440131520bc0540d'
-            'ec100f5d007b31d3a3ca69919bc61e34a79bfaaacf6ababe67c9bdbf5aff1f34'
-            'e90a9013d56a228c162dc033c532f12f5ae4c37f6997b2dc61d1fca1b153e0b1'
+            '81041c2902c42db7883f6aa09708459d4f3c6da81485e9aed16b558b3f08da4e'
+            '588c1e1ddfbe4e6433c804496ea87e84a3db7f15855ae1fd1936f5b42ebe38b1'
             'e321fdfe880cd465918dd1dbb90e4c7d46fc5310f20666eddf0a41cbca4f8ac8'
             '40d783794d62f12f3c429c624a84265871c7ed95f4120c9db800348896dd5437'
             'a09439c2a908ca174ff3be1f0d85071d12c792ae19748e36fe601e372d6d925b'
             'c93cc88dd704388d4b26a0de0a5938df7ff90cedf8eed0b3b8a675f9cc7d487c'
             '08ae0c93b5ec7eb7d90c65d5d2adbaca538482fba902ed1f8414024db0d21854'
-            '47abdfd9faeaea79c8da73ab13bd8a93626b4ed36524c865990b048f6ba21b77')
+            '283cf31a4d13b9c4f383bc19906bbdd6db6cd2888557d244d8f58d9a66f2c4e0')
 
 prepare() {
   cd ${pkgname}
@@ -56,7 +56,7 @@
 
   ATOM_RESOURCE_PATH="${PWD}" \
   npm_config_build_from_source=true \
-  npm_config_target=$(< /usr/lib/electron6/version) \
+  npm_config_target=$(< /usr/lib/electron9/version) \
   apm install
 
   # Use system ctags
@@ -78,7 +78,7 @@
   env \
     npm_config_disturl=https://electronjs.org/headers \
     npm_config_runtime=electron \
-    npm_config_target=$(< /usr/lib/electron6/version) \
+    npm_config_target=$(< /usr/lib/electron9/version) \
     node-gyp rebuild
   cd ../..
 
@@ -88,8 +88,8 @@
   # Set ELECTRON_VERSION (see use-system-electron.patch)
   env \
     ELECTRON_RUN_AS_NODE=1 \
-    ELECTRON_VERSION=$(< /usr/lib/electron6/version) \
-    electron6 \
+    ELECTRON_VERSION=$(< /usr/lib/electron9/version) \
+    electron9 \
     build --no-bootstrap
 }
 

Modified: atom.js
===================================================================
--- atom.js	2021-04-18 12:33:26 UTC (rev 919910)
+++ atom.js	2021-04-18 12:54:07 UTC (rev 919911)
@@ -1,4 +1,4 @@
-#!/usr/bin/electron6
+#!/usr/bin/electron9
 
 const name = "atom";
 

Modified: fix-license-path.patch
===================================================================
--- fix-license-path.patch	2021-04-18 12:33:26 UTC (rev 919910)
+++ fix-license-path.patch	2021-04-18 12:54:07 UTC (rev 919911)
@@ -1,6 +1,6 @@
 --- a/src/main-process/atom-application.js
 +++ b/src/main-process/atom-application.js
-@@ -706,7 +706,7 @@
+@@ -691,7 +691,7 @@
      );
      this.openPathOnEvent(
        'application:open-license',

Modified: fix-restart.patch
===================================================================
--- fix-restart.patch	2021-04-18 12:33:26 UTC (rev 919910)
+++ fix-restart.patch	2021-04-18 12:54:07 UTC (rev 919911)
@@ -1,6 +1,6 @@
 --- a/src/main-process/atom-application.js
 +++ b/src/main-process/atom-application.js
-@@ -2048,7 +2048,7 @@
+@@ -2038,7 +2038,7 @@
    }
  
    restart() {

Modified: use-system-electron.patch
===================================================================
--- use-system-electron.patch	2021-04-18 12:33:26 UTC (rev 919910)
+++ use-system-electron.patch	2021-04-18 12:54:07 UTC (rev 919911)
@@ -4,10 +4,10 @@
      "url": "https://github.com/atom/atom/issues"
    },
    "license": "MIT",
--  "electronVersion": "6.1.12",
+-  "electronVersion": "9.4.4",
    "dependencies": {
-     "@atom/nsfw": "1.0.26",
-     "@atom/source-map-support": "^0.3.4",
+     "@atom/fuzzy-native": "^1.2.0",
+     "@atom/nsfw": "^1.0.27",
 --- a/script/build
 +++ b/script/build
 @@ -33,7 +33,7 @@
@@ -119,7 +119,7 @@
 -        packagedAppPath,
 -        CONFIG.executableName
 -      );
-+      nodeBundledInElectronPath = 'electron6';
++      nodeBundledInElectronPath = 'electron9';
      }
      childProcess.execFileSync(
        nodeBundledInElectronPath,
@@ -145,7 +145,7 @@
      "colors": "1.1.2",
      "donna": "1.0.16",
 -    "electron-chromedriver": "^9.0.0",
-     "electron-link": "^0.4.3",
+     "electron-link": "^0.6.0",
 -    "electron-mksnapshot": "^9.0.2",
      "electron-packager": "^15.0.0",
      "eslint": "^5.16.0",



More information about the arch-commits mailing list