You are not logged in.
I'm trying to install slashtime from AUR:
https://aur.archlinux.org/packages/slashtime/
but the download link for the tar.bz2 file is broken, the installer returns the error:
"curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading http://research.operationaldynamics.com … 13.tar.bz2 Aborting..."
The package has no maintainer.
The link for slashtime's github:
https://github.com/afcowie/slashtime
Offline
Feel free to fix it up.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
I'd love to but I totally lack the knowledge. Unfortunately my skills do not go far beyond googling and copy and pasting.
Offline
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=slashtime
pkgver=0.5.13
pkgrel=2
pkgdesc="A small program which displays the time in various places"
arch=('any')
url="http://research.operationaldynamics.com/projects/slashtime/"
license=('GPL')
depends=('java-gnome')
makedepends=('java-environment' 'git')
source=('git+https://github.com/afcowie/slashtime.git#commit=357e15714e9948dc3ae0aefb02325d83266c9740')
md5sums=('SKIP')
build() {
cd $pkgname
./configure prefix=/usr jdk=/usr java-gnome=/usr
make
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}
Unfortunately the configure script fails
Starting build()...
bad override
jdk_home specified doesn't seem to be a Java Development Kit home directory!
Failed to complete configuration.
==> ERROR: A failure occurred in build().
Aborting...
Perhaps someone with knowledge of java on arch might be able to help.
Offline
I was able to successfully build slashtime from source with ./configure and make after installing java-gnome-bin and copying gtk-4.1.jar to the /tmp folder, and also had to install jdk-openjdk and set the java path at /etc/profile.
But when I run the application I get this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libgtkjni-4.1.3.so: libgtksourceview-3.0.so.1: cannot open shared object file: No such file or directory
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2617)
at java.base/java.lang.Runtime.load0(Runtime.java:767)
at java.base/java.lang.System.load(System.java:1831)
at org.freedesktop.bindings.Plumbing.loadNativeCode(Plumbing.java:211)
at org.freedesktop.bindings.Plumbing.<clinit>(Plumbing.java:110)
at org.gnome.glib.Glib.setProgramName(Glib.java:91)
at slashtime.client.Master.main(Master.java:51)
What does this error mean?
Offline
$ pkgfile libgtksourceview-3.0.so.1
extra/gtksourceview3
$
Try installing gtksourceview3 .
If that solves the issue, add gtksourceview3 to dependencies of the package.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thank you @Lone_Wolf that indeed solves the issue!
So by installing jdk-openjdk, java-gnome-bin and gtksourceview3 I was able to built Slashtime from source with ./configure and make. But I also had to set the java path at /etc/profile and copy gtk-4.1.jar to /tmp folder, because for some reason the application only looks for that file in there, despite I had tried placing it in all the other usual places like /share/java, /usr/local/share/java or ~/share/java.
This means that, to run the application, that file has to be copied to /tmp every time a new session is ran. That is not practical at all.
The best way to install the application is to grab the deb file from Ubuntu repos, in example from http://mirrors.kernel.org/ubuntu/pool/u … -2_all.deb, copy the usr folder inside the deb package to the system's /usr folder and install the mentioned jdk-openjdk, java-gnome-bin and gtksourceview3 dependencies. This way there are no worries and everything is set, including shortcuts.
If someone could update the script it would be great because, as I mentioned previously, I have no knowledge at all in the matter to be able to even try to do it (and I did try it).
Last edited by pemartins (2019-05-02 03:07:59)
Offline
try https://github.com/helixarch/debtap .
The aur package for debtap is at https://aur.archlinux.org/packages/debtap
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline