[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: 7efe843d59eb204aa79e147fd84b8719807598a3 Author: Julien Roy jroy ca> AuthorDate: Mon Mar 25 16:40:55 2024 + Commit: Julien Roy jroy ca> CommitDate: Mon Mar 25 16:40:59 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7efe843d app-admin/ananicy-cpp: drop 1.1.1, 1.1.1-r2 Revert changes from a6b3f15b1a76a2b066f9ff763fab5588bab902c6 Signed-off-by: Julien Roy jroy.ca> app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild | 50 --- app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild| 49 -- 2 files changed, 99 deletions(-) diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild deleted file mode 100644 index e97720ff94..00 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" -HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="systemd" - -SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2; -S="${WORKDIR}/${PN}-v${PV}" - -DEPEND=" - !app-admin/ananicy - >=dev-cpp/nlohmann_json-3.9 - >=dev-libs/libfmt-8 - >=dev-libs/spdlog-1.9 - systemd? ( sys-apps/systemd ) -" -RDEPEND="${DEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-remove-debug-flags.patch" -) - -src_configure() { - local mycmakeargs=( - -DENABLE_SYSTEMD=$(usex systemd) - -DUSE_EXTERNAL_FMTLIB=ON - -DUSE_EXTERNAL_JSON=ON - -DUSE_EXTERNAL_SPDLOG=ON - -DVERSION=${PV} - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - if ! use systemd ; then - doinitd "${FILESDIR}/${PN}.initd" - fi - - keepdir /etc/ananicy.d -} diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild deleted file mode 100644 index 9ccfb2cf21..00 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" -HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="+regex systemd +threads" - -SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2; -S="${WORKDIR}/${PN}-v${PV}" - -DEPEND=" - !app-admin/ananicy - >=dev-cpp/nlohmann_json-3.9 - >=dev-libs/libfmt-8 - >=dev-libs/spdlog-1.9 - regex? ( >=dev-libs/libpcre2-8 ) - systemd? ( sys-apps/systemd ) -" -RDEPEND="${DEPEND}" - -src_configure() { - local mycmakeargs=( - -DENABLE_REGEX_SUPPORT=$(usex regex) - -DENABLE_SYSTEMD=$(usex systemd) - -DENABLE_THREADS=$(usex threads) - -DUSE_EXTERNAL_FMTLIB=ON - -DUSE_EXTERNAL_JSON=ON - -DUSE_EXTERNAL_SPDLOG=ON - -DVERSION=${PV} - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - if ! use systemd ; then - doinitd "${FILESDIR}/${PN}.initd" - fi - - keepdir /etc/ananicy.d -}
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: af85370459af3a4b5244cf8e6642ed7773afc94d Author: Alberto Gireud protonmail com> AuthorDate: Thu Mar 7 03:49:13 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Thu Mar 7 04:06:14 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af853704 app-admin/ananicy-cpp: Add support for Clang compilation and eBPF implementation Signed-off-by: Alberto Gireud protonmail.com> ...1.1.1-r2.ebuild => ananicy-cpp-1.1.1-r3.ebuild} | 39 -- app-admin/ananicy-cpp/metadata.xml | 4 +++ 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r3.ebuild similarity index 55% rename from app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild rename to app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r3.ebuild index e97720ff94..abefa9baaf 100644 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r3.ebuild @@ -10,32 +10,65 @@ HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="systemd" +IUSE="bpf clang systemd" +REQUIRED_USE=" + bpf? ( clang ) +" SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2; S="${WORKDIR}/${PN}-v${PV}" -DEPEND=" +RDEPEND=" !app-admin/ananicy >=dev-cpp/nlohmann_json-3.9 >=dev-libs/libfmt-8 >=dev-libs/spdlog-1.9 + bpf? ( +dev-libs/elfutils +dev-libs/libbpf +dev-util/bpftool + ) systemd? ( sys-apps/systemd ) " -RDEPEND="${DEPEND}" + +DEPEND=" + >=dev-build/cmake-3.17 + clang? ( >=sys-devel/clang-10 ) + ${RDEPEND} +" PATCHES=( "${FILESDIR}/${P}-remove-debug-flags.patch" ) +pkg_setup() { + if use bpf ; then + CONFIG_CHECK+="~BPF ~BPF_EVENTS ~BPF_SYSCALL ~HAVE_EBPF_JIT" + fi +} + src_configure() { local mycmakeargs=( -DENABLE_SYSTEMD=$(usex systemd) + -DUSE_BPF_PROC_IMPL=$(usex bpf) -DUSE_EXTERNAL_FMTLIB=ON -DUSE_EXTERNAL_JSON=ON -DUSE_EXTERNAL_SPDLOG=ON -DVERSION=${PV} ) + + if use clang; then + local version_clang=$(clang --version 2>/dev/null | grep -F -- 'clang version' | awk '{ print $3 }') + [[ -n ${version_clang} ]] && version_clang=$(ver_cut 1 "${version_clang}") + [[ -z ${version_clang} ]] && die "Failed to read clang version!" + CC=${CHOST}-clang-${version_clang} + CXX=${CHOST}-clang++-${version_clang} + + if use bpf ; then + mycmakeargs+=( -DBPF_BUILD_LIBBPF=OFF ) + fi + fi + cmake_src_configure } diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 52724a1795..59b0456acf 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -10,4 +10,8 @@ ananicy-cpp/ananicy-cpp kuche1/minq-ananicy + +Use eBPF for processing +Use Clang compiler instead of GCC +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/files/, app-admin/ananicy-cpp/
commit: 28b45c9532feaf612bf3f673ee90b8ef54c1a5cf Author: Alberto Gireud protonmail com> AuthorDate: Tue Mar 5 09:19:56 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Tue Mar 5 09:21:14 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28b45c95 app-admin/ananicy-cpp: Revbump and add patch to remove debug flags from RELWITHDEBINFO build. Closes: https://bugs.gentoo.org/887193 Signed-off-by: Alberto Gireud protonmail.com> ...cpp-1.1.1-r1.ebuild => ananicy-cpp-1.1.1-r2.ebuild} | 4 .../files/ananicy-cpp-1.1.1-remove-debug-flags.patch | 18 ++ 2 files changed, 22 insertions(+) diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild similarity index 94% rename from app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild rename to app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild index f3481ad557..e97720ff94 100644 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r2.ebuild @@ -24,6 +24,10 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}/${P}-remove-debug-flags.patch" +) + src_configure() { local mycmakeargs=( -DENABLE_SYSTEMD=$(usex systemd) diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch new file mode 100644 index 00..612eedddef --- /dev/null +++ b/app-admin/ananicy-cpp/files/ananicy-cpp-1.1.1-remove-debug-flags.patch @@ -0,0 +1,18 @@ +Removes debug flags from RELWITHDEBINFO build. +Bug: https://bugs.gentoo.org/887193 +Signed-off-by: Alberto Gireud + +index e1a041f..7e16d4c 100644 +--- a/cmake/CompilerChecks.cmake b/cmake/CompilerChecks.cmake +@@ -22,8 +22,6 @@ set(CMAKE_MESSAGE_CONTEXT "") + + if(CXX_ACCEPTS_G3) + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g3") +-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_DEBUG} -g3") + elseif(CXX_ACCEPTS_G) + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g") +-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_DEBUG} -g") + endif() + + if(CXX_ACCEPTS_OG)
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: 1030d37141fb9899193be30d04ec5597cdb5cdd4 Author: Alberto Gireud protonmail com> AuthorDate: Tue Mar 5 08:17:15 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Tue Mar 5 08:22:31 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1030d371 app-admin/ananicy-cpp: Revbump and remove unused cmake variables Signed-off-by: Alberto Gireud protonmail.com> .../{ananicy-cpp-1.1.1.ebuild => ananicy-cpp-1.1.1-r1.ebuild}| 5 + app-admin/ananicy-cpp/metadata.xml | 4 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild similarity index 86% rename from app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild rename to app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild index 9ccfb2cf21..f3481ad557 100644 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1-r1.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="+regex systemd +threads" +IUSE="systemd" SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2; S="${WORKDIR}/${PN}-v${PV}" @@ -20,16 +20,13 @@ DEPEND=" >=dev-cpp/nlohmann_json-3.9 >=dev-libs/libfmt-8 >=dev-libs/spdlog-1.9 - regex? ( >=dev-libs/libpcre2-8 ) systemd? ( sys-apps/systemd ) " RDEPEND="${DEPEND}" src_configure() { local mycmakeargs=( - -DENABLE_REGEX_SUPPORT=$(usex regex) -DENABLE_SYSTEMD=$(usex systemd) - -DENABLE_THREADS=$(usex threads) -DUSE_EXTERNAL_FMTLIB=ON -DUSE_EXTERNAL_JSON=ON -DUSE_EXTERNAL_SPDLOG=ON diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 7f705e1709..52724a1795 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -10,8 +10,4 @@ ananicy-cpp/ananicy-cpp kuche1/minq-ananicy - -Enable regex support. -Enable threading support. -
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: 60e5c5396db601c04febca6629d109b44fd441cc Author: Alberto Gireud protonmail com> AuthorDate: Mon Mar 4 03:36:51 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Mon Mar 4 04:57:35 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60e5c539 app-admin/ananicy-cpp: add 1.1.1 Signed-off-by: Alberto Gireud protonmail.com> app-admin/ananicy-cpp/Manifest | 1 + app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild | 49 ++ app-admin/ananicy-cpp/metadata.xml | 4 +++ 3 files changed, 54 insertions(+) diff --git a/app-admin/ananicy-cpp/Manifest b/app-admin/ananicy-cpp/Manifest index a6cc104622..16a5793651 100644 --- a/app-admin/ananicy-cpp/Manifest +++ b/app-admin/ananicy-cpp/Manifest @@ -1,2 +1,3 @@ DIST ananicy-cpp-v1.0.0-rc6.tar.bz2 41819 BLAKE2B f2d051e12784a66a141c294dd38c84f3d7d392cad0b8e7c8e563b11990695493ceb326df30869ca3647ac19be5eeda1e360e5dd358e1ab7e6af32f58cb240fbf SHA512 8703fd4a12a7a81385f6289a3eb16f7f42f160eebfc3493b3f82eeb2b104539e1911dafcacfc772a2add71dec89bcf94e53958021868f999bdfd1bdf06edac32 +DIST ananicy-cpp-v1.1.1.tar.bz2 326329 BLAKE2B b9e62e2e2a2ee956b6e1e3b0e484e340bbaa8a62f851c342efa5ce9a896d477213cd10aea5dc2f9978fdaddc85d17473a9ed9a0544d83fca01b52ecb09f6bbfd SHA512 ef351d45d54c6f3c60be9208e105d3952b88ad31708247dbda02c2de0e4852f29f06ba8c4f82a50f8d2bd1aa51f6fc914f9d7c13f598e21b527155bd0cbde27c DIST minq-ananicy-9180bb4511e2de5229428303df1a4954b0c516d9.tar.gz 48127 BLAKE2B f8cd256b141df6cca7feba22595afa7f2d92284a86b9fc9794630faad339828b1343dae87537fd054b33a87d59278f56178fbcb5af545e710232e8c518ac9e66 SHA512 846849c4c0466166f09cf3da4ef1e5a339680bbe5b823838b4aa7f8b5b69871498c9387aff2eb01c09991cad894d145b3ae76bce4403f55bf14c78b42a81a1a5 diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild new file mode 100644 index 00..9ccfb2cf21 --- /dev/null +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" +HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+regex systemd +threads" + +SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${PV}/${PN}-v${PV}.tar.bz2; +S="${WORKDIR}/${PN}-v${PV}" + +DEPEND=" + !app-admin/ananicy + >=dev-cpp/nlohmann_json-3.9 + >=dev-libs/libfmt-8 + >=dev-libs/spdlog-1.9 + regex? ( >=dev-libs/libpcre2-8 ) + systemd? ( sys-apps/systemd ) +" +RDEPEND="${DEPEND}" + +src_configure() { + local mycmakeargs=( + -DENABLE_REGEX_SUPPORT=$(usex regex) + -DENABLE_SYSTEMD=$(usex systemd) + -DENABLE_THREADS=$(usex threads) + -DUSE_EXTERNAL_FMTLIB=ON + -DUSE_EXTERNAL_JSON=ON + -DUSE_EXTERNAL_SPDLOG=ON + -DVERSION=${PV} + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + + if ! use systemd ; then + doinitd "${FILESDIR}/${PN}.initd" + fi + + keepdir /etc/ananicy.d +} diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 52724a1795..7f705e1709 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -10,4 +10,8 @@ ananicy-cpp/ananicy-cpp kuche1/minq-ananicy + +Enable regex support. +Enable threading support. +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: 1dde63852772d7063b8796537d61b9b92cb67037 Author: Alberto Gireud protonmail com> AuthorDate: Mon Mar 4 02:27:23 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Mon Mar 4 02:27:23 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1dde6385 app-admin/ananicy-cpp: add myself as a maintainer Signed-off-by: Alberto Gireud protonmail.com> app-admin/ananicy-cpp/metadata.xml | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 3dc230ed89..52724a1795 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -1,13 +1,13 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - lssndrbarbi...@gmail.com - Alessandro Barbieri - - - https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues - ananicy-cpp/ananicy-cpp - kuche1/minq-ananicy - + +agir...@protonmail.com +Alberto Gireud + + +https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues +ananicy-cpp/ananicy-cpp +kuche1/minq-ananicy +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: 5ce29c2ef859e4f52d33f778e786cf37a3111bca Author: Alberto Gireud protonmail com> AuthorDate: Mon Mar 4 03:38:50 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Mon Mar 4 04:57:41 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ce29c2e app-admin/ananicy-cpp: drop 1.0.0_rc6-r1 Signed-off-by: Alberto Gireud protonmail.com> app-admin/ananicy-cpp/Manifest | 2 - .../ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild| 55 -- 2 files changed, 57 deletions(-) diff --git a/app-admin/ananicy-cpp/Manifest b/app-admin/ananicy-cpp/Manifest index 16a5793651..d2ce42cb0a 100644 --- a/app-admin/ananicy-cpp/Manifest +++ b/app-admin/ananicy-cpp/Manifest @@ -1,3 +1 @@ -DIST ananicy-cpp-v1.0.0-rc6.tar.bz2 41819 BLAKE2B f2d051e12784a66a141c294dd38c84f3d7d392cad0b8e7c8e563b11990695493ceb326df30869ca3647ac19be5eeda1e360e5dd358e1ab7e6af32f58cb240fbf SHA512 8703fd4a12a7a81385f6289a3eb16f7f42f160eebfc3493b3f82eeb2b104539e1911dafcacfc772a2add71dec89bcf94e53958021868f999bdfd1bdf06edac32 DIST ananicy-cpp-v1.1.1.tar.bz2 326329 BLAKE2B b9e62e2e2a2ee956b6e1e3b0e484e340bbaa8a62f851c342efa5ce9a896d477213cd10aea5dc2f9978fdaddc85d17473a9ed9a0544d83fca01b52ecb09f6bbfd SHA512 ef351d45d54c6f3c60be9208e105d3952b88ad31708247dbda02c2de0e4852f29f06ba8c4f82a50f8d2bd1aa51f6fc914f9d7c13f598e21b527155bd0cbde27c -DIST minq-ananicy-9180bb4511e2de5229428303df1a4954b0c516d9.tar.gz 48127 BLAKE2B f8cd256b141df6cca7feba22595afa7f2d92284a86b9fc9794630faad339828b1343dae87537fd054b33a87d59278f56178fbcb5af545e710232e8c518ac9e66 SHA512 846849c4c0466166f09cf3da4ef1e5a339680bbe5b823838b4aa7f8b5b69871498c9387aff2eb01c09991cad894d145b3ae76bce4403f55bf14c78b42a81a1a5 diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild deleted file mode 100644 index bfe106080a..00 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -ANANICY_COMMIT="9180bb4511e2de5229428303df1a4954b0c516d9" # for rules -MYPV="${PV/_rc/-rc}" - -inherit cmake - -DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" -HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; -SRC_URI=" - https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${MYPV}/${PN}-v${MYPV}.tar.bz2 - https://github.com/kuche1/minq-ananicy/archive/${ANANICY_COMMIT}.tar.gz -> minq-ananicy-${ANANICY_COMMIT}.tar.gz -" -S="${WORKDIR}/${PN}-v${MYPV}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" -IUSE="systemd" - -RDEPEND=" - dev-cpp/nlohmann_json - dev-libs/libfmt - dev-libs/spdlog - systemd? ( sys-apps/systemd ) -" -DEPEND=" - ${RDEPEND} - dev-cpp/std-format -" - -PATCHES=( - "${FILESDIR}/${P}-system-std-format.patch" - "${FILESDIR}/${P}-respect-flags.patch" -) - -src_configure() { - local mycmakeargs=( - -DENABLE_SYSTEMD=$(usex systemd) - -DUSE_EXTERNAL_FMTLIB=ON - -DUSE_EXTERNAL_JSON=ON - -DUSE_EXTERNAL_SPDLOG=ON - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - doinitd "${FILESDIR}/${PN}.initd" - insinto /etc - doins -r "${WORKDIR}/minq-ananicy-${ANANICY_COMMIT}/ananicy.d" -}
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/files/
commit: 0d481c5d1773c4a184a902dba531e5af65dc69c2 Author: Alberto Gireud protonmail com> AuthorDate: Mon Mar 4 03:39:45 2024 + Commit: Alberto Gireud protonmail com> CommitDate: Mon Mar 4 04:57:42 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d481c5d app-admin/ananicy-cpp/files: Remove unused patches Signed-off-by: Alberto Gireud protonmail.com> .../ananicy-cpp-1.0.0_rc6-respect-flags.patch | 22 -- .../ananicy-cpp-1.0.0_rc6-system-std-format.patch | 22 -- 2 files changed, 44 deletions(-) diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch deleted file mode 100644 index 7087d3e31c..00 --- a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch +++ /dev/null @@ -1,22 +0,0 @@ b/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -49,7 +49,7 @@ - - set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") --set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2") -+set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") - - configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/version.hpp.in ${CMAKE_CURRENT_SOURCE_DIR}/include/version.hpp) - -@@ -83,10 +83,6 @@ - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto") - endif() - --if(CXX_ACCEPTS_SANITIZE AND NOT(STATIC)) --set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined") --endif() -- - if(OPTIMIZE_FOR_NATIVE_MICROARCH AND CXX_ACCEPTS_MARCH_NATIVE) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") - endif() diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch deleted file mode 100644 index adf7c941ef..00 --- a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch +++ /dev/null @@ -1,22 +0,0 @@ a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -193,10 +193,8 @@ - - # std::format - set(STL_FORMAT_USE_EXTERNAL_FMTLIB ${USE_EXTERNAL_FMTLIB} CACHE BOOL "" FORCE) --if (NOT TARGET stl_polyfill::format) --add_subdirectory(external/std-format) --endif() --target_link_libraries(ananicy-cpp PRIVATE stl_polyfill::format) -+find_package(StlPolyfillFormat REQUIRED) -+target_include_directories(ananicy-cpp PRIVATE "/usr/include/polyfills/format") - - - # spdlog -@@ -242,4 +240,4 @@ - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ananicy-cpp.service - DESTINATION lib/systemd/system/ - COMPONENT Runtime) --endif() -\ Manca newline alla fine del file -+endif()
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: ff46678681a1e28a9fefda21663d9a057acf252a Author: Remigiusz Micielski purelymail com> AuthorDate: Wed Sep 13 05:06:55 2023 + Commit: Remigiusz Micielski gmail com> CommitDate: Wed Sep 13 05:08:52 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff466786 app-admin/ananicy-cpp: add github upstream metadata Signed-off-by: Remigiusz Micielski purelymail.com> app-admin/ananicy-cpp/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 570a8bed40..3dc230ed89 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -8,5 +8,6 @@ https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues ananicy-cpp/ananicy-cpp + kuche1/minq-ananicy
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: f742c6f23a768d171e926c63e3a1a332b6d04990 Author: Alessandro Barbieri gmail com> AuthorDate: Sun Jun 5 21:13:03 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Sun Jun 5 21:13:03 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f742c6f2 app-admin/ananicy-cpp: remove proxied from metadata Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy-cpp/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/ananicy-cpp/metadata.xml b/app-admin/ananicy-cpp/metadata.xml index 1c30cc80a..570a8bed4 100644 --- a/app-admin/ananicy-cpp/metadata.xml +++ b/app-admin/ananicy-cpp/metadata.xml @@ -1,7 +1,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> - + lssndrbarbi...@gmail.com Alessandro Barbieri
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
commit: e71d520f0943cd1087fdeb7ee0fd9f5f39c00d14 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Apr 29 02:58:22 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Apr 29 03:15:50 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e71d520f app-admin/ananicy-cpp: add rules from ananicy Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy-cpp/Manifest| 1 + ...anicy-cpp-1.0.0_rc6.ebuild => ananicy-cpp-1.0.0_rc6-r1.ebuild} | 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app-admin/ananicy-cpp/Manifest b/app-admin/ananicy-cpp/Manifest index 1a88d03ac..a6cc10462 100644 --- a/app-admin/ananicy-cpp/Manifest +++ b/app-admin/ananicy-cpp/Manifest @@ -1 +1,2 @@ DIST ananicy-cpp-v1.0.0-rc6.tar.bz2 41819 BLAKE2B f2d051e12784a66a141c294dd38c84f3d7d392cad0b8e7c8e563b11990695493ceb326df30869ca3647ac19be5eeda1e360e5dd358e1ab7e6af32f58cb240fbf SHA512 8703fd4a12a7a81385f6289a3eb16f7f42f160eebfc3493b3f82eeb2b104539e1911dafcacfc772a2add71dec89bcf94e53958021868f999bdfd1bdf06edac32 +DIST minq-ananicy-9180bb4511e2de5229428303df1a4954b0c516d9.tar.gz 48127 BLAKE2B f8cd256b141df6cca7feba22595afa7f2d92284a86b9fc9794630faad339828b1343dae87537fd054b33a87d59278f56178fbcb5af545e710232e8c518ac9e66 SHA512 846849c4c0466166f09cf3da4ef1e5a339680bbe5b823838b4aa7f8b5b69871498c9387aff2eb01c09991cad894d145b3ae76bce4403f55bf14c78b42a81a1a5 diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild similarity index 70% rename from app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild rename to app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild index adb59f5d1..bfe106080 100644 --- a/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6-r1.ebuild @@ -3,13 +3,17 @@ EAPI=8 +ANANICY_COMMIT="9180bb4511e2de5229428303df1a4954b0c516d9" # for rules MYPV="${PV/_rc/-rc}" inherit cmake DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; -SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${MYPV}/${PN}-v${MYPV}.tar.bz2; +SRC_URI=" + https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${MYPV}/${PN}-v${MYPV}.tar.bz2 + https://github.com/kuche1/minq-ananicy/archive/${ANANICY_COMMIT}.tar.gz -> minq-ananicy-${ANANICY_COMMIT}.tar.gz +" S="${WORKDIR}/${PN}-v${MYPV}" LICENSE="GPL-3" @@ -46,4 +50,6 @@ src_configure() { src_install() { cmake_src_install doinitd "${FILESDIR}/${PN}.initd" + insinto /etc + doins -r "${WORKDIR}/minq-ananicy-${ANANICY_COMMIT}/ananicy.d" }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/, app-admin/ananicy-cpp/files/
commit: 572b4347fe669ee9e25670dee321eb32a74ca1a1 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 25 17:52:33 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Apr 26 10:33:34 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=572b4347 app-admin/ananicy-cpp: new package, add 1.0.0_rc6 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy-cpp/Manifest | 1 + app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild | 49 ++ .../ananicy-cpp-1.0.0_rc6-respect-flags.patch | 22 ++ .../ananicy-cpp-1.0.0_rc6-system-std-format.patch | 22 ++ app-admin/ananicy-cpp/files/ananicy-cpp.initd | 18 app-admin/ananicy-cpp/metadata.xml | 12 ++ 6 files changed, 124 insertions(+) diff --git a/app-admin/ananicy-cpp/Manifest b/app-admin/ananicy-cpp/Manifest new file mode 100644 index 0..1a88d03ac --- /dev/null +++ b/app-admin/ananicy-cpp/Manifest @@ -0,0 +1 @@ +DIST ananicy-cpp-v1.0.0-rc6.tar.bz2 41819 BLAKE2B f2d051e12784a66a141c294dd38c84f3d7d392cad0b8e7c8e563b11990695493ceb326df30869ca3647ac19be5eeda1e360e5dd358e1ab7e6af32f58cb240fbf SHA512 8703fd4a12a7a81385f6289a3eb16f7f42f160eebfc3493b3f82eeb2b104539e1911dafcacfc772a2add71dec89bcf94e53958021868f999bdfd1bdf06edac32 diff --git a/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild b/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild new file mode 100644 index 0..adb59f5d1 --- /dev/null +++ b/app-admin/ananicy-cpp/ananicy-cpp-1.0.0_rc6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MYPV="${PV/_rc/-rc}" + +inherit cmake + +DESCRIPTION="Ananicy rewritten in C++ for much lower CPU and memory usage" +HOMEPAGE="https://gitlab.com/ananicy-cpp/ananicy-cpp; +SRC_URI="https://gitlab.com/ananicy-cpp/ananicy-cpp/-/archive/v${MYPV}/${PN}-v${MYPV}.tar.bz2; +S="${WORKDIR}/${PN}-v${MYPV}" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="systemd" + +RDEPEND=" + dev-cpp/nlohmann_json + dev-libs/libfmt + dev-libs/spdlog + systemd? ( sys-apps/systemd ) +" +DEPEND=" + ${RDEPEND} + dev-cpp/std-format +" + +PATCHES=( + "${FILESDIR}/${P}-system-std-format.patch" + "${FILESDIR}/${P}-respect-flags.patch" +) + +src_configure() { + local mycmakeargs=( + -DENABLE_SYSTEMD=$(usex systemd) + -DUSE_EXTERNAL_FMTLIB=ON + -DUSE_EXTERNAL_JSON=ON + -DUSE_EXTERNAL_SPDLOG=ON + ) + cmake_src_configure +} + +src_install() { + cmake_src_install + doinitd "${FILESDIR}/${PN}.initd" +} diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch new file mode 100644 index 0..7087d3e31 --- /dev/null +++ b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-respect-flags.patch @@ -0,0 +1,22 @@ +--- b/CMakeLists.txt b/CMakeLists.txt +@@ -49,7 +49,7 @@ + + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}") + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") +-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -O2") ++set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}") + + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/include/version.hpp.in ${CMAKE_CURRENT_SOURCE_DIR}/include/version.hpp) + +@@ -83,10 +83,6 @@ + set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto") + endif() + +-if(CXX_ACCEPTS_SANITIZE AND NOT(STATIC)) +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=undefined") +-endif() +- + if(OPTIMIZE_FOR_NATIVE_MICROARCH AND CXX_ACCEPTS_MARCH_NATIVE) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") + endif() diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch new file mode 100644 index 0..adf7c941e --- /dev/null +++ b/app-admin/ananicy-cpp/files/ananicy-cpp-1.0.0_rc6-system-std-format.patch @@ -0,0 +1,22 @@ +--- a/CMakeLists.txt b/CMakeLists.txt +@@ -193,10 +193,8 @@ + + # std::format + set(STL_FORMAT_USE_EXTERNAL_FMTLIB ${USE_EXTERNAL_FMTLIB} CACHE BOOL "" FORCE) +-if (NOT TARGET stl_polyfill::format) +-add_subdirectory(external/std-format) +-endif() +-target_link_libraries(ananicy-cpp PRIVATE stl_polyfill::format) ++find_package(StlPolyfillFormat REQUIRED) ++target_include_directories(ananicy-cpp PRIVATE "/usr/include/polyfills/format") + + + # spdlog +@@ -242,4 +240,4 @@ + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ananicy-cpp.service + DESTINATION lib/systemd/system/ + COMPONENT Runtime) +-endif() +\ Manca newline alla fine del file ++endif() diff --git a/app-admin/ananicy-cpp/files/ananicy-cpp.initd