You are not logged in.
Found nice screencasting tool, but makepkg gives error:
...Could not find JavaFX Runtime Jar, please set one of [JFXRT_HOME in System Environment, JAVA_HOME in System Environment, java.home in JVM properties...
Please help with correct PKGBUILD, thank you!
pkgname=dahu
pkgver=0.3
pkgrel=1
pkgdesc="alternative to existing screencasting softwares"
arch=('x86_64' 'i686')
url="http://dahuapp.github.io/"
license=('GPL')
groups=()
depends=('gradle-doc')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=("git://github.com/dahuapp/dahu.git")
noextract=()
sha256sums=()
build() {
cd "$pkgname"
cd editor
./gradlew build
}
package() {
cd "$pkgname"
}
md5sums=('SKIP')
sha256sums=('SKIP')Offline
The upstream source says that it requires Java 8. I know next to nothing about Java, but the JRE in the repos is version 7, and I see no version 8 in the aur.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The upstream source says that it requires Java 8. I know next to nothing about Java, but the JRE in the repos is version 7, and I see no version 8 in the aur.
There is now the openjdk version of jre7 and jre8 in the repos.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Oops - my appologies. Either that was just pushed from testing to extra and I hadn't synced yet ... or I was completely blind a moment ago when I checked. But it seems jre8 doesn't replace jre7. This should be listed as a dependency. Studentik, do you have jre8?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Oops - my appologies. Either that was just pushed from testing to extra and I hadn't synced yet ... or I was completely blind a moment ago when I checked. But it seems jre8 doesn't replace jre7. This should be listed as a dependency. Studentik, do you have jre8?
The java version is now selected according to the contents of JAVA_HOME. If your application needs a specific java version, you should set JAVA_HOME accordingly in the startup shell script.
The default java version for the whole system can be set with the "archlinux-java" command.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
I do have jdk8-openjdk installed (should it be in depends= ?) and also have in .bashrc
export JAVA_HOME='/usr/lib/jvm/java-8-openjdk/jre'Maybe problem is with JavaFX Runtime Jar? Here is complete log:
==> Making package: dahu 0.3-1 (Чт сен 4 16:27:20 EEST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning dahu git repo...
Cloning into bare repository '/home/roman/Daily/2014-09-04/dahu/dahu'...
remote: Counting objects: 7430, done.
remote: Compressing objects: 100% (249/249), done.
remote: Total 7430 (delta 148), reused 276 (delta 109)
Receiving objects: 100% (7430/7430), 3.30 MiB | 1.16 MiB/s, done.
Resolving deltas: 100% (3030/3030), done.
Checking connectivity... done.
==> Validating source files with md5sums...
dahu ... Skipped
==> Validating source files with sha256sums...
dahu ... Skipped
==> Extracting sources...
-> Creating working copy of dahu git repo...
Cloning into 'dahu'...
done.
==> Starting build()...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd
Downloading https://services.gradle.org/distributions/gradle-1.12-bin.zip
........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Unzipping /home/roman/.gradle/wrapper/dists/gradle-1.12-bin/2qvnajdoo11hasdfkikjaci26k/gradle-1.12-bin.zip to /home/roman/.gradle/wrapper/dists/gradle-1.12-bin/2qvnajdoo11hasdfkikjaci26k
Set executable permissions for: /home/roman/.gradle/wrapper/dists/gradle-1.12-bin/2qvnajdoo11hasdfkikjaci26k/gradle-1.12/bin/gradle
Creating properties on demand (a.k.a. dynamic properties) has been deprecated and is scheduled to be removed in Gradle 2.0. Please read http://gradle.org/docs/current/dsl/org.gradle.api.plugins.ExtraPropertiesExtension.html for information on the replacement for dynamic properties.
Deprecated dynamic property: "encoding" on "root project 'Dahu'", value: "UTF-8".
Download http://dl.bintray.com/content/shemnon/javafx-gradle/org/bitbucket/shemnon/javafxplugin/gradle-javafx-plugin/0.4.0/gradle-javafx-plugin-0.4.0.pom
Download http://repo1.maven.org/maven2/org/jclarion/image4j/0.7/image4j-0.7.pom
Download http://dl.bintray.com/content/shemnon/javafx-gradle/org/bitbucket/shemnon/javafxplugin/gradle-javafx-plugin/0.4.0/gradle-javafx-plugin-0.4.0.jar
Download http://repo1.maven.org/maven2/org/jclarion/image4j/0.7/image4j-0.7.jar
FAILURE: Build failed with an exception.
* Where:
Script '/home/roman/Daily/2014-09-04/dahu/src/dahu/editor/javafx.plugin' line: 35
* What went wrong:
A problem occurred evaluating script.
> Could not find JavaFX Runtime Jar, please set one of [JFXRT_HOME in System Environment, JAVA_HOME in System Environment, java.home in JVM properties]
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 22.507 secs
==> ERROR: A failure occurred in build().
Aborting...Offline
Maybe try jdk8-oracle (from AUR or the galaux_sdk repository) Or try to build and install OpenJFX for openjdk.
https://wiki.openjdk.java.net/display/O … ng+OpenJFX
Last edited by progandy (2014-09-04 14:10:25)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline