Package Details: scratch3 3.30.5-2

Git Clone URL: https://aur.archlinux.org/scratch3.git (read-only, click to copy)
Package Base: scratch3
Description: Scratch 3.0 as a self-contained desktop application
Upstream URL: https://scratch.mit.edu
Keywords: education kids programing
Licenses: custom:BSD-3-Clause
Conflicts: scratch3-bin
Submitter: relrel
Maintainer: etaboon
Last Packager: etaboon
Votes: 9
Popularity: 0.000073
First Submitted: 2020-08-14 14:55 (UTC)
Last Updated: 2023-10-26 22:40 (UTC)

Latest Comments

1 2 3 4 Next › Last »

khvalera commented on 2024-02-27 19:20 (UTC)

The package is not assembled

etaboon commented on 2023-10-24 15:25 (UTC) (edited on 2023-10-26 22:47 (UTC) by etaboon)

This package won't build with the nodejs and npm utilities that
are shipped with arch linux:
'Error:0308010C:digital envelope routines::unsupported'

Edit: usage of NVM with the right version of node (16) fix the error.

IsaacJReay commented on 2023-04-20 03:58 (UTC)

Hello, I built your package with some error.

...
renderer: Keeping electron-webpack default rule for /\.(html)$/
10% building 1/2 modules 1 active ...loader/lib/index.js??ref--6!/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/src/main/index.jsError: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:71:19)
    at Object.createHash (node:crypto:140:10)
    at module.exports (/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at iterateNormalLoaders (/home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/loader-runner/lib/LoaderRunner.js:221:10)
    at /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/loader-runner/lib/LoaderRunner.js:236:3
    at /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/node_modules/loader-runner/lib/LoaderRunner.js:127:6
/home/isaac/projects/scratch3/PKGBUILD: line 88: cd: /home/isaac/projects/scratch3/src/scratch-desktop-3.29.1/dist/renderer/: No such file or directory
==> ERROR: A failure occurred in build().
    Aborting...
...

Some latest openssl error with JS, i guess from my experience. However, i couldn't fix it.

etaboon commented on 2022-07-11 01:18 (UTC)

Version 3.29.1

I've tested Scratch3 with all versions of Electron, from version 13 to 18.
Because of an issue in Electron affecting all version above v13,
best experience is still given by Electron13.

That's why I choose version 13 in the PKGBUILD, even if it isn't maintained
anymore (v14 and v15 either).

Anyway, If one still want to use another version, just edit lines 9 and 10 of the PKGBUILD,
and define the version number one want to use. For instance:

_electronDist=electron16
_electronVersion=16.2.5  # should be the current proposed version number

then build the package and one should be fine.

unphysicalix commented on 2022-01-29 22:45 (UTC)

@etaboon,

Till then, I can put Eslint back if something goes wrong without it. On my system, I haven't noticed any difference so far.

Thats identical for me: works fine, see no difference.

etaboon commented on 2022-01-28 16:24 (UTC)

@unphysicalix: 3.27.0-7 is already without Elsint.

Electron 13.6.8-2 is out, I will have update but before I have some work to do on the PKGBUILD
in order to ease its maintenance. It will probably be ready late on Sunday...

Till then, I can put Eslint back if something goes wrong without it. On my system,
I haven't noticed any difference so far.

unphysicalix commented on 2022-01-27 17:19 (UTC)

@etaboon: hi,

I am happy to test a version without eslint. I am just not sure: is the version scratch3 v3.27.0-7 already one without eslint? Or do I have to do and compile that myself?

etaboon commented on 2022-01-16 13:44 (UTC) (edited on 2022-01-16 22:25 (UTC) by etaboon)

[Edit: +1]
@unphysicalix: hi,
I'm ok to flag the package out-of-date when a new version of Electron is out, no problem!
This time I was late because poor internet connection: the new PKGBUILD had already been ready for some time.
Thanks to a neighbor, I could push the commit today.

--> Finally I think I've found a way to use Arch Linux's electron13 instead of github's one.
But I can't make a new release just now and for a few days. :(

--> I also found a way to perhaps save some more bandwidth. As we don't use Eslint to build the app,
I think we can safely drop Eslint dependencies (in package.json). I've quickly tested a build without it and
it doesn't seem to be any differences in the output. And the node_modules size dir decreased significantly
(-40 in number of folders, -17% in size: -176 MB). Would you like to test such a version?