Package Details: piskel 0.15.0-5

Git Clone URL: https://aur.archlinux.org/piskel.git (read-only, click to copy)
Package Base: piskel
Description: A free online editor for animated sprites & pixel art.
Upstream URL: https://github.com/piskelapp/piskel
Keywords: animation art editor graphics pixel
Licenses: Apache
Submitter: turtlewit
Maintainer: ongyx
Last Packager: ongyx
Votes: 1
Popularity: 0.133357
First Submitted: 2018-04-06 20:52 (UTC)
Last Updated: 2021-06-13 11:34 (UTC)

Latest Comments

ongyx commented on 2021-06-14 05:58 (UTC)

@makeworld it doesn't seem so:

$ phantomjs
bash: phantomjs: command not found
$ piskel
...

Piskel runs fine without PhantomJS.

makeworld commented on 2021-06-13 18:38 (UTC)

phantomjs might be a runtime dependency. I'm not sure.

ongyx commented on 2021-06-13 11:30 (UTC) (edited on 2021-06-13 11:37 (UTC) by ongyx)

Ok, I'll add phantomjs as a make dependency. Thanks for telling me about it!

makeworld commented on 2021-06-12 20:26 (UTC) (edited on 2021-06-12 20:30 (UTC) by makeworld)

Thanks for the updates, but I still can't install this. I think the key line is npm ERR! PhantomJS not found on PATH. I installed phantomjs-bin and then the piskel install worked. This is the error log from when PhantomJS wasn't installed:

==> Starting build()...
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'karma@1.7.0',
npm WARN EBADENGINE   required: { node: '0.10 || 0.12 || 4 || 5 || 6 || 7' },
npm WARN EBADENGINE   current: { node: 'v16.3.0', npm: '7.17.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'http2@3.3.7',
npm WARN EBADENGINE   required: { node: '>=0.12.0 <9.0.0' },
npm WARN EBADENGINE   current: { node: 'v16.3.0', npm: '7.17.0' }
npm WARN EBADENGINE }
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated xmldom@0.1.31: Deprecated due to CVE-2021-21366 resolved in 0.5.0
npm WARN deprecated jscs-preset-wikimedia@1.0.1: No longer maintained. We recomment migrating to ESLint with eslint-config-wikimedia.
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated phantomjs@2.1.7: Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt'
npm WARN deprecated uuid@2.0.3: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated mkdirp@0.5.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated har-validator@2.0.6: this library is no longer supported
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated http2@3.3.7: Use the built-in module in node 9.0.0 or newer, instead
npm WARN deprecated request@2.67.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated request@2.75.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated core-js@1.2.7: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code 1
npm ERR! path /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs
npm ERR! command failed
npm ERR! command sh -c node install.js
npm ERR! PhantomJS not found on PATH
npm ERR! Phantom installation failed TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
npm ERR!     at new NodeError (node:internal/errors:363:5)
npm ERR!     at validateString (node:internal/validators:119:11)
npm ERR!     at Object.join (node:path:1172:7)
npm ERR!     at findSuitableTempDirectory (/home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/install.js:127:30)
npm ERR!     at /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/install.js:476:19
npm ERR!     at nextTickCallback (/home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/kew/kew.js:47:28)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:78:11) {
npm ERR!   code: 'ERR_INVALID_ARG_TYPE'
npm ERR! } TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
npm ERR!     at new NodeError (node:internal/errors:363:5)
npm ERR!     at validateString (node:internal/validators:119:11)
npm ERR!     at Object.join (node:path:1172:7)
npm ERR!     at findSuitableTempDirectory (/home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/install.js:127:30)
npm ERR!     at /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/install.js:476:19
npm ERR!     at nextTickCallback (/home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/kew/kew.js:47:28)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:78:11)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/makeworld/.npm/_logs/2021-06-12T20_25_17_326Z-debug.log
==> ERROR: A failure occurred in build().
    Aborting...
error making: piskel

ongyx commented on 2021-06-12 04:40 (UTC)

@turtlewit I've opened a new PR to upstream, but we probably still need to keep the PKGBUILD patches until 0.16.0 (and the PR is merged).

turtlewit commented on 2021-06-12 03:51 (UTC)

@ongyx Great work! The repo hasn't been updated in over a year, but you might think about opening a pull request to fix this upstream as well.

ongyx commented on 2021-06-12 03:46 (UTC) (edited on 2021-06-12 03:47 (UTC) by ongyx)

@turtlewit @makeworld I managed to build piskel by patching both the grunt dependency issue and the node module temp in the PKGBUILD. Older versions of temp use os.tempDir instead of os.tempdir, which was deprecated from node 7.0.0 onwards:

>> TypeError: os.tmpDir is not a function

This error propagates into Grunt, which causes the tasks to not be registered properly:

Warning: Task "nwjs:windows" not found.

turtlewit commented on 2021-05-06 03:48 (UTC)

@makeworld This seems to be an upstream issue. The git repo hasn't been updated in over a year, and it fails to build with the same error in master. Please open an issue on github. In the meantime, I will disown this package in case anyone else with more knowledge of npm/grunt wants to try and patch it (just fixing the dependency conflict didn't seem to work).

makeworld commented on 2021-05-05 21:43 (UTC)

Fails to install:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: piskel@0.15.0
npm ERR! Found: grunt@0.4.5
npm ERR! node_modules/grunt
npm ERR!   dev grunt@"0.4.5" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer grunt@"^1.0.1" from grunt-nw-builder@3.1.0
npm ERR! node_modules/grunt-nw-builder
npm ERR!   dev grunt-nw-builder@"3.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /home/makeworld/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/makeworld/.npm/_logs/2021-05-05T21_42_34_058Z-debug.log

turtlewit commented on 2020-09-08 02:22 (UTC)

@wlritchi You're right, it's been added, thanks for the heads up.

wlritchi commented on 2020-09-08 01:03 (UTC)

This package should have a makedepends on npm.

turtlewit commented on 2020-07-28 20:38 (UTC)

@hazelnot This seems to be an upstream issue with one of the dependencies breaking. There hasn't been a release for a while. There is already an issue about it here.
I'll try and reproduce later today to see if there's something I can do to work around it.

hazelnot commented on 2020-07-28 16:03 (UTC) (edited on 2020-07-28 16:04 (UTC) by hazelnot)

Not installing for me:

npm WARN deprecated phantomjs@2.1.7: Package renamed to phantomjs-prebuilt. Please update 'phantomjs' package references to 'phantomjs-prebuilt'
npm WARN deprecated coffee-script@1.3.3: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated http2@3.3.7: Use the built-in module in node 9.0.0 or newer, instead
npm WARN deprecated phantomjs-prebuilt@2.1.16: this package is now deprecated
npm WARN deprecated request@2.67.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated chokidar@1.7.0: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated jscs-preset-wikimedia@1.0.1: No longer maintained. We recomment migrating to ESLint with eslint-config-wikimedia.
npm WARN deprecated mkdirp@0.5.0: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated request@2.75.0: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated

> phantomjs-prebuilt@2.1.16 install /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/grunt-casperjs/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/grunt-casperjs/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1595952072536/phantomjs-2.1.1-linux-x86_64 -> /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/grunt-casperjs/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/grunt-casperjs/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> phantomjs-prebuilt@2.1.16 install /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/karma-phantomjs-launcher/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/karma-phantomjs-launcher/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1595952075569/phantomjs-2.1.1-linux-x86_64 -> /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/karma-phantomjs-launcher/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/karma-phantomjs-launcher/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> phantomjs@2.1.7 install /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs
> node install.js

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1595952078576/phantomjs-2.1.1-linux-x86_64 -> /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom/bin/phantomjs

> core-js@2.6.11 postinstall /home/hazelnot/.cache/yay/piskel/src/piskel-0.15.0/node_modules/karma/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN notsup Unsupported engine for karma@1.7.0: wanted: {"node":"0.10 || 0.12 || 4 || 5 || 6 || 7"} (current: {"node":"14.6.0","npm":"6.14.7"})
npm WARN notsup Not compatible with your version of node/npm: karma@1.7.0
npm WARN notsup Unsupported engine for http2@3.3.7: wanted: {"node":">=0.12.0 <9.0.0"} (current: {"node":"14.6.0","npm":"6.14.7"})
npm WARN notsup Not compatible with your version of node/npm: http2@3.3.7
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"14.6.0","npm":"6.14.7"})
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN grunt-nw-builder@3.1.0 requires a peer of grunt@^1.0.1 but none is installed. You must install peer dependencies yourself.

added 1157 packages from 981 contributors and audited 1158 packages in 24.87s

31 packages are looking for funding
  run `npm fund` for details

