Package Details: bisq2 2.1.2-1

Git Clone URL: https://aur.archlinux.org/bisq2.git (read-only, click to copy)
Package Base: bisq2
Description: The Decentralized Trading Platform
Upstream URL: https://bisq.network
Licenses: AGPL3
Provides: bisq2
Submitter: nojo
Maintainer: nojo
Last Packager: nojo
Votes: 5
Popularity: 0.65
First Submitted: 2024-03-15 22:00 (UTC)
Last Updated: 2024-11-01 13:50 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

rkelly commented on 2024-11-29 08:59 (UTC)

As @ceri says, if you try to install this package as of today (Nov 28, 2024), you get this error:

△  Starting the build:
==> Making package: bisq2 2.1.2-1 (Fri 29 Nov 2024 12:54:33 AM PST)
==> Checking runtime dependencies...
==> Missing dependencies:
  -> java-runtime=22
==> Checking buildtime dependencies...
==> Missing dependencies:
  -> java-environment=22

If you edit the dependencies to java-runtime-23 and java-environment-23, you get a bunch of errors like this:

> Configure project :wallets:electrum
Kotlin does not yet support 23 JDK target, falling back to Kotlin JVM_21 JVM target

FAILURE: Build failed with an exception.

So, I'm not sure how to resolve the dependency issues.

ceri commented on 2024-10-28 01:33 (UTC)

The dependency java-environment=22 doesn't allow installation with an up to date arch install in which openjdk is now version 23. It runs fine on that though.

nojo commented on 2024-10-16 08:43 (UTC)

@wcasanova 2.1.1 is a Pre-release

3cola commented on 2024-08-22 10:30 (UTC)

I guess it is possible. I did not try. I guess you will have to get the target architecture and get the install line correct.
Thank you for updating the package.

nojo commented on 2024-08-22 09:46 (UTC)

@3cola thanks, updated. btw, do you know if it is possible to build for non-x86_64 platforms?

3cola commented on 2024-08-21 19:39 (UTC) (edited on 2024-08-21 19:39 (UTC) by 3cola)

New version of bisq2 (2.1.0) is available. The following worked for me.

diff --git a/PKGBUILD b/PKGBUILD
index e591424..59eaaea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
 # Co-Maintainer: Felix Golatofski <contact@xdfr.de>

 pkgname=bisq2
-pkgver=2.0.4
+pkgver=2.1.0
 pkgrel=1
 pkgdesc="The Decentralized Trading Platform"
 arch=('any')
 url="https://bisq.network"
 license=('AGPL3')
-depends=('java-runtime=17')
-makedepends=('java-environment=17' 'git')
+depends=('java-runtime=22')
+makedepends=('java-environment=22' 'git')
 source=("git+https://github.com/bisq-network/bisq2#tag=v$pkgver"
        "bisq2.desktop")
 sha256sums=('SKIP'
@@ -21,7 +21,7 @@ provides=("bisq2")
 build() {
   cd "${srcdir}/${pkgname}"
   msg2 "Building bisq2..."
-  ./gradlew desktop:desktop-app:build
+  ./gradlew apps:desktop:desktop-app:build
 }

 check() {
@@ -33,7 +33,7 @@ check() {
 package() {
   # Install executable.
   optdir="${pkgdir}/opt/bisq2"
-  install -Dm644 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/libs/desktop-app-$pkgver-all.jar" "${optdir}/lib/desktop-app-$pkgver-all.jar"
+  install -Dm644 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/libs/desktop-app-$pkgver-linux_x86_64-all.jar" "${optdir}/lib/desktop-app-$pkgver-linux_x86_64-all.jar"
   install -Dm755 "${srcdir}/${pkgname}/apps/desktop/desktop-app/build/scriptsShadow/desktop-app" "${optdir}/bin/bisq2-desktop"
   install -d "${pkgdir}/usr/bin"
   ln -s "/opt/bisq2/bin/bisq2-desktop" "${pkgdir}/usr/bin/bisq2-desktop"

nojo commented on 2024-03-16 12:46 (UTC)

@Ranguvar Thank you for your comment, I've replaced the java requirement with java-environment=17

Ranguvar commented on 2024-03-15 22:28 (UTC) (edited on 2024-03-15 22:42 (UTC) by Ranguvar)

Thanks so much for uploading this!

However I couldn't get it to build until I ran archlinux-java set zulu-17.

I suggest setting the dependency to 'java-environment=17' so that jdk17-openjdk could be used instead of zulu-17-bin if desired.

Obviously if OpenJDK is used the command must be archlinux-java set java-17-openjdk.

I can confirm the app and profile setup wizard run fine with OpenJDK, but haven't proceeded further yet.