Package Details: java-flexdock 1.2.4-4

Git Clone URL: https://aur.archlinux.org/java-flexdock.git (read-only, click to copy)
Package Base: java-flexdock
Description: Docking framework for Swing
Upstream URL: https://gitlab.com/scilab/forge/flexdock
Licenses: MIT
Conflicts: flexdock
Provides: flexdock
Submitter: td123
Maintainer: MRWITEK
Last Packager: MRWITEK
Votes: 31
Popularity: 0.000000
First Submitted: 2011-12-07 20:36 (UTC)
Last Updated: 2023-07-19 23:45 (UTC)

Dependencies (2)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

vendci commented on 2023-05-19 04:34 (UTC)

It builds successfully after adding repo: arch4edu/arch-ck/blackarch.

I think adding arch4edu repo only will resolve building error because javahelp2 and java-flexdock are needed when I am installing acilab-bin which is math tool.

BTW, you'd better not importing PGP key that fails.

vi /etc/pacman.conf [arch4edu] SigLevel = Never Server = https://mirrors.tuna.tsinghua.edu.cn/arch4edu/$arch

[repo-ck] Server = https://mirrors.tuna.tsinghua.edu.cn/repo-ck/$arch

[blackarch] SigLevel = Never Server = https://mirrors.ustc.edu.cn/blackarch/$repo/os/$arch

MRWITEK commented on 2023-04-26 00:19 (UTC)

@petronny This package builds successfully in a clean chroot with extra-x86_64-build, so you have a problem with your build environment. Your sed reports

sed: -e expression #1, char 108: unknown option to `s'

Perhaps recreating build chroot will help.

petronny commented on 2023-04-24 04:37 (UTC)

compile:
    [javac] Compiling 218 source files to /build/java-flexdock/src/flexdock/build/bin
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 8 or later.
    [javac] error: Target option 5 is no longer supported. Use 8 or later.

https://github.com/arch4edu/cactus/actions/runs/4781635319/jobs/8500276946

a.kudelin commented on 2023-03-12 09:25 (UTC)

I have rewritten PKGBUILD a bit:

--- PKGBUILD.old    2015-05-24 13:28:23.000000000 +0300
+++ PKGBUILD    2023-03-12 11:22:41.161170949 +0200
@@ -1,29 +1,41 @@
-# Maintainer: Victor Dmitriyev <mrvviter@gmail.com>
+# Maintainer:  Victor Dmitriyev <mrvviter@gmail.com>
 # Contributor: Alucryd <alucryd at gmail dot com>
 # Contributor: Sergej Pupykin <pupykin.s+arch at gmail dot com>
 # Contributor: Simon Lipp <sloonz+aur at gmail dot com>
 # Contributor: Stefan Husmann <stefan-husmann at t-online dot de>

-pkgname=java-flexdock
+_pkgname=flexdock
+pkgname=java-$_pkgname
 pkgver=1.2.4
-pkgrel=1
+pkgrel=2
 pkgdesc="Docking framework for Swing"
 arch=('any')
-url="http://forge.scilab.org/index.php/p/flexdock/"
+url="https://gitlab.com/scilab/forge/flexdock"
 license=('MIT')
 depends=('java-runtime')
-privides=('flexdock')
-conflicts=('flexdock')
-source=("license.txt"
-  "http://forge.scilab.org/index.php/p/flexdock/downloads/get/flexdock-${pkgver}.jar")
-md5sums=('ed8e56d9c9e4a4a32251592d0f778866'
-'a6790943645aa7204ca12c190cb6e08b')
-noextract=("flexdock-${pkgver}.jar")
+makedepends=('ant')
+privides=($_pkgname)
+conflicts=($_pkgname)
+source=($pkgname-$pkgver.tar.bz2::"$url/-/archive/master/$pkgname-master.tar.bz2"
+        "license.txt")
+sha256sums=('bc748fa39ac6d71b20040b2e7593b2cb2196b6b81c2c53e33aec73a8cf69aa62'
+            '87130caac33d9496ec328c79ef3c3867493b56241333c5895f507ddcc0a40d67')
+
+prepare() {
+  cd "$srcdir"
+  mv $_pkgname-* $pkgname-$pkgver
+  sed -i 's/"1.5"/"1.8"/g' $pkgname-$pkgver/build.xml
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  ant jar
+}

 package() {
-  cd "${srcdir}"
-  install -Dm644 "flexdock-${pkgver}.jar" \
-    "${pkgdir}/usr/share/java/flexdock/flexdock.jar"
-  install -Dm644 "license.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
+  cd "$srcdir/$pkgname-$pkgver/build"
+  install -Dm644 "$_pkgname-$pkgver.jar" \
+    "$pkgdir/usr/share/java/$_pkgname/$_pkgname.jar"
+  install -Dm644 "$srcdir/license.txt" \
+    "$pkgdir/usr/share/licenses/$pkgname/license.txt"
 }
-# vim:set ts=2 sw=2 et:

a.kudelin commented on 2023-03-12 09:04 (UTC)

The project is now here:
https://gitlab.com/scilab/forge/flexdock

micwoj92 commented on 2021-05-05 03:34 (UTC)

Hello, could you update links to https?

MRWITEK commented on 2016-02-01 23:07 (UTC)

@yasharch If that was a question, the answer is: flexdock is a library, it doesn't have to. If that was an error message from somewhere, then you are doing something wrong, maybe you misunderstanding something?

yasharch commented on 2016-01-13 12:32 (UTC)

The META-INF does not contain path to class containg main

MRWITEK commented on 2012-12-22 19:12 (UTC)

Compiling? Are you serious? It's definitely a pure Java, so look at wiki: https://wiki.archlinux.org/index.php/Java_Package_Guidelines#Arch_Java_Packaging

Splashy commented on 2012-10-13 08:34 (UTC)

I know there was already a fledock package but I didn't appreciated the fact it from binary. So I made this one compiling from the sources, easier to update and updated to the last version which is 1.2.0.