found 137 vulnerabilities (54 low, 25 moderate, 58 high)
  run `npm audit fix` to fix them, or `npm audit` for details
Loading "node_webkit_builder.js" tasks...ERROR
>> TypeError: os.tmpDir is not a function
Warning: Task "nwjs:windows" not found. Used --force, continuing.
(node:59548) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:59548) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:59548) Warning: Accessing non-existent property 'which' of module exports inside circular dependency

Done, but with warnings.
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'piskel-0.15.0/dest/desktop/piskel/linux64/.': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
error making: %!s(func() string=0x55b5aee89a60)

turtlewit commented on 2020-05-07 04:53 (UTC)

@caleb Fixed, thanks for the heads up!

alerque commented on 2020-05-06 10:04 (UTC)

The nodejs-grunt package has long since been obsoleted by grunt-cli in the [community] repo. Please update the makedepends.

pha-qu commented on 2019-05-26 00:52 (UTC)

Flakey nodejs rubbish, be warned !!!!!!

nodejs package management is packaging hell at best

makeworld commented on 2019-05-17 02:32 (UTC)

@turlewit Installed properly now I believe, thanks.

turtlewit commented on 2019-05-07 02:55 (UTC)

@makeworld can you make sure you have nodejs-grunt installed? If so, can you make sure you can run it with the grunt command, or make sure that /usr/bin/grunt exists?

makeworld commented on 2019-05-06 01:43 (UTC)

Doesn't install for me:

PhantomJS not found on PATH
Download already available at /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Verified checksum of previously downloaded file
Extracting tar contents (via spawned process)
Removing /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1557106938330/phantomjs-2.1.1-linux-x86_64 -> /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/makeworld/.cache/yay/piskel/src/piskel-0.15.0/node_modules/phantomjs/lib/phantom/bin/phantomjs
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN grunt-nw-builder@3.1.0 requires a peer of grunt@^1.0.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1116 packages from 965 contributors and audited 3738 packages in 35.029s
found 86 vulnerabilities (31 low, 42 moderate, 13 high)
  run `npm audit fix` to fix them, or `npm audit` for details
/home/makeworld/.cache/yay/piskel/PKGBUILD: line 20: grunt: command not found
==> ERROR: A failure occurred in build().
    Aborting...
Error making: piskel

turtlewit commented on 2019-03-17 17:13 (UTC)

@mensinda Thank you very much. This was my first AUR package, so I made a few mistakes creating it. I've fixed and cleaned up the PKGBUILD, and it should work now.

mensinda commented on 2019-03-17 09:27 (UTC) (edited on 2019-03-17 09:28 (UTC) by mensinda)

The current PKGBUILD fails with some configurations. Please consider using this patch:

diff --git a/PKGBUILD b/PKGBUILD
index e1a363f..7bd90c8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,9 +17,11 @@ backup=()
 options=(!strip)
 install=
 changelog=
-source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/piskelapp/piskel/archive/v0.14.0.tar.gz")
+source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/piskelapp/piskel/archive/v0.14.0.tar.gz"
+        "Piskel.desktop")
 noextract=()
-md5sums=('18fcdaad58efc6f45e85bb474d17607d')
+md5sums=('18fcdaad58efc6f45e85bb474d17607d'
+         '05e4a9868ef86770de487436a6c42a52')

 build() {
        cd "${pkgname}-${pkgver}"
@@ -35,7 +37,7 @@ package() {
        chmod +x "${pkgdir}/opt/Piskel/piskel"

        install -d "${pkgdir}/usr/share/applications"
-       install "${srcdir}/../Piskel.desktop" "${pkgdir}/usr/share/applications"
+       install "${srcdir}/Piskel.desktop" "${pkgdir}/usr/share/applications"

        install -d "${pkgdir}/usr/bin"
        ln -s "/opt/Piskel/piskel" "${pkgdir}/usr/bin/piskel"

turtlewit commented on 2018-04-12 07:28 (UTC) (edited on 2018-04-12 07:43 (UTC) by turtlewit)

samvdkris - Will do. I'm still new to dependencies, and I thought that bash-completion provided convert. Apparently it doesn't. ImageMagick is probably a better dependency to have anyway. Edit: Should be fixed now.

juliavdkris commented on 2018-04-12 06:04 (UTC)

You should probably add ImageMagick as a dependency. I got confused why my build failed even though Node gave me a "Done, without errors" until I noticed the little "convert: command not found". I guess most people already have ImageMagick installed anyways, but I didn't.