public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2022-04-29  3:16 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2022-04-29  3:16 UTC (permalink / raw
  To: gentoo-commits

commit:     e71d520f0943cd1087fdeb7ee0fd9f5f39c00d14
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Apr 29 02:58:22 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Apr 29 03:15:50 2022 +0000
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 <lssndrbarbieri <AT> 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"
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2022-06-05 21:16 Alessandro Barbieri
  0 siblings, 0 replies; 9+ messages in thread
From: Alessandro Barbieri @ 2022-06-05 21:16 UTC (permalink / raw
  To: gentoo-commits

commit:     f742c6f23a768d171e926c63e3a1a332b6d04990
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jun  5 21:13:03 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Jun  5 21:13:03 2022 +0000
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 <lssndrbarbieri <AT> 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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person" proxied="yes">
+	<maintainer type="person">
 		<email>lssndrbarbieri@gmail.com</email>
 		<name>Alessandro Barbieri</name>
 	</maintainer>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2023-09-13  5:09 Remigiusz Micielski
  0 siblings, 0 replies; 9+ messages in thread
From: Remigiusz Micielski @ 2023-09-13  5:09 UTC (permalink / raw
  To: gentoo-commits

commit:     ff46678681a1e28a9fefda21663d9a057acf252a
Author:     Remigiusz Micielski <rmicielski <AT> purelymail <DOT> com>
AuthorDate: Wed Sep 13 05:06:55 2023 +0000
Commit:     Remigiusz Micielski <remigiusz.micielski <AT> gmail <DOT> com>
CommitDate: Wed Sep 13 05:08:52 2023 +0000
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 <rmicielski <AT> 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 @@
 	<upstream>
 		<bugs-to>https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues</bugs-to>
 		<remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
+		<remote-id type="github">kuche1/minq-ananicy</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-04  6:43 Alberto Gireud
  0 siblings, 0 replies; 9+ messages in thread
From: Alberto Gireud @ 2024-03-04  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     1dde63852772d7063b8796537d61b9b92cb67037
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Mon Mar  4 02:27:23 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Mon Mar  4 02:27:23 2024 +0000
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 <agireud <AT> 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 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>lssndrbarbieri@gmail.com</email>
-		<name>Alessandro Barbieri</name>
-	</maintainer>
-	<upstream>
-		<bugs-to>https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues</bugs-to>
-		<remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
-		<remote-id type="github">kuche1/minq-ananicy</remote-id>
-	</upstream>
+  <maintainer type="person">
+    <email>agireud@protonmail.com</email>
+    <name>Alberto Gireud</name>
+  </maintainer>
+  <upstream>
+    <bugs-to>https://gitlab.com/ananicy-cpp/ananicy-cpp/-/issues</bugs-to>
+    <remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
+    <remote-id type="github">kuche1/minq-ananicy</remote-id>
+  </upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-04  6:43 Alberto Gireud
  0 siblings, 0 replies; 9+ messages in thread
From: Alberto Gireud @ 2024-03-04  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     5ce29c2ef859e4f52d33f778e786cf37a3111bca
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Mon Mar  4 03:38:50 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Mon Mar  4 04:57:41 2024 +0000
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 <agireud <AT> 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..0000000000
--- 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"
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-04  6:43 Alberto Gireud
  0 siblings, 0 replies; 9+ messages in thread
From: Alberto Gireud @ 2024-03-04  6:43 UTC (permalink / raw
  To: gentoo-commits

commit:     60e5c5396db601c04febca6629d109b44fd441cc
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Mon Mar  4 03:36:51 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Mon Mar  4 04:57:35 2024 +0000
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 <agireud <AT> 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 0000000000..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 @@
     <remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
     <remote-id type="github">kuche1/minq-ananicy</remote-id>
   </upstream>
+  <use>
+    <flag name="regex">Enable regex support.</flag>
+    <flag name="threads">Enable threading support.</flag>
+  </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-05  8:24 Alberto Gireud
  0 siblings, 0 replies; 9+ messages in thread
From: Alberto Gireud @ 2024-03-05  8:24 UTC (permalink / raw
  To: gentoo-commits

commit:     1030d37141fb9899193be30d04ec5597cdb5cdd4
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Tue Mar  5 08:17:15 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Tue Mar  5 08:22:31 2024 +0000
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 <agireud <AT> 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 @@
     <remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
     <remote-id type="github">kuche1/minq-ananicy</remote-id>
   </upstream>
-  <use>
-    <flag name="regex">Enable regex support.</flag>
-    <flag name="threads">Enable threading support.</flag>
-  </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-07  4:06 Alberto Gireud
  0 siblings, 0 replies; 9+ messages in thread
From: Alberto Gireud @ 2024-03-07  4:06 UTC (permalink / raw
  To: gentoo-commits

commit:     af85370459af3a4b5244cf8e6642ed7773afc94d
Author:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
AuthorDate: Thu Mar  7 03:49:13 2024 +0000
Commit:     Alberto Gireud <agireud <AT> protonmail <DOT> com>
CommitDate: Thu Mar  7 04:06:14 2024 +0000
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 <agireud <AT> 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 @@
     <remote-id type="gitlab">ananicy-cpp/ananicy-cpp</remote-id>
     <remote-id type="github">kuche1/minq-ananicy</remote-id>
   </upstream>
+  <use>
+    <flag name="bpf">Use eBPF for processing</flag>
+    <flag name="clang">Use Clang compiler instead of GCC</flag>
+  </use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/
@ 2024-03-25 16:41 Julien Roy
  0 siblings, 0 replies; 9+ messages in thread
From: Julien Roy @ 2024-03-25 16:41 UTC (permalink / raw
  To: gentoo-commits

commit:     7efe843d59eb204aa79e147fd84b8719807598a3
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Mar 25 16:40:55 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Mar 25 16:40:59 2024 +0000
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 <julien <AT> 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..0000000000
--- 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..0000000000
--- 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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-03-25 16:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-04  6:43 [gentoo-commits] repo/proj/guru:dev commit in: app-admin/ananicy-cpp/ Alberto Gireud
  -- strict thread matches above, loose matches on Subject: below --
2024-03-25 16:41 Julien Roy
2024-03-07  4:06 Alberto Gireud
2024-03-05  8:24 Alberto Gireud
2024-03-04  6:43 Alberto Gireud
2024-03-04  6:43 Alberto Gireud
2023-09-13  5:09 Remigiusz Micielski
2022-06-05 21:16 Alessandro Barbieri
2022-04-29  3:16 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox