Search Criteria
Package Details: scratch3 3.30.5-2
Package Actions
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.000022 |
First Submitted: | 2020-08-14 14:55 (UTC) |
Last Updated: | 2023-10-26 22:40 (UTC) |
Dependencies (12)
- c-ares (c-ares-gitAUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-amd-full-gitAUR, ffmpeg-cudaAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-headlessAUR, ffmpeg-amd-fullAUR, ffmpeg-libfdk_aacAUR, ffmpeg-obsAUR, ffmpeg-ffplayoutAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libevent (libevent-gitAUR)
- libxslt (libxslt-gitAUR)
- minizip (minizip-gitAUR)
- nss (nss-hgAUR)
- re2 (re2-gitAUR)
- snappy (snappy-gitAUR)
- electron13-binAUR (make)
- nvmAUR (nvm-gitAUR) (make)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR) (optional) – open URLs with desktop's default (xdg-email, xdg-open)
Latest Comments
« First ‹ Previous 1 2 3 4 Next › Last »
etaboon commented on 2022-01-02 12:56 (UTC) (edited on 2022-01-02 12:57 (UTC) by etaboon)
@gyurman: hi,
I know nothing about cross compiling, sorry.
If I were you, first I would give a try to scratch3-bin. See my post.
If it doesn't run, I would then try to make a direct compile so as to check
if the resulting package is usable, even if it takes 2 hours to compile.
If not, don't waste your time in trying to cross compile! It won't run any better...
If the resulting package is usable, only then I would try cross compiling (If I were you).
Don't forget to report, thanks!
gyurman commented on 2022-01-02 11:05 (UTC)
How can I build with x64 system volunteer for aarch64? Same as distccd? https://wiki.archlinux.org/title/Distcc#Cross_compiling_with_distcc
etaboon commented on 2021-12-31 03:31 (UTC)
@Gyurman: szia,
I think I found a way to successfully build the package on your device.
In fact you were almost done!
The output directory used by electron-builder is
dist/linux-arm64-unpacked because of your ARM system
instead of dist/linux-unpacked (for arch=x86_64).
Something I couldn't be aware of.
I updated the PKGBUILD: it reads now the system's architecture value
and should use the right folder accordingly. But it needs testing
since I don't have such a device.
gyurman commented on 2021-12-28 05:22 (UTC) (edited on 2021-12-28 05:23 (UTC) by gyurman)
After 2 hours build:
etaboon commented on 2021-12-27 16:00 (UTC) (edited on 2022-01-30 19:22 (UTC) by etaboon)
From version 3.27.0-3 and later
Instead of using the windows binary, this version will build the app from sources, targeting Electron version 13.6.y.
If you prefer the other way, then install scratch3-bin instead.
Before starting the installation, please check your disk space, the PKGBUILD won't do it for you.
Total size of the build directory on my system: 1.9 GiB (2 009 713 885)
Tested successfully under KDE/Plasma X11 arch=x86_64.
Any feedback are welcomed.
unphysicalix commented on 2021-12-04 18:34 (UTC) (edited on 2021-12-04 18:41 (UTC) by unphysicalix)
Hi, I digged a bit deeper as why we can only use electron11 and only, if you copy the complete electron11 into the scratch-installation.
found this: https://gist.github.com/lyshie/0c49393076b8b375ca1bd98c28f95fb0#gistcomment-3808921 and found that I can let scratch run with electron11, electron13, electron14 and electron (16) using the trick to "disable" contextIsolation
however, the images are missing / not loading if the systemwide electron is used and only shown if electron is copied to scratch-installation. I did not find a way to circumvent this.
the other deprecation issues should be looked upon closely: "DeprecationWarning: Buffer()" from electron11 upwards, e.g.
there is another problem: electron14 and upwards do not show the "save to computer" dialog, but GTK shows an error message:
To sum up:
My diff looks like this:
queenmedley commented on 2021-05-05 04:45 (UTC) (edited on 2021-05-05 05:22 (UTC) by queenmedley)
@etaboon I just made it, thank you
« First ‹ Previous 1 2 3 4 Next › Last »