Package Details: penpot-frontend 2.13.3-1

Git Clone URL: https://aur.archlinux.org/penpot.git (read-only, click to copy)
Package Base: penpot
Description: The open-source design tool for design and code collaboration
Upstream URL: https://penpot.app/
Licenses: MPL-2.0
Submitter: schlmm
Maintainer: schlmm
Last Packager: schlmm
Votes: 3
Popularity: 0.88
First Submitted: 2024-04-16 16:13 (UTC)
Last Updated: 2026-02-16 15:36 (UTC)

Dependencies (12)

Required by (0)

Sources (9)

Latest Comments

1 2 3 Next › Last »

schlmm commented on 2026-02-09 14:50 (UTC) (edited on 2026-02-09 15:06 (UTC) by schlmm)

i added java-environment>=25 java-environment<=25 to makedepends
and added the the right bin folder to PATH variable

thx

schlmm commented on 2026-02-09 14:38 (UTC) (edited on 2026-02-09 14:38 (UTC) by schlmm)

i have

"java-environment>=${_jdkver}" "java-environment<=${_jdkver}"

in the penpot dependencies, where _jdkver is 25

see: https://aur.archlinux.org/cgit/aur.git/tree/.SRCINFO?h=penpot#n40

maybe this is wrong how i did it?

// Edit: ah maybe i should add it to makedependencies in frontend

starwort commented on 2026-02-09 13:18 (UTC) (edited on 2026-02-09 13:18 (UTC) by starwort)

Under my default Java (java-17-openjdk), the build fails during yarn build:app:main in the frontend with:

Unrecognized option: --sun-misc-unsafe-memory-access=allow
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

From an internet search, this appears to be a flag introduced in Java 23, which Clojure (the command used for that Yarn script) is assuming exists - when overriding to Java 25 I can build the package fine. Perhaps it's worth depending on Java 25 if Clojure is going to require that flag?

This is the command that ended up building this successfully for me: PATH=/usr/lib/jvm/java-25-openjdk/bin/:$PATH makepkg -si

schlmm commented on 2025-01-24 09:29 (UTC)

Yes, sure I'm compiling it with new dependencies. In latest version same error.

ok weird, do you have some errors before the sed error? the rustup setup is happening at the start of the build script:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=penpot&id=4db3e4f3f0a273e29d082c7633cba83ce10343b6#n57

VVL commented on 2025-01-23 20:53 (UTC)

Yes, sure I'm compiling it with new dependencies. In latest version same error.

schlmm commented on 2025-01-13 09:57 (UTC)

do you have installed the new dependencies? ('rustup' 'emscripten' 'emsdk')

the target/dist/js/render_wasm.js is now built via rust

if that doesnt work, there will be no target/dist/js/render_wasm.js

VVL commented on 2025-01-12 16:55 (UTC) (edited on 2025-01-12 16:55 (UTC) by VVL)

Problem in file

penpot-2.4.1/frontend/scripts/build

If comment out line

sed -i "s/version=develop/version=$CURRENT_VERSION/g" ./target/dist/js/render_wasm.js;

Then app builds fine.

VVL commented on 2025-01-12 16:37 (UTC)

When building latest version:

+ sed -i s/version=develop/version=2.4.1/g ./target/dist/js/render_wasm.js
sed: cannot read ./target/dist/js/render_wasm.js: No such file or directory

schlmm commented on 2024-10-26 10:15 (UTC) (edited on 2024-10-26 10:17 (UTC) by schlmm)

hey @Powersource

the PKGBUILD requires explicitly a jdk version of 21, because i couldnt build with other versions. what version did you use to make it build?

But there's no way to run this? Would appreciate some elaboration in the package description on what exactly this package is meant to do and be used.

well it is a web app which consists of the frontend (static html + css + js), the penpot-exporter service and the main penpot service.

to make it work, start both the services. then you have to configure nginx (or your favorite webserver) to serve the app. (a nginx example config is included in the package)

also a postgresql database must be created