portfolio-performance: update to 0.82.1

This commit is contained in:
trustbyte
2026-03-29 15:51:12 +02:00
committed by Renee Otten
parent 569b415c36
commit 524c7fd305
3 changed files with 15 additions and 44 deletions
+15 -15
View File
@@ -1,11 +1,11 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup github 1.0
PortGroup java 1.0
github.setup buchen portfolio 0.50.3
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
github.setup buchen portfolio 0.82.1
github.tarball_from archive
name portfolio-performance
categories finance
license EPL-1
@@ -17,20 +17,15 @@ long_description An open source tool to calculate the overall performance
True-Time Weighted Return or Internal Rate of Return.
homepage https://www.portfolio-performance.info/en/
checksums rmd160 2b6485f607493ffff233dedbc7f68191d442a10c \
sha256 f4d8d348e28b4e8f337ddb282f0f7cbce92fbe4190bdfec5fcc4ca92a83833a4 \
size 3238967
checksums rmd160 0f301a0d654821db0ab3675992cb3e2d48845b0e \
sha256 9d719065b4e2cfc34b1fea71d5d7989040af641f1e4d6c3806913b2aad0c00cc \
size 6977783
supported_archs x86_64
java.version 11
java.fallback openjdk11
java.version 21
java.fallback openjdk21
depends_build-append port:maven3
use_configure no
# Remove auto-update feature and the corresponding dialog
patchfiles patch-disable-autoupdate-pref.diff \
patch-remove-autoupdate-dialog.diff
set maven_local_repository ${worksrcpath}/.m2/repository
pre-build {
file mkdir ${maven_local_repository}
@@ -42,6 +37,11 @@ build.pre_args clean verify -f portfolio-app -Ppackage-distro \
-DskipTests
destroot {
copy -- ${worksrcpath}/portfolio-product/target/products/name.abuchen.portfolio.product/macosx/cocoa/x86_64/PortfolioPerformance.app \
${destroot}${applications_dir}
if {${build_arch} eq "arm64"} {
copy -- ${worksrcpath}/portfolio-product/target/products/name.abuchen.portfolio.product/macosx/cocoa/aarch64/PortfolioPerformance.app \
${destroot}${applications_dir}
} else {
copy -- ${worksrcpath}/portfolio-product/target/products/name.abuchen.portfolio.product/macosx/cocoa/x86_64/PortfolioPerformance.app \
${destroot}${applications_dir}
}
}
@@ -1,11 +0,0 @@
--- name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/preferences/PreferencesInitializer.java.orig 2021-01-02 11:36:29.000000000 +0100
+++ name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/preferences/PreferencesInitializer.java 2021-01-24 14:13:40.000000000 +0100
@@ -13,7 +13,7 @@
public void initializeDefaultPreferences()
{
IPreferenceStore store = PortfolioPlugin.getDefault().getPreferenceStore();
- store.setDefault(UIConstants.Preferences.AUTO_UPDATE, true);
+ store.setDefault(UIConstants.Preferences.AUTO_UPDATE, false);
store.setDefault(UIConstants.Preferences.UPDATE_SITE,
Platform.ARCH_X86.equals(Platform.getOSArch())
? "https://updates.portfolio-performance.info/portfolio-x86" //$NON-NLS-1$
@@ -1,18 +0,0 @@
--- name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/handlers/OpenPreferenceDialogHandler.java.orig 2021-01-02 11:36:29.000000000 +0100
+++ name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/handlers/OpenPreferenceDialogHandler.java 2021-01-24 14:44:23.000000000 +0100
@@ -27,7 +27,6 @@
import name.abuchen.portfolio.ui.preferences.ProxyPreferencePage;
import name.abuchen.portfolio.ui.preferences.QuandlPreferencePage;
import name.abuchen.portfolio.ui.preferences.ThemePreferencePage;
-import name.abuchen.portfolio.ui.preferences.UpdatePreferencePage;
@SuppressWarnings("restriction")
public class OpenPreferenceDialogHandler
@@ -64,7 +63,6 @@
pm.addTo("api", new PreferenceNode("divvydiary", new DivvyDiaryPreferencePage())); //$NON-NLS-1$ //$NON-NLS-2$
pm.addToRoot(new PreferenceNode("proxy", new ProxyPreferencePage())); //$NON-NLS-1$
- pm.addToRoot(new PreferenceNode("updates", new UpdatePreferencePage())); //$NON-NLS-1$
PreferenceDialog dialog = new PreferenceDialog(shell, pm)
{