From cadea29708dd0eca4ae026f8a31f528aec40f51e Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Mon, 26 Aug 2024 10:50:55 +0200 Subject: [PATCH 1/3] dev-util/bugbite-cli: add 0.0.11 Signed-off-by: Agostino Sarubbo --- dev-util/bugbite-cli/Manifest | 1 + .../bugbite-cli/bugbite-cli-0.0.11.ebuild | 48 +++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 dev-util/bugbite-cli/bugbite-cli-0.0.11.ebuild diff --git a/dev-util/bugbite-cli/Manifest b/dev-util/bugbite-cli/Manifest index e1028ff4cacb7..e4167b26875b8 100644 --- a/dev-util/bugbite-cli/Manifest +++ b/dev-util/bugbite-cli/Manifest @@ -1 +1,2 @@ DIST bugbite-cli-0.0.10.tar.xz 18167676 BLAKE2B 2e193e4bf6eb71bcf349e9ffb11e8816fc6f27b1ae2c174c52a4ccb1f5052760b2f47f3c03a1c7792f2f0d3b63fe7bae2710a112480f7b63e34f5f3aa1dd0e21 SHA512 b481ad5cd22737107084e4a22c866474ef4317572730ce739f4e7f08c2669e9d1bbd0571a0125e30a8a567780545c939d034a53f1589feffe97a08f0cf928c7d +DIST bugbite-cli-0.0.11.tar.xz 21068652 BLAKE2B a75137923c1578c8411a3b701564ad9883352478ba0467f7202ae3f668ae42d6890075b7a9b1f1d8ae1eb54a4280f3925f13d4b8656056e56c2a32f9f790ccd1 SHA512 b1df78427a3f5d1c44df95d077284fec5112385f31a480c6488fef20b53b43cbf1f80b1dcffd78b40f04d62364f8a8a7fd17f12ca0985d10ad3ee8f23ec3ae59 diff --git a/dev-util/bugbite-cli/bugbite-cli-0.0.11.ebuild b/dev-util/bugbite-cli/bugbite-cli-0.0.11.ebuild new file mode 100644 index 0000000000000..54904ffd41680 --- /dev/null +++ b/dev-util/bugbite-cli/bugbite-cli-0.0.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo edo shell-completion + +DESCRIPTION="A command line tool for bug, issue, and ticket mangling" +HOMEPAGE="https://github.com/radhermit/bugbite" +SRC_URI="https://github.com/radhermit/bugbite/releases/download/${P}/${P}.tar.xz" +LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="static test" +RESTRICT="!test? ( test ) " + +BDEPEND=" + >=virtual/rust-1.75 + test? ( dev-util/cargo-nextest ) +" + +QA_FLAGS_IGNORED="usr/bin/bite" + +pkg_setup() { + if [[ ${MERGE_TYPE} != binary ]] && use static ; then + local rust_target=$( rustc -vV 2>/dev/null | sed -n 's|^host: ||p' ) + [[ -z ${rust_target} ]] && die "Failed to read host target from rustc!" + export RUSTFLAGS="-C target-feature=+crt-static ${RUSTFLAGS}" + export static_stuff="--target ${rust_target}" + fi +} + +src_configure() { + cargo_src_configure ${static_stuff} +} + +src_test() { + edo cargo nextest run $(usev !debug '--release') --color always --features test --tests ${static_stuff} +} + +src_install() { + cargo_src_install + + doman man/* + dofishcomp shell/bite.fish + dozshcomp shell/_bite + newbashcomp shell/bite.bash bite +} From 31ee82e06692815cb8fc34592269506116c2db2e Mon Sep 17 00:00:00 2001 From: Agostino Sarubbo Date: Mon, 26 Aug 2024 10:50:58 +0200 Subject: [PATCH 2/3] dev-util/bugbite-cli: remove old Signed-off-by: Agostino Sarubbo --- dev-util/bugbite-cli/Manifest | 1 - .../bugbite-cli/bugbite-cli-0.0.10.ebuild | 48 ------------------- 2 files changed, 49 deletions(-) delete mode 100644 dev-util/bugbite-cli/bugbite-cli-0.0.10.ebuild diff --git a/dev-util/bugbite-cli/Manifest b/dev-util/bugbite-cli/Manifest index e4167b26875b8..6e2786236cbcd 100644 --- a/dev-util/bugbite-cli/Manifest +++ b/dev-util/bugbite-cli/Manifest @@ -1,2 +1 @@ -DIST bugbite-cli-0.0.10.tar.xz 18167676 BLAKE2B 2e193e4bf6eb71bcf349e9ffb11e8816fc6f27b1ae2c174c52a4ccb1f5052760b2f47f3c03a1c7792f2f0d3b63fe7bae2710a112480f7b63e34f5f3aa1dd0e21 SHA512 b481ad5cd22737107084e4a22c866474ef4317572730ce739f4e7f08c2669e9d1bbd0571a0125e30a8a567780545c939d034a53f1589feffe97a08f0cf928c7d DIST bugbite-cli-0.0.11.tar.xz 21068652 BLAKE2B a75137923c1578c8411a3b701564ad9883352478ba0467f7202ae3f668ae42d6890075b7a9b1f1d8ae1eb54a4280f3925f13d4b8656056e56c2a32f9f790ccd1 SHA512 b1df78427a3f5d1c44df95d077284fec5112385f31a480c6488fef20b53b43cbf1f80b1dcffd78b40f04d62364f8a8a7fd17f12ca0985d10ad3ee8f23ec3ae59 diff --git a/dev-util/bugbite-cli/bugbite-cli-0.0.10.ebuild b/dev-util/bugbite-cli/bugbite-cli-0.0.10.ebuild deleted file mode 100644 index 54904ffd41680..0000000000000 --- a/dev-util/bugbite-cli/bugbite-cli-0.0.10.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cargo edo shell-completion - -DESCRIPTION="A command line tool for bug, issue, and ticket mangling" -HOMEPAGE="https://github.com/radhermit/bugbite" -SRC_URI="https://github.com/radhermit/bugbite/releases/download/${P}/${P}.tar.xz" -LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 CC0-1.0 ISC MIT MPL-2.0 Unicode-DFS-2016 Unlicense ZLIB" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="static test" -RESTRICT="!test? ( test ) " - -BDEPEND=" - >=virtual/rust-1.75 - test? ( dev-util/cargo-nextest ) -" - -QA_FLAGS_IGNORED="usr/bin/bite" - -pkg_setup() { - if [[ ${MERGE_TYPE} != binary ]] && use static ; then - local rust_target=$( rustc -vV 2>/dev/null | sed -n 's|^host: ||p' ) - [[ -z ${rust_target} ]] && die "Failed to read host target from rustc!" - export RUSTFLAGS="-C target-feature=+crt-static ${RUSTFLAGS}" - export static_stuff="--target ${rust_target}" - fi -} - -src_configure() { - cargo_src_configure ${static_stuff} -} - -src_test() { - edo cargo nextest run $(usev !debug '--release') --color always --features test --tests ${static_stuff} -} - -src_install() { - cargo_src_install - - doman man/* - dofishcomp shell/bite.fish - dozshcomp shell/_bite - newbashcomp shell/bite.bash bite -} From b829e7873a0aafe4138492532ced9376796ce93c Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 26 Aug 2024 09:58:16 +0100 Subject: [PATCH 3/3] kde-apps/knotes: needs older KMime Revbump given the odd runtime issue mentioned in the bug as well just for cleanliness. We would need to backport upstream commit 008dc205aa93d8b60a4cb9f0b60b004400b5dd79 and verify it works with old+knew Gear, so depend on older KMime & friends for the PIM stack. Closes: https://bugs.gentoo.org/938517 Signed-off-by: Sam James --- ...24.05.2.ebuild => knotes-24.05.2-r1.ebuild} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename kde-apps/knotes/{knotes-24.05.2.ebuild => knotes-24.05.2-r1.ebuild} (82%) diff --git a/kde-apps/knotes/knotes-24.05.2.ebuild b/kde-apps/knotes/knotes-24.05.2-r1.ebuild similarity index 82% rename from kde-apps/knotes/knotes-24.05.2.ebuild rename to kde-apps/knotes/knotes-24.05.2-r1.ebuild index 0d3de31a94a9f..2c23ae600e96f 100644 --- a/kde-apps/knotes/knotes-24.05.2.ebuild +++ b/kde-apps/knotes/knotes-24.05.2-r1.ebuild @@ -23,15 +23,15 @@ COMMON_DEPEND=" >=dev-libs/ktextaddons-1.5.4:6 dev-libs/libxslt >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets,xml] - >=kde-apps/akonadi-${PVCUT}:6 - >=kde-apps/akonadi-notes-${PVCUT}:6 - >=kde-apps/akonadi-search-${PVCUT}:6 - >=kde-apps/grantleetheme-${PVCUT}:6 - >=kde-apps/kcalutils-${PVCUT}:6 - >=kde-apps/kmime-${PVCUT}:6 - >=kde-apps/kontactinterface-${PVCUT}:6 - >=kde-apps/libkdepim-${PVCUT}:6 - >=kde-apps/pimcommon-${PVCUT}:6 + ~kde-apps/akonadi-${PVCUT}:6 + ~kde-apps/akonadi-notes-${PVCUT}:6 + ~kde-apps/akonadi-search-${PVCUT}:6 + ~kde-apps/grantleetheme-${PVCUT}:6 + ~kde-apps/kcalutils-${PVCUT}:6 + ~kde-apps/kmime-${PVCUT}:6 + ~kde-apps/kontactinterface-${PVCUT}:6 + ~kde-apps/libkdepim-${PVCUT}:6 + ~kde-apps/pimcommon-${PVCUT}:6 >=kde-frameworks/kcalendarcore-${KFMIN}:6 >=kde-frameworks/kcmutils-${KFMIN}:6 >=kde-frameworks/kcompletion-${KFMIN}:6