Package Details: universal-gcode-sender 2.1.14-1

Git Clone URL: https://aur.archlinux.org/universal-gcode-sender.git (read-only, click to copy)
Package Base: universal-gcode-sender
Description: Java based GRBL compatible cross-platform G-Code sender
Upstream URL: https://github.com/winder/Universal-G-Code-Sender
Licenses: GPL3
Conflicts: universal-gcode-sender-git
Provides: universal-gcode-sender
Submitter: greyltc
Maintainer: fermino
Last Packager: fermino
Votes: 4
Popularity: 0.85
First Submitted: 2017-02-12 18:44 (UTC)
Last Updated: 2025-06-03 22:45 (UTC)

Dependencies (9)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

tonyrh commented on 2025-06-03 11:35 (UTC) (edited on 2025-06-03 11:39 (UTC) by tonyrh)

I get this error, one of the test fails:

[ERROR] Failures: 
[ERROR] AsyncCommunicatorEventDispatcherTest.dispatchShouldStartWorkerThread:42 
Wanted but not invoked:
iCommunicatorListener.communicatorPausedOnError();
-> at com.willwinder.universalgcodesender.communicator.event.AsyncCommunicatorEventDispatcherTest.dispatchShouldStartWorkerThread(AsyncCommunicatorEventDispatcherTest.java:42)
Actually, there were zero interactions with this mock.

fermino commented on 2025-06-02 22:31 (UTC)

Package updated to latest and java 17 :)

fermino commented on 2025-05-27 22:02 (UTC)

UGS has switched to java 17 and in order to avoid using archlinux-java[-run] I made the following patch. It updates to the latest version and fixes the building process:

diff --git a/PKGBUILD b/PKGBUILD
index 10a86e8..d8373c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,19 @@
 # Maintainer: jooch <jooch at gmx dot com>
 pkgname=universal-gcode-sender
-pkgver=2.0.18
+pkgver=2.1.14
 pkgrel=1
 pkgdesc="Java based GRBL compatible cross-platform G-Code sender"
 arch=(any)
 url="https://github.com/winder/Universal-G-Code-Sender"
 license=(GPL3)
-makedepends=(jdk13-openjdk-bin npm maven)
-depends=(jdk13-openjdk-bin npm)
+makedepends=(java-runtime=17 npm maven)
+depends=(java-runtime=17 npm)
 provides=(universal-gcode-sender)
 conflicts=(universal-gcode-sender-git)
 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/winder/Universal-G-Code-Sender/archive/v${pkgver}.tar.gz"
    "universal-gcode-sender.desktop"
    "ugs_logo_square.svg")
-sha256sums=('d893f6d63513d698d3968d5c76ec62415ae4466b1a1d8635f963b32130012d07'
+sha256sums=('3d36c0c8539d78df09d9f930989d334512266590a8204e9469f8bd2ed10824a0'
       'bb2c016d343490bdbf666aeb1c7de479af21d9cb1c37d506e289fc9122e00b7d'
       '821f25d7fb74e6fc831a05d3220e1a70561833f725cd43b8566854ca05290d9a')

@@ -25,7 +25,7 @@ build() {
   cd "${srcdir}/Universal-G-Code-Sender-${pkgver}"

   export MAVEN_OPTS="-Xmx2048m"
-  export JAVA_HOME=/usr/lib/jvm/java-13.0.1-openjdk
+  export JAVA_HOME="$(pacman -Ql java-runtime=17 | grep -oE -m1 '/usr/lib/jvm/[^/]+')"
   mvn test install -B -Djava.util.logging.config.file=scripts/logging.config
   mvn package -pl ugs-classic assembly:assembly -DskipTests=true
   mvn package -pl ugs-platform/application -P create-linux-package -DskipTests=true

fermino commented on 2025-05-27 21:42 (UTC)

Hey there :) The last release is 2.1.14, published in april of this year. If help is needed to package it I volunteer to help maintain it.

zwastik commented on 2022-01-16 19:37 (UTC)

:: error: Can't resolve dependencies for AUR package 'universal-gcode-sender': :: error: Dependencies missing for universal-gcode-sender :: warning: Following package cannot be found in AUR: java-environment-jdk

Panaetius commented on 2021-05-25 08:23 (UTC)

With 'jdk8? requiring an oracle account to download/install, it'd be ncie if this package could support openjdk.

Build&install works fine, all that's needed is http://ix.io/3nNX (and of course 'archlinux-java set java-8-openjdk' before running to get the correct java version).

I know too little about PKGBUILDs to create a patch myself. Not sure if switching to 'java-environment=8' in depends would work, along with changing the build() script to detect which of the two is installed in the 'export JAVA_HOME=/usr/lib/jvm/java-8-jdk' line?

bartus commented on 2020-12-14 08:43 (UTC) (edited on 2020-12-14 08:45 (UTC) by bartus)

@greyltc: Switching back and forth default java env is an over kill, please just add export JAVA_HOME to build() function to fix this.

patch ___〆(・∀・)

greyltc commented on 2020-11-01 18:01 (UTC)

# archlinux-java set java-8-jdk

clpwn commented on 2019-05-30 03:57 (UTC)

the md5sums no longer match