You are not logged in.
Good afternoon,
I have been trying to install borg calendar on my archlinux.
I installed java.
::
$ archlinux-java status
Available Java environments:
java-17-jdk
java-19-jdk
java-19-openjdk (default)
java-8-openjdk
The sh file for installation has the following code:
$JAVA_HOME/bin/jpackage -t deb --app-version 1.10.03 -n BorgCalendar --vendor MBCSoft -i target/installer --main-class net.sf.borg.control.Borg --main-jar borg.jar --linux-menu-group Borg --linux-shortcut
The first error said it was not finding the directory, than I:
$ export JAVA_HOME=/usr/lib/jvm/default
The another error complained that was not compatible becuse was debian, then I installed
$ sudo pacman -S dpkg
And now the error when I run linpackage.sh is:
Bundler DEB Bundle skipped because of a configuration problem: The configured main jar does not exist borg.jar in the input directory
Advice to fix: The main jar must be specified relative to the input directory (not an absolute path), and must exist within that directory
Can any one help me to install this calendar please?
I am new to linux and it is the first time I try to open anything in JAVA.
Thank you very much in advance.
Best,
M
Last edited by archmanhas (2022-12-16 14:47:06)
Offline
Mod note: Not an installation issue, moving to AUR Issues.
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.
Offline
The another error complained that was not compatible becuse was debian, then I installed
$ sudo pacman -S dpkg-deb
And what distro is this on? There's no such thing in Arch. How did you install the system?
Offline
archmanhas wrote:The another error complained that was not compatible becuse was debian, then I installed
$ sudo pacman -S dpkg-deb
And what distro is this on? There's no such thing in Arch. How did you install the system?
Sorry, it was a typo, I installed dpkg with pacman.
Sorry
Last edited by archmanhas (2022-12-13 22:47:02)
Offline
Anyway, from what I can see, you're trying to run a script to make a debian package. That's not going to do you any good anyway.
I don't know how to install it, but that's not it.
Offline
How do I run it to do an archpackage instead?
Can I do that?
Offline
Is https://github.com/mikeberger/borg_calendar what you're trying to build?
Last edited by cfr (2022-12-14 05:43:50)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Is https://github.com/mikeberger/borg_calendar what you're trying to build?
Yes!
Offline
The linpackage.sh which is supposed to build a package for Linux consists of one line which builds a Debian package. It uses jpackage which supports some other distros, but I don't think it supports Arch. (However, I might be wrong about this - I know nothing about java.)
As far as I can tell, though, all that script is really doing is wrapping the application in a OS-specific package. If you've got the source, you'd have to build the .jar first, I think.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
If you want to get something you can "just run" the easiest would likely be to install libappimage and changing the deb in the linpackage.sh to app-image.
The proper way would be to just build a normal JAR with maven and doing a proper PKGBUILD, don't have time to write one up right now, might give it a shot later this week if no one beats me to it.
Offline
Another option is to unpack the provided deb file. Untested PKGBUILD (I didn't even run makepkg!) to get you started
pkgname=borgcalendar-bin
pkgver=1.10.03
pkgrel=1
arch=('x86_64')
pkgdesc="A Desktop Calendar and Task Tracking System"
url="https://github.com/mikeberger/borg_calendar"
license=('unknown') ## FIXME
depends=('java-runtime') ## FIXME
sources=("${url}/releases/download/v${pkgver}/borgcalendar_${pkgver}-1_amd64.deb")
sha256sums=('76e5a2d98b060b16ee31ba57401b86cd5749fb2b80cb27807cdf97341bd97343')
package() {
bsdtar -C "$pkgdir/" -xf data.tar.xz
}
Offline
Thank you.
The developer sent me the .jar file and the calendar is running, problem now is how to add it to the startup but that is another problem.
Thank you all for the help.
Offline