Package Details: sencha-cmd 7.7.0.36-1

Git Clone URL: https://aur.archlinux.org/sencha-cmd.git (read-only, click to copy)
Package Base: sencha-cmd
Description: Sencha Cmd provides a collection of powerful, time-saving features that work together and in conjunction with the Sencha Ext JS and Sencha Touch frameworks
Upstream URL: https://www.sencha.com/products/extjs/cmd-download/
Licenses: custom
Conflicts: sencha-cmd-5, sencha-cmd-6
Provides: sencha-cmd-7
Submitter: pallxk
Maintainer: pallxk
Last Packager: pallxk
Votes: 1
Popularity: 0.000000
First Submitted: 2020-07-03 12:19 (UTC)
Last Updated: 2023-06-23 09:10 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

EinderJam commented on 2024-05-23 09:10 (UTC) (edited on 2024-05-23 09:11 (UTC) by EinderJam)

Sencha CMD 7.8 has been released. I've had to modify the "sed" step of prepare() due to a new user folder in Sencha/CMD/7.8.0.59/.install4j

--- /tmp/original_PKGBUILD  2024-05-23 11:02:41.999780967 +0200
+++ PKGBUILD    2024-05-23 10:53:10.702683586 +0200
@@ -2,7 +2,7 @@
 # Inspired by PKGBUILD of AUR package sencha-cmd-6

 pkgname=sencha-cmd
-pkgver=7.7.0.36
+pkgver=7.8.0.59
 pkgrel=1
 pkgdesc='Sencha Cmd provides a collection of powerful, time-saving features that work together and in conjunction with the Sencha Ext JS and Sencha Touch frameworks'
 url='https://www.sencha.com/products/extjs/cmd-download/'
@@ -14,7 +14,7 @@
 source=("https://trials.sencha.com/cmd/${pkgver%.*}/SenchaCmd-$pkgver-linux-amd64.sh.zip"
    "LICENSE")
 sha512sums=(
-   'c77f696f189b5fc2b9b608df6f99544fe31cb68cf3aef419c27dff706053902f9c9c4eb28f72bb1e70746faf9fb10b59d72cae680016bae5c0275bafdc122ab2'
+   'a31041a4e54d12ad2a9511ced8a97f8b3ba0f0680764dc9f71458a6e15abd4242fe9adf388cf8851c8ffaf2b407f5dfea5f2789a28a63aeb649def615637740f'
    'fda827d9cae0859f37c4b588ae4e1ad3e8e5b6316d23f070691db566291d5a10d17c03934c90d17a9ed9a88a6b80be9e2f4c74fcb25112fe0a3fce3154495915'
 )
 options=(!strip)
@@ -26,7 +26,7 @@
        -V'addToPath$Integer'=1 \
        -dir "Sencha/Cmd/$pkgver"

-   sed -i -e "s|$srcdir|/opt|g" Sencha/Cmd/$pkgver/.install4j/*
+   find Sencha/Cmd/$pkgver/.install4j -type f -exec sed -i -e "s|$srcdir|/opt|g" {} \;
 }

Magotchi commented on 2022-11-14 17:29 (UTC)

PhantomJS, as included in Sencha CMD, no longer works with OpenSSL 3.x. I worked around it by using the environment variable "OPENSSL_CONF=/dev/null", effectively telling it to use a blank OpenSSL configuration file, as far as I understand, as mentioned at https://stackoverflow.com/questions/73004195/phantomjs-wont-install-autoconfiguration-error , https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918727 , and in other places.

Magotchi commented on 2021-01-11 16:55 (UTC) (edited on 2021-10-22 14:08 (UTC) by Magotchi)

For those trying to get this to work with Java 17, in which Nashorn has been removed and Java reflection has changed a bit, you can do so by getting the Nashorn JAR from Maven, along with its ASM dependency JARs, sticking them somewhere (like /opt/sencha-extra-libs), and then adding the following to the end of /opt/Sencha/Cmd/7.4.0.39/sencha.vmoptions :

-classpath/a /opt/sencha-extra-libs/*
--add-opens
java.base/java.lang=ALL-UNNAMED

Direct links to all the needed JARs:

https://repo1.maven.org/maven2/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar

https://repo1.maven.org/maven2/org/ow2/asm/asm/7.3.1/asm-7.3.1.jar

https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/7.3.1/asm-analysis-7.3.1.jar

https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/7.3.1/asm-commons-7.3.1.jar

https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/7.3.1/asm-tree-7.3.1.jar

https://repo1.maven.org/maven2/org/ow2/asm/asm-util/7.3.1/asm-util-7.3.1.jar