@xsmile: There is an option in the settings that allows saving the GUI options to the same path as the xml file.
Search Criteria
Package Details: portfolio-performance-bin 0.72.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/portfolio-performance-bin.git (read-only, click to copy) |
---|---|
Package Base: | portfolio-performance-bin |
Description: | A simple tool to calculate the overall performance of an investment portfolio. |
Upstream URL: | https://www.portfolio-performance.info |
Keywords: | finance investing money |
Licenses: | EPL-1.0 |
Submitter: | nicolaischmid |
Maintainer: | nicolaischmid (whnr, tuxxx) |
Last Packager: | tuxxx |
Votes: | 29 |
Popularity: | 0.82 |
First Submitted: | 2019-09-30 12:56 (UTC) |
Last Updated: | 2024-11-30 17:04 (UTC) |
Dependencies (1)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jre17AUR, java-openjdk-binAUR, jre21-zulu-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jre17-zulu-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, java-openjdk-ea-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
Required by (0)
Sources (4)
tuxxx commented on 2024-10-29 12:58 (UTC)
xsmile commented on 2024-10-27 17:30 (UTC)
@whnr: Thanks, deleting the two directories works. The only downsides I could find are that several UI related settings like the language and recently opened files are deleted as well.
whnr commented on 2024-10-26 13:06 (UTC)
@xsmile PP is running successfully with Java 23 for me. If the application does not start after an update try to delete .eclipse and .PortfolioPerformance in the home directory. Do this at your own risk — never had an impact for me.
xsmile commented on 2024-10-14 19:11 (UTC)
The application fails to start with Java 23 being the new default. According to the developer Java 17 is required.
I recommend depending on a static Java version, e.g. with:
diff --git a/PKGBUILD b/PKGBUILD
index f164cb5..1dc7291 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,35 +6,34 @@
pkgname=portfolio-performance-bin
pkgver=0.71.2
-pkgrel=1
+pkgrel=2
pkgdesc="A simple tool to calculate the overall performance of an investment portfolio."
arch=('x86_64')
url="https://www.portfolio-performance.info"
license=('EPL-1.0')
options=('!strip')
-depends=('java-runtime')
-validpgpkeys=('E46E6F8FF02E4C83569084589239277F560C95AC')
-
+depends=('java-runtime=17')
source=(
portfolio_$pkgver.tar.gz::"https://github.com/buchen/portfolio/releases/download/${pkgver}/PortfolioPerformance-${pkgver}-linux.gtk.x86_64.tar.gz"
portfolio_$pkgver.tar.gz.asc::"https://github.com/buchen/portfolio/releases/download/${pkgver}/PortfolioPerformance-${pkgver}-linux.gtk.x86_64.tar.gz.asc"
portfolio-performance-bin.svg::"https://raw.githubusercontent.com/buchen/portfolio/${pkgver}/portfolio-product/icons/logo.svg"
portfolio-performance-bin.desktop
+ portfolio-performance.sh
)
+sha512sums=('329c43013bb48942d8bf217dd62a51f57a36d60dba0a36a929960d117ce08d3b47ade9c3f9a16407b9c52842584b02c55637bf54ba124f3f3b1e1aed572dcfcb'
+ 'SKIP'
+ 'a7aef110c3379ea40644c3acc8681abd2bda82522d90fc4777632883454055c63426f97dada8ca247e5fa20a9f5b462eead46d2c2bf16989d35cebd774d32162'
+ '30301e96d108f25b10d77bf370bef366cb774f400487f6ffb1d3d718691bd2ee29b6a0fe5e7d8e8cfbe8af538285e9b2953a67657c4c752025045a7a6d9efb82'
+ '94f6e93f0c7f44ce7e38a5a5f36934cb57f012d55a10a76bebb5ac07256a88013ada245b6d0bd765748d2dc08e4a5fb2e3f1c376b08913b77d8365beadedd0b5')
+validpgpkeys=('E46E6F8FF02E4C83569084589239277F560C95AC')
package() {
install -d "$pkgdir"/{opt,usr/bin}
cp -a "$srcdir"/portfolio "${pkgdir}"/opt/portfolio-performance-bin
- ln -s /opt/portfolio-performance-bin/PortfolioPerformance "$pkgdir"/usr/bin/PortfolioPerformance
+ install -Dm 755 portfolio-performance.sh "$pkgdir"/usr/bin/PortfolioPerformance
install -Dm 644 portfolio-performance-bin.desktop -t "$pkgdir"/usr/share/applications
install -Dm 644 portfolio-performance-bin.svg -t "$pkgdir"/usr/share/pixmaps
}
-
-
-sha512sums=('329c43013bb48942d8bf217dd62a51f57a36d60dba0a36a929960d117ce08d3b47ade9c3f9a16407b9c52842584b02c55637bf54ba124f3f3b1e1aed572dcfcb'
- 'SKIP'
- 'a7aef110c3379ea40644c3acc8681abd2bda82522d90fc4777632883454055c63426f97dada8ca247e5fa20a9f5b462eead46d2c2bf16989d35cebd774d32162'
- '30301e96d108f25b10d77bf370bef366cb774f400487f6ffb1d3d718691bd2ee29b6a0fe5e7d8e8cfbe8af538285e9b2953a67657c4c752025045a7a6d9efb82')
diff --git a/portfolio-performance.sh b/portfolio-performance.sh
new file mode 100755
index 0000000..c2c5c73
--- /dev/null
+++ b/portfolio-performance.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env sh
+
+export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
+export PATH="$JAVA_HOME/bin:$PATH"
+
+exec /opt/portfolio-performance-bin/PortfolioPerformance "$@"
olebowle commented on 2024-04-17 18:20 (UTC) (edited on 2024-04-17 18:20 (UTC) by olebowle)
@tuxxx: Thanks for taking care of the package. I did not report the issue upstream. My setup is:
- X11
- Cinnamon
- java-22-openjdk
Thanks for the suggestion using .local/share/applications/portfolio-performance-bin.desktop
. That works well for me and will be persistent across updates.
Richie commented on 2024-04-16 14:30 (UTC) (edited on 2024-04-16 14:31 (UTC) by Richie)
@tuxxx: On my side the situation is unchanged until today. This means the error is reproducible and the solution still works.
I am using @olebowle's hint to change the .desktop file and am happy.
I have no clue what is the problem, my environment is:
-
X11
-
Cinnamon
-
java-17-openjdk (default)
Only one java is installed. My last information is that no one told upstream about the issue yet.
tuxxx commented on 2024-04-16 14:17 (UTC)
@ Richie / olebowle: I am unable to reproduce the need of this environment variable on different arch systems with openjdk 17 and i am not sure about negative side effects of adding this for everyone. Is upstream aware of this? If this is something only needed in very specific setups it is maybe the best to use a custom .desktop file or add this to /etc/environment?
tuxxx commented on 2024-04-16 14:10 (UTC) (edited on 2024-04-16 14:11 (UTC) by tuxxx)
Make sure to import Andreas Buchens gpg key with
gpg --recv-keys E46E6F8FF02E4C83569084589239277F560C95AC
olebowle commented on 2024-03-16 08:07 (UTC) (edited on 2024-03-16 08:09 (UTC) by olebowle)
@Richie: Thanks, that did the trick for me as well. I changed the EXEC line portfolio-performance-bin.desktop
now to:
Exec=env NO_AT_BRIDGE=1 PortfolioPerformance
@whnr: Would you be willing to adjust the PKGBUILD accordingly?
Richie commented on 2024-01-21 15:32 (UTC) (edited on 2024-01-22 05:08 (UTC) by Richie)
On my machine, the program crashes after a few clicks with the following error:
SIGSEGV (0xb) at pc=0x00007dc3280d7ea8, pid=573196, tid=573197
JRE version: OpenJDK Runtime Environment (17.0.10+7) (build 17.0.10+7)
But I found a solution, setting the following environment variable:
export NO_AT_BRIDGE=1; PortfolioPerformance
Pinned Comments
tuxxx commented on 2024-04-16 14:10 (UTC) (edited on 2024-04-16 14:11 (UTC) by tuxxx)
Make sure to import Andreas Buchens gpg key with
jesusignacio commented on 2023-01-29 21:37 (UTC) (edited on 2023-01-29 21:39 (UTC) by jesusignacio)
@emiltb just set a newer Java environment. For example:
sudo archlinux-java set java-11-opendjk
In case you need to know which ones do you have, run:sudo archlinux-java status