[arch-commits] Commit in react-native-debugger/repos/community-any (8 files)

Nicola Squartini tensor5 at archlinux.org
Thu Mar 19 01:42:46 UTC 2020


    Date: Thursday, March 19, 2020 @ 01:42:46
  Author: tensor5
Revision: 600741

archrelease: copy trunk to community-any

Added:
  react-native-debugger/repos/community-any/PKGBUILD
    (from rev 600740, react-native-debugger/trunk/PKGBUILD)
  react-native-debugger/repos/community-any/iconPath.patch
    (from rev 600740, react-native-debugger/trunk/iconPath.patch)
  react-native-debugger/repos/community-any/react-native-debugger.desktop
    (from rev 600740, react-native-debugger/trunk/react-native-debugger.desktop)
  react-native-debugger/repos/community-any/react-native-debugger.js
    (from rev 600740, react-native-debugger/trunk/react-native-debugger.js)
Deleted:
  react-native-debugger/repos/community-any/PKGBUILD
  react-native-debugger/repos/community-any/iconPath.patch
  react-native-debugger/repos/community-any/react-native-debugger.desktop
  react-native-debugger/repos/community-any/react-native-debugger.js

-------------------------------+
 PKGBUILD                      |  112 ++++++++++++++++++++--------------------
 iconPath.patch                |   22 +++----
 react-native-debugger.desktop |   16 ++---
 react-native-debugger.js      |   58 ++++++++++----------
 4 files changed, 104 insertions(+), 104 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-19 01:42:04 UTC (rev 600740)
+++ PKGBUILD	2020-03-19 01:42:46 UTC (rev 600741)
@@ -1,56 +0,0 @@
-# Maintainer: Nicola Squartini <tensor5 at gmail.com>
-
-pkgname=react-native-debugger
-pkgver=0.10.6
-_commit=6b9f4535d4524d5f828b8ba939615c861b89e4a6
-pkgrel=1
-pkgdesc='The standalone app for React Native Debugger, with React DevTools / Redux DevTools'
-arch=('any')
-url='https://github.com/jhen0409/react-native-debugger'
-license=('MIT')
-depends=('electron')
-makedepends=('asar' 'git' 'yarn')
-source=("git+https://github.com/jhen0409/react-native-debugger.git#commit=${_commit}"
-        'iconPath.patch'
-        'react-native-debugger.desktop'
-        'react-native-debugger.js')
-sha256sums=('SKIP'
-            '3db29267301692d6362a2ff4971299de4a0f3f49feb12c338e4ec02a5b0e560d'
-            'f63e79516db0feb2e76c366402cf266165c0f7eb282dc55703b800b91152867d'
-            '8cd406c3b2d091f2a2b73e5755682dc925bb1f75d0d425b82507136b350a4ceb')
-
-pkgver() {
-    cd ${pkgname}
-    git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-    cd ${pkgname}
-
-    patch -Np1 -i ../iconPath.patch
-}
-
-build() {
-    cd ${pkgname}
-
-    yarn --ignore-scripts
-    cd dist
-    yarn
-    node ../scripts/patch-modules.js
-    cd ..
-    yarn build
-}
-
-package() {
-    cd ${pkgname}
-
-    install -dm755 "${pkgdir}/usr/lib"
-    rm dist/logo.png  # see iconPath.patch
-    asar pack dist "${pkgdir}/usr/lib/${pkgname}.asar"
-
-    install -Dm755 ../${pkgname}.js "${pkgdir}/usr/bin/${pkgname}"
-    install -Dm644 -t "${pkgdir}/usr/share/applications" ../${pkgname}.desktop
-    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE.md
-    install -Dm644 electron/logo.png \
-        "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
-}

Copied: react-native-debugger/repos/community-any/PKGBUILD (from rev 600740, react-native-debugger/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-19 01:42:46 UTC (rev 600741)
@@ -0,0 +1,56 @@
+# Maintainer: Nicola Squartini <tensor5 at gmail.com>
+
+pkgname=react-native-debugger
+pkgver=0.10.7
+_commit=b5c182d1a35540090614fb52b2a677cd1cfdabcb
+pkgrel=1
+pkgdesc='The standalone app for React Native Debugger, with React DevTools / Redux DevTools'
+arch=('any')
+url='https://github.com/jhen0409/react-native-debugger'
+license=('MIT')
+depends=('electron')
+makedepends=('asar' 'git' 'yarn')
+source=("git+https://github.com/jhen0409/react-native-debugger.git#commit=${_commit}"
+        'iconPath.patch'
+        'react-native-debugger.desktop'
+        'react-native-debugger.js')
+sha256sums=('SKIP'
+            '3db29267301692d6362a2ff4971299de4a0f3f49feb12c338e4ec02a5b0e560d'
+            'f63e79516db0feb2e76c366402cf266165c0f7eb282dc55703b800b91152867d'
+            '8cd406c3b2d091f2a2b73e5755682dc925bb1f75d0d425b82507136b350a4ceb')
+
+pkgver() {
+    cd ${pkgname}
+    git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+    cd ${pkgname}
+
+    patch -Np1 -i ../iconPath.patch
+}
+
+build() {
+    cd ${pkgname}
+
+    yarn --ignore-scripts
+    cd dist
+    yarn
+    node ../scripts/patch-modules.js
+    cd ..
+    yarn build
+}
+
+package() {
+    cd ${pkgname}
+
+    install -dm755 "${pkgdir}/usr/lib"
+    rm dist/logo.png  # see iconPath.patch
+    asar pack dist "${pkgdir}/usr/lib/${pkgname}.asar"
+
+    install -Dm755 ../${pkgname}.js "${pkgdir}/usr/bin/${pkgname}"
+    install -Dm644 -t "${pkgdir}/usr/share/applications" ../${pkgname}.desktop
+    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE.md
+    install -Dm644 electron/logo.png \
+        "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+}

Deleted: iconPath.patch
===================================================================
--- iconPath.patch	2020-03-19 01:42:04 UTC (rev 600740)
+++ iconPath.patch	2020-03-19 01:42:46 UTC (rev 600741)
@@ -1,11 +0,0 @@
---- a/electron/main.js
-+++ b/electron/main.js
-@@ -10,7 +10,7 @@
- 
- process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 1;
- 
--const iconPath = path.resolve(__dirname, 'logo.png');
-+const iconPath = '/usr/share/pixmaps/react-native-debugger.png';
- const defaultOptions = { iconPath };
- 
- startListeningHandleURL(async (host, port) => {

Copied: react-native-debugger/repos/community-any/iconPath.patch (from rev 600740, react-native-debugger/trunk/iconPath.patch)
===================================================================
--- iconPath.patch	                        (rev 0)
+++ iconPath.patch	2020-03-19 01:42:46 UTC (rev 600741)
@@ -0,0 +1,11 @@
+--- a/electron/main.js
++++ b/electron/main.js
+@@ -10,7 +10,7 @@
+ 
+ process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = 1;
+ 
+-const iconPath = path.resolve(__dirname, 'logo.png');
++const iconPath = '/usr/share/pixmaps/react-native-debugger.png';
+ const defaultOptions = { iconPath };
+ 
+ startListeningHandleURL(async (host, port) => {

Deleted: react-native-debugger.desktop
===================================================================
--- react-native-debugger.desktop	2020-03-19 01:42:04 UTC (rev 600740)
+++ react-native-debugger.desktop	2020-03-19 01:42:46 UTC (rev 600741)
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=React Native Debugger
-Comment=The standalone app for React Native Debugger, with React DevTools / Redux DevTools
-Icon=react-native-debugger
-Exec=react-native-debugger
-Categories=Debugger;Development;GTK;
-StartupNotify=true

Copied: react-native-debugger/repos/community-any/react-native-debugger.desktop (from rev 600740, react-native-debugger/trunk/react-native-debugger.desktop)
===================================================================
--- react-native-debugger.desktop	                        (rev 0)
+++ react-native-debugger.desktop	2020-03-19 01:42:46 UTC (rev 600741)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Type=Application
+Name=React Native Debugger
+Comment=The standalone app for React Native Debugger, with React DevTools / Redux DevTools
+Icon=react-native-debugger
+Exec=react-native-debugger
+Categories=Debugger;Development;GTK;
+StartupNotify=true

Deleted: react-native-debugger.js
===================================================================
--- react-native-debugger.js	2020-03-19 01:42:04 UTC (rev 600740)
+++ react-native-debugger.js	2020-03-19 01:42:46 UTC (rev 600741)
@@ -1,29 +0,0 @@
-#!/usr/bin/electron
-
-const name = "react-native-debugger";
-
-const {app} = require("electron");
-const fs = require("fs");
-const {dirname, join} = require("path");
-
-// Change command name.
-const fd = fs.openSync("/proc/self/comm", fs.constants.O_WRONLY);
-fs.writeSync(fd, name);
-fs.closeSync(fd);
-
-// Remove first command line argument (/usr/bin/electron).
-process.argv.splice(0, 1);
-
-// Set application paths.
-const appPath = join(dirname(__dirname), "lib", `${name}.asar`);
-const packageJson = require(join(appPath, "package.json"));
-const productName = packageJson.productName;
-app.setAppPath(appPath);
-app.setDesktopName(name + ".desktop");
-app.setName(productName);
-app.setPath("userCache", join(app.getPath("cache"), productName));
-app.setPath("userData", join(app.getPath("appData"), productName));
-app.setVersion(packageJson.version);
-
-// Run the application.
-require("module")._load(appPath, module, true);

Copied: react-native-debugger/repos/community-any/react-native-debugger.js (from rev 600740, react-native-debugger/trunk/react-native-debugger.js)
===================================================================
--- react-native-debugger.js	                        (rev 0)
+++ react-native-debugger.js	2020-03-19 01:42:46 UTC (rev 600741)
@@ -0,0 +1,29 @@
+#!/usr/bin/electron
+
+const name = "react-native-debugger";
+
+const {app} = require("electron");
+const fs = require("fs");
+const {dirname, join} = require("path");
+
+// Change command name.
+const fd = fs.openSync("/proc/self/comm", fs.constants.O_WRONLY);
+fs.writeSync(fd, name);
+fs.closeSync(fd);
+
+// Remove first command line argument (/usr/bin/electron).
+process.argv.splice(0, 1);
+
+// Set application paths.
+const appPath = join(dirname(__dirname), "lib", `${name}.asar`);
+const packageJson = require(join(appPath, "package.json"));
+const productName = packageJson.productName;
+app.setAppPath(appPath);
+app.setDesktopName(name + ".desktop");
+app.setName(productName);
+app.setPath("userCache", join(app.getPath("cache"), productName));
+app.setPath("userData", join(app.getPath("appData"), productName));
+app.setVersion(packageJson.version);
+
+// Run the application.
+require("module")._load(appPath, module, true);



More information about the arch-commits mailing list