diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 12:45:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-11 12:45:52 +0000 |
commit | 8b4349b75818953123e2d4b80963181a9640c8e3 (patch) | |
tree | bd5d9faded1a62202daa603120c8ccd5216c79e9 /kde-frameworks/knewstuff | |
parent | e96f09a840f1ac865c504febe44bad831c63750e (diff) |
gentoo auto-resync : 11:03:2024 - 12:45:51
Diffstat (limited to 'kde-frameworks/knewstuff')
-rw-r--r-- | kde-frameworks/knewstuff/Manifest | 3 | ||||
-rw-r--r-- | kde-frameworks/knewstuff/files/knewstuff-6.0.0-fix-kdebug-482349.patch | 42 | ||||
-rw-r--r-- | kde-frameworks/knewstuff/knewstuff-6.0.0-r1.ebuild (renamed from kde-frameworks/knewstuff/knewstuff-6.0.0.ebuild) | 2 |
3 files changed, 46 insertions, 1 deletions
diff --git a/kde-frameworks/knewstuff/Manifest b/kde-frameworks/knewstuff/Manifest index 0c5047e60be9..754b3394d4c3 100644 --- a/kde-frameworks/knewstuff/Manifest +++ b/kde-frameworks/knewstuff/Manifest @@ -1,5 +1,6 @@ +AUX knewstuff-6.0.0-fix-kdebug-482349.patch 2256 BLAKE2B 3f37cb8d8ce60ca7ab2bb1837cb49108f82446f5764e06ec865069751edb4d1691781402744bb0bf52769a4ea58134f5df7f80f0874a77463ffc857cd78e2898 SHA512 5863dd22e9507798b6c4fdc2f2dc7b217cd449f0fe6253a2aac57726c82b04c28b49b82c325060d64e460b77fc59c95971b91922c946b9262dac660fe314cfdf DIST knewstuff-5.115.0.tar.xz 3389164 BLAKE2B 663e8695f6f5b2f470926737d36fd2117d19661bfcd4e46e2b7a9ea22a2da1b9ddeb7e15d323d13dd1fe2e37ca8bc81f57782d0c9f8fafe4c145752cf34e7182 SHA512 32b9d833d20932b7d6b20cc77812db1a3b01db4e581600c145dafc24becf27b7b72efb4c5f20a1b83b598346696198378095bc28efbfaa24f9944a62d5be29e4 DIST knewstuff-6.0.0.tar.xz 3099232 BLAKE2B 2b6409c625c31895c998acc56146aa9d4ccdb348d85899d26b00795931ee5efc577b36eaf4429892ed7b06e086815877c558780e89f89d1831bb817fd9559621 SHA512 b74bf694ba919553d9e1cc47c97bdebda939c04f700b953901298967ff817a1784698aee23a9e95bd86db7e368dc4246c74ceef86a8d867bbf271d5177c5af48 EBUILD knewstuff-5.115.0.ebuild 1271 BLAKE2B 149ca7ffbd932e72ac0a57b6c6a32bf24b3fe0691ed40089490fba823fd06871e8e06323e72292f48db492611947cd8ad39f85456f806c599aca6ac2e6ae611a SHA512 79c8a10fa091031f4c174688c6684d66612d9aa528b64ba3a8f621f84f2627f04832f5266fa844c162fb86fb14c04e0aef0331cd25bb5f20d73a69d6963ba4da -EBUILD knewstuff-6.0.0.ebuild 951 BLAKE2B 2d4e381866da5b545d3ae057b6cfe173794cf2ab25ed1a856912b50d4b0ff685f8129aec7737127e580c2860e8a49773d447fa90d4b3c10249300a469f4655e8 SHA512 d5d2b21d0b793bcd7a340752593acd0c49c5aae4e7833327a2ac9592e82dfb068713c6e42cdf457a561406e61ab4b025094239739385a21eee3cac0e371e7ea6 +EBUILD knewstuff-6.0.0-r1.ebuild 1007 BLAKE2B 7f2d425a6f5cd33335a9663f27875cc7d0dccceb6fc90dd297bca918dd934a243f95e122698fe59841f32d7f787c3275b1b9ffe98884ac5e07e6399ed33ca99d SHA512 4c308b4ba87780829bc4c966f1a89192c4b8c44d9847d5fd12c19d9adb5ae32b4c87dc1410b826388ce4320db0df10722a5a9a7e1c5b560d0cdb678a3992e5c0 MISC metadata.xml 676 BLAKE2B 708e2ec870917092478d1d1c3154f7c2d412876ed2f1863c367a627c368e74e1302c5581be2ee3a147a577e0960ab4ce88d334fb0c19addcb502e71013e3c1b1 SHA512 44b7adbb024316af56842afd8d33b36b680fd0b8d64c7f8046fd90f3d0c4a21a1e7f99c598ad05a185106b52b15c39467e1066aa4c593bde0ba06a23d8ab235a diff --git a/kde-frameworks/knewstuff/files/knewstuff-6.0.0-fix-kdebug-482349.patch b/kde-frameworks/knewstuff/files/knewstuff-6.0.0-fix-kdebug-482349.patch new file mode 100644 index 000000000000..6e0b2ca3c025 --- /dev/null +++ b/kde-frameworks/knewstuff/files/knewstuff-6.0.0-fix-kdebug-482349.patch @@ -0,0 +1,42 @@ +From 49f2037ac22fcb430fadd5d7b29bd8af234573a4 Mon Sep 17 00:00:00 2001 +From: Akseli Lahtinen <akselmo@akselmo.dev> +Date: Thu, 7 Mar 2024 16:01:44 +0000 +Subject: [PATCH] Fix link list dialog for installation button + +In gridview, installation buttons showed "Install..." for every item, +even if the item had only single download link. This fixes it +by showing correct button. + +The problem was using `entry` directly instead of `model`. + +BUG: 482349 +FIXED-IN: 6.1 +--- + .../qml/private/entrygriddelegates/TileDelegate.qml | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml b/src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml +index 2fdee68b4..36224abe2 100644 +--- a/src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml ++++ b/src/qtquick/qml/private/entrygriddelegates/TileDelegate.qml +@@ -40,13 +40,13 @@ Private.GridTileDelegate { + visible: enabled + }, + Kirigami.Action { +- text: entry.downloadLinks.length === 1 ? i18ndc("knewstuff6", "Request installation of this item, available when there is exactly one downloadable item", "Install") : i18ndc("knewstuff6", "Show installation options, where there is more than one downloadable item", "Install…"); ++ text: model.downloadLinks.length === 1 ? i18ndc("knewstuff6", "Request installation of this item, available when there is exactly one downloadable item", "Install") : i18ndc("knewstuff6", "Show installation options, where there is more than one downloadable item", "Install…"); + icon.name: "install" + onTriggered: { +- if (entry.downloadLinks.length === 1) { +- newStuffEngine.install(entry.entry, NewStuff.ItemsModel.FirstLinkId); ++ if (model.downloadLinks.length === 1) { ++ newStuffEngine.install(entry, NewStuff.ItemsModel.FirstLinkId); + } else { +- downloadItemsSheet.downloadLinks = entry.downloadLinks; ++ downloadItemsSheet.downloadLinks = model.downloadLinks; + downloadItemsSheet.entry = entry; + downloadItemsSheet.open(); + } +-- +GitLab + diff --git a/kde-frameworks/knewstuff/knewstuff-6.0.0.ebuild b/kde-frameworks/knewstuff/knewstuff-6.0.0-r1.ebuild index 8c48819cbbc5..7b9468264281 100644 --- a/kde-frameworks/knewstuff/knewstuff-6.0.0.ebuild +++ b/kde-frameworks/knewstuff/knewstuff-6.0.0-r1.ebuild @@ -31,6 +31,8 @@ RDEPEND="${DEPEND} >=kde-frameworks/kirigami-${PVCUT}:6 " +PATCHES=( "${FILESDIR}/${P}-fix-kdebug-482349.patch" ) + src_configure() { local mycmakeargs=( $(cmake_use_find_package opds KF6Syndication) |