Compare commits
23 Commits
fb70253563
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bcd554ea59 | ||
|
|
a6b2dd20aa | ||
|
|
45264797bf | ||
|
|
b16b738c08 | ||
|
|
5db01ef91e | ||
|
|
d50fa68f42 | ||
|
|
d061a50fab | ||
|
|
2df3c1e869 | ||
|
|
e7eba06f23 | ||
|
|
b038a4290c | ||
|
|
8b344c81b7 | ||
|
|
b0a783766e | ||
|
|
8993458cf3 | ||
|
|
705cb450b8 | ||
|
|
adf6c1ae5e | ||
|
|
1e973b332d | ||
|
|
0c3ecfb3d7 | ||
|
|
f0ff815a2c | ||
|
|
7675215da0 | ||
|
|
a5bfb77805 | ||
|
|
c2c9c2831a | ||
|
|
19717bcf8a | ||
|
|
414290c7b8 |
3
app-misc/minder/Manifest
Normal file
3
app-misc/minder/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST minder-1.17.0.tar.gz 1929489 BLAKE2B 984c3128572c7bdc7b863e981f353f2e6989f7e51687c96623b6ff109d9c1eef7ab31908cec64cc53fddc313278433c5993fce1846442c0e5899c64b52165522 SHA512 1f01cedfb0adc6c0d52fee70cb704544678dbd19c84f0d04366ec956ccc56dd771bb5feccccab99692b648239d481e99ae4b010abeb0407757c5c92bc5f7f5fb
|
||||
EBUILD minder-1.17.0.ebuild 997 BLAKE2B 4a5c1e8f65d3a9670f813d2645ba80260a7bf18975b8ae721e3ef7da4ca9eaebfcd39a6d3bfeda68c16a04cbcdeeacb8d0e443b81805e94c2084bc76ba45203f SHA512 5f9c6f0b1c66e50da39956eae7e34ab09d1c5d325e004527885216aa5ee66fa56aa766c0489f5367d184280592909f2c13d8a736031078515e479c129aceab08
|
||||
MISC metadata.xml 249 BLAKE2B c9f5db74da9f21b3dcb28f863b7153bc51c62d9c1fb976c65bc14550ccd20ecb5ec3847453c15bb2fd85ee7283fd5c7ac8a731248ffdf5992cad4221509a60f1 SHA512 3d699ea40c532a60b8c354b37f6c2603693b1a69d6a020f6aa3936b16b8467d4c48a399c4eab9fb8dc03c85104f55c424a63dc37bd47ade4f8b408e329464762
|
||||
8
app-misc/minder/metadata.xml
Normal file
8
app-misc/minder/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">phase1geo/Minder</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
52
app-misc/minder/minder-1.17.0.ebuild
Normal file
52
app-misc/minder/minder-1.17.0.ebuild
Normal file
@@ -0,0 +1,52 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome2-utils meson vala xdg
|
||||
|
||||
DESCRIPTION="Mind-mapping application for Elementary OS."
|
||||
HOMEPAGE="https://github.com/phase1geo/Minder"
|
||||
SRC_URI="https://github.com/phase1geo/Minder/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/Minder-${PV}"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
app-text/discount
|
||||
dev-lang/vala
|
||||
<dev-libs/granite-7.0.0
|
||||
dev-libs/json-glib
|
||||
gui-libs/libhandy[vala]
|
||||
x11-libs/gtksourceview:4[vala]
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
app-text/discount
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_setup
|
||||
|
||||
# Workaround for #871687
|
||||
sed -i "s/meson.add_install_script('meson\/post_install.py')//g" meson.build || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
gnome2_schemas_update
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST xdg-ninja-20250807.tar.gz 68631 BLAKE2B b063bcc2f1f3f1cf8668a5b454ad366d5b065bbb3b9156211dd95971410e79a678ff0494161c41c431e7ae04c5d54ce2022f120de9302fb961b4359a01b85bc2 SHA512 5a5e1995b7c635a22664938aedb3bb2ce1cda6658fd3cfed7e20d3067451db69d4f1abe1f01820f633e1d305b2884fcb7725279388931a37952d95c3caa491c3
|
||||
EBUILD xdg-ninja-20250807.ebuild 653 BLAKE2B f1e97c095f3f1aa3c5279f0e0e62e60554baddf500c6db851a3306f7262727c3bd90e3d21632b675aa565b2d4d0386fdff57dc2d4c0796e044a87cd074875c3b SHA512 3d16bd006119a667da89c68d919f02cacd3436eb3423c9544f5f9fb2b8fb1f68acc965f7358797add645fc2b5980b9c206b79ff50758e425d5e9f6e635856997
|
||||
DIST xdg-ninja-20251001.tar.gz 70230 BLAKE2B d2cbc2ba87551b81f6f4cff6f9d6110537aae501264108eb2e008532278877531d5060772c4ac2feada89853998382df41a31c655cefc62ce464823c52d27be4 SHA512 69f31e4396f104b12b043747b0034546657060a269d1e427c2728404406549e079c1476fa10b89b881471f4fc8adb97a0ddc788a6938b7ee55433d66c100b936
|
||||
EBUILD xdg-ninja-20251001.ebuild 653 BLAKE2B 3375f05708258ceb27a50eded1c1100b3206f3e16f0f999e2424ca328ad6681db47a4e4d3fcad7cbedc65c7b66734c8ed3dd716c08ca563830392a3c3c0b2afe SHA512 654bfa155ed9c0566d139714131ec4f181cbd922697f2c9744063ebe9b2b6a4fd08cde74931bdedb0e1567d9880b49028209353d67b3b2f8d44bea67e9cba753
|
||||
MISC metadata.xml 885 BLAKE2B ba82e38205f92b76a1ae8f6f43064dc527a602228a991338077643361839d276359311a55a62835a407e18e44919080dba9b6e5e6fd542c3a47712130759c35b SHA512 5a6a6c18a4185c4b728c7119d96554e445f5826a90ad5ae6a9b4bc977842b1e059ff66cd15326eadb43580fc42d50e0058036716d3d2df322172deaf0741517c
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
DESCRIPTION='A shell script which checks your $HOME for unwanted files and directories. '
|
||||
HOMEPAGE='https://github.com/b3nj5m1n/xdg-ninja'
|
||||
GIT_COMMIT='854929e5413e8d2cf84e90c5cc3ccb0188ab5d22'
|
||||
GIT_COMMIT='cb09ebd6479e276070a55fcffae9a5320bc52ed5'
|
||||
SRC_URI="https://github.com/b3nj5m1n/${PN}/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${GIT_COMMIT}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
AUX notesnook.png 8808 BLAKE2B 35a26a036eaadc579cf3c6679fa54999174f35cdbbc2ecfc78765b3ed48af4c8265b463d474d56d369a6880cd7f69b2114c7a69a9c1ef0f3ee03dea22828f054 SHA512 53ac1638926e8d6192f43f12528c9e9518e9c28f215c8ef4de59e957fbfd409a094badfee3a88819c67a488e5cb02778a66800d18ba19edea26c3d462b4428b8
|
||||
DIST notesnook-bin-3.3.1.amd64.AppImage 118667766 BLAKE2B dc7e817bcf7e10df17d619acefcc3ca9bdbaf85bb568e0d26af972433eed034af0d08c367f4a51fd8d3307886352904078893ddcab9954a51ff1fa54a85803b2 SHA512 70c77af63a843574f6b3383e1c367324fe8dd7d34a6d4b7eecb697bb3a13ab86425d2a528b1c31ef6fc43e40fb151ece385bd952dd5274d08274caf6702ec2c1
|
||||
DIST notesnook-bin-3.3.1.arm64.AppImage 118868158 BLAKE2B d165f0b230a1327ee99522762be9d3e3d0465247295068a15116cc2208e3ed8b9c613a26a7c8af3ce6a9efe3aee59f2bf001adf8b992b55d9bb2b655f9644133 SHA512 e507701b3bc7bf5102d0f65a3e2e3ec4eaf9169a97ee4a58335f565a80eea4cb05c8b454ceb76310c5de8c7bc668672bbf5c09d31067e7dd00e7052c724a9858
|
||||
EBUILD notesnook-bin-3.3.1.ebuild 934 BLAKE2B 834250293860f83bea2ffafbea70a4ad96d0d76b2b52f9f140daeeeaefd05b596b1694cacad4ea86d00cc6588dde11b843f60b9a94afc6db2dd9ea4a713f61b3 SHA512 b3f78180a3132157a83fced6d2b7492a91c80bb3bdacb89ca1b062ed6bfbbc5112af0b1e3599f42c48cd0b9a895f3b6a19a8435520d00b11a7939d72041ee95d
|
||||
DIST notesnook-bin-3.3.5.amd64.AppImage 120918656 BLAKE2B d26654f23555f2256d003d37b1094db94b17e44bedb8dd592784f88aff804041a4688b220a8300104ea150974c8cd2f955ec02a27bb1530b3a69a0f6be541df8 SHA512 6659922243b2cd7bc1a32b17a45a29e5b6e4550c421bbcf16777e14633561f457084676b819051fbec9fb8adc75b3907f24ccce7eedb0c497994f02b1e8059c7
|
||||
DIST notesnook-bin-3.3.5.arm64.AppImage 121050997 BLAKE2B 8033a0386c03435cd3def59d3c0425b3d909d5e9689020e0a73ed61bec5e15e481b2c23381fbd5d7a09833c35a548bffa2f66e6b82bed2c34f7d21c57d12ee82 SHA512 b7f30ade4bc0c0d4471ca144a4754f8e7681f79219923cca3cbcf1961c901a8fc282cdb8ffe5314ab150a411236dcbcfe7de2dc17b3f35f9aeb89f012cab5615
|
||||
EBUILD notesnook-bin-3.3.5.ebuild 934 BLAKE2B 834250293860f83bea2ffafbea70a4ad96d0d76b2b52f9f140daeeeaefd05b596b1694cacad4ea86d00cc6588dde11b843f60b9a94afc6db2dd9ea4a713f61b3 SHA512 b3f78180a3132157a83fced6d2b7492a91c80bb3bdacb89ca1b062ed6bfbbc5112af0b1e3599f42c48cd0b9a895f3b6a19a8435520d00b11a7939d72041ee95d
|
||||
MISC metadata.xml 975 BLAKE2B 215a8104669acf3be4083fc696442bbdd857db0e6a4cbc05164bbd2dfe260f79698362f7e505729aafbf8db228e8ac7c8298d730a778f8696265d3d67d294931 SHA512 60e73c4d77eb724856cafc6bbd481350c3e19ab616019abc19b73dbee9afbad5c270a4b45314c763ca9662e3ce72ab08075e2a0438e68ef9e7071334274b7d18
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
AUX languagetool.desktop 191 BLAKE2B 726e670645f78c3ea11c788a6440116753d66cf9886155ffa0f9cfad7deab000891276526aea17bae4977472c5d154837fb779de6abdb9cbe47148ce6ff96fe7 SHA512 d54542d4e742e83a7514857a11756f66966a9714f0f7b781aabd635b14cfa4f4d2b0fc1f98b2148af92e469fe877ffb61995c2abe5f59678174eae1d9c3dcbfe
|
||||
AUX languagetool.initd 473 BLAKE2B 74f55cfaf5b6c2e2fa166533c031408dc7e2e2b1882e6e09227af38e500f12481a551e8cec166620c73e671f00063cb63cc9dda500355110ff048d806dfa2d77 SHA512 fb9ab4fa28df1f43791995557fc4568ee79f7af7991481d295c28739c975c6648999676ea078ee852dc3dc9f49fbb9945c9dc571c385dd4db3d69ca5bf501623
|
||||
AUX logo.svg 2824 BLAKE2B 7653478b44ebd3dc80691849751745aba14a652d1ffaf52ef27910a52fae15b39c9ef0224795f698b1ac6f95a3e677ee46603b29261dff0d50d9eedba5e09de5 SHA512 501e3dee99f762556774f42829a9e450fc412271a7ade87f17ffb211929d24564ea3385b2bfc1c261e46d4b0b3562be62903b111ecd1c7dacb97c3c8ffb0d6d5
|
||||
DIST ltex-ls-plus-18.6.0.tar.gz 262919895 BLAKE2B cda9b96d3f5ba4cd407c3eca7d05bd40dec564164fe5a05d1a3a2d7d69442df13817f5d968eed153ceb01fbdec2efb580d5f4946e1c2d403eae6db492ea0a7f0 SHA512 d00203f01a311bcdbdbf55f104b008b9ccd8cfd0107971f7f4c26714d6d76c212f4a445077155961e588992bbd38a3aef3e6aede54bc24adb6f78ce797f5a9d4
|
||||
EBUILD ltex-ls-plus-18.6.0.ebuild 2585 BLAKE2B e72b92773bcbbfdada725108855ee0f0e18db283f6a11da682f0f9c21653d7db9b3e0a837d8281a4eeb5accd91de860c534fe0109c860f6b5319d7d98c08b162 SHA512 f234b1f9add7dc94fb69dd3977c88ffdc047a87d48d2cd8e7b4fff98b1c742670374913823340ce902c783be8d9b5076515f93f28b71b5c080a262e6d06c0a7a
|
||||
DIST ltex-ls-plus-18.6.1.tar.gz 262920868 BLAKE2B d0d80f4b3236dde00b8df0b92fa946d5d39a8e5bea1c5f321ced8ac828f9622a242ac84e3dc6cf106fd29c5452e5b59040a82e20dca46ce354b724e192572883 SHA512 bd6c76dd991c677d7d6094aad1ec7e58930a4e91b67e067ee4a26c09dd11e1b466fdd73787336adac913171e1a41e3c6779bdf673ec66044a342fb1a5d5c1500
|
||||
EBUILD ltex-ls-plus-18.6.1.ebuild 2585 BLAKE2B 6756900277e658f40a894a97b22e6628722d8dee77f9a1a34ceacac38e6a568d603961a71b56b1a27bb1375a3b40261d54c7352a0ff13ff0627744f13f4d491f SHA512 088cab3d6229ec19202b44ba05f072d46fc687a7b5143435c6db59841ae176bab4a5a6048be30dfdd1641ef7bff7e2474d7e311a3e478e543237819bd325c243
|
||||
MISC metadata.xml 347 BLAKE2B 1f1cb90d52bbc97720594eb2103791a23e462ae11155ce113740a310d39b40223b547e481c310299abcaaeb339068a9a3f97e4dcfa7cfeb1d75ef5449ab0ae7d SHA512 f27073ac2beba3ce58e2e68f58f80a9681d16fa1bc812c5aca7f00113213a14eab68b8acaafc46e9053107903e17c7e88db76a87951db17d4d89bb82f04fb704
|
||||
|
||||
@@ -23,7 +23,7 @@ CP_DEPEND="
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-text:0
|
||||
dev-java/jackson-core:0
|
||||
dev-java/jackson-annotations:2
|
||||
dev-java/jackson-annotations:0
|
||||
dev-java/jackson-databind:0
|
||||
dev-java/jaxb-api:2
|
||||
dev-java/jaxb-runtime:4
|
||||
@@ -2,5 +2,5 @@ AUX languagetool.desktop 191 BLAKE2B 726e670645f78c3ea11c788a6440116753d66cf9886
|
||||
AUX languagetool.initd 473 BLAKE2B 74f55cfaf5b6c2e2fa166533c031408dc7e2e2b1882e6e09227af38e500f12481a551e8cec166620c73e671f00063cb63cc9dda500355110ff048d806dfa2d77 SHA512 fb9ab4fa28df1f43791995557fc4568ee79f7af7991481d295c28739c975c6648999676ea078ee852dc3dc9f49fbb9945c9dc571c385dd4db3d69ca5bf501623
|
||||
AUX logo.svg 2824 BLAKE2B 7653478b44ebd3dc80691849751745aba14a652d1ffaf52ef27910a52fae15b39c9ef0224795f698b1ac6f95a3e677ee46603b29261dff0d50d9eedba5e09de5 SHA512 501e3dee99f762556774f42829a9e450fc412271a7ade87f17ffb211929d24564ea3385b2bfc1c261e46d4b0b3562be62903b111ecd1c7dacb97c3c8ffb0d6d5
|
||||
DIST ltex-ls-16.0.0.tar.gz 243227042 BLAKE2B 94b3705e03a5fb6bdf127738d7f539bd28c21e225fb8ddf428a97dd12cbbaa5e7abb440341f3456495a631a32f8d5df070e98159450d53aecef82e3ecb6e22d4 SHA512 660a9763706ef9402c34b05cc7d1f977a848d9b1fb6f268ad5d4f1fca995df7e1cf82724b616a2efe016ca9880c6d7d07cb21132515c04343ab24642d0f73e0d
|
||||
EBUILD ltex-ls-16.0.0.ebuild 2672 BLAKE2B 53252666416bf49977f1d7300aa1ebd9b674681de195f7c09c9132d1ef442a8b9b81b94a51f00a4dc962d0a3ae65a618a803a92cc5720fe0e47ec4f753ca4ee5 SHA512 bf9e95478ffeca825c00b75cd09238e4215ef38a1c65d4ce802c8049a4b64dba288db7cc2f28af8f03229168b2471aaf63c8c871f5c642be93caa0c6663d9520
|
||||
EBUILD ltex-ls-16.0.0.ebuild 2672 BLAKE2B 82a28a3c3f2625ecef79debd2e4a6183f147124321fd9ab83c4245eb48683e1654eb1bc0847f7f48f8b738575caa0bd63e3c5688e3f7820ec462956b805f3363 SHA512 6403f74d3214888b47202087386f308b599222c637d55b7b87607ac44558c8a3d4c053f0389bf7bf2842bfc3432ae77485db27bb47a8f991cf6da59da3a3c534
|
||||
MISC metadata.xml 341 BLAKE2B 079fcdfbb5074cf8f1eb5ae2ebc4c20e4047b8b4f5303e6c30756b87988584c93943d5064d1902deddae2729ea5bb06a4814075b46b05c9f717a49c004052f57 SHA512 f7143d9495597a9a51043c9bc6bdb66e6644982621c1e1802d2ad297a2398d2084c7147eb107f2b67c6ab5c68d53a8f0188bf10c8efc70ef0af102f483afd658
|
||||
|
||||
@@ -22,7 +22,7 @@ CP_DEPEND="
|
||||
dev-java/commons-logging:0
|
||||
dev-java/commons-text:0
|
||||
dev-java/jackson-core:0
|
||||
dev-java/jackson-annotations:2
|
||||
dev-java/jackson-annotations:0
|
||||
dev-java/jackson-databind:0
|
||||
dev-java/jaxb-api:2
|
||||
dev-java/jaxb-runtime:4
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST cudnn-linux-x86_64-9.14.0.64_cuda13-archive.tar.xz 646368088 BLAKE2B 4ce4b712762bb6df2dda3a7b20935e66eabb5f2e0434d2e9e6083e968bcbce769210b688931ba70d68c6e688f97f466d45853eafad61b9202a1351ea7f19ca94 SHA512 8dfa05ba8f7672b403fa8924421e7c48f39adc862edb15b1e56cbbb6ff6bbdf6b1822149ea0c1c624c20b38abf5140903fa4b4398d08b028c12843cf62ff8539
|
||||
EBUILD cudnn-9.14.0.64.ebuild 744 BLAKE2B cf73ffd8391a3ad4d67d8520b838e0db69d513605d7ff3edbf299b30a40484c7f1e652621a1a60f67373a6f322f6dee84f55a04c58d4e81f541eeb418e300dee SHA512 ceef6babefe593dfc295117593341257a33471efad09a77c96e3e5879d0896d29aa7214b0989a13103c3ff69d93c4ee98e3976afb8b5ebde1f642ccfc69f9fce
|
||||
DIST cudnn-linux-x86_64-9.15.0.58_cuda13-archive.tar.xz 646565556 BLAKE2B 4905c068f1b9383e12a37aeaf16f1b87c008532488798dda4cd9b9ac0dd69f0e767b12a786c5f2d94879307408c4f30b56e87bd9575ea6c8a35f4b56dcf48472 SHA512 2ff1b092eb50781ece57a24cc1f7a6e58fa3854b87fd38e90c283b6360aedd3b5c32988247e0842715677882a411ca54c0e2d22f897fc1b0eb37bf1a28abe31a
|
||||
EBUILD cudnn-9.15.0.58.ebuild 744 BLAKE2B cf73ffd8391a3ad4d67d8520b838e0db69d513605d7ff3edbf299b30a40484c7f1e652621a1a60f67373a6f322f6dee84f55a04c58d4e81f541eeb418e300dee SHA512 ceef6babefe593dfc295117593341257a33471efad09a77c96e3e5879d0896d29aa7214b0989a13103c3ff69d93c4ee98e3976afb8b5ebde1f642ccfc69f9fce
|
||||
MISC metadata.xml 254 BLAKE2B b855316ec6a32691e84730979c9a077765d46802f09c19f3a06f2cddf677674c9a2ea24c9b57a0fc6344d7f70276ca507a68f5fa690555360665ac494fca54c2 SHA512 5f6faacd216c7ece09e847c09115add5261e7a899e0b0c9304f2ee72e2d0ad208338939e4e37946008bdc81fbbacf415fb220c5c1f9832b17f18c6778d0c0368
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
AUX qt6ct-kde-0.11-r5.patch 32478 BLAKE2B 429205534124bbcfb631fc86e2706f97d1e85497bc303af32414abdf6e8e0949a95997a7f75dcde60e869a34e430bd853ad14342f2e0aa1197ac3987be476bd7 SHA512 1452865e8b0b899ab6ad2729a73aa8c3aea54ffdff5b4c449d8d04d8056d42b118987c7532a127224ddf2dc7627f14eb97162c4f0cd04aee628d7e4559f49150
|
||||
DIST qt6ct-kde-0.11.tar.gz 154383 BLAKE2B 0baa02ae6b2a0bc6681e9f65a7c09ebc0ba267a72e0bb40294907f8c33adea005bef912660eda7e7108d5e0afc3a399184480121bde158cdb840c1427ed6ebdc SHA512 58d00f658360e7a7dd8d09a6a873bd9b21f112e596a72ce3ca9caeaba2a4336fbba18c93a8bdb1560f2875f40de1991d9500c5c52a8d8621c060f3bcc8d5545f
|
||||
EBUILD qt6ct-kde-0.11.ebuild 1348 BLAKE2B efa5d963ecc09b495f887d87587af0d55f8cfef9576435ea8a3f4cdf82d9a7e75bdf395594d4a5df8d112a872335ffb4c8f9955cd92a5cae9c97bba968d8c230 SHA512 14278db85541239ee47d9c754b74a5bb9ac0ee21a5f6640329edff911c20c039c71870a60c7625ac4a021c371cd82ba87614b3104d192d1e2acf24c4095f22a4
|
||||
EBUILD qt6ct-kde-0.11-r5.ebuild 1388 BLAKE2B b7cf095aba43f6b8fed2a2edf621539adde2cf5bc7224c1631b1681f076928f8a32e0d287a80173b239287ef00567ba81e9ca511e0121ba42bc4fc55b8bc4440 SHA512 8d99b9b29b8b1f0e11e6b7486c92d3870d75456016a6f9bafd01c2158a809381589565deba78173c14e879dfc5b0f81f2696dc5239c4eeb0fca5914891b9b9b1
|
||||
MISC metadata.xml 471 BLAKE2B a2021714574ce0ac3cf571ed8038d5fcbc0e5fdba8575396ef9220d870672da076b1b18ddc6a44f553304aa683208f284f9afd0db9effe387d810284d70a883c SHA512 24ab0e19b9d3c0f202d44f94cff971c4dac2331c927e52af5fda5b44826d0ba4d8d13b20470cd2b0952f3a192708321a867fa9197f62992f066b11b121e295eb
|
||||
|
||||
837
gui-apps/qt6ct-kde/files/qt6ct-kde-0.11-r5.patch
Normal file
837
gui-apps/qt6ct-kde/files/qt6ct-kde-0.11-r5.patch
Normal file
@@ -0,0 +1,837 @@
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 475a47f..d4950b3 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -28,15 +28,19 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
set(CMAKE_BUILD_RPATH_USE_ORIGIN ON)
|
||||
set(QT_NO_PRIVATE_MODULE_WARNING ON)
|
||||
|
||||
-add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060200 -DUSE_WIDGETS -DQT_DEPRECATED_WARNINGS -DQT_MESSAGELOGCONTEXT)
|
||||
+add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060200 -DQT_DEPRECATED_WARNINGS -DQT_MESSAGELOGCONTEXT)
|
||||
add_compile_options(-Wall -Wextra)
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||
|
||||
-find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core Widgets OPTIONAL_COMPONENTS LinguistTools)
|
||||
+find_package(Qt6 6.2 CONFIG REQUIRED COMPONENTS BuildInternals Core OPTIONAL_COMPONENTS Widgets QuickControls2 LinguistTools)
|
||||
if(Qt6_VERSION VERSION_GREATER_EQUAL 6.10)
|
||||
- find_package(Qt6 6.10 CONFIG REQUIRED COMPONENTS WidgetsPrivate GuiPrivate)
|
||||
+ find_package(Qt6 6.10 CONFIG REQUIRED COMPONENTS GuiPrivate OPTIONAL_COMPONENTS WidgetsPrivate)
|
||||
endif()
|
||||
|
||||
+find_package(KF6Config)
|
||||
+find_package(KF6ColorScheme)
|
||||
+find_package(KF6IconThemes)
|
||||
+
|
||||
get_target_property(QT_QTPATHS_EXECUTABLE Qt6::qtpaths IMPORTED_LOCATION)
|
||||
|
||||
if(Qt6LinguistTools_FOUND)
|
||||
@@ -80,10 +84,12 @@ endif()
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/qt6ct-common)
|
||||
|
||||
add_link_options(-Wl,--no-undefined)
|
||||
-add_subdirectory(src/qt6ct)
|
||||
add_subdirectory(src/qt6ct-common)
|
||||
add_subdirectory(src/qt6ct-qtplugin)
|
||||
-add_subdirectory(src/qt6ct-style)
|
||||
+if(Qt6Widgets_FOUND)
|
||||
+ add_subdirectory(src/qt6ct-style)
|
||||
+ add_subdirectory(src/qt6ct)
|
||||
+endif()
|
||||
|
||||
install(DIRECTORY qss DESTINATION ${CMAKE_INSTALL_DATADIR}/qt6ct)
|
||||
install(DIRECTORY colors DESTINATION ${CMAKE_INSTALL_DATADIR}/qt6ct)
|
||||
diff --git a/src/qt6ct-common/CMakeLists.txt b/src/qt6ct-common/CMakeLists.txt
|
||||
index 3b9f0b9..2afce8d 100644
|
||||
--- a/src/qt6ct-common/CMakeLists.txt
|
||||
+++ b/src/qt6ct-common/CMakeLists.txt
|
||||
@@ -24,5 +24,6 @@ set(app_SRCS
|
||||
|
||||
add_library(qt6ct-common SHARED ${app_SRCS})
|
||||
set_target_properties(qt6ct-common PROPERTIES VERSION ${QT6CT_VERSION})
|
||||
-target_link_libraries(qt6ct-common PRIVATE Qt6::Gui)
|
||||
+target_link_libraries(qt6ct-common PRIVATE Qt6::Gui $<TARGET_NAME_IF_EXISTS:KF6::ConfigCore> $<TARGET_NAME_IF_EXISTS:KF6::ColorScheme>)
|
||||
+target_compile_definitions(qt6ct-common PRIVATE $<$<TARGET_EXISTS:KF6::ConfigCore>:KF_CONFIGCORE_LIB> $<$<TARGET_EXISTS:KF6::ColorScheme>:KF_COLORSCHEME_LIB>)
|
||||
install(TARGETS qt6ct-common DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
diff --git a/src/qt6ct-common/qt6ct.cpp b/src/qt6ct-common/qt6ct.cpp
|
||||
index 616440b..250987d 100644
|
||||
--- a/src/qt6ct-common/qt6ct.cpp
|
||||
+++ b/src/qt6ct-common/qt6ct.cpp
|
||||
@@ -34,6 +34,10 @@
|
||||
#include <QFile>
|
||||
#include <QSettings>
|
||||
#include <QtDebug>
|
||||
+#if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB
|
||||
+#include <KSharedConfig>
|
||||
+#include <KColorScheme>
|
||||
+#endif
|
||||
#include "qt6ct.h"
|
||||
|
||||
#ifndef QT6CT_DATADIR
|
||||
@@ -121,6 +125,9 @@ QStringList Qt6CT::sharedColorSchemePaths()
|
||||
for(const QString &p : QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation))
|
||||
{
|
||||
paths << (p + QStringLiteral("/qt6ct/colors"));
|
||||
+#if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB
|
||||
+ paths << (p + QStringLiteral("/color-schemes"));
|
||||
+#endif
|
||||
}
|
||||
paths << QStringLiteral(QT6CT_DATADIR"/qt6ct/colors");
|
||||
paths.removeDuplicates();
|
||||
@@ -129,6 +136,9 @@ QStringList Qt6CT::sharedColorSchemePaths()
|
||||
|
||||
QString Qt6CT::resolvePath(const QString &path)
|
||||
{
|
||||
+ if(path.isEmpty())
|
||||
+ return path;
|
||||
+
|
||||
QString tmp = path;
|
||||
tmp.replace(QLatin1Char('~'), QStandardPaths::writableLocation(QStandardPaths::HomeLocation));
|
||||
if(!tmp.contains(QLatin1Char('$')))
|
||||
@@ -148,9 +158,21 @@ QString Qt6CT::resolvePath(const QString &path)
|
||||
return tmp;
|
||||
}
|
||||
|
||||
-QPalette Qt6CT::loadColorScheme(const QString &filePath, const QPalette &fallback)
|
||||
+bool Qt6CT::isKColorScheme(const QString &filePath)
|
||||
{
|
||||
- QPalette customPalette;
|
||||
+ return filePath.toLower().endsWith(".colors");
|
||||
+}
|
||||
+
|
||||
+std::optional<QPalette> Qt6CT::loadColorScheme(const QString &filePath)
|
||||
+{
|
||||
+ if(filePath.isEmpty())
|
||||
+ return std::nullopt;
|
||||
+
|
||||
+#if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB
|
||||
+ if(isKColorScheme(filePath))
|
||||
+ return KColorScheme::createApplicationPalette(KSharedConfig::openConfig(filePath));
|
||||
+#endif
|
||||
+
|
||||
QSettings settings(filePath, QSettings::IniFormat);
|
||||
settings.beginGroup("ColorScheme"_L1);
|
||||
QStringList activeColors = settings.value("active_colors"_L1).toStringList();
|
||||
@@ -158,7 +180,6 @@ QPalette Qt6CT::loadColorScheme(const QString &filePath, const QPalette &fallbac
|
||||
QStringList disabledColors = settings.value("disabled_colors"_L1).toStringList();
|
||||
settings.endGroup();
|
||||
|
||||
-
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(6,6,0))
|
||||
if(activeColors.count() == QPalette::Accent)
|
||||
activeColors << activeColors.at(QPalette::Highlight);
|
||||
@@ -168,24 +189,19 @@ QPalette Qt6CT::loadColorScheme(const QString &filePath, const QPalette &fallbac
|
||||
disabledColors << disabledColors.at(QPalette::Highlight);
|
||||
#endif
|
||||
|
||||
+ if(activeColors.count() < QPalette::NColorRoles ||
|
||||
+ inactiveColors.count() < QPalette::NColorRoles ||
|
||||
+ disabledColors.count() < QPalette::NColorRoles)
|
||||
+ return std::nullopt;
|
||||
|
||||
- if(activeColors.count() >= QPalette::NColorRoles &&
|
||||
- inactiveColors.count() >= QPalette::NColorRoles &&
|
||||
- disabledColors.count() >= QPalette::NColorRoles)
|
||||
- {
|
||||
- for (int i = 0; i < QPalette::NColorRoles; i++)
|
||||
- {
|
||||
- QPalette::ColorRole role = QPalette::ColorRole(i);
|
||||
- customPalette.setColor(QPalette::Active, role, QColor(activeColors.at(i)));
|
||||
- customPalette.setColor(QPalette::Inactive, role, QColor(inactiveColors.at(i)));
|
||||
- customPalette.setColor(QPalette::Disabled, role, QColor(disabledColors.at(i)));
|
||||
- }
|
||||
- }
|
||||
- else
|
||||
+ QPalette customPalette;
|
||||
+ for (int i = 0; i < QPalette::NColorRoles; i++)
|
||||
{
|
||||
- customPalette = fallback; //load fallback palette
|
||||
+ QPalette::ColorRole role = QPalette::ColorRole(i);
|
||||
+ customPalette.setColor(QPalette::Active, role, QColor(activeColors.at(i)));
|
||||
+ customPalette.setColor(QPalette::Inactive, role, QColor(inactiveColors.at(i)));
|
||||
+ customPalette.setColor(QPalette::Disabled, role, QColor(disabledColors.at(i)));
|
||||
}
|
||||
-
|
||||
return customPalette;
|
||||
}
|
||||
|
||||
diff --git a/src/qt6ct-common/qt6ct.h b/src/qt6ct-common/qt6ct.h
|
||||
index f253987..06ea440 100644
|
||||
--- a/src/qt6ct-common/qt6ct.h
|
||||
+++ b/src/qt6ct-common/qt6ct.h
|
||||
@@ -101,7 +101,8 @@ public:
|
||||
static QString styleColorSchemeFile();
|
||||
static QStringList sharedColorSchemePaths();
|
||||
static QString resolvePath(const QString &path);
|
||||
- static QPalette loadColorScheme(const QString &filePath, const QPalette &fallback);
|
||||
+ static bool isKColorScheme(const QString &filePath);
|
||||
+ static std::optional<QPalette> loadColorScheme(const QString &filePath);
|
||||
|
||||
static void registerStyleInstance(StyleInstance *instance);
|
||||
static void unregisterStyleInstance(StyleInstance *instance);
|
||||
diff --git a/src/qt6ct-qtplugin/CMakeLists.txt b/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
index 93a2b84..5e170c5 100644
|
||||
--- a/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
+++ b/src/qt6ct-qtplugin/CMakeLists.txt
|
||||
@@ -7,5 +7,6 @@ set(app_SRCS
|
||||
|
||||
add_library(qt6ct-qtplugin MODULE ${app_SRCS})
|
||||
set_target_properties(qt6ct-qtplugin PROPERTIES OUTPUT_NAME qt6ct)
|
||||
-target_link_libraries(qt6ct-qtplugin PRIVATE Qt6::Widgets Qt6::GuiPrivate qt6ct-common)
|
||||
+target_link_libraries(qt6ct-qtplugin PRIVATE $<TARGET_NAME_IF_EXISTS:Qt6::WidgetsPrivate> Qt6::GuiPrivate $<TARGET_NAME_IF_EXISTS:Qt6::QuickControls2> $<TARGET_NAME_IF_EXISTS:KF6::IconThemes> qt6ct-common)
|
||||
+target_compile_definitions(qt6ct-qtplugin PRIVATE $<$<TARGET_EXISTS:KF6::IconThemes>:KF_ICONTHEMES_LIB>)
|
||||
install(TARGETS qt6ct-qtplugin DESTINATION ${PLUGINDIR}/platformthemes)
|
||||
diff --git a/src/qt6ct-qtplugin/qt6ct-qtplugin.pro b/src/qt6ct-qtplugin/qt6ct-qtplugin.pro
|
||||
index f3e9ef6..a05a9b7 100644
|
||||
--- a/src/qt6ct-qtplugin/qt6ct-qtplugin.pro
|
||||
+++ b/src/qt6ct-qtplugin/qt6ct-qtplugin.pro
|
||||
@@ -11,7 +11,7 @@ SOURCES += \
|
||||
qt6ctplatformtheme.cpp
|
||||
|
||||
!equals(DISABLE_WIDGETS,1) {
|
||||
- QT += widgets
|
||||
+ QT += widgets widgets-private
|
||||
}
|
||||
|
||||
OTHER_FILES += qt6ct.json
|
||||
diff --git a/src/qt6ct-qtplugin/qt6ctplatformtheme.cpp b/src/qt6ct-qtplugin/qt6ctplatformtheme.cpp
|
||||
index 569b13f..721e7c8 100644
|
||||
--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.cpp
|
||||
+++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.cpp
|
||||
@@ -41,38 +41,74 @@
|
||||
#include <QStyleFactory>
|
||||
#include <QApplication>
|
||||
#include <QWidget>
|
||||
+#if QT_CONFIG(graphicsview)
|
||||
+#include <QGraphicsScene>
|
||||
+#endif
|
||||
+#include <private/qapplication_p.h>
|
||||
#endif
|
||||
#include <QFile>
|
||||
#include <QFileSystemWatcher>
|
||||
-#include <private/qiconloader_p.h>
|
||||
+#ifdef QT_QUICKCONTROLS2_LIB
|
||||
+#include <QQuickStyle>
|
||||
+#endif
|
||||
|
||||
#include "qt6ct.h"
|
||||
#include "qt6ctplatformtheme.h"
|
||||
|
||||
#include <QStringList>
|
||||
#include <qpa/qplatformthemefactory_p.h>
|
||||
+#include <qpa/qwindowsysteminterface.h>
|
||||
+
|
||||
+#ifdef KF_ICONTHEMES_LIB
|
||||
+#include <KIconEngine>
|
||||
+#include <KIconLoader>
|
||||
+#endif
|
||||
|
||||
Q_LOGGING_CATEGORY(lqt6ct, "qt6ct", QtWarningMsg)
|
||||
|
||||
//QT_QPA_PLATFORMTHEME=qt6ct
|
||||
|
||||
-Qt6CTPlatformTheme::Qt6CTPlatformTheme()
|
||||
+Qt6CTPlatformTheme::Qt6CTPlatformTheme() :
|
||||
+ m_generalFont(*QGenericUnixTheme::font(QPlatformTheme::SystemFont)),
|
||||
+ m_fixedFont(*QGenericUnixTheme::font(QPlatformTheme::FixedFont))
|
||||
{
|
||||
Qt6CT::initConfig();
|
||||
+#ifdef QT_WIDGETS_LIB
|
||||
+ if(hasWidgets())
|
||||
+ {
|
||||
+ //styles such as Kvantum could use default QFont constructor
|
||||
+ //which results in QGuiApplicationPrivate::app_font initializing
|
||||
+ //into the wrong font as we haven't finished constructor yet
|
||||
+ const bool hadFont = QGuiApplicationPrivate::app_font;
|
||||
+ m_style.reset(QStyleFactory::create(u"qt6ct-style"_s));
|
||||
+ if(!hadFont && QGuiApplicationPrivate::app_font)
|
||||
+ {
|
||||
+ delete QGuiApplicationPrivate::app_font;
|
||||
+ QGuiApplicationPrivate::app_font = nullptr;
|
||||
+ }
|
||||
+ }
|
||||
+#endif
|
||||
if(QGuiApplication::desktopSettingsAware())
|
||||
{
|
||||
readSettings();
|
||||
QMetaObject::invokeMethod(this, &Qt6CTPlatformTheme::applySettings, Qt::QueuedConnection);
|
||||
-#ifdef QT_WIDGETS_LIB
|
||||
QMetaObject::invokeMethod(this, &Qt6CTPlatformTheme::createFSWatcher, Qt::QueuedConnection);
|
||||
+ //must be applied before Q_COREAPP_STARTUP_FUNCTION execution
|
||||
+ if(Qt6CT::isKColorScheme(m_schemePath))
|
||||
+ qApp->setProperty("KDE_COLOR_SCHEME_PATH", m_schemePath);
|
||||
+#if defined QT_WIDGETS_LIB && defined QT_QUICKCONTROLS2_LIB
|
||||
+ if(hasWidgets())
|
||||
+ //don't override the value explicitly set by the user
|
||||
+ if(QQuickStyle::name().isEmpty() || QQuickStyle::name() == QLatin1String("Fusion"))
|
||||
+ QQuickStyle::setStyle(QLatin1String("org.kde.desktop"));
|
||||
#endif
|
||||
- QGuiApplication::setFont(m_generalFont);
|
||||
}
|
||||
qCDebug(lqt6ct) << "using qt6ct plugin";
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
if(!QStyleFactory::keys().contains(u"qt6ct-style"_s))
|
||||
qCCritical(lqt6ct) << "unable to find qt6ct proxy style";
|
||||
#endif
|
||||
+ QCoreApplication::instance()->installEventFilter(this);
|
||||
}
|
||||
|
||||
Qt6CTPlatformTheme::~Qt6CTPlatformTheme()
|
||||
@@ -90,10 +126,41 @@ QPlatformDialogHelper *Qt6CTPlatformTheme::createPlatformDialogHelper(DialogType
|
||||
QGenericUnixTheme::createPlatformDialogHelper(type);
|
||||
}
|
||||
|
||||
+#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
+Qt::ColorScheme Qt6CTPlatformTheme::colorScheme() const
|
||||
+{
|
||||
+ //m_inColorScheme prevents QPlatformTheme::palette -> QPlatformThemePrivate::initializeSystemPalette
|
||||
+ //-> qt_fusionPalette -> Qt6CTPlatformTheme::colorScheme infinite recursion
|
||||
+ if(m_isIgnored || m_inColorScheme)
|
||||
+ return QGenericUnixTheme::colorScheme();
|
||||
+
|
||||
+ m_inColorScheme = true;
|
||||
+#ifdef QT_WIDGETS_LIB
|
||||
+ //follow QApplicationPrivate::basePalette() logic
|
||||
+ QPalette palette = m_style ? m_style->standardPalette() : Qt::gray;
|
||||
+ if(const QPalette *themePalette = this->palette())
|
||||
+ palette = themePalette->resolve(palette);
|
||||
+ palette.setResolveMask(0);
|
||||
+ if (m_style)
|
||||
+ m_style->polish(palette);
|
||||
+#else
|
||||
+ //follow QGuiApplicationPrivate::basePalette() logic
|
||||
+ const QPalette palette = this->palette() ? *this->palette() : Qt::gray;
|
||||
+#endif
|
||||
+ m_inColorScheme = false;
|
||||
+
|
||||
+ return palette.windowText().color().lightness() > palette.window().color().lightness()
|
||||
+ ? Qt::ColorScheme::Dark
|
||||
+ : palette.windowText().color().lightness() < palette.window().color().lightness()
|
||||
+ ? Qt::ColorScheme::Light
|
||||
+ : QGenericUnixTheme::colorScheme();
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
const QPalette *Qt6CTPlatformTheme::palette(QPlatformTheme::Palette type) const
|
||||
{
|
||||
- if (type == QPlatformTheme::SystemPalette && !m_isIgnored)
|
||||
- return &m_palette;
|
||||
+ if (type == QPlatformTheme::SystemPalette && m_palette)
|
||||
+ return &*m_palette;
|
||||
return QGenericUnixTheme::palette(type);
|
||||
}
|
||||
|
||||
@@ -148,6 +215,13 @@ QIcon Qt6CTPlatformTheme::fileIcon(const QFileInfo &fileInfo, QPlatformTheme::Ic
|
||||
return QIcon::fromTheme(type.iconName());
|
||||
}
|
||||
|
||||
+#ifdef KF_ICONTHEMES_LIB
|
||||
+QIconEngine *Qt6CTPlatformTheme::createIconEngine(const QString &iconName) const
|
||||
+{
|
||||
+ return new KIconEngine(iconName, KIconLoader::global());
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
void Qt6CTPlatformTheme::applySettings()
|
||||
{
|
||||
if(!QGuiApplication::desktopSettingsAware() || m_isIgnored)
|
||||
@@ -156,18 +230,18 @@ void Qt6CTPlatformTheme::applySettings()
|
||||
return;
|
||||
}
|
||||
|
||||
- QGuiApplication::setFont(m_generalFont); //apply font
|
||||
+ if(Qt6CT::isKColorScheme(m_schemePath))
|
||||
+ qApp->setProperty("KDE_COLOR_SCHEME_PATH", m_schemePath);
|
||||
+ else if(m_update)
|
||||
+ qApp->setProperty("KDE_COLOR_SCHEME_PATH", QVariant());
|
||||
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
if(hasWidgets())
|
||||
{
|
||||
- qApp->setFont(m_generalFont);
|
||||
-
|
||||
- //Qt 5.6 or higher should be use themeHint function on application startup.
|
||||
- //So, there is no need to call this function first time.
|
||||
if(m_update)
|
||||
{
|
||||
- qApp->setWheelScrollLines(m_wheelScrollLines);
|
||||
+ if(FontHash *hash = qt_app_fonts_hash(); hash && hash->size())
|
||||
+ hash->clear();
|
||||
Qt6CT::reloadStyleInstanceSettings();
|
||||
}
|
||||
|
||||
@@ -193,25 +267,26 @@ void Qt6CTPlatformTheme::applySettings()
|
||||
|
||||
if(m_update)
|
||||
{
|
||||
- QIconLoader::instance()->updateSystemTheme(); //apply icons
|
||||
- QGuiApplication::setPalette(QGuiApplication::palette()); //apply palette
|
||||
+ QWindowSystemInterface::handleThemeChange();
|
||||
+ QCoreApplication::postEvent(qGuiApp, new QEvent(QEvent::ApplicationFontChange));
|
||||
}
|
||||
|
||||
#ifdef QT_WIDGETS_LIB
|
||||
if(hasWidgets() && m_update)
|
||||
{
|
||||
- for(QWidget *w : qApp->allWidgets())
|
||||
- {
|
||||
- QEvent e(QEvent::ThemeChange);
|
||||
- QApplication::sendEvent(w, &e);
|
||||
- }
|
||||
+#if QT_CONFIG(graphicsview)
|
||||
+ for(auto scene : std::as_const(QApplicationPrivate::instance()->scene_list))
|
||||
+ QCoreApplication::postEvent(scene, new QEvent(QEvent::ApplicationFontChange));
|
||||
+#endif
|
||||
+
|
||||
+ for(QWidget *w : QApplication::allWidgets())
|
||||
+ QCoreApplication::postEvent(w, new QEvent(QEvent::ThemeChange));
|
||||
}
|
||||
#endif
|
||||
|
||||
m_update = true;
|
||||
}
|
||||
|
||||
-#ifdef QT_WIDGETS_LIB
|
||||
void Qt6CTPlatformTheme::createFSWatcher()
|
||||
{
|
||||
QFileSystemWatcher *watcher = new QFileSystemWatcher(this);
|
||||
@@ -230,21 +305,16 @@ void Qt6CTPlatformTheme::updateSettings()
|
||||
readSettings();
|
||||
applySettings();
|
||||
}
|
||||
-#endif
|
||||
|
||||
void Qt6CTPlatformTheme::readSettings()
|
||||
{
|
||||
QSettings settings(Qt6CT::configFile(), QSettings::IniFormat);
|
||||
|
||||
settings.beginGroup("Appearance"_L1);
|
||||
- m_style = settings.value("style"_L1, u"Fusion"_s).toString();
|
||||
- m_palette = *QGenericUnixTheme::palette(SystemPalette);
|
||||
- QString schemePath = settings.value("color_scheme_path"_L1).toString();
|
||||
- if(!schemePath.isEmpty() && settings.value("custom_palette"_L1, false).toBool())
|
||||
- {
|
||||
- schemePath = Qt6CT::resolvePath(schemePath); //replace environment variables
|
||||
- m_palette = Qt6CT::loadColorScheme(schemePath, m_palette);
|
||||
- }
|
||||
+ m_schemePath = !m_isIgnored && settings.value("custom_palette"_L1, false).toBool()
|
||||
+ ? Qt6CT::resolvePath(settings.value("color_scheme_path"_L1).toString()) //replace environment variables
|
||||
+ : QString();
|
||||
+ m_palette = Qt6CT::loadColorScheme(m_schemePath);
|
||||
m_iconTheme = settings.value("icon_theme"_L1).toString();
|
||||
//load dialogs
|
||||
if(!m_update)
|
||||
@@ -252,8 +322,9 @@ void Qt6CTPlatformTheme::readSettings()
|
||||
//do not mix gtk2 style and gtk3 dialogs
|
||||
QStringList keys = QPlatformThemeFactory::keys();
|
||||
QString dialogs = settings.value("standard_dialogs"_L1, u"default"_s).toString();
|
||||
+ QString style = settings.value("style"_L1, u"Fusion"_s).toString();
|
||||
|
||||
- if(m_style.endsWith(u"gtk2"_s) && dialogs == QLatin1String("gtk3"))
|
||||
+ if(style.endsWith(u"gtk2"_s) && dialogs == QLatin1String("gtk3"))
|
||||
dialogs = u"gtk2"_s;
|
||||
if(keys.contains(dialogs))
|
||||
m_theme.reset(QPlatformThemeFactory::create(dialogs));
|
||||
@@ -262,10 +333,10 @@ void Qt6CTPlatformTheme::readSettings()
|
||||
settings.endGroup();
|
||||
|
||||
settings.beginGroup("Fonts"_L1);
|
||||
- m_generalFont = QGuiApplication::font();
|
||||
- m_generalFont.fromString(settings.value("general"_L1, QGuiApplication::font()).toString());
|
||||
- m_fixedFont = QGuiApplication::font();
|
||||
- m_fixedFont.fromString(settings.value("fixed"_L1, QGuiApplication::font()).toString());
|
||||
+ m_generalFont = *QGenericUnixTheme::font(QPlatformTheme::SystemFont);
|
||||
+ m_generalFont.fromString(settings.value("general"_L1).toString());
|
||||
+ m_fixedFont = *QGenericUnixTheme::font(QPlatformTheme::FixedFont);
|
||||
+ m_fixedFont.fromString(settings.value("fixed_L1").toString());
|
||||
settings.endGroup();
|
||||
|
||||
settings.beginGroup("Interface"_L1);
|
||||
@@ -354,3 +425,17 @@ QString Qt6CTPlatformTheme::loadStyleSheets(const QStringList &paths)
|
||||
content.replace(regExp, u"\n"_s);
|
||||
return content;
|
||||
}
|
||||
+
|
||||
+//There's such a thing as KColorSchemeManager that lets the user to change the color scheme
|
||||
+//application-wide and we should re-apply the color scheme if KCSM resets it to the default
|
||||
+//which leads KColorScheme to get the color scheme from kdeglobals which won't help us.
|
||||
+bool Qt6CTPlatformTheme::eventFilter(QObject *obj, QEvent *e)
|
||||
+{
|
||||
+ if(obj == qApp &&
|
||||
+ e->type() == QEvent::DynamicPropertyChange &&
|
||||
+ static_cast<QDynamicPropertyChangeEvent*>(e)->propertyName() == "KDE_COLOR_SCHEME_PATH" &&
|
||||
+ qApp->property("KDE_COLOR_SCHEME_PATH").toString().isEmpty() &&
|
||||
+ Qt6CT::isKColorScheme(m_schemePath))
|
||||
+ applySettings();
|
||||
+ return QObject::eventFilter(obj, e);
|
||||
+}
|
||||
diff --git a/src/qt6ct-qtplugin/qt6ctplatformtheme.h b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
index b2a7bcf..9327ef0 100644
|
||||
--- a/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
+++ b/src/qt6ct-qtplugin/qt6ctplatformtheme.h
|
||||
@@ -43,6 +43,8 @@
|
||||
#include <QFileInfo>
|
||||
#include <memory>
|
||||
|
||||
+class QStyle;
|
||||
+
|
||||
Q_DECLARE_LOGGING_CATEGORY(lqt6ct)
|
||||
|
||||
class Qt6CTPlatformTheme : public QObject, public QGenericUnixTheme
|
||||
@@ -58,6 +60,9 @@ public:
|
||||
//virtual void showPlatformMenuBar() {}
|
||||
virtual bool usePlatformNativeDialog(DialogType type) const override;
|
||||
virtual QPlatformDialogHelper *createPlatformDialogHelper(DialogType type) const override;
|
||||
+#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
+ virtual Qt::ColorScheme colorScheme() const override;
|
||||
+#endif
|
||||
virtual const QPalette *palette(Palette type = SystemPalette) const override;
|
||||
virtual const QFont *font(Font type = SystemFont) const override;
|
||||
virtual QVariant themeHint(ThemeHint hint) const override;
|
||||
@@ -66,16 +71,19 @@ public:
|
||||
//virtual QPixmap fileIconPixmap(const QFileInfo &fileInfo, const QSizeF &size,
|
||||
// QPlatformTheme::IconOptions iconOptions = 0) const;
|
||||
|
||||
- //virtual QIconEngine *createIconEngine(const QString &iconName) const;
|
||||
+#ifdef KF_ICONTHEMES_LIB
|
||||
+ virtual QIconEngine *createIconEngine(const QString &iconName) const override;
|
||||
+#endif
|
||||
//virtual QList<QKeySequence> keyBindings(QKeySequence::StandardKey key) const;
|
||||
//virtual QString standardButtonText(int button) const;
|
||||
|
||||
+protected:
|
||||
+ bool eventFilter(QObject *obj, QEvent *e) override;
|
||||
+
|
||||
private slots:
|
||||
void applySettings();
|
||||
-#ifdef QT_WIDGETS_LIB
|
||||
void createFSWatcher();
|
||||
void updateSettings();
|
||||
-#endif
|
||||
|
||||
private:
|
||||
void readSettings();
|
||||
@@ -83,8 +91,8 @@ private:
|
||||
bool hasWidgets();
|
||||
#endif
|
||||
QString loadStyleSheets(const QStringList &paths);
|
||||
- QString m_style, m_iconTheme, m_userStyleSheet, m_prevStyleSheet;
|
||||
- QPalette m_palette;
|
||||
+ QString m_schemePath, m_iconTheme, m_userStyleSheet, m_prevStyleSheet;
|
||||
+ std::optional<QPalette> m_palette;
|
||||
QFont m_generalFont, m_fixedFont;
|
||||
int m_doubleClickInterval;
|
||||
int m_cursorFlashTime;
|
||||
@@ -96,7 +104,11 @@ private:
|
||||
int m_wheelScrollLines = 3;
|
||||
bool m_showShortcutsInContextMenus = false;
|
||||
bool m_isIgnored = false;
|
||||
+ mutable bool m_inColorScheme = false;
|
||||
std::unique_ptr<QPlatformTheme> m_theme;
|
||||
+#ifdef QT_WIDGETS_LIB
|
||||
+ std::unique_ptr<QStyle> m_style;
|
||||
+#endif
|
||||
};
|
||||
|
||||
Q_DECLARE_LOGGING_CATEGORY(lqt6ct)
|
||||
diff --git a/src/qt6ct-style/CMakeLists.txt b/src/qt6ct-style/CMakeLists.txt
|
||||
index 5ab1c21..c8870b3 100644
|
||||
--- a/src/qt6ct-style/CMakeLists.txt
|
||||
+++ b/src/qt6ct-style/CMakeLists.txt
|
||||
@@ -1,7 +1,5 @@
|
||||
project(qt6ct-style)
|
||||
|
||||
-add_definitions(-DUSE_WIDGETS)
|
||||
-
|
||||
set(app_SRCS
|
||||
plugin.cpp
|
||||
qt6ctproxystyle.cpp
|
||||
diff --git a/src/qt6ct/CMakeLists.txt b/src/qt6ct/CMakeLists.txt
|
||||
index fb0e1f7..f11071f 100644
|
||||
--- a/src/qt6ct/CMakeLists.txt
|
||||
+++ b/src/qt6ct/CMakeLists.txt
|
||||
@@ -31,6 +31,7 @@ if(Qt6LinguistTools_FOUND)
|
||||
endif()
|
||||
|
||||
add_executable(qt6ct ${app_SRCS})
|
||||
-target_link_libraries(qt6ct PRIVATE Qt6::Widgets Qt6::WidgetsPrivate qt6ct-common)
|
||||
+target_link_libraries(qt6ct PRIVATE Qt6::Widgets Qt6::GuiPrivate $<TARGET_NAME_IF_EXISTS:KF6::ConfigCore> qt6ct-common)
|
||||
+target_compile_definitions(qt6ct PRIVATE USE_WIDGETS $<$<TARGET_EXISTS:KF6::ConfigCore>:KF_CONFIGCORE_LIB> $<$<TARGET_EXISTS:KF6::ColorScheme>:KF_COLORSCHEME_LIB>)
|
||||
install(TARGETS qt6ct DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||
install(FILES qt6ct.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
|
||||
diff --git a/src/qt6ct/appearancepage.cpp b/src/qt6ct/appearancepage.cpp
|
||||
index 2f1faf8..0c01d4a 100644
|
||||
--- a/src/qt6ct/appearancepage.cpp
|
||||
+++ b/src/qt6ct/appearancepage.cpp
|
||||
@@ -35,6 +35,9 @@
|
||||
#include <QMenu>
|
||||
#include <QIcon>
|
||||
#include <QStringList>
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+#include <KConfigGroup>
|
||||
+#endif
|
||||
#include <qpa/qplatformthemefactory_p.h>
|
||||
#include <qpa/qplatformtheme.h>
|
||||
#include "qt6ct.h"
|
||||
@@ -70,7 +73,7 @@ AppearancePage::AppearancePage(QWidget *parent) :
|
||||
QMenu *menu = new QMenu(this);
|
||||
menu->addAction(QIcon::fromTheme(u"document-new"_s), tr("Create"), this, qOverload<>(&AppearancePage::createColorScheme));
|
||||
m_changeColorSchemeAction = menu->addAction(QIcon::fromTheme(u"accessories-text-editor"_s), tr("Edit"), this, &AppearancePage::changeColorScheme);
|
||||
- menu->addAction(QIcon::fromTheme(u"edit-copy"_s), tr("Create a Copy"), this, &AppearancePage::copyColorScheme);
|
||||
+ m_copyColorSchemeAction = menu->addAction(QIcon::fromTheme(u"edit-copy"_s), tr("Create a Copy"), this, &AppearancePage::copyColorScheme);
|
||||
m_renameColorSchemeAction = menu->addAction(tr("Rename"), this, &AppearancePage::renameColorScheme);
|
||||
menu->addSeparator();
|
||||
m_removeColorSchemeAction = menu->addAction(QIcon::fromTheme(u"edit-delete"_s), tr("Remove"), this, &AppearancePage::removeColorScheme);
|
||||
@@ -126,6 +129,15 @@ void AppearancePage::writeSettings(QSettings *settings)
|
||||
settings->endGroup();
|
||||
}
|
||||
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+void AppearancePage::writeSettings(KSharedConfigPtr config)
|
||||
+{
|
||||
+ KConfigGroup group(config, "KDE");
|
||||
+ group.writeEntry("widgetStyle", "qt6ct-style");
|
||||
+ group.sync();
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
void AppearancePage::on_styleComboBox_textActivated(const QString &text)
|
||||
{
|
||||
QStyle *style = QStyleFactory::create(text);
|
||||
@@ -157,7 +169,7 @@ void AppearancePage::on_colorSchemeComboBox_activated(int)
|
||||
}
|
||||
else
|
||||
{
|
||||
- m_customPalette = Qt6CT::loadColorScheme(data, palette());
|
||||
+ m_customPalette = Qt6CT::loadColorScheme(data).value_or(palette());
|
||||
}
|
||||
updatePalette();
|
||||
}
|
||||
@@ -333,6 +345,7 @@ void AppearancePage::setPreviewPalette(const QPalette &p)
|
||||
|
||||
void AppearancePage::updateActions()
|
||||
{
|
||||
+ m_copyColorSchemeAction->setVisible(!Qt6CT::isKColorScheme(m_ui->colorSchemeComboBox->currentData().toString()));
|
||||
if(m_ui->colorSchemeComboBox->count() == 0 ||
|
||||
!QFileInfo(m_ui->colorSchemeComboBox->currentData().toString()).isWritable())
|
||||
{
|
||||
@@ -364,8 +377,7 @@ void AppearancePage::readSettings()
|
||||
QString style = settings.value("style"_L1, u"Fusion"_s).toString();
|
||||
m_ui->styleComboBox->setCurrentText(style);
|
||||
|
||||
- QString colorSchemePath = settings.value("color_scheme_path"_L1).toString();
|
||||
- colorSchemePath = Qt6CT::resolvePath(colorSchemePath); //replace environment variables
|
||||
+ QString colorSchemePath = Qt6CT::resolvePath(settings.value("color_scheme_path").toString()); //replace environment variables
|
||||
|
||||
m_ui->colorSchemeComboBox->addItem(tr("Default"), u"system"_s);
|
||||
m_ui->colorSchemeComboBox->addItem(tr("Style's colors"), u"style"_s);
|
||||
@@ -382,7 +394,7 @@ void AppearancePage::readSettings()
|
||||
index = m_ui->colorSchemeComboBox->findData(u"style"_s);
|
||||
|
||||
m_ui->colorSchemeComboBox->setCurrentIndex(index);
|
||||
- m_customPalette = Qt6CT::loadColorScheme(colorSchemePath, palette());
|
||||
+ m_customPalette = Qt6CT::loadColorScheme(colorSchemePath).value_or(palette());
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -428,11 +440,26 @@ void AppearancePage::findColorSchemes(const QString &path)
|
||||
{
|
||||
QDir dir(path);
|
||||
dir.setFilter(QDir::Files);
|
||||
- dir.setNameFilters({ u"*.conf"_s });
|
||||
+ QStringList nameFilters;
|
||||
+ nameFilters << u"*.conf"_s;
|
||||
+#if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB
|
||||
+ nameFilters << u"*.colors"_s;
|
||||
+#endif
|
||||
+ dir.setNameFilters(nameFilters);
|
||||
|
||||
for(const QFileInfo &info : dir.entryInfoList())
|
||||
{
|
||||
- m_ui->colorSchemeComboBox->addItem(info.baseName(), info.filePath());
|
||||
+ QString name = info.baseName();
|
||||
+ QString path = info.filePath();
|
||||
+#if defined KF_CONFIGCORE_LIB && defined KF_COLORSCHEME_LIB
|
||||
+ if(Qt6CT::isKColorScheme(path))
|
||||
+ {
|
||||
+ KSharedConfigPtr config = KSharedConfig::openConfig(path, KConfig::SimpleConfig);
|
||||
+ KConfigGroup group(config, "General");
|
||||
+ name = group.readEntry("Name", name) + " (KColorScheme)";
|
||||
+ }
|
||||
+#endif
|
||||
+ m_ui->colorSchemeComboBox->addItem(name, path);
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/src/qt6ct/appearancepage.h b/src/qt6ct/appearancepage.h
|
||||
index e196b62..8e4902e 100644
|
||||
--- a/src/qt6ct/appearancepage.h
|
||||
+++ b/src/qt6ct/appearancepage.h
|
||||
@@ -49,6 +49,10 @@ public:
|
||||
|
||||
void writeSettings(QSettings *settings) override;
|
||||
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+ void writeSettings(KSharedConfigPtr config) override;
|
||||
+#endif
|
||||
+
|
||||
private slots:
|
||||
void on_styleComboBox_textActivated(const QString &text);
|
||||
void on_colorSchemeComboBox_activated(int);
|
||||
@@ -73,7 +77,7 @@ private:
|
||||
QStyle *m_selectedStyle = nullptr;
|
||||
QPalette m_customPalette;
|
||||
QWidget *m_previewWidget;
|
||||
- QAction *m_changeColorSchemeAction, *m_renameColorSchemeAction, *m_removeColorSchemeAction;
|
||||
+ QAction *m_changeColorSchemeAction, *m_copyColorSchemeAction, *m_renameColorSchemeAction, *m_removeColorSchemeAction;
|
||||
Ui::PreviewForm *m_previewUi;
|
||||
};
|
||||
|
||||
diff --git a/src/qt6ct/fontspage.cpp b/src/qt6ct/fontspage.cpp
|
||||
index 75de0fd..ae0f091 100644
|
||||
--- a/src/qt6ct/fontspage.cpp
|
||||
+++ b/src/qt6ct/fontspage.cpp
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <QMessageBox>
|
||||
#include <QSettings>
|
||||
#include <QApplication>
|
||||
+#include <QFontDatabase>
|
||||
#include <QFontDialog>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
@@ -70,12 +71,19 @@ void FontsPage::onFontChangeRequested(QWidget *widget)
|
||||
{
|
||||
bool ok = false;
|
||||
QFont font = QFontDialog::getFont (&ok, widget->font(), this);
|
||||
- if(ok)
|
||||
- {
|
||||
- widget->setProperty("value", font.toString());
|
||||
- widget->setFont(font);
|
||||
- qobject_cast<QLabel*>(widget)->setText(font.family () + QChar::Space + QString::number(font.pointSize ()));
|
||||
- }
|
||||
+ if(!ok)
|
||||
+ return;
|
||||
+
|
||||
+ if(font.weight() == QFont::Normal
|
||||
+ && (font.styleName() == "Regular"_L1
|
||||
+ || font.styleName() == "Normal"_L1
|
||||
+ || font.styleName() == "Book"_L1
|
||||
+ || font.styleName() == "Roman"_L1))
|
||||
+ font.setStyleName(QString());
|
||||
+
|
||||
+ widget->setProperty("value", font.toString());
|
||||
+ widget->setFont(font);
|
||||
+ qobject_cast<QLabel*>(widget)->setText(font.family () + QChar::Space + QString::number(font.pointSize ()));
|
||||
}
|
||||
|
||||
void FontsPage::readSettings()
|
||||
@@ -89,8 +97,9 @@ void FontsPage::readSettings()
|
||||
|
||||
void FontsPage::loadFont(QSettings *settings, QLabel *label, const QString &key)
|
||||
{
|
||||
- QFont font = QApplication::font();
|
||||
- font.fromString(settings->value(key, QApplication::font().toString()).toString());
|
||||
+ QFont font = settings->value(key, key == "fixed"_L1
|
||||
+ ? QFontDatabase::systemFont(QFontDatabase::FixedFont)
|
||||
+ : QFontDatabase::systemFont(QFontDatabase::GeneralFont)).value<QFont>();
|
||||
label->setText(font.family() + QChar::Space + QString::number(font.pointSize()));
|
||||
label->setFont(font);
|
||||
label->setProperty("value", font.toString());
|
||||
diff --git a/src/qt6ct/iconthemepage.cpp b/src/qt6ct/iconthemepage.cpp
|
||||
index 37960f9..9156116 100644
|
||||
--- a/src/qt6ct/iconthemepage.cpp
|
||||
+++ b/src/qt6ct/iconthemepage.cpp
|
||||
@@ -34,6 +34,9 @@
|
||||
#include <QProgressBar>
|
||||
#include <QMetaObject>
|
||||
#include <QThread>
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+#include <KConfigGroup>
|
||||
+#endif
|
||||
#include "qt6ct.h"
|
||||
#include "iconthemepage.h"
|
||||
#include "ui_iconthemepage.h"
|
||||
@@ -71,6 +74,19 @@ void IconThemePage::writeSettings(QSettings *settings)
|
||||
settings->setValue("Appearance/icon_theme"_L1, item->data(3, Qt::UserRole));
|
||||
}
|
||||
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+void IconThemePage::writeSettings(KSharedConfigPtr config)
|
||||
+{
|
||||
+ QTreeWidgetItem *item = m_ui->treeWidget->currentItem();
|
||||
+ if(!item)
|
||||
+ return;
|
||||
+
|
||||
+ KConfigGroup group(config, "Icons");
|
||||
+ group.writeEntry("Theme", item->data(3, Qt::UserRole));
|
||||
+ group.sync();
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
void IconThemePage::onFinished()
|
||||
{
|
||||
m_ui->treeWidget->addTopLevelItems(m_items);
|
||||
diff --git a/src/qt6ct/iconthemepage.h b/src/qt6ct/iconthemepage.h
|
||||
index 8938671..9ad3580 100644
|
||||
--- a/src/qt6ct/iconthemepage.h
|
||||
+++ b/src/qt6ct/iconthemepage.h
|
||||
@@ -51,6 +51,10 @@ public:
|
||||
|
||||
void writeSettings(QSettings *settings) override;
|
||||
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+ void writeSettings(KSharedConfigPtr config) override;
|
||||
+#endif
|
||||
+
|
||||
private slots:
|
||||
void onFinished();
|
||||
|
||||
diff --git a/src/qt6ct/mainwindow.cpp b/src/qt6ct/mainwindow.cpp
|
||||
index 122dff2..10296a4 100644
|
||||
--- a/src/qt6ct/mainwindow.cpp
|
||||
+++ b/src/qt6ct/mainwindow.cpp
|
||||
@@ -91,11 +91,19 @@ void MainWindow::on_buttonBox_clicked(QAbstractButton *button)
|
||||
if(id == QDialogButtonBox::Ok || id == QDialogButtonBox::Apply)
|
||||
{
|
||||
QSettings settings(Qt6CT::configFile(), QSettings::IniFormat);
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+ KSharedConfigPtr config = KSharedConfig::openConfig("kdeglobals");
|
||||
+#endif
|
||||
for(int i = 0; i < m_ui->tabWidget->count(); ++i)
|
||||
{
|
||||
TabPage *p = qobject_cast<TabPage*>(m_ui->tabWidget->widget(i));
|
||||
if(p)
|
||||
+ {
|
||||
p->writeSettings(&settings);
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+ p->writeSettings(config);
|
||||
+#endif
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/src/qt6ct/tabpage.h b/src/qt6ct/tabpage.h
|
||||
index c77b5a7..4e46ddd 100644
|
||||
--- a/src/qt6ct/tabpage.h
|
||||
+++ b/src/qt6ct/tabpage.h
|
||||
@@ -32,6 +32,10 @@
|
||||
#include <QWidget>
|
||||
#include <QSettings>
|
||||
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+#include <KSharedConfig>
|
||||
+#endif
|
||||
+
|
||||
class TabPage : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -39,6 +43,10 @@ public:
|
||||
explicit TabPage(QWidget *parent = nullptr);
|
||||
|
||||
virtual void writeSettings(QSettings *settings) = 0;
|
||||
+
|
||||
+#ifdef KF_CONFIGCORE_LIB
|
||||
+ virtual void writeSettings(KSharedConfigPtr config) {}
|
||||
+#endif
|
||||
};
|
||||
|
||||
#endif // TABPAGE_H
|
||||
@@ -28,6 +28,10 @@ BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PF}.patch"
|
||||
)
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
DIST ndi-sdk-6.2.0.tar.gz 60175936 BLAKE2B d9516169b8c661fb295716ca70334f9edbabf65cf9ac3ad1070bcf58f5260fae7c5415b26205b170693be4558e24a0f90b4d7d5ae2ab3ee8a6ba265f3f858de7 SHA512 8d1e08f29c348fb214b9f11526aa3b1b44adebdd362ca084db2e57ff618dbcce1181fc3368b2c728406ddb129c336717425301ae18879dd42b53e8c4297b59f3
|
||||
EBUILD ndi-sdk-6.2.0.ebuild 1440 BLAKE2B a5afde0275e223bbc9e546e50034c663cd1d42f3ae66c3c80f9155efdeeb9cfc718ab036cef8f73b499e67cdc7811a8a9c9f00d17e07d143747cd3b57f514f3b SHA512 da81f603b465eee7b0546e26b428fdb435e0273c3b5c0a33295a13b0cfe3fc27f80ea23e46bedd1e2862e7d48647ddd49a8616a4c7a0f1fee6a91197a5e79de3
|
||||
DIST ndi-sdk-6.2.1.tar.gz 60183066 BLAKE2B 379ff1de8b9cc249473f75d717e69ccc14ad4d190e74e8c6e7df6be0373cae6a478729bd61aa65ad1c6da243be225113fb046567e2db4b445af62806644f63c1 SHA512 cb3bc2bca2fa870ae3ad5cf7eda0231d9307b3df6621f2096590d3c15bc7014005073960e309a8be1c6a3beb8959e274ea6145271c45aaa214c31ac5530ce73d
|
||||
EBUILD ndi-sdk-6.2.1.ebuild 1440 BLAKE2B a5afde0275e223bbc9e546e50034c663cd1d42f3ae66c3c80f9155efdeeb9cfc718ab036cef8f73b499e67cdc7811a8a9c9f00d17e07d143747cd3b57f514f3b SHA512 da81f603b465eee7b0546e26b428fdb435e0273c3b5c0a33295a13b0cfe3fc27f80ea23e46bedd1e2862e7d48647ddd49a8616a4c7a0f1fee6a91197a5e79de3
|
||||
MISC metadata.xml 330 BLAKE2B b7d803b1a48b71e7e01fe9d1f6f5efc727f174dccbab5a8a773f53a9af63c52ac09709663fdcfdee5906c31971c7625e62bf5ad02c007cf0347cf6cd0bd3a04e SHA512 f1c52830d8ac8f14d1049c5630bb0ca6afad2d294a787dc4fa8990bdf2bafe8cf867d42d4af82908f24fb3820f18d119ed25c12d99d428cb17d39d6fb33f8865
|
||||
|
||||
15
metadata/md5-cache/app-misc/minder-1.17.0
Normal file
15
metadata/md5-cache/app-misc/minder-1.17.0
Normal file
@@ -0,0 +1,15 @@
|
||||
BDEPEND=>=dev-build/meson-1.2.3 app-alternatives/ninja dev-build/meson-format-array
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test
|
||||
DEPEND=app-text/discount dev-lang/vala <dev-libs/granite-7.0.0 dev-libs/json-glib gui-libs/libhandy[vala] x11-libs/gtksourceview:4[vala] app-text/discount
|
||||
DESCRIPTION=Mind-mapping application for Elementary OS.
|
||||
EAPI=8
|
||||
HOMEPAGE=https://github.com/phase1geo/Minder
|
||||
IDEPEND=dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
INHERIT=gnome2-utils meson vala xdg
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=app-text/discount dev-lang/vala <dev-libs/granite-7.0.0 dev-libs/json-glib gui-libs/libhandy[vala] x11-libs/gtksourceview:4[vala]
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/phase1geo/Minder/archive/1.17.0.tar.gz -> minder-1.17.0.tar.gz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db xdg-utils 42869b3c8d86a70ef3cf75165a395e09 gnome2-utils a8cf148ec7f5ae0b1f1d33ae5f7f9e88 flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 meson 99466844dd8d4fcfb07578a76f5a9922 vala e477903dbe0105930c51f170a592dc16 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=59bbd2455d33445625b7fe6c4b5445a4
|
||||
@@ -8,5 +8,5 @@ KEYWORDS=~amd64 ~x86
|
||||
LICENSE=MIT
|
||||
RDEPEND=app-shells/bash app-misc/jq sys-apps/findutils glow? ( app-misc/glow )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/b3nj5m1n/xdg-ninja/archive/854929e5413e8d2cf84e90c5cc3ccb0188ab5d22.tar.gz -> xdg-ninja-20250807.tar.gz
|
||||
_md5_=f62441dafcdce86243684d1de2e0c41c
|
||||
SRC_URI=https://github.com/b3nj5m1n/xdg-ninja/archive/cb09ebd6479e276070a55fcffae9a5320bc52ed5.tar.gz -> xdg-ninja-20251001.tar.gz
|
||||
_md5_=b19e37bd3684fb90a694daaf5efdc33c
|
||||
@@ -8,6 +8,6 @@ LICENSE=GPL-3
|
||||
RDEPEND=sys-fs/fuse:0
|
||||
RESTRICT=strip
|
||||
SLOT=0
|
||||
SRC_URI=amd64? ( https://github.com/streetwriters/notesnook/releases/download/v3.3.1/notesnook_linux_x86_64.AppImage -> notesnook-bin-3.3.1.amd64.AppImage ) arm64? ( https://github.com/streetwriters/notesnook/releases/download/v3.3.1/notesnook_linux_arm64.AppImage -> notesnook-bin-3.3.1.arm64.AppImage )
|
||||
SRC_URI=amd64? ( https://github.com/streetwriters/notesnook/releases/download/v3.3.5/notesnook_linux_x86_64.AppImage -> notesnook-bin-3.3.5.amd64.AppImage ) arm64? ( https://github.com/streetwriters/notesnook/releases/download/v3.3.5/notesnook_linux_arm64.AppImage -> notesnook-bin-3.3.5.arm64.AppImage )
|
||||
_eclasses_=desktop 3a72ffe0d8e1dd73af3a1c8c15a59fed
|
||||
_md5_=d6d19d36b02ef3cd40cc2fdd5bdfbde0
|
||||
@@ -6,8 +6,8 @@ HOMEPAGE=https://valentjn.github.io/ltex/
|
||||
INHERIT=java-pkg-2
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MPL-2.0
|
||||
RDEPEND=>=virtual/jre-1.8 dev-java/slf4j-api:0 dev-java/slf4j-nop:0 dev-java/guava:0 dev-java/icu4j:0 dev-java/jansi:2 dev-java/commons-lang:3.6 dev-java/commons-logging:0 dev-java/commons-text:0 dev-java/jackson-core:0 dev-java/jackson-annotations:2 dev-java/jackson-databind:0 dev-java/jaxb-api:2 dev-java/jaxb-runtime:4 dev-java/picocli:0 dev-java/protobuf-java:0 dev-java/stax2-api:0 dev-java/woodstox-core:0 dev-java/json:0 dev-java/j2objc-annotations:0 dev-java/istack-commons-runtime:0 dev-java/hamcrest-core:1.3 dev-java/failureaccess:0 dev-java/error-prone-annotations:0 dev-java/checker-framework-qual:0 dev-java/animal-sniffer-annotations:0 dev-java/fastinfoset:0 >=dev-java/java-config-2.2.0-r3
|
||||
RDEPEND=>=virtual/jre-1.8 dev-java/slf4j-api:0 dev-java/slf4j-nop:0 dev-java/guava:0 dev-java/icu4j:0 dev-java/jansi:2 dev-java/commons-lang:3.6 dev-java/commons-logging:0 dev-java/commons-text:0 dev-java/jackson-core:0 dev-java/jackson-annotations:0 dev-java/jackson-databind:0 dev-java/jaxb-api:2 dev-java/jaxb-runtime:4 dev-java/picocli:0 dev-java/protobuf-java:0 dev-java/stax2-api:0 dev-java/woodstox-core:0 dev-java/json:0 dev-java/j2objc-annotations:0 dev-java/istack-commons-runtime:0 dev-java/hamcrest-core:1.3 dev-java/failureaccess:0 dev-java/error-prone-annotations:0 dev-java/checker-framework-qual:0 dev-java/animal-sniffer-annotations:0 dev-java/fastinfoset:0 >=dev-java/java-config-2.2.0-r3
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/valentjn/ltex-ls/releases/download/16.0.0/ltex-ls-16.0.0.tar.gz
|
||||
_eclasses_=java-utils-2 3febdd17a5820c438f6368dde60d4848 java-pkg-2 38fd81c7880666a00a638ca8deb64d72
|
||||
_md5_=6da7d7a3165074a6870f4f337eae9123
|
||||
_md5_=5774b0378a91db4c95b83531dadc7ded
|
||||
|
||||
@@ -6,8 +6,8 @@ HOMEPAGE=https://ltex-plus.github.io/ltex-plus/
|
||||
INHERIT=java-pkg-2
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=MPL-2.0
|
||||
RDEPEND=>=virtual/jre-1.8 dev-java/HdrHistogram:0 dev-java/slf4j-api:0 dev-java/slf4j-nop:0 dev-java/guava:0 dev-java/icu4j:0 dev-java/jansi:2 dev-java/commons-lang:3.6 dev-java/commons-logging:0 dev-java/commons-text:0 dev-java/jackson-core:0 dev-java/jackson-annotations:2 dev-java/jackson-databind:0 dev-java/jaxb-api:2 dev-java/jaxb-runtime:4 dev-java/picocli:0 dev-java/protobuf-java:0 dev-java/stax2-api:0 dev-java/woodstox-core:0 dev-java/json:0 dev-java/j2objc-annotations:0 dev-java/istack-commons-runtime:0 dev-java/hamcrest-core:1.3 dev-java/failureaccess:0 dev-java/error-prone-annotations:0 >=dev-java/java-config-2.2.0-r3
|
||||
RDEPEND=>=virtual/jre-1.8 dev-java/HdrHistogram:0 dev-java/slf4j-api:0 dev-java/slf4j-nop:0 dev-java/guava:0 dev-java/icu4j:0 dev-java/jansi:2 dev-java/commons-lang:3.6 dev-java/commons-logging:0 dev-java/commons-text:0 dev-java/jackson-core:0 dev-java/jackson-annotations:0 dev-java/jackson-databind:0 dev-java/jaxb-api:2 dev-java/jaxb-runtime:4 dev-java/picocli:0 dev-java/protobuf-java:0 dev-java/stax2-api:0 dev-java/woodstox-core:0 dev-java/json:0 dev-java/j2objc-annotations:0 dev-java/istack-commons-runtime:0 dev-java/hamcrest-core:1.3 dev-java/failureaccess:0 dev-java/error-prone-annotations:0 >=dev-java/java-config-2.2.0-r3
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/ltex-plus/ltex-ls-plus/releases/download/18.6.0/ltex-ls-plus-18.6.0.tar.gz
|
||||
SRC_URI=https://github.com/ltex-plus/ltex-ls-plus/releases/download/18.6.1/ltex-ls-plus-18.6.1.tar.gz
|
||||
_eclasses_=java-utils-2 3febdd17a5820c438f6368dde60d4848 java-pkg-2 38fd81c7880666a00a638ca8deb64d72
|
||||
_md5_=40ba3434e425c236c561af37d56f1832
|
||||
_md5_=42d97d1b8420e40580afc4f0a4deb3c5
|
||||
File diff suppressed because one or more lines are too long
@@ -8,6 +8,6 @@ LICENSE=NVIDIA-cuDNN
|
||||
RDEPEND==dev-util/nvidia-cuda-toolkit-13*
|
||||
RESTRICT=mirror
|
||||
SLOT=0/9
|
||||
SRC_URI=https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.14.0.64_cuda13-archive.tar.xz
|
||||
SRC_URI=https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.15.0.58_cuda13-archive.tar.xz
|
||||
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db unpacker 3b4ee72d1e2e0374fd8cd3eddfa00627
|
||||
_md5_=5c32a7e3384cafa15edabf4ac72b8a42
|
||||
@@ -12,5 +12,5 @@ REQUIRED_USE=|| ( python_targets_python3_11 python_targets_python3_12 python_tar
|
||||
RESTRICT=bindist mirror strip test
|
||||
SLOT=0/13.0.2
|
||||
SRC_URI=amd64? ( https://developer.download.nvidia.com/compute/cuda/13.0.2/local_installers/cuda_13.0.2_580.95.05_linux.run ) arm64? ( https://developer.download.nvidia.com/compute/cuda/13.0.2/local_installers/cuda_13.0.2_580.95.05_linux_sbsa.run )
|
||||
_eclasses_=check-reqs 2a9731073c152554078a9a8df8fc0f1b edo a5e294016aa84979fcb2459749eb80b2 toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 multiprocessing 1e32df7deee68372153dca65f4a7c21f python-utils-r1 0b620dd604ab8af0bc9cd1bcc66d4f7c python-r1 0e15b2ab9cfc87d7474678201d6bca38
|
||||
_eclasses_=check-reqs 2a9731073c152554078a9a8df8fc0f1b edo a5e294016aa84979fcb2459749eb80b2 toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 multiprocessing 1e32df7deee68372153dca65f4a7c21f python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 python-r1 0e15b2ab9cfc87d7474678201d6bca38
|
||||
_md5_=7971bd59bfec92dad415e0f6f004e4d8
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -10,5 +10,5 @@ LICENSE=BSD-2
|
||||
RDEPEND=dev-qt/qtbase:6=[gui,widgets] dev-qt/qtsvg:6
|
||||
SLOT=0
|
||||
SRC_URI=https://www.opencode.net/trialuser/qt6ct/-/archive/0.11/qt6ct-0.11.tar.gz -> qt6ct-kde-0.11.tar.gz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 3d9a5fc17dadea162813d5d8918328b4
|
||||
_md5_=9e48bf17d3985f0cface3bd162e43ce2
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 29a000891e576f0392730bb6834b67f5
|
||||
_md5_=6ccc16d9a70fb6e4ebbc9452be15b17e
|
||||
@@ -11,5 +11,5 @@ LICENSE=MIT
|
||||
RDEPEND=dev-libs/stb:= media-libs/libglvnd[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] media-libs/glew[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] allegro5? ( media-libs/allegro:5[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) glfw? ( media-libs/glfw:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] x11-libs/libX11:0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sdl2? ( media-libs/libsdl2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sdl2-renderer? ( media-libs/libsdl2[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sdl3? ( media-libs/libsdl3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) sdl3-renderer? ( media-libs/libsdl3[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) opengl? ( media-libs/mesa[opengl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) vulkan? ( media-libs/vulkan-loader[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) webgpu? ( dev-util/webgpu-headers )
|
||||
SLOT=0/1.92.4
|
||||
SRC_URI=https://github.com/ocornut/imgui/archive/v1.92.4-docking.tar.gz -> imgui-1.92.4-docking.tar.gz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 0b620dd604ab8af0bc9cd1bcc66d4f7c meson 99466844dd8d4fcfb07578a76f5a9922 out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 multilib a199af442898963433d6f038a88cce9c multilib-build 9ac26ea006828266d235e2f0135429b5 multilib-minimal e9f54d75b074edc47d36994bbc1e2123 meson-multilib 8989922d980e5e870cc3de949d1b2586
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 meson 99466844dd8d4fcfb07578a76f5a9922 out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 multilib a199af442898963433d6f038a88cce9c multilib-build 9ac26ea006828266d235e2f0135429b5 multilib-minimal e9f54d75b074edc47d36994bbc1e2123 meson-multilib 8989922d980e5e870cc3de949d1b2586
|
||||
_md5_=ae3367261969f03a8cef67cb2bdd9366
|
||||
|
||||
@@ -10,5 +10,5 @@ LICENSE=GPL-2
|
||||
RDEPEND=>=media-video/obs-studio-31.0.0 dev-qt/qtbase:6[network,widgets] >=media-video/ndi-sdk-6.0:0= net-misc/curl
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/distroav/distroav/archive/6.1.1.tar.gz -> distroav-6.1.1.gh.tar.gz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 3d9a5fc17dadea162813d5d8918328b4
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 2d36accef058c00889b1f93ea4bc4061
|
||||
_md5_=8dade3e3129d6d2c81a4b766fc71d697
|
||||
|
||||
@@ -8,5 +8,5 @@ LICENSE=NDI_EULA_END
|
||||
RDEPEND=net-dns/avahi[dbus]
|
||||
RESTRICT=bindist mirror
|
||||
SLOT=0/6
|
||||
SRC_URI=https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v6_Linux.tar.gz -> ndi-sdk-6.2.0.tar.gz
|
||||
SRC_URI=https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v6_Linux.tar.gz -> ndi-sdk-6.2.1.tar.gz
|
||||
_md5_=ee8eed7c884df329ddb7ba8281c6a757
|
||||
@@ -12,6 +12,6 @@ RDEPEND=>=app-arch/brotli-1.1.0:= dev-db/sqlite:3 >=dev-libs/libuv-1.51.0:= >=de
|
||||
REQUIRED_USE=inspector? ( icu ssl ) npm? ( ssl ) system-icu? ( icu ) system-ssl? ( ssl ) x86? ( cpu_flags_x86_sse2 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0/25
|
||||
SRC_URI=https://nodejs.org/dist/v25.0.0/node-v25.0.0.tar.xz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db bash-completion-r1 767861f3744f589ee5291c1698b1c082 check-reqs 2a9731073c152554078a9a8df8fc0f1b flag-o-matic a7afe42e95fb46ce9691605acfb24672 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 pax-utils 5555f2e75744739fe100ee62c22d28fe python-utils-r1 0b620dd604ab8af0bc9cd1bcc66d4f7c python-any-r1 891415dfe39ad9b41b461f2b86354af0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
|
||||
SRC_URI=https://nodejs.org/dist/v25.1.0/node-v25.1.0.tar.xz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db bash-completion-r1 767861f3744f589ee5291c1698b1c082 check-reqs 2a9731073c152554078a9a8df8fc0f1b flag-o-matic a7afe42e95fb46ce9691605acfb24672 linux-info efd923656513c879204fec6638eadee5 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 pax-utils 5555f2e75744739fe100ee62c22d28fe python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 python-any-r1 891415dfe39ad9b41b461f2b86354af0 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
|
||||
_md5_=1058b6bb3c2fc37c4fa4375f0374e036
|
||||
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
BDEPEND=verify-sig? ( sec-keys/openpgp-keys-qbittorrent ) >=dev-qt/qttools-6.5:6[linguist] virtual/pkgconfig app-alternatives/ninja >=dev-build/cmake-3.28.5 virtual/pkgconfig verify-sig? ( app-crypt/gnupg >=app-portage/gemato-20 )
|
||||
BDEPEND=verify-sig? ( sec-keys/openpgp-keys-qbittorrent ) >=dev-qt/qttools-6.5:6[linguist] virtual/pkgconfig app-alternatives/ninja >=dev-build/cmake-3.28.5 virtual/pkgconfig verify-sig? ( || ( app-alternatives/gpg app-crypt/gnupg[-alternatives(-)] ) >=app-portage/gemato-20 )
|
||||
DEFINED_PHASES=compile configure install postinst postrm preinst prepare test unpack
|
||||
DEPEND=>=dev-libs/openssl-3.0.2:= >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml] >=net-libs/libtorrent-rasterbar-2.0.10:= >=sys-libs/zlib-1.2.11 gui? ( >=dev-qt/qtbase-6.5:6[dbus?,gui,widgets] >=dev-qt/qtsvg-6.5:6 ) webui? ( acct-group/qbittorrent acct-user/qbittorrent ) >=dev-libs/boost-1.76
|
||||
DESCRIPTION=BitTorrent client in C++ and Qt
|
||||
@@ -14,5 +14,5 @@ REQUIRED_USE=|| ( gui webui ) dbus? ( gui )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://downloads.sourceforge.net/qbittorrent/qbittorrent-5.1.2.tar.xz verify-sig? ( https://downloads.sourceforge.net/qbittorrent/qbittorrent-5.1.2.tar.xz.asc )
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 3d9a5fc17dadea162813d5d8918328b4 edo a5e294016aa84979fcb2459749eb80b2 out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 optfeature 538bce96e5589935b57e178e8635f301 systemd a964c0cbe818b5729da1dbfcee5be861 eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd verify-sig 4e83419d7fb5d336f6a4de8193968319 xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 2d36accef058c00889b1f93ea4bc4061 edo a5e294016aa84979fcb2459749eb80b2 out-of-source-utils dbf9e34ee8964084651e25907fa8f52c multibuild 4650a65187015567b4e041bb9bfdb364 optfeature 538bce96e5589935b57e178e8635f301 systemd a964c0cbe818b5729da1dbfcee5be861 eapi9-pipestatus d2c134036ac31c3085aebc9147f572bd verify-sig 2cf23b136af9fd4c3fceadc34d0f98ad xdg 3ef49a87c52c8b77c476351195dfe575
|
||||
_md5_=1c79aac6dc9aecb67be85380d7675bb5
|
||||
|
||||
15
metadata/md5-cache/sci-mathematics/lean-4.25.0_rc2
Normal file
15
metadata/md5-cache/sci-mathematics/lean-4.25.0_rc2
Normal file
@@ -0,0 +1,15 @@
|
||||
BDEPEND=|| ( dev-lang/python:3.14 dev-lang/python:3.13 dev-lang/python:3.12 ) dev-build/make >=dev-build/cmake-3.28.5
|
||||
DEFINED_PHASES=compile configure install prepare pretend setup test
|
||||
DEPEND=dev-libs/gmp:= dev-libs/libuv:= sci-mathematics/cadical
|
||||
DESCRIPTION=The Lean Theorem Prover
|
||||
EAPI=8
|
||||
HOMEPAGE=https://leanprover-community.github.io/ https://github.com/leanprover/lean4/
|
||||
INHERIT=check-reqs cmake flag-o-matic python-any-r1
|
||||
IUSE=debug source
|
||||
KEYWORDS=~amd64
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=dev-libs/gmp:= dev-libs/libuv:= sci-mathematics/cadical
|
||||
SLOT=0/4
|
||||
SRC_URI=https://github.com/leanprover/lean4/archive/refs/tags/v4.25.0-rc2.tar.gz -> lean-4.25.0_rc2.tar.gz
|
||||
_eclasses_=check-reqs 2a9731073c152554078a9a8df8fc0f1b toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 xdg-utils 42869b3c8d86a70ef3cf75165a395e09 cmake 2d36accef058c00889b1f93ea4bc4061 python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 python-any-r1 891415dfe39ad9b41b461f2b86354af0
|
||||
_md5_=48760dee67524d93db9a50cffcacb957
|
||||
@@ -12,5 +12,5 @@ RDEPEND=>=dev-libs/glib-2.72:2 x11-libs/cairo[X,xcb(+)] x11-libs/gdk-pixbuf:2 x1
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/davatorium/rofi/releases/download/2.0.0/rofi-2.0.0.tar.xz
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 0b620dd604ab8af0bc9cd1bcc66d4f7c meson 99466844dd8d4fcfb07578a76f5a9922 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
|
||||
_eclasses_=toolchain-funcs 98d9f464d912ae6b7316fb8a3721f5db flag-o-matic a7afe42e95fb46ce9691605acfb24672 multiprocessing 1e32df7deee68372153dca65f4a7c21f ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 dbb8c4d794033ad7e7221eaf567a6c90 meson 99466844dd8d4fcfb07578a76f5a9922 xdg-utils 42869b3c8d86a70ef3cf75165a395e09
|
||||
_md5_=188133d28dc689f2f342bcd2a71c199b
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
AUX nodejs-24.1.0-paxmarking.patch 3496 BLAKE2B 128a05fb3bc040edfd53221d5744a0626a0f64b7ba46dac94dc0df0d57631017f2da839e06ce769194a8519dcb7feebbede7cef9743323fded5044694a8eb4cc SHA512 3fae2c3bb0f90bd84e147a7fb740f12fab93843ef8f3a2ecf07359582222f86e9793b49b624894fa244f4d9159ac897e1b32d014a6fffbd0d687a1c0996e4240
|
||||
DIST node-v25.0.0.tar.xz 53218272 BLAKE2B 01d9a870e04e1711893f7459441e6450c2b4aece9a41cda704f9a65fb246dacd02637048303372e7af9010d1e657199346847ba2b466bad1fa1945670d5c6426 SHA512 aee38797a95755efeb6b0db939fa03c205f77674fe33a27d21388b6be4d85114cd0a1593399c52721de6c48e7d969fed40ec10dbcfca2f00ef8495cedb503943
|
||||
EBUILD nodejs-25.0.0.ebuild 8059 BLAKE2B 3bf30b90f580ec3ccc6819af50a005bff5fbd04a9556899479ea0eeabdc96d0c789a3d074603b0d73b0c4f4f7585a56acaa624aeb2ba2fe7633ad773952e1e73 SHA512 1c462b84cd579774c257c23968a6d987f7aca02ce999a3290a7aa5419ab7580a4ccae1fa24565b98d5801a9239fb5f96ae75ab531dba7b19e0427bc00d2c4ae6
|
||||
DIST node-v25.1.0.tar.xz 52248056 BLAKE2B d2f7eabe13634353cea0e0fd9187e4dac6d6d49f328b7671866c561f067892c0b207fad1c3a7fe54c38d216196e18cbba7eb90dd524a2c358b33b683abaa7743 SHA512 467c9961c9937ac155cea53c02eece2294581feacf19b69eec7138f0b747f244a3a7fa1d7d760ac4911bd44db2d27a82dc68205171e2de9d54731eb464a95c10
|
||||
EBUILD nodejs-25.1.0.ebuild 8059 BLAKE2B 3bf30b90f580ec3ccc6819af50a005bff5fbd04a9556899479ea0eeabdc96d0c789a3d074603b0d73b0c4f4f7585a56acaa624aeb2ba2fe7633ad773952e1e73 SHA512 1c462b84cd579774c257c23968a6d987f7aca02ce999a3290a7aa5419ab7580a4ccae1fa24565b98d5801a9239fb5f96ae75ab531dba7b19e0427bc00d2c4ae6
|
||||
MISC metadata.xml 831 BLAKE2B 4287b5f13da7f0c62751c74ed7f60f8ac083bc41e9aecafcded470498151f0ccdd50c9546d1717f5bf19aad7711664f80d8609ac7458bdc4dcd6b71f6fd7d295 SHA512 798957ac5be1a56fd2270c19cfc4fc12b9f4aa7291de3bfd0abc574a86b7d286e3421bf66027817186c1dacd9a64da322b2cc555184a5e0bafbb526fcea9942a
|
||||
|
||||
3
sci-mathematics/lean/Manifest
Normal file
3
sci-mathematics/lean/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
DIST lean-4.25.0_rc2.tar.gz 50072895 BLAKE2B bf081912fd8896a3916ef95af97cfd63646f13cc3c0b397966a8195d34e60ca500562c48565fb27eeca5b51d90a3dcd1f5dd20507b1f3bae83d7d16b6c1c2d78 SHA512 1f99b0c85188ad66d4d161f1ef886449999d891e09c92af6018937e4fdbc56cfb05de3eee6e666ae0cec85075f8d517dbd27fc14361854f7f1a939b6c9d41687
|
||||
EBUILD lean-4.25.0_rc2.ebuild 1843 BLAKE2B 5e4da67180c9b7d801cbe490001316001d145a682852352f30c17a52f8e7ae3519c1958a99c1b2a19ab5f841827d73ee1753d75dc02cadde3cd2516941209007 SHA512 f37a1c87668396b8bfdd0c724e84dd26778f7a7ae26408265f3d3ebe8382e55876ff4248a9c912b68af05816704094f492f895d61a8e87ed4c094f87fc049a59
|
||||
MISC metadata.xml 954 BLAKE2B 338f64bbe848dca10f77fb7d5b7503684d36742139a4fd45f7a4c48250a11af6a78e40f5304d44166ce56f7fe4d22c6f980b55cab411bb7be93cc279694e9b66 SHA512 ec7c25a75237d2d54704e2d7b1811489a95780885c748a832643760d012eaceaeb5bfec9fc80509d5699940e749e770e841880cca1361848244b5031636e48b2
|
||||
103
sci-mathematics/lean/lean-4.25.0_rc2.ebuild
Normal file
103
sci-mathematics/lean/lean-4.25.0_rc2.ebuild
Normal file
@@ -0,0 +1,103 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MAJOR="$(ver_cut 1)"
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
PYTHON_COMPAT=( python3_{12..14} )
|
||||
|
||||
inherit check-reqs cmake flag-o-matic python-any-r1
|
||||
|
||||
DESCRIPTION="The Lean Theorem Prover"
|
||||
HOMEPAGE="https://leanprover-community.github.io/
|
||||
https://github.com/leanprover/lean4/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/leanprover/${PN}${MAJOR}"
|
||||
else
|
||||
SRC_URI="https://github.com/leanprover/${PN}${MAJOR}/archive/refs/tags/v${PV/_/-}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}${MAJOR}-${PV/_/-}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0/${MAJOR}"
|
||||
IUSE="debug source"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gmp:=
|
||||
dev-libs/libuv:=
|
||||
sci-mathematics/cadical
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
CHECKREQS_DISK_BUILD="4G"
|
||||
CHECKREQS_DISK_USR="2G"
|
||||
|
||||
# Built by lean's build tool.
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/lib/lean/libInit_shared.so
|
||||
usr/lib/lean/libleanshared_1.so
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
filter-lto
|
||||
|
||||
sed -e "s|-O[23]|${CFLAGS}|g" -i ./src/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local CMAKE_BUILD_TYPE=""
|
||||
|
||||
if use debug ; then
|
||||
CMAKE_BUILD_TYPE="Debug"
|
||||
else
|
||||
CMAKE_BUILD_TYPE="Release"
|
||||
fi
|
||||
|
||||
local -a mycmakeargs=(
|
||||
-DCCACHE="OFF"
|
||||
-DGIT_HASH="OFF"
|
||||
|
||||
-DUSE_MIMALLOC="OFF"
|
||||
-DINSTALL_LICENSE="OFF"
|
||||
-DINSTALL_CADICAL="OFF"
|
||||
|
||||
-DLEAN_EXTRA_CXX_FLAGS="${CXXFLAGS}"
|
||||
-DLEAN_EXTRA_LINKER_FLAGS="${LDFLAGS}"
|
||||
-DLEAN_EXTRA_MAKE_OPTS="-s 262144"
|
||||
-DLEANC_EXTRA_FLAGS="${CFLAGS}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 30000000 || eerror "Failed to set required ulimit. Build may fail!"
|
||||
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if ! use source ; then
|
||||
rm -r "${ED}/usr/src" || die
|
||||
fi
|
||||
}
|
||||
22
sci-mathematics/lean/metadata.xml
Normal file
22
sci-mathematics/lean/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>sci-mathematics@gentoo.org</email>
|
||||
<name>Gentoo Mathematics Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
The Lean theorem prover is a proof assistant developed principally
|
||||
by Leonardo de Moura at Microsoft Research. Lean is a functional
|
||||
programming language that makes it easy to write correct and
|
||||
maintainable code. You can also use Lean as an interactive theorem
|
||||
prover. Lean programming primarily involves defining types and
|
||||
functions. This allows your focus to remain on the problem domain and
|
||||
manipulating its data, rather than the details of programming.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/leanprover/lean4/issues</bugs-to>
|
||||
<remote-id type="github">leanprover/lean4</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user