From 0642d33830f4a78d6cc265134fc35d3549ba9d46 Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 22 Apr 2022 17:52:39 +0200 Subject: [PATCH] Updating to KDE SDK v5.15-21.08, PySide2 5.15.3, LogarithmPlotter v0.2.0. Testing needed. --- .gitignore | 2 + eu.ad5001.LogarithmPlotter.json | 23 +++--- eu.ad5001.LogarithmPlotter.metainfo.xml | 98 +++++++++++++++++++++---- 3 files changed, 98 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index dd43831..f610358 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ AppDir .flatpak-builder +.kdev4 +*.kdev4 diff --git a/eu.ad5001.LogarithmPlotter.json b/eu.ad5001.LogarithmPlotter.json index eb7a2e1..039b604 100644 --- a/eu.ad5001.LogarithmPlotter.json +++ b/eu.ad5001.LogarithmPlotter.json @@ -1,7 +1,7 @@ { "app-id": "eu.ad5001.LogarithmPlotter", "runtime": "org.kde.Platform", - "runtime-version": "5.15", + "runtime-version": "5.15-21.08", "sdk": "org.kde.Sdk", "finish-args": [ "--share=ipc", @@ -9,16 +9,17 @@ "--socket=fallback-x11", "--socket=wayland", "--filesystem=home", - "--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin", + "--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin" ], "add-extensions": { "org.freedesktop.Sdk.Extension.texlive": { "directory": "texlive", - "version": "20.08", + "version": "21.08", "no-autodownload": true, "autodelete": false } }, + "sdk-extensions": ["org.freedesktop.Sdk.Extension.llvm12"], "command": "logarithmplotter", "rename-desktop-file": "logarithmplotter.desktop", "rename-icon": "logplotter", @@ -27,6 +28,10 @@ "name": "PySide2", "buildsystem": "cmake-ninja", "builddir": true, + "build-options": { + "prepend-path": "/usr/lib/sdk/llvm12/bin", + "prepend-ld-library-path": "/usr/lib/sdk/llvm12/lib" + }, "config-opts": [ "-DCMAKE_BUILD_TYPE=Release", "-DBUILD_TESTS=OFF" @@ -34,8 +39,8 @@ "sources": [ { "type": "archive", - "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.2-src/pyside-setup-opensource-src-5.15.2.tar.xz", - "sha256": "b306504b0b8037079a8eab772ee774b9e877a2d84bab2dbefbe4fa6f83941418" + "url": "https://download.qt.io/official_releases/QtForPython/pyside2/PySide2-5.15.3-src/pyside-setup-opensource-src-5.15.3.tar.xz", + "sha256": "7ff5f1cc4291fffb6d5a3098b3090abe4d415da2adec740b4e901893d95d7137" }, { "type": "shell", @@ -59,19 +64,19 @@ ], "env": { "MIME_PATH": "/app/share/mime/packages", - "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes", + "ICON_PATH": "/app/share/icons/hicolor/scalable/mimetypes" }, "post-install": [ "mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml", - "sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml" + "sed -i 's/application-x-logarithm-plot/eu.ad5001.LogarithmPlotter-application-x-logarithm-plot/g' ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml", "mv ${ICON_PATH}/application-x-logarithm-plot.svg ${ICON_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.svg" ], "sources": [ { "type": "git", "url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter", - "tag": "v0.1.8", - "commit": "d34701b9804b5dabd01104d98c5706d284098f1d" + "tag": "v0.2.0", + "commit": "cb733a556cae1751920d03c480627b44e3833ac7" }, { "type": "file", diff --git a/eu.ad5001.LogarithmPlotter.metainfo.xml b/eu.ad5001.LogarithmPlotter.metainfo.xml index b11755b..6bcfa7b 100644 --- a/eu.ad5001.LogarithmPlotter.metainfo.xml +++ b/eu.ad5001.LogarithmPlotter.metainfo.xml @@ -109,6 +109,59 @@ + + +

Changes for v0.2.0:

+

New

+
    +
  • (EXPERIMENTAL) LogarithmPlotter now has an optional LaTeX integration.
  • +
  • It requires a LaTeX installation, including `latexmk` and `dvipng` available in the PATH.
  • +
  • NOTE: LaTeX support is disabled by default and is only for working for the rendering on the graph.
  • +
  • NOTE: The objects and history tab still use the legacy text based expression rendering.
  • +
  • Thanks and contributions dialog, showing included libraries and translations, their license and author(s).
  • +
  • LaTeX rendering can be disabled for texts, even if LaTeX is enabled.
  • +
+

Changes

+
    +
  • History re/undos only redraw the graph every 4 change at most in order to speed up the process when re/undoing a lot of changes.
  • +
  • Gradients are no longer hidden when filtered out in the history tab.
  • +
+

Added translations

+
    +
  • LaTeX options and error messages
  • +
  • Thanks and contribution dialog
  • +
  • New option for text.
  • +
  • Fixed translation of "repartition" which should be "distribution" in certain remaining strings.
  • +
+

Fixed bugs

+
    +
  • (macos) #1 - Opening files don't work on compiled versions of LogarithmPlotter on MacOS
  • +
  • (snapcraft) Fixed bug preventing from launching LogarithmPlotter. This fix has been backported to v0.1.8.
  • +
  • (snapcraft) Files are now properly opened.
  • +
  • (snapcraft) Added changelog support.
  • +
+

Internal changes

+
    +
  • Moved python modules to "util" directory for more clarity.
  • +
  • Moved flatpak metainfo to eu.ad5001.LogarithmPlotter repository.
  • +
  • Componented the Mathlib library in order to have a more readable source.
  • +
  • Added documentation for most internal JavaScript modules.
  • +
  • Merge label drawing methods due to it's complexity.
  • +
  • (flatpak) Updated SDK version to v5.15-21.08.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/logarithmplotter-v0.2.0-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/LogarithmPlotter-v0.2.0-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.2.0/logarithmplotter-0.2.0.tar.gz + + +

Changes for v0.1.8:

@@ -147,7 +200,7 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-v0.1.8-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/LogarithmPlotter-v0.1.8-setup.dmg https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.8/logarithmplotter-0.1.8.tar.gz @@ -203,7 +256,7 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-v0.1.7-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/LogarithmPlotter-v0.1.7-setup.dmg https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.7/logarithmplotter-0.1.7.tar.gz @@ -244,10 +297,10 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-v0.1.6-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/LogarithmPlotter-v0.1.6-setup.dmg - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/LogarithmPlotter-v0.1.6.tar.gz + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.6/logarithmplotter-0.1.6.tar.gz
@@ -274,10 +327,10 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-v0.1.5-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/LogarithmPlotter-v0.1.5-setup.dmg - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/LogarithmPlotter-v0.1.5.tar.gz + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.5/logarithmplotter-0.1.5.tar.gz @@ -305,10 +358,10 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-v0.1.4-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/LogarithmPlotter-v0.1.4-setup.dmg - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/LogarithmPlotter-v0.1.4.tar.gz + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.4/logarithmplotter-0.1.4.tar.gz @@ -326,10 +379,10 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-v0.1.3-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/LogarithmPlotter-v0.1.3-setup.dmg - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/LogarithmPlotter-v0.1.3.tar.gz + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.3/logarithmplotter-0.1.3.tar.gz @@ -350,18 +403,31 @@ https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-v0.1.2-setup.exe + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/LogarithmPlotter-v0.1.2-setup.dmg - https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/LogarithmPlotter-v0.1.2.tar.gz + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1.2/logarithmplotter-0.1.2.tar.gz -

Changes for v0.1:

-
    -
  • Initial release.
  • -
+ +

Changes for v0.1:

+
    +
  • Initial release.
  • +
+
+ + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/logarithmplotter-v0.1-setup.exe + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/LogarithmPlotter-v0.1-setup.dmg + + + https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.1/logarithmplotter-0.1.tar.gz + +