Compare commits

...

3 commits

Author SHA1 Message Date
8da10497d2
Adding different revisions for different debian packages depending on their dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-26 22:46:41 +02:00
5d0542ffcc
Ensuring app icons are white. 2024-10-26 22:46:22 +02:00
90f4691c54
Updating icons to comply with KDE HIG. 2024-10-26 22:44:18 +02:00
3 changed files with 166 additions and 47 deletions

View file

@ -1,64 +1,171 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg <svg
width="24.0px" width="48.0px"
height="24.0px" height="48.0px"
viewBox="0 0 24.0 24.0" viewBox="0 0 48.0 48.0"
version="1.1" version="1.1"
id="SVGRoot" id="SVGRoot"
xml:space="preserve" xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"><title xmlns:dc="http://purl.org/dc/elements/1.1/">
id="title836">LogarithmPlotter Icon v1.0</title><defs <title
id="defs833" /><metadata id="title38896">LogarithmPlotter Icon</title>
id="metadata836"><rdf:RDF><cc:Work <defs
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type id="defs2254">
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title>LogarithmPlotter Icon v1.0</dc:title><cc:license <linearGradient
rdf:resource="http://creativecommons.org/licenses/by-nc-sa/4.0/" /><dc:date>2021</dc:date><dc:creator><cc:Agent><dc:title>Ad5001</dc:title></cc:Agent></dc:creator><dc:rights><cc:Agent><dc:title>(c) Ad5001 2021 - All rights reserved</dc:title></cc:Agent></dc:rights></cc:Work><cc:License id="linearGradient27593">
rdf:about="http://creativecommons.org/licenses/by-nc-sa/4.0/"><cc:permits <stop
rdf:resource="http://creativecommons.org/ns#Reproduction" /><cc:permits style="stop-color:#000000;stop-opacity:0.15000001;"
rdf:resource="http://creativecommons.org/ns#Distribution" /><cc:requires offset="0"
rdf:resource="http://creativecommons.org/ns#Notice" /><cc:requires id="stop27589" />
rdf:resource="http://creativecommons.org/ns#Attribution" /><cc:prohibits <stop
rdf:resource="http://creativecommons.org/ns#CommercialUse" /><cc:permits style="stop-color:#000000;stop-opacity:0;"
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /><cc:requires offset="1"
rdf:resource="http://creativecommons.org/ns#ShareAlike" /></cc:License></rdf:RDF></metadata><g id="stop27591" />
id="layer2" </linearGradient>
transform="matrix(1,0,0,0.94444444,0,1.1666667)" <linearGradient
style="fill:#666666"><rect id="linearGradient13467">
style="fill:#666666;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" <stop
style="stop-color:#808080;stop-opacity:1;"
offset="0"
id="stop13463" />
<stop
style="stop-color:#666666;stop-opacity:1;"
offset="1"
id="stop13465" />
</linearGradient>
<linearGradient
id="linearGradient8377">
<stop
style="stop-color:#ebebeb;stop-opacity:1;"
offset="0"
id="stop8373" />
<stop
style="stop-color:#bfbfbf;stop-opacity:1;"
offset="1"
id="stop8375" />
</linearGradient>
<linearGradient
xlink:href="#linearGradient8377"
id="linearGradient8379"
x1="12"
y1="4.8570137"
x2="12"
y2="21.105883"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient13467"
id="linearGradient13469"
x1="12"
y1="9.5647058"
x2="12"
y2="21"
gradientUnits="userSpaceOnUse" />
<linearGradient
xlink:href="#linearGradient27593"
id="linearGradient27595"
x1="28"
y1="28"
x2="42"
y2="42"
gradientUnits="userSpaceOnUse" />
</defs>
<g
id="layer1">
<rect
style="fill:url(#linearGradient13469);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1546" id="rect1546"
width="18" width="18"
height="18" height="18.105883"
x="3" x="3"
y="3" y="2.8941176"
ry="2.25" /></g><g ry="2.3823531"
id="layer2-6" rx="2.2499998"
transform="matrix(1,0,0,0.94444444,0,0.16666668)" transform="matrix(2.2222222,0,0,2.0987654,-2.6666667,-0.07407404)" />
style="fill:#f9f9f9"><rect <rect
style="fill:#f9f9f9;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:url(#linearGradient8379);display:inline;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect1546-7" id="rect1546-7"
width="18" width="18"
height="18" height="18.105883"
x="3" x="3"
y="3" y="3"
ry="2.25" /></g><g ry="2.3212669"
id="layer1" rx="2.2499998"
style="stroke-width:2;stroke-dasharray:none"><rect transform="matrix(2.2222222,0,0,2.1539961,-2.6666667,-2.4619883)" />
</g>
<g
id="layer3"
style="fill:#0000ff">
<path
id="path27475"
style="fill:url(#linearGradient27595);fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 20,8 V 36 H 10 l 7,7 h 15 7 c 2.769997,0 5,-2.230003 5,-5 v -5 -1 z" />
</g>
<g
id="layer1-6"
style="stroke-width:2;stroke-dasharray:none"
transform="matrix(2,0,0,2,0,1)">
<rect
style="fill:#000000;fill-rule:evenodd;stroke-width:1.86898;stroke-dasharray:none;stroke-opacity:0" style="fill:#000000;fill-rule:evenodd;stroke-width:1.86898;stroke-dasharray:none;stroke-opacity:0"
id="rect1410" id="rect1410"
width="14" width="14"
height="2" height="2"
x="5" x="5"
y="15.5" /><rect y="15.5" />
style="fill:#000000;fill-rule:evenodd;stroke-width:2;stroke-dasharray:none;stroke-opacity:0" <rect
style="fill:#000000;fill-rule:evenodd;stroke-width:2.06559;stroke-dasharray:none;stroke-opacity:0"
id="rect1412" id="rect1412"
width="2" width="2"
height="15" height="16"
x="9" x="8"
y="3.9768662" /><path y="3.5" />
<path
style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" style="fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="path1529" id="path1529"
d="M 18,4 C 18,10.017307 13.40948,15.5 5,15.5" /></g></svg> d="m 18,3.5 c 0,7 -4,12 -13,12" />
</g>
<metadata
id="metadata38894">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:title>LogarithmPlotter Icon</dc:title>
<dc:date>2024-10-06</dc:date>
<dc:creator>
<cc:Agent>
<dc:title>Adsooi &lt;mail@ad5001.eu&gt;</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>(c) Adsooi 2021-2024</dc:title>
</cc:Agent>
</dc:rights>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-nc-sa/4.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-nc-sa/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:prohibits
rdf:resource="http://creativecommons.org/ns#CommercialUse" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -41,6 +41,7 @@ MenuBar {
shortcut: StandardKey.Open shortcut: StandardKey.Open
onTriggered: settings.load() onTriggered: settings.load()
icon.name: 'document-open' icon.name: 'document-open'
icon.color: sysPalette.windowText
} }
Action { Action {
@ -48,13 +49,14 @@ MenuBar {
shortcut: StandardKey.Save shortcut: StandardKey.Save
onTriggered: settings.save() onTriggered: settings.save()
icon.name: 'document-save' icon.name: 'document-save'
icon.color: sysPalette.windowText
} }
Action { Action {
text: qsTr("Save &As...") text: qsTr("Save &As...")
shortcut: StandardKey.SaveAs shortcut: StandardKey.SaveAs
onTriggered: settings.saveAs() onTriggered: settings.saveAs()
icon.color: sysPalette.windowText
icon.name: 'document-save-as' icon.name: 'document-save-as'
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
@ -68,6 +70,7 @@ MenuBar {
} }
icon.name: 'application-exit' icon.name: 'application-exit'
icon.color: sysPalette.windowText
} }
} }
@ -92,6 +95,7 @@ MenuBar {
shortcut: StandardKey.Copy shortcut: StandardKey.Copy
onTriggered: root.copyDiagramToClipboard() onTriggered: root.copyDiagramToClipboard()
icon.name: 'edit-copy' icon.name: 'edit-copy'
icon.color: sysPalette.windowText
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
@ -99,6 +103,7 @@ MenuBar {
shortcut: StandardKey.Copy shortcut: StandardKey.Copy
onTriggered: preferences.open() onTriggered: preferences.open()
icon.name: 'settings' icon.name: 'settings'
icon.color: sysPalette.windowText
} }
} }
@ -129,38 +134,45 @@ MenuBar {
Action { Action {
text: qsTr("&Source code") text: qsTr("&Source code")
icon.name: 'software-sources' icon.name: 'software-sources'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter")
} }
Action { Action {
text: qsTr("&Report a bug") text: qsTr("&Report a bug")
icon.name: 'tools-report-bug' icon.name: 'tools-report-bug'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/issues")
} }
Action { Action {
text: qsTr("&User manual") text: qsTr("&User manual")
icon.name: 'documentation' icon.name: 'documentation'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar") onTriggered: Qt.openUrlExternally("https://git.ad5001.eu/Ad5001/LogarithmPlotter/wiki/_Sidebar")
} }
Action { Action {
text: qsTr("&Changelog") text: qsTr("&Changelog")
icon.name: 'state-information' icon.name: 'state-information'
icon.color: sysPalette.windowText
onTriggered: changelog.open() onTriggered: changelog.open()
} }
Action { Action {
text: qsTr("&Help translating!") text: qsTr("&Help translating!")
icon.name: 'translator' icon.name: 'translate'
icon.color: sysPalette.windowText
onTriggered: Qt.openUrlExternally("https://hosted.weblate.org/engage/logarithmplotter/") onTriggered: Qt.openUrlExternally("https://hosted.weblate.org/engage/logarithmplotter/")
} }
MenuSeparator { } MenuSeparator { }
Action { Action {
text: qsTr("&Thanks") text: qsTr("&Thanks")
icon.name: 'about' icon.name: 'help-about'
icon.color: sysPalette.windowText
onTriggered: thanksTo.open() onTriggered: thanksTo.open()
} }
Action { Action {
text: qsTr("&About") text: qsTr("&About")
shortcut: StandardKey.HelpContents shortcut: StandardKey.HelpContents
icon.name: 'about' icon.name: 'help-about'
icon.color: sysPalette.windowText
onTriggered: about.open() onTriggered: about.open()
} }
} }

View file

@ -30,7 +30,7 @@ cp ../../README.md .
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \ python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
--package logarithmplotter --copyright-file assets/native/linux/debian/copyright \ --package logarithmplotter --copyright-file assets/native/linux/debian/copyright \
--suite noble --depends3 "$(cat assets/native/linux/debian/depends.wheels)" --section science \ --suite noble --depends3 "$(cat assets/native/linux/debian/depends.wheels)" --section science \
bdist_deb --debian-version +wheels-1 bdist_deb
mv deb_dist deb_dist.noble mv deb_dist deb_dist.noble
@ -38,6 +38,6 @@ mv deb_dist deb_dist.noble
python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \ python3 setup.py --remove-git-version --command-packages=stdeb.command sdist_dsc \
--package logarithmplotter --copyright-file assets/native/linux/debian/copyright \ --package logarithmplotter --copyright-file assets/native/linux/debian/copyright \
--suite oracular --depends3 "$(cat assets/native/linux/debian/depends.packaged)" --section science \ --suite oracular --depends3 "$(cat assets/native/linux/debian/depends.packaged)" --section science \
bdist_deb --debian-version +packaged-1 bdist_deb
mv deb_dist deb_dist.oracular mv deb_dist deb_dist.oracular