Package Details: swt 4.34-2

Git Clone URL: https://aur.archlinux.org/swt.git (read-only, click to copy)
Package Base: swt
Description: An open source widget toolkit for Java
Upstream URL: https://www.eclipse.org/swt/
Licenses: EPL-2.0
Submitter: arojas
Maintainer: gpepi
Last Packager: gpepi
Votes: 6
Popularity: 0.41
First Submitted: 2021-04-22 20:25 (UTC)
Last Updated: 2024-12-06 21:33 (UTC)

Dependencies (13)

Sources (2)

Latest Comments

« First ‹ Previous 1 2 3

bjo commented on 2021-07-05 16:32 (UTC)

@solnce: I've given the package to you :)

solnce commented on 2021-07-05 14:42 (UTC)

Apply the following patch to build SWT.

CAUTION: This breaks hibiscus / jameica!

diff --git a/PKGBUILD b/PKGBUILD
index 7434fdc..b330b64 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Guillaume ALAUX <guillaume@archlinux.org>
 pkgname=swt
 # http://download.eclipse.org/eclipse/downloads/drops4
-pkgver=4.20M1
+pkgver=4.20
 pkgrel=1
 _date=202104071800
 pkgdesc='An open source widget toolkit for Java'
@@ -9,14 +9,14 @@ arch=('x86_64')
 url='https://www.eclipse.org/swt/'
 license=('EPL')
 depends=('java-runtime>=7' 'libxtst')
-makedepends=('jdk8-openjdk' 'glu' 'unzip' 'pkgconfig' 'gtk2' 'gtk3' 'ant')
-optdepends=('glu' 'gtk2' 'gtk3')
+makedepends=('jdk-openjdk' 'glu' 'unzip' 'pkgconfig' 'gtk3' 'gtk4' 'ant')
+optdepends=('glu' 'gtk3' 'gtk4')

 # Source isn't distributed separately from the binaries; we're not using the latter
-source=(https://download.eclipse.org/eclipse/downloads/drops4/S-${pkgver}-${_date}/swt-${pkgver}-gtk-linux-x86_64.zip
+source=(https://download.eclipse.org/eclipse/downloads/drops4/R-${pkgver}-202106111600/${pkgname}-${pkgver}-gtk-linux-${arch}.zip
         build-swt.xml)
-sha256sums=('df2a21425659bef510e99a26e212ce4782a85f507f5a304d838d31ae35a8be8a'
-            '3d30fbde25a6a6d260d04cb1782b7618c2a0a926440935a9eea516146eb0e1e1')
+sha256sums=('0d1ab552b95aab6df6c0499c934fd82864100dc638c43b6c1e793e740bb534c2'
+            'e1a7d5763912e52e94fcaffc778e55dbf822ffba5eb0d7f5d5018e79d8bd79d4')

 # These examples don't even run anymore (Try Tux Guitar instead)!
 # http://www.eclipse.org/swt/examples.php#standaloneOutsideEclipse
diff --git a/build-swt.xml b/build-swt.xml
index 9d1265e..b86ab63 100644
--- a/build-swt.xml
+++ b/build-swt.xml
@@ -8,7 +8,7 @@
    </target>

    <target name="compile" depends="init" description="Compile the SWT toolset">
-      <javac srcdir="${src}" destdir="${build}" source="1.7" />
+      <javac srcdir="${src}" destdir="${build}" source="1.8" />
    </target>

    <target name="jar">

cknoblauch commented on 2021-07-05 13:25 (UTC)

The source of the package seems to be broken. It's also dated, 4.20 has already been released.

solnce commented on 2021-07-05 10:34 (UTC)

@bjo That issue is now closed. Could you try pushing the new version again, please?

bjo commented on 2021-05-14 16:10 (UTC) (edited on 2021-05-14 16:11 (UTC) by bjo)

Adopted it and tried to update, was refused:

remote: error: package already provided by [extra]: swt remote: error: hook declined to update refs/heads/master

I assume this is related to https://gitlab.archlinux.org/archlinux/aurweb/-/issues/11

fred118 commented on 2021-05-14 12:54 (UTC) (edited on 2021-05-14 13:04 (UTC) by fred118)

I'm afraid I don't have the skills nor the time to acquire them. :-( Is there any channel were one could ask for volunteers to adopt this package?

bjo commented on 2021-05-13 16:36 (UTC)

@fred118: It is orphaned, feel free to adopt it.

fred118 commented on 2021-05-13 14:44 (UTC)

Dear package owners. Can you please update this? The latest stable version of SWT is 4.19, see https://download.eclipse.org/eclipse/downloads/index.html#Stable_Builds

This package still installs 4.6. It breaks parts of a popular German FOSS banking software (Hibiscus/Jameica).

Can you make this point to the latest version?