Package Details: portfolio-performance-bin 0.72.2-1

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.49
First Submitted: 2019-09-30 12:56 (UTC)
Last Updated: 2024-11-30 17:04 (UTC)

Dependencies (1)

Required by (0)

Sources (4)

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

gpg --recv-keys E46E6F8FF02E4C83569084589239277F560C95AC

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

Latest Comments

1 2 3 4 5 6 Next › Last »

tuxxx commented on 2024-10-29 12:58 (UTC)

@xsmile: There is an option in the settings that allows saving the GUI options to the same path as the xml file.

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