[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 b/app-admin/ananicy-cpp/files/a
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/, app-admin/ananicy/files/
commit: 27ed423c47e1d2584decc55c1dc9d4002d2d001c Author: Alessandro Barbieri gmail com> AuthorDate: Tue Jul 13 04:17:53 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Jul 13 04:18:30 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=27ed423c app-admin/ananicy: treeclean Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/Manifest | 1 - app-admin/ananicy/ananicy-2.2.1-r1.ebuild | 37 -- .../ananicy/files/ananicy-fix-sysctl-path.patch| 14 app-admin/ananicy/files/ananicy.initd | 18 --- app-admin/ananicy/metadata.xml | 13 5 files changed, 83 deletions(-) diff --git a/app-admin/ananicy/Manifest b/app-admin/ananicy/Manifest deleted file mode 100644 index f0c5c784b..0 --- a/app-admin/ananicy/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST ananicy-2.2.1.tar.gz 43197 BLAKE2B 5fc1fb201c50d7b93b62d089bf341c105b2e931349966e97b2becd0744f24ebd8900ea54e113bc3fc7a2648f4e088a2215b669861a311f2c92f30a8583ad95ad SHA512 858bbfbf196a2b8f512e4f09d8a0f176ef33fbbf610c8de437dc7889830a6f8a302c4d864faa8e28c71d4c1229c112e56b7fd84918d85786153228217aaec7ef diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild deleted file mode 100644 index 7f383bf36..0 --- a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{8..10} pypy3 ) - -inherit python-single-r1 - -DESCRIPTION="ANother Auto NICe daemon" -HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; -SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${P^}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" -BDEPEND="${PYTHON_DEPS}" -RDEPEND=" - ${BDEPEND} - sys-process/schedtool -" -DOCS=( README.md ) -PATCHES=( "${FILESDIR}/${PN}-fix-sysctl-path.patch" ) - -src_compile() { - return -} - -src_install() { - emake PREFIX="${D}" install - python_fix_shebang "${ED}/usr/bin/ananicy" - doinitd "${FILESDIR}/ananicy.initd" - einstalldocs -} diff --git a/app-admin/ananicy/files/ananicy-fix-sysctl-path.patch b/app-admin/ananicy/files/ananicy-fix-sysctl-path.patch deleted file mode 100644 index 1c44fe8c4..0 --- a/app-admin/ananicy/files/ananicy-fix-sysctl-path.patch +++ /dev/null @@ -1,14 +0,0 @@ a/ananicy.service -+++ b/ananicy.service -@@ -4,9 +4,9 @@ - - [Service] - Type=notify --ExecStartPre=/sbin/sysctl -e kernel.sched_autogroup_enabled=0 -+ExecStartPre=/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0 - ExecStart=/usr/bin/ananicy start --ExecStopPost=/sbin/sysctl -e kernel.sched_autogroup_enabled=1 -+ExecStopPost=/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1 - Nice=19 - SuccessExitStatus=143 - OOMScoreAdjust=-999 diff --git a/app-admin/ananicy/files/ananicy.initd b/app-admin/ananicy/files/ananicy.initd deleted file mode 100644 index e2c31dfb1..0 --- a/app-admin/ananicy/files/ananicy.initd +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/openrc-run - -pidfile="/run/ananicy.pid" -command="/usr/bin/ananicy" -command_args="start" -command_background=true - -start_pre() { - /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0 -} - -stop_post() { - /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1 -} - -stop() { - start-stop-daemon --stop --pidfile "$pidfile" -} diff --git a/app-admin/ananicy/metadata.xml b/app-admin/ananicy/metadata.xml deleted file mode 100644 index e9eeb2fff..0 --- a/app-admin/ananicy/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd";> - - - co-maintainers welcome - lssndrbarbi...@gmail.com - Alessandro Barbieri - - - https://github.com/Nefelim4ag/Ananicy/issues - Nefelim4ag/Ananicy - -
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/files/, app-admin/ananicy/
commit: d273c63b6ce17948265eb9b9d85a71a40e97f0c3 Author: Alessandro Barbieri gmail com> AuthorDate: Sat Jul 3 02:52:48 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Sat Jul 3 02:52:48 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d273c63b app-admin/ananicy: backport fixes Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1-r1.ebuild | 9 +++--- app-admin/ananicy/ananicy-2.2.1.ebuild | 37 -- ...tl-path.patch => ananicy-fix-sysctl-path.patch} | 4 +-- app-admin/ananicy/files/ananicy.initd | 6 ++-- 4 files changed, 10 insertions(+), 46 deletions(-) diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild index 359b99a09..7f383bf36 100644 --- a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{8..10} pypy3 ) inherit python-single-r1 @@ -11,18 +11,19 @@ DESCRIPTION="ANother Auto NICe daemon" HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${P^}" + LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DEPEND="${PYTHON_DEPS}" +BDEPEND="${PYTHON_DEPS}" RDEPEND=" - ${DEPEND} + ${BDEPEND} sys-process/schedtool " DOCS=( README.md ) -PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" ) +PATCHES=( "${FILESDIR}/${PN}-fix-sysctl-path.patch" ) src_compile() { return diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild deleted file mode 100644 index a84862bea..0 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) - -inherit python-single-r1 - -DESCRIPTION="ANother Auto NICe daemon" -HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; -SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -DEPEND="${PYTHON_DEPS}" -RDEPEND="${DEPEND} - sys-process/schedtool -" - -S="${WORKDIR}/${P^}" -DOCS=( README.md ) -PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" ) - -src_compile() { - return -} - -src_install() { - emake PREFIX="${D}" install - python_fix_shebang "${ED}/usr/bin/ananicy" - einstalldocs -} diff --git a/app-admin/ananicy/files/fix-sysctl-path.patch b/app-admin/ananicy/files/ananicy-fix-sysctl-path.patch similarity index 77% rename from app-admin/ananicy/files/fix-sysctl-path.patch rename to app-admin/ananicy/files/ananicy-fix-sysctl-path.patch index 6d4152fff..1c44fe8c4 100644 --- a/app-admin/ananicy/files/fix-sysctl-path.patch +++ b/app-admin/ananicy/files/ananicy-fix-sysctl-path.patch @@ -1,5 +1,5 @@ a/ananicy.service 2021-04-19 19:01:54.681195153 +0200 -+++ b/ananicy.service 2021-04-19 19:02:44.467050928 +0200 +--- a/ananicy.service b/ananicy.service @@ -4,9 +4,9 @@ [Service] diff --git a/app-admin/ananicy/files/ananicy.initd b/app-admin/ananicy/files/ananicy.initd index e949d54e6..e2c31dfb1 100644 --- a/app-admin/ananicy/files/ananicy.initd +++ b/app-admin/ananicy/files/ananicy.initd @@ -6,13 +6,13 @@ command_args="start" command_background=true start_pre() { - /sbin/sysctl -e kernel.sched_autogroup_enabled=0 + /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0 } stop_post() { - /sbin/sysctl -e kernel.sched_autogroup_enabled=1 + /usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1 } stop() { - start-stop-daemon --stop --pidfile "$pidfile" + start-stop-daemon --stop --pidfile "$pidfile" }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: 2e3506d367e68995980d714ad2284d13e495224e Author: Alessandro Barbieri gmail com> AuthorDate: Fri May 14 13:29:27 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri May 14 13:30:07 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e3506d3 app-admin/ananicy: I'm dumb Signed-off-by: Alessandro Barbieri gmail.com> Closes: https://bugs.gentoo.org/790104 app-admin/ananicy/ananicy-2.2.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild index 4ad74bc5a..359b99a09 100644 --- a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild @@ -31,6 +31,6 @@ src_compile() { src_install() { emake PREFIX="${D}" install python_fix_shebang "${ED}/usr/bin/ananicy" - doinitd ananicy.initd + doinitd "${FILESDIR}/ananicy.initd" einstalldocs }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/, app-admin/ananicy/files/
commit: 1a23cc6ad5cf3f5ce68ef5e4dc546a73b7343bb1 Author: Alessandro Barbieri gmail com> AuthorDate: Thu May 13 15:55:26 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Thu May 13 15:57:18 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a23cc6a app-admin/ananicy: add openrc initd Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1-r1.ebuild | 36 +++ app-admin/ananicy/files/ananicy.initd | 18 2 files changed, 54 insertions(+) diff --git a/app-admin/ananicy/ananicy-2.2.1-r1.ebuild b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild new file mode 100644 index 0..4ad74bc5a --- /dev/null +++ b/app-admin/ananicy/ananicy-2.2.1-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) + +inherit python-single-r1 + +DESCRIPTION="ANother Auto NICe daemon" +HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; +SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +DEPEND="${PYTHON_DEPS}" +RDEPEND=" + ${DEPEND} + sys-process/schedtool +" +DOCS=( README.md ) +PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" ) + +src_compile() { + return +} + +src_install() { + emake PREFIX="${D}" install + python_fix_shebang "${ED}/usr/bin/ananicy" + doinitd ananicy.initd + einstalldocs +} diff --git a/app-admin/ananicy/files/ananicy.initd b/app-admin/ananicy/files/ananicy.initd new file mode 100644 index 0..e949d54e6 --- /dev/null +++ b/app-admin/ananicy/files/ananicy.initd @@ -0,0 +1,18 @@ +#!/usr/bin/openrc-run + +pidfile="/run/ananicy.pid" +command="/usr/bin/ananicy" +command_args="start" +command_background=true + +start_pre() { + /sbin/sysctl -e kernel.sched_autogroup_enabled=0 +} + +stop_post() { + /sbin/sysctl -e kernel.sched_autogroup_enabled=1 +} + +stop() { + start-stop-daemon --stop --pidfile "$pidfile" +}
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: bf8cc49287c7ff053cd49e1d436b8700b78e71d4 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 20 09:42:54 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 20 09:42:54 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf8cc492 app-admin/ananicy: add missing REQUIRED_USE="${PYTHON_REQUIRED_USE}" Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> app-admin/ananicy/ananicy-2.2.1.ebuild | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index f4cfc498d..a84862bea 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -15,8 +15,12 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + DEPEND="${PYTHON_DEPS}" -RDEPEND="sys-process/schedtool" +RDEPEND="${DEPEND} + sys-process/schedtool +" S="${WORKDIR}/${P^}" DOCS=( README.md )
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: 91fee0c49a28cbecb4b87e10f2c81cececa60e6e Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 19 17:12:41 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Apr 19 17:12:41 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91fee0c4 app-admin/ananicy: missing dependency and metadata Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1.ebuild | 1 + app-admin/ananicy/metadata.xml | 8 2 files changed, 9 insertions(+) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index bb653d1c9..f4cfc498d 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -16,6 +16,7 @@ SLOT="0" KEYWORDS="~amd64" DEPEND="${PYTHON_DEPS}" +RDEPEND="sys-process/schedtool" S="${WORKDIR}/${P^}" DOCS=( README.md ) diff --git a/app-admin/ananicy/metadata.xml b/app-admin/ananicy/metadata.xml index 097975e3a..5bea66203 100644 --- a/app-admin/ananicy/metadata.xml +++ b/app-admin/ananicy/metadata.xml @@ -1,4 +1,12 @@ http://www.gentoo.org/dtd/metadata.dtd";> + + lssndrbarbi...@gmail.com + Alessandro Barbieri + + + https://github.com/Nefelim4ag/Ananicy/issues + Nefelim4ag/Ananicy +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/files/, app-admin/ananicy/
commit: edb598728dee8dac85c81ae1f2ce8ab6f34db9e5 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Apr 19 17:06:13 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Apr 19 17:06:13 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=edb59872 app-admin/ananicy: move to pithon-single-r1 eclass Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1.ebuild| 10 +++--- app-admin/ananicy/files/fix-sysctl-path.patch | 14 ++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index 03c095d75..bb653d1c9 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -5,7 +5,7 @@ EAPI="7" PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) -inherit python-any-r1 +inherit python-single-r1 DESCRIPTION="ANother Auto NICe daemon" HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; @@ -19,18 +19,14 @@ DEPEND="${PYTHON_DEPS}" S="${WORKDIR}/${P^}" DOCS=( README.md ) - -src_prepare(){ - sed -e 's|\/sbin\/sysctl|\/usr\/sbin\/sysctl|g' -i ananicy.service || die - default -} +PATCHES=( "${FILESDIR}/fix-sysctl-path.patch" ) src_compile() { return } src_install() { - emake PREFIX="${ED}" install + emake PREFIX="${D}" install python_fix_shebang "${ED}/usr/bin/ananicy" einstalldocs } diff --git a/app-admin/ananicy/files/fix-sysctl-path.patch b/app-admin/ananicy/files/fix-sysctl-path.patch new file mode 100644 index 0..6d4152fff --- /dev/null +++ b/app-admin/ananicy/files/fix-sysctl-path.patch @@ -0,0 +1,14 @@ +--- a/ananicy.service 2021-04-19 19:01:54.681195153 +0200 b/ananicy.service 2021-04-19 19:02:44.467050928 +0200 +@@ -4,9 +4,9 @@ + + [Service] + Type=notify +-ExecStartPre=/sbin/sysctl -e kernel.sched_autogroup_enabled=0 ++ExecStartPre=/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=0 + ExecStart=/usr/bin/ananicy start +-ExecStopPost=/sbin/sysctl -e kernel.sched_autogroup_enabled=1 ++ExecStopPost=/usr/sbin/sysctl -e kernel.sched_autogroup_enabled=1 + Nice=19 + SuccessExitStatus=143 + OOMScoreAdjust=-999
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: bc25a26084edf56a514440c25fba3faec6fbbb25 Author: Andrew Ammerlaan riseup net> AuthorDate: Sun Mar 28 09:17:57 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sun Mar 28 09:17:57 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc25a260 app-admin/ananicy: add PYTHON_DEPS Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> app-admin/ananicy/ananicy-2.2.1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index adb33bc37..03c095d75 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -14,6 +14,9 @@ SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" + +DEPEND="${PYTHON_DEPS}" + S="${WORKDIR}/${P^}" DOCS=( README.md )
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: 29899c196d13179e1398361dd11985d5c02f2087 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 19 22:33:17 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 19 22:33:57 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29899c19 app-admin/ananicy: remove systemd dep Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index ad97cebe..adb33bc3 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -14,7 +14,6 @@ SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -RDEPEND="sys-apps/systemd" S="${WORKDIR}/${P^}" DOCS=( README.md )
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: bb916b8bbf67dc091efb3111cbb0e8334a65f3ab Author: Alessandro Barbieri gmail com> AuthorDate: Thu Mar 18 01:59:04 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Thu Mar 18 01:59:04 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bb916b8b app-admin/ananicy: fix path and add pypy3 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/ananicy-2.2.1.ebuild | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild index 420cf2a4..ad97cebe 100644 --- a/app-admin/ananicy/ananicy-2.2.1.ebuild +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -3,7 +3,7 @@ EAPI="7" -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) inherit python-any-r1 @@ -18,6 +18,11 @@ RDEPEND="sys-apps/systemd" S="${WORKDIR}/${P^}" DOCS=( README.md ) +src_prepare(){ + sed -e 's|\/sbin\/sysctl|\/usr\/sbin\/sysctl|g' -i ananicy.service || die + default +} + src_compile() { return }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy/
commit: c8a1a7c767efd7d94e66a4f70a3364d852d71cc4 Author: Alessandro Barbieri gmail com> AuthorDate: Thu Mar 18 01:34:49 2021 + Commit: Alessandro Barbieri gmail com> CommitDate: Thu Mar 18 01:35:17 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c8a1a7c7 app-admin/ananicy: tentative ebuild not sure if I'm missing something for python please review Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Alessandro Barbieri gmail.com> app-admin/ananicy/Manifest | 1 + app-admin/ananicy/ananicy-2.2.1.ebuild | 29 + app-admin/ananicy/metadata.xml | 4 3 files changed, 34 insertions(+) diff --git a/app-admin/ananicy/Manifest b/app-admin/ananicy/Manifest new file mode 100644 index ..f0c5c784 --- /dev/null +++ b/app-admin/ananicy/Manifest @@ -0,0 +1 @@ +DIST ananicy-2.2.1.tar.gz 43197 BLAKE2B 5fc1fb201c50d7b93b62d089bf341c105b2e931349966e97b2becd0744f24ebd8900ea54e113bc3fc7a2648f4e088a2215b669861a311f2c92f30a8583ad95ad SHA512 858bbfbf196a2b8f512e4f09d8a0f176ef33fbbf610c8de437dc7889830a6f8a302c4d864faa8e28c71d4c1229c112e56b7fd84918d85786153228217aaec7ef diff --git a/app-admin/ananicy/ananicy-2.2.1.ebuild b/app-admin/ananicy/ananicy-2.2.1.ebuild new file mode 100644 index ..420cf2a4 --- /dev/null +++ b/app-admin/ananicy/ananicy-2.2.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit python-any-r1 + +DESCRIPTION="ANother Auto NICe daemon" +HOMEPAGE="https://github.com/Nefelim4ag/Ananicy"; +SRC_URI="https://github.com/Nefelim4ag/Ananicy/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +RDEPEND="sys-apps/systemd" +S="${WORKDIR}/${P^}" +DOCS=( README.md ) + +src_compile() { + return +} + +src_install() { + emake PREFIX="${ED}" install + python_fix_shebang "${ED}/usr/bin/ananicy" + einstalldocs +} diff --git a/app-admin/ananicy/metadata.xml b/app-admin/ananicy/metadata.xml new file mode 100644 index ..097975e3 --- /dev/null +++ b/app-admin/ananicy/metadata.xml @@ -0,0 +1,4 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + +