Release v0.4.0

Qt6 Port + New Picker + Bugfixes
This commit is contained in:
Ad5001 2023-05-27 09:04:14 +00:00 committed by GitHub
commit c6d8e0c104
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 532 additions and 40 deletions

View file

@ -2,6 +2,10 @@
Flahub repository for [LogarithmPlotter](https://apps.ad5001.eu/logarithmplotter/).
## KF6
The files in the `kf6` directory contain the most barebones instalations of the KDE Frameworks 6 to install the QtQuick Controls 2 Desktop Theme or Breeze Styles. They're not used in LogarithmPlotter for now, as the cost vs benefits ratio is minimal (longer load times against slightly higher fidelity to KDE desktop theme, but still no theme awareness, or proper breeze icons integration).
## Build
You can build the latest version of LogarithmPlotter flatpak using `flatpak-builder`:

View file

@ -1,54 +1,67 @@
{
"app-id": "eu.ad5001.LogarithmPlotter",
"runtime": "org.kde.Platform",
"runtime-version": "5.15-21.08",
"runtime-version": "6.4",
"sdk": "org.kde.Sdk",
"finish-args": [
"--share=ipc",
"--device=dri",
"--socket=fallback-x11",
"--socket=x11",
"--socket=wayland",
"--filesystem=home",
"--talk-name=org.freedesktop.portal.FileChooser",
"--env=PATH=/app/bin:/usr/bin:/app/texlive-bin:/app/texlive/bin:/app/texlive/bin/x86_64-linux:/app/texlive/bin/aarch64-linux"
],
"add-extensions": {
"org.freedesktop.Sdk.Extension.texlive": {
"directory": "texlive",
"version": "21.08"
"version": "22.08"
}
},
"sdk-extensions": ["org.freedesktop.Sdk.Extension.llvm12"],
"command": "logarithmplotter",
"rename-desktop-file": "logarithmplotter.desktop",
"rename-icon": "logplotter",
"modules": [
{
"name": "PySide2",
"buildsystem": "cmake-ninja",
"builddir": true,
"name": "pyside6",
"buildsystem": "simple",
"build-options": {
"prepend-path": "/usr/lib/sdk/llvm12/bin",
"prepend-ld-library-path": "/usr/lib/sdk/llvm12/lib"
"env": {
"GIT_ALLOW_PROTOCOL": "file:https:git"
}
},
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release",
"-DBUILD_TESTS=OFF"
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} pyside6_essentials --no-build-isolation",
"rm -rf ${FLATPAK_DEST}/bin/pyside6-{assistant,designer,linguist,lrelease,lupdate,qmllint}",
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/{assistant,designer,linguist,lrelease,lupdate,qmllint}",
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/{examples,Qt/resources}",
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/qml/QtQuick/Controls/{Imagine,Material,Universal,designer}",
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/translations/{qtwebengine_locales,linguist*,assistant*,designer*,qtdeclarative*,qt_help*}",
"rm -rf ${FLATPAK_DEST}/lib/python3.*/site-packages/PySide6/Qt/{lib,libexec}"
],
"sources": [
{
"type": "archive",
"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": "file",
"url": "https://files.pythonhosted.org/packages/51/23/44fe28b2b7ee64cb53b72ab3b559cb41986a218e98d1fe298bedf903898e/PySide6_Essentials-6.4.3-cp37-abi3-manylinux_2_28_x86_64.whl",
"sha256": "7983cf2152dfebf3c2d0767d12e452c4bd0809aa53777fef949a7ff4b0ef8a49"
}
],
"modules": [
{
"type": "shell",
"commands": [
"mkdir -p /app/include/qt5tmp && cp -R /usr/include/Qt* /app/include/qt5tmp # https://bugreports.qt.io/broswse/PYSIDE-787",
"sed -i 's|--include-paths=|--include-paths=/app/include/qt5tmp:|' sources/pyside2/cmake/Macros/PySideModules.cmake"
"name": "shiboken6",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} shiboken6 --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/f9/52/4461d3d5cabfaeb56562d72a4b1013ecf1fd7be2ef7bebdc7649d56ab1b8/shiboken6-6.4.3-cp37-abi3-manylinux_2_28_x86_64.whl",
"sha256": "74570273004d2e481e55618150dfaee7ae253027b438066e216b339fae1e999a"
}
]
}
]
},
{
"name": "texlive",
@ -73,8 +86,8 @@
"cd LogarithmPlotter/i18n && bash release.sh",
"mkdir -p /app/share/metainfo/",
"mv eu.ad5001.LogarithmPlotter.metainfo.xml /app/share/metainfo/eu.ad5001.LogarithmPlotter.metainfo.xml # Add metainfo file from current repository.",
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 python3 setup.py install --prefix=/app",
"cp CHANGELOG.md /app/lib/python3.*/site-packages/logarithmplotter-*-py3.*.egg/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached."
"PREFIX=\"/app/share\" FLATPAK_INSTALL=1 pip3 install --verbose --no-index --prefix=${FLATPAK_DEST} --no-build-isolation --no-deps .",
"cp CHANGELOG.md /app/lib/python3.*/site-packages/LogarithmPlotter/util/ # Copy changelog into the directory needed for it to be cached."
],
"post-install": [
"mv ${MIME_PATH}/x-logarithm-plot.xml ${MIME_PATH}/eu.ad5001.LogarithmPlotter-x-logarithm-plot.xml",
@ -85,8 +98,8 @@
{
"type": "git",
"url": "https://git.ad5001.eu/Ad5001/LogarithmPlotter",
"tag": "v0.3.0",
"commit": "839f8e9f367146a195681c30217f7229eac8c319"
"tag": "v0.4.0",
"commit": "19e403ce9883e8debd2905e0773b0dba370bffca"
},
{
"type": "file",

View file

@ -79,21 +79,21 @@
<url type="help">https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/</url>
<url type="translate">https://hosted.weblate.org/engage/logarithmplotter/</url>
<screenshots>
<screenshot type="default">https://apps.ad5001.eu/img/full/logarithmplotter.png?v=0.3</screenshot>
<screenshot>https://apps.ad5001.eu/img/en/logarithmplotter/phase.png?v=0.3</screenshot>
<screenshot>https://apps.ad5001.eu/img/en/logarithmplotter/welcome.png?v=0.3</screenshot>
<screenshot xml:lang="de" type="default">https://apps.ad5001.eu/img/de/gain.png?v=0.3</screenshot>
<screenshot xml:lang="de">https://apps.ad5001.eu/img/de/logarithmplotter/phase.png?v=0.3</screenshot>
<screenshot xml:lang="de">https://apps.ad5001.eu/img/de/logarithmplotter/welcome.png?v=0.3</screenshot>
<screenshot xml:lang="fr" type="default">https://apps.ad5001.eu/img/fr/gain.png?v=0.3</screenshot>
<screenshot xml:lang="fr">https://apps.ad5001.eu/img/fr/logarithmplotter/phase.png?v=0.3</screenshot>
<screenshot xml:lang="fr">https://apps.ad5001.eu/img/fr/logarithmplotter/welcome.png?v=0.3</screenshot>
<screenshot xml:lang="hu" type="default">https://apps.ad5001.eu/img/hu/gain.png?v=0.3</screenshot>
<screenshot xml:lang="hu">https://apps.ad5001.eu/img/hu/logarithmplotter/phase.png?v=0.3</screenshot>
<screenshot xml:lang="hu">https://apps.ad5001.eu/img/hu/logarithmplotter/welcome.png?v=0.3</screenshot>
<screenshot xml:lang="no" type="default">https://apps.ad5001.eu/img/no/gain.png?v=0.3</screenshot>
<screenshot xml:lang="no">https://apps.ad5001.eu/img/no/logarithmplotter/phase.png?v=0.3</screenshot>
<screenshot xml:lang="no">https://apps.ad5001.eu/img/no/logarithmplotter/welcome.png?v=0.3</screenshot>
<screenshot type="default">https://apps.ad5001.eu/img/full/logarithmplotter.png?v=0.4</screenshot>
<screenshot>https://apps.ad5001.eu/img/en/logarithmplotter/phase.png?v=0.4</screenshot>
<screenshot>https://apps.ad5001.eu/img/en/logarithmplotter/welcome.png?v=0.4</screenshot>
<screenshot xml:lang="de" type="default">https://apps.ad5001.eu/img/de/gain.png?v=0.4</screenshot>
<screenshot xml:lang="de">https://apps.ad5001.eu/img/de/logarithmplotter/phase.png?v=0.4</screenshot>
<screenshot xml:lang="de">https://apps.ad5001.eu/img/de/logarithmplotter/welcome.png?v=0.4</screenshot>
<screenshot xml:lang="fr" type="default">https://apps.ad5001.eu/img/fr/gain.png?v=0.4</screenshot>
<screenshot xml:lang="fr">https://apps.ad5001.eu/img/fr/logarithmplotter/phase.png?v=0.4</screenshot>
<screenshot xml:lang="fr">https://apps.ad5001.eu/img/fr/logarithmplotter/welcome.png?v=0.4</screenshot>
<screenshot xml:lang="hu" type="default">https://apps.ad5001.eu/img/hu/gain.png?v=0.4</screenshot>
<screenshot xml:lang="hu">https://apps.ad5001.eu/img/hu/logarithmplotter/phase.png?v=0.4</screenshot>
<screenshot xml:lang="hu">https://apps.ad5001.eu/img/hu/logarithmplotter/welcome.png?v=0.4</screenshot>
<screenshot xml:lang="no" type="default">https://apps.ad5001.eu/img/no/gain.png?v=0.4</screenshot>
<screenshot xml:lang="no">https://apps.ad5001.eu/img/no/logarithmplotter/phase.png?v=0.4</screenshot>
<screenshot xml:lang="no">https://apps.ad5001.eu/img/no/logarithmplotter/welcome.png?v=0.4</screenshot>
</screenshots>
<!-- recommend at least 600 logical pixels of space -->
@ -109,6 +109,55 @@
</requires>
<releases>
<release version="0.4.0" date="2023-05-27">
<description>
<p><b>Changes for v0.4.0:</b></p>
<p>Changes</p>
<ul>
<li>Fully ported to PySide6 (Qt6).</li>
<li>Greet screen settings are now scrollable.</li>
<li>Changelog is now freezed to current version.</li>
</ul>
<p>New</p>
<ul>
<li>Customizable color schemes for expressions.</li>
<li>New, rewamped and improved picked location overlay settings:</li>
<li>It's now possible to disable picking x or y when setting a location.</li>
<li>Properties which are related to positioning (X, Y, Label's X position) can now be set using the picker.</li>
<li>Visual redesign that enhances readability of settings.</li>
<li>There is now a button to hide picker settings.</li>
</ul>
<p>Fixed bugs</p>
<ul>
<li>Cursors in expression are now easier to see.</li>
<li>Symbols in LaTeX rendered Texts cause the LaTeX renderer to crash.</li>
<li>Underscores in distribution names are automatically removed if the name is modified.</li>
<li>Autocomplete categories now properly respect theme colors.</li>
<li>Functions in expressions (like indexOf, map...) now properly send errors when the arguments are of the wrong type or count.</li>
<li>Executable Objects called (like functions, bode magnitures, phases...) now send an error if provided with no arguments.</li>
<li>Function calls with no argument no longer make LogarithmPlotter crash under certain circumstances.</li>
<li>Thank you dialog's lists are no longer draggable.</li>
</ul>
<p>Internal changes</p>
<ul>
<li>A lot of inner changes led by porting to Qt6, fixing a lot of bugs at the same time.</li>
<li>Disabled auto detect of visual theme if the `QT_QUICK_CONTROLS_STYLE` environment variable is set.</li>
<li>(macOS, Windows, Flatpak) Drastically reducing installer sizes (more than halved).</li>
<li>(Launchpad/Ubuntu) Using custom built packages of PySide6, meaning smaller installation and distro dependency.</li>
</ul>
</description>
<artifacts>
<artifact type="binary" platform="x86_64-windows-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.4.0/logarithmplotter-v0.4.0-setup.exe</location>
</artifact>
<artifact type="binary" platform="x86_64-macos-any">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.4.0/LogarithmPlotter-v0.4.0-setup.dmg</location>
</artifact>
<artifact type="source">
<location>https://artifacts.accountfree.org/repository/apps.ad5001.eu-apps/logarithmplotter/v0.4.0/logarithmplotter-0.4.0.tar.gz</location>
</artifact>
</artifacts>
</release>
<release version="0.3.0" date="2022-10-28">
<description>
<p><b>Changes for v0.3.0:</b></p>

3
flathub.json Normal file
View file

@ -0,0 +1,3 @@
{
"only-arches": ["x86_64"]
}

179
kf6/qqc2breezestyle.json Normal file
View file

@ -0,0 +1,179 @@
{
"name": "qqc2breezestyle",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/plasma/qqc2-breeze-style.git",
"commit": "125713a9216cde83726b7893635480be60da1a8a"
}
],
"cleanup": [
"/lib/debug",
"/share/runtime/locale/sr/"
],
"modules": [
{
"name": "ecm",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/extra-cmake-modules.git",
"commit": "41f2e5863b01d86088adf5e2e49ad0871e02117f"
}
]
},
{
"name": "kirigami2",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kirigami.git",
"commit": "ff5a671e8310f7a97dccbb95cc9de56d620e1e2f"
}
]
},
{
"name": "kconfig",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kconfig.git",
"commit": "08abea7dbea3b4d44f089a997961314226f21654"
}
]
},
{
"name": "kcolorscheme",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcolorscheme.git",
"commit": "5dfc0fa1a53447c56a2ed1941b348b3fad7e0d56"
}
],
"modules": [
{
"name": "ki18n",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/ki18n.git",
"commit": "347d47119bdad89b113a904fa53f4c6ece182219"
}
]
},
{
"name": "plasma-wayland-protocols",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/libraries/plasma-wayland-protocols.git",
"commit": "6e08d9c981278660791e72fec06d143403a98ba2"
}
]
},
{
"name": "kguiaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kguiaddons.git",
"commit": "8be8489019fcbfa83539bd1d9e333c2ebc44d008"
}
]
}
]
},
{
"name": "kiconthemes",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kiconthemes.git",
"commit": "a825523545f3dd84064e7a868cf5d61f363a0d8b"
}
],
"modules": [
{
"name": "karchive",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/karchive.git",
"commit": "74972b29463dc903c3245d3d050f8f50dbf86477"
}
]
},
{
"name": "kcoreaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcoreaddons.git",
"commit": "8edca25c6512193b734b4091363f1eb0285ffcfd"
}
]
},
{
"name": "kwidgetsaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kwidgetsaddons.git",
"commit": "9a6ebfe56032354651f9b501639dae87a298ed42"
}
]
},
{
"name": "kconfigwidgets",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kconfigwidgets.git",
"commit": "740d09892eb9dbdc191f7768ba9df64e3cb24b9b"
}
],
"modules": [
{
"name": "kcodecs",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcodecs.git",
"commit": "c7c7a32bcac3a41a85d7197bafd841f081e8db05"
}
]
}
]
}
]
}
]
}

View file

@ -0,0 +1,53 @@
{
"name": "qqc2desktoptheme",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/qqc2-desktop-style.git",
"commit": "cdd3e195360438c8acad66b067c1843246882894"
}
],
"cleanup": [
"/lib/debug",
"/share/runtime/locale/sr/"
],
"modules": [
{
"name": "ecm",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/extra-cmake-modules.git",
"commit": "41f2e5863b01d86088adf5e2e49ad0871e02117f"
}
]
},
{
"name": "kirigami2",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kirigami.git",
"commit": "ff5a671e8310f7a97dccbb95cc9de56d620e1e2f"
}
]
},
{
"name": "kconfig",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kconfig.git",
"commit": "08abea7dbea3b4d44f089a997961314226f21654"
}
]
}
]
}

191
kf6/qqc2desktoptheme.json Normal file
View file

@ -0,0 +1,191 @@
{
"name": "qqc2desktoptheme",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/qqc2-desktop-style.git",
"commit": "cdd3e195360438c8acad66b067c1843246882894"
}
],
"cleanup": [
"/lib/debug",
"/share/runtime/locale/sr/"
],
"modules": [
{
"name": "ecm",
"buildsystem": "cmake-ninja",
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/extra-cmake-modules.git",
"commit": "41f2e5863b01d86088adf5e2e49ad0871e02117f"
}
]
},
{
"name": "kirigami2",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kirigami.git",
"commit": "ff5a671e8310f7a97dccbb95cc9de56d620e1e2f"
}
]
},
{
"name": "kconfig",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kconfig.git",
"commit": "08abea7dbea3b4d44f089a997961314226f21654"
}
]
},
{
"name": "kcolorscheme",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcolorscheme.git",
"commit": "5dfc0fa1a53447c56a2ed1941b348b3fad7e0d56"
}
],
"modules": [
{
"name": "ki18n",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/ki18n.git",
"commit": "347d47119bdad89b113a904fa53f4c6ece182219"
}
]
},
{
"name": "plasma-wayland-protocols",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/libraries/plasma-wayland-protocols.git",
"commit": "6e08d9c981278660791e72fec06d143403a98ba2"
}
]
},
{
"name": "kguiaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kguiaddons.git",
"commit": "8be8489019fcbfa83539bd1d9e333c2ebc44d008"
}
]
}
]
},
{
"name": "kiconthemes",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kiconthemes.git",
"commit": "a825523545f3dd84064e7a868cf5d61f363a0d8b"
}
],
"modules": [
{
"name": "breeze-icons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/breeze-icons.git",
"commit": "41d35bd18b4c4ef5c91553cd9ecabbf5e3c3a898"
}
]
},
{
"name": "karchive",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/karchive.git",
"commit": "74972b29463dc903c3245d3d050f8f50dbf86477"
}
]
},
{
"name": "kcoreaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcoreaddons.git",
"commit": "8edca25c6512193b734b4091363f1eb0285ffcfd"
}
]
},
{
"name": "kwidgetsaddons",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kwidgetsaddons.git",
"commit": "9a6ebfe56032354651f9b501639dae87a298ed42"
}
]
},
{
"name": "kconfigwidgets",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kconfigwidgets.git",
"commit": "740d09892eb9dbdc191f7768ba9df64e3cb24b9b"
}
],
"modules": [
{
"name": "kcodecs",
"buildsystem": "cmake",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://invent.kde.org/frameworks/kcodecs.git",
"commit": "c7c7a32bcac3a41a85d7197bafd841f081e8db05"
}
]
}
]
}
]
}
]
}