Package Details: processing 4.3-4

Git Clone URL: https://aur.archlinux.org/processing.git (read-only, click to copy)
Package Base: processing
Description: Programming environment for creating images, animations and interactions
Upstream URL: https://www.processing.org/
Licenses: GPL, LGPL
Submitter: arojas
Maintainer: lesto (letorbi)
Last Packager: letorbi
Votes: 15
Popularity: 0.000881
First Submitted: 2020-05-01 19:31 (UTC)
Last Updated: 2023-12-22 11:59 (UTC)

Dependencies (18)

Required by (0)

Sources (4)

Pinned Comments

Latest Comments

1 2 3 4 5 6 7 Next › Last »

eclairevoyant commented on 2023-05-01 22:00 (UTC) (edited on 2023-05-01 22:01 (UTC) by eclairevoyant)

@fbrennan if you say it no longer builds for you, provide the logs? it builds fine on my end in a clean chroot with jre17-openjdk

letorbi commented on 2023-05-01 19:05 (UTC)

Thanks for the patch. However, I can still build the package with java-environment-openjdk=17. Can anyone confirm that jdk17-temurin is required?

fbrennan commented on 2023-05-01 06:09 (UTC)

Here's a patch as this no longer builds:

diff --git a/PKGBUILD b/PKGBUILD
index 152190f..c78d40b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ arch=(x86_64)
 pkgdesc='Programming environment for creating images, animations and interactions'
 url='https://www.processing.org/'
 license=(GPL LGPL)
-depends=('java-environment-openjdk=17' ffmpeg)
+depends=(jdk17-temurin ffmpeg)
 optdepends=('processing-examples: Examples for Processing')
 makedepends=(ant gendesk rsync unzip)
 options=(!strip)
@@ -26,8 +26,8 @@ sha256sums=('bc3891e286861d6ba835e5dae4efba3a6c84697c7a3264c24b4670e17c0fb1bb'

 prepare() {
   # Check if OpenJDK 17 executable is actually installed
-  if ! [ -f "/usr/lib/jvm/java-17-openjdk/bin/java" ]; then
-    echo "Error: OpenJDK 17 executable '/usr/lib/jvm/java-17-openjdk/bin/java' is missing."
+  if ! [ -f "/usr/lib/jvm/java-17-temurin/bin/java" ]; then
+    echo "Error: OpenJDK 17 executable '/usr/lib/jvm/java-17-temurin/bin/java' is missing."
     sh -c "exit 1"
   fi
   # Check if FFmpeg executable is actually installed
@@ -53,7 +53,7 @@ prepare() {
 build() {
   cd "$pkgname/build"

-  JAVA_HOME="/usr/lib/jvm/java-17-openjdk" ant build
+  JAVA_HOME="/usr/lib/jvm/java-17-temurin" ant build
 }

 package() {
@@ -76,7 +76,7 @@ package() {

   # Link processing's internal java-command to the system's one
   mkdir -p "$pkgdir/usr/share/processing/java/bin/"
-  ln -s "/usr/lib/jvm/java-17-openjdk/bin/java" "$pkgdir/usr/share/processing/java/bin/java"
+  ln -s "/usr/lib/jvm/java-17-temurin/bin/java" "$pkgdir/usr/share/processing/java/bin/java"

   # Link processing's internal ffmpeg-command to the system's one
   ln -s "/usr/bin/ffmpeg" "$pkgdir/usr/share/processing/tools/MovieMaker/tool/"

OpenSauce commented on 2023-03-01 23:51 (UTC) (edited on 2023-03-04 15:54 (UTC) by OpenSauce)

Oh, sorry! I forgot that it was a part of base-devel

Only caught it because of a fresh install I recently did on a laptop and forgot to install base-devel 😅

letorbi commented on 2023-02-27 20:55 (UTC)

@OpenSauce Thanks for the hint, but @eclairevoyant is right. Since patch is part of base-devel, it should not be added to the dependencies. See also https://wiki.archlinux.org/title/Arch_User_Repository#Getting_started and https://wiki.archlinux.org/title/PKGBUILD#makedepends.

eclairevoyant commented on 2023-02-27 14:36 (UTC)

@OpenSauce Please read the wiki. patch is part of base-devel.

OpenSauce commented on 2023-02-27 14:16 (UTC)

This package is missing the dependency patch, and will fail to build if it is not already installed.

pedrogabriel commented on 2023-01-03 03:00 (UTC)

Hope it returns to the community repo now since it now uses a sane version of java

letorbi commented on 2022-08-19 19:32 (UTC)

The package processing4 has been merged into the processing package. This not only affects the codebase, but also comments and votes.