[arch-commits] Commit in processing/trunk (PKGBUILD openjdkmsg.install)

Alexander Rødseth arodseth at archlinux.org
Sun Jan 27 15:13:34 UTC 2019


    Date: Sunday, January 27, 2019 @ 15:13:33
  Author: arodseth
Revision: 428219

upgpkg: processing 3.5.2-1

Modified:
  processing/trunk/PKGBUILD
  processing/trunk/openjdkmsg.install

--------------------+
 PKGBUILD           |   48 +++++++++++++++++++++++++-----------------------
 openjdkmsg.install |    2 +-
 2 files changed, 26 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-27 15:11:52 UTC (rev 428218)
+++ PKGBUILD	2019-01-27 15:13:33 UTC (rev 428219)
@@ -1,56 +1,55 @@
 # Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
 
 pkgname=processing
-pkgver=3.4
-pkgrel=3
+pkgver=3.5.2
+pkgrel=1
 arch=(x86_64)
 pkgdesc='Programming environment for creating images, animations and interactions'
 url='http://www.processing.org/'
 license=(GPL LGPL)
 # Can upgrade to OpenJDK 10 once java-openjfx has been upgraded to support it
-makedepends=(apache-ant gendesk java-environment=8 java-openjfx unzip)
 depends=(java-runtime=8 libgl)
+makedepends=(apache-ant gendesk java-openjfx unzip)
 options=(!strip)
 install=openjdkmsg.install
-# ex: 3.4 -> 0265,  update the expression when the version scheme changes
-source=("https://github.com/$pkgname/$pkgname/archive/$pkgname-0$((265+${pkgver/3.4/0}))-$pkgver.tar.gz"
-        "http://download.processing.org/reference.zip"
-        'build.xml'
-        'errormessage.patch')
-sha256sums=('ae27b35c0193c99b3297029f97b459a262b4c0998aa4b5fb3c3f0f81f72bb4a4'
-            'cede53cfe2cd0641bac3a3f2a816d22a28a014f6428f3b8184a52d2de5a111f3'
-            '9f4050475b3363eb5e966fa891caea0391b3dcc2cdb68245f1a053b0d7ffb220'
-            '3c49143a129c6b3655586bce9f175ee145ab388b78ad4615d6c0b80563ba6f26')
+# The Processing version scheme for the 3.5.x series uses a special magical
+# version number above 0266 in addition to the ordinary version number.
+# https is not available for reference.zip.
+source=("https://github.com/$pkgname/$pkgname/archive/$pkgname-0$((266+${pkgver##3.5.}))-$pkgver.tar.gz"
+        'http://download.processing.org/reference.zip'
+        build.xml
+        errormessage.patch)
 
 prepare() {
-  gendesk -f -n --pkgname="$pkgname" --pkgdesc="$pkgdesc"
+  gendesk -f -n --pkgname=$pkgname --pkgdesc="$pkgdesc"
 
   # Symbolic link for not having to repeat the revision number
-  ln -sf "$pkgname-$pkgname-"*"-$pkgver" "$pkgname"
+  ln -sf "$pkgname-$pkgname-"*"-$pkgver" $pkgname
 
   # Add some details to one of the error messages
   patch -p0 -i errormessage.patch
 
   # Copy reference.zip to the java directory
-  mkdir -p "$pkgname/java"
-  cp "$srcdir/reference.zip" "$pkgname/java/"
+  mkdir -p $pkgname/java
+  cp "$srcdir/reference.zip" $pkgname/java/
 
   # Unpack reference.zip
-  mkdir -p "$pkgname/build/linux/work/modes/java"
-  unzip -q -u "$srcdir/reference.zip" -d "$pkgname/build/linux/work/modes/java"
+  mkdir -p $pkgname/build/linux/work/modes/java
+  unzip -q -u "$srcdir/reference.zip" -d $pkgname/build/linux/work/modes/java
 
   # Disable the "We only like Java from Sun and Oracle" GUI message
-  sed -i 's,Messages.showWarning,\/\*Messages.showWarning,;s,null);,null);\*\/,' "$pkgname/app/src/processing/app/platform/LinuxPlatform.java"
+  sed -i 's,Messages.showWarning,\/\*Messages.showWarning,;s,null);,null);\*\/,' \
+    "$pkgname/app/src/processing/app/platform/LinuxPlatform.java"
 
   # Create missing directories
-  mkdir -p "$pkgname/build/linux/work/java"
+  mkdir -p $pkgname/build/linux/work/java
 
   # Use the font's built-in hinting instructions
   sed 's|  java|  _JAVA_OPTIONS="-Dawt.useSystemAAFontSettings=gasp" java|g' \
-    -i "$pkgname/build/linux/processing"
+    -i $pkgname/build/linux/processing
 
   # Use a custom build.xml file for ant
-  cp -fv build.xml "$pkgname/build/build.xml"
+  cp -fv build.xml $pkgname/build/build.xml
 }
 
 build() {
@@ -83,5 +82,8 @@
   ln -s /usr/lib/jvm/java-8-openjdk/ "$pkgdir/usr/share/processing/java"
 }
 
-# getver: github.com/processing/processing/search?type=Commits&q=release+notes+author-date%3A%3E2018-03-14
 # vim: ts=2 sw=2 et
+md5sums=('16f8adb1c91a6de419a7e5d65dd96cf0'
+         '70d03f0034dd8213648b6ad2fb0433ce'
+         'efa69e29922fbf8b49ca03440959c20a'
+         '699376fe908c102794d3ee18c8e4f441')

Modified: openjdkmsg.install
===================================================================
--- openjdkmsg.install	2019-01-27 15:11:52 UTC (rev 428218)
+++ openjdkmsg.install	2019-01-27 15:13:33 UTC (rev 428219)
@@ -2,7 +2,7 @@
   cat << EOF
 ---[ NOTE ]------------------------------------------------------------------
  Processing does not really support OpenJDK, only Java from Sun and Oracle.
- https://github.com/processing/processing/wiki/Supported-Platforms#linux
+ See: https://github.com/processing/processing/wiki/Supported-Platforms#linux
  If you encounter any issues with this package, please file bug reports with
  Processing and/or OpenJDK until Processing can officially support OpenJDK.
 -----------------------------------------------------------------------------


More information about the arch-commits mailing list