Package Details: jameica-nightly 2.11.0-3

Git Clone URL: (read-only, click to copy)
Package Base: jameica-nightly
Description: Free Java application platform
Upstream URL:
Keywords: java
Licenses: GPL2
Conflicts: jameica
Submitter: r20d20
Maintainer: Harvey
Last Packager: Harvey
Votes: 11
Popularity: 0.000000
First Submitted: 2013-06-09 15:18 (UTC)
Last Updated: 2021-05-30 14:52 (UTC)

Dependencies (3)

Required by (1)

Sources (2)

Latest Comments

1 2 3 Next › Last »

Harvey commented on 2021-05-30 14:55 (UTC)

OK, so here is the first initial rework. Raised the dependency to Java 11 (after asking Olaf) and changed to the integrated swt because of a very old archlinux swt package

square252 commented on 2021-05-28 19:49 (UTC)

@Harvey: Please do, I just hadn't the time recently to give this PKGBUILD the needed overhaul.

Harvey commented on 2021-05-07 14:15 (UTC)

Any objections if I take over here and for hibiscus-nightly? But I would only be able to test on x86_64

jan-one commented on 2021-02-02 10:40 (UTC)

The following patch will revert to using the SWT library that comes with Jameica and solves this error that otherwise occurs when trying to synchronize an account with a recent version of Hibiscus Mashup:

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.RuntimeException: java.lang.NoSuchMethodError: 'int org.eclipse.swt.widgets.Monitor.getZoom()')

@@ -5,13 +5,12 @@

 pkgdesc="Jameica is a free Java application platform"
-depends=('java-runtime>=1.6' 'bash' 'swt')
-makedepends=('zip' 'unzip')
+depends=('java-runtime>=1.6' 'bash')
 source=("$" "jameica.desktop")
@@ -20,21 +19,7 @@ sha256sums=('SKIP'
 package() {
   install -d "$pkgdir"/usr/share/{java/jameica,applications}
   cp -R "$srcdir"/jameica "$pkgdir"/usr/share/java
-  # remove local swt lib
-  rm -rf "$pkgdir"/usr/share/java/jameica/lib/swt/linux64

-  # adjust classpath in order to use system swt
-  unzip "$pkgdir"/usr/share/java/jameica/jameica-linux64.jar \
-         -d "$pkgdir"/usr/share/java/jameica/unzipped
-  sed -i 's|lib/swt/linux64/swt.jar|/usr/share/java/swt.jar|g' \
-         "$pkgdir"/usr/share/java/jameica/unzipped/META-INF/MANIFEST.MF
-  pushd "$pkgdir"/usr/share/java/jameica/unzipped
-  zip -r ../jameica-linux64.jar *
-  popd
-  # remove dead bodies
-  rm -rf "$pkgdir"/usr/share/java/jameica/unzipped
   # link jameica-linux64.jar to jameica-linux.jar
   ln -s /usr/share/java/jameica/jameica-linux64.jar \

Harvey commented on 2021-02-01 12:30 (UTC) (edited on 2021-02-01 12:31 (UTC) by Harvey)

Now the replacement of swt gets really urgent. The new credit card plugins (Hibiscus-Mashup) won't run with swt provided by archlinux. The archlinux version of swt is really old... SWT mainline is now version 4.18 and archlinux is still on 4.6.3 :( It is flagged out of date as of 2020-04-10 but nobody seems to care. That's something I am not used to from my beloved distro...

square252 commented on 2019-06-01 12:37 (UTC)

Imho we should use the one provided from Olaf, i'm preparing a new PKGBUILD in the next days and update the pkgrel if everything is fine.

Besides it's intended to be included, as stated in (not sure if english version available, link is pointing to the german docs)

Any objections or suggestions regarding this?

Harvey commented on 2019-05-24 08:14 (UTC)

Sorry, my bad, did check the PKGBUILD too late. Another thing: Is it really a good idea to replace the packaged version of swt with the arch standard one? In the past there have been some UI issues when doing so IIRC. Maybe ask Olaf before doing so?

square252 commented on 2019-05-22 22:17 (UTC) (edited on 2019-05-22 22:19 (UTC) by square252)

@9-r Thank you for the help, for now I included your second fix in the PKGBUILD to make it usable on AMD64 again. Using the system default is more arch-way imho. Any other suggestions for this? Maybe i'm breaking something exotic jre's...

9-r commented on 2019-05-22 09:19 (UTC) (edited on 2019-05-22 09:27 (UTC) by 9-r)

There is still a bug in the PKGBUILD introduced with commit 7d490cab97 that will produce broken packages on all architectures except armv6h, armv7h, aarch64.

For arm based architectures the aur package replaces packed swt.jar with a link to the local arch library in the MANIFEST of jameica-linux64.jar.

The commit mentioned above removes the packaged version of swt for all architectures but only modifies the library link for arm architectures.

This patch will restore the previous, working state:

@@ -20,11 +20,11 @@ sha256sums=('SKIP'
 package() {
   install -d "$pkgdir"/usr/share/{java/jameica,applications}
   cp -R "$srcdir"/jameica "$pkgdir"/usr/share/java
-  # remove local swt lib
-  rm -rf "$pkgdir"/usr/share/java/jameica/lib/swt/linux64

   if [ "$CARCH" = "armv6h" ] || [ "$CARCH" = "armv7h" ] || [ "$CARCH" = "aarch64" ]; then

+    # remove local swt lib
+    rm -rf "$pkgdir"/usr/share/java/jameica/lib/swt/linux64
     # adjust classpath in order to use system swt
     unzip "$pkgdir"/usr/share/java/jameica/jameica-linux64.jar \
      -d "$pkgdir"/usr/share/java/jameica/unzipped

Alternatively we could replace the packaged version of swt with the arch version on all architectures by removing the following "if"-statement.

-   if [ "$CARCH" = "armv6h" ] || [ "$CARCH" = "armv7h" ] || [ "$CARCH" = "aarch64" ]; then


-   fi

I have verified that both approaches will produce a working build on x86_64.

Maybe somebody with a better understanding of java / jameica can decide which way to proceed.

square252 commented on 2019-05-21 17:53 (UTC)

He indeed made me double check my commit from then :'D