public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
  2024-03-19 22:06 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/ Julien Roy
@ 2024-03-19 21:24 ` Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-03-19 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     9d454654994a086246809683d763755664caf9b1
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Mar 19 21:22:01 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Mar 19 21:22:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d454654

dev-libs/libsignal-ffi: new package, add 0.41.1

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 ++
 dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild | 38 ++++++++++++++++++++++
 dev-libs/libsignal-ffi/metadata.xml                | 13 ++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
new file mode 100644
index 0000000000..16e85f6e91
--- /dev/null
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -0,0 +1,2 @@
+DIST libsignal-ffi-0.41.1.gh.tar.gz 1317640 BLAKE2B 083ac5981e291c6b35be8133478010c9e6541ea82ebe3e0cf2f5d629e1e23e10f24799c50fdbaacdf9b25f5688ea2f4fcbf46f149e469486a6b2393ce64c52ce SHA512 045c03aca620918f28ae8119da084060edc9543c910dee4551a2bb86cf4e16fa1434cbb9a6d727e4302eaf172fc3c90de9f57dbd7450963e87c6369caa1761fb
+DIST libsignal-ffi-vendor-0.41.1.tar.xz 35833064 BLAKE2B 02c83a6b3dc592df14f33379bc8476fb1458e4d427d038fe1fb395b66ebe34c1bd0bb36af50c0f7a9b0d1a0d793826702544e5af52803d1ef5855b6a16f441eb SHA512 16aa343750b090bb051fb11210bd9f2b69187eff9fe20537f691e3432045c9fc67f29b8e1e90deebb6de299c0d21e702a557e574a0a8da518eb61046cbbb4f5a

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
new file mode 100644
index 0000000000..aeeeba99ab
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES=" "
+
+inherit cargo
+
+DESCRIPTION="A C ABI library which exposes Signal protocol logic"
+HOMEPAGE="https://github.com/signalapp/libsignal"
+SRC_URI="
+	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${PN}-vendor-${PV}.tar.xz
+"
+S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+}
+
+src_install() {
+	dolib.a "${WORKDIR}/${P/-ffi/}/target/release/${PN/-/_}.a"
+}

diff --git a/dev-libs/libsignal-ffi/metadata.xml b/dev-libs/libsignal-ffi/metadata.xml
new file mode 100644
index 0000000000..96e749476d
--- /dev/null
+++ b/dev-libs/libsignal-ffi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Julien Roy</name>
+		<email>julien@jroy.ca</email>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/signalapp/libsignal/issues</bugs-to>
+		<changelog>https://github.com/signalapp/libsignal/releases</changelog>
+		<remote-id type="github">signalapp/libsignal</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/
@ 2024-03-19 22:06 Julien Roy
  2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
  0 siblings, 1 reply; 15+ messages in thread
From: Julien Roy @ 2024-03-19 22:06 UTC (permalink / raw
  To: gentoo-commits

commit:     9d454654994a086246809683d763755664caf9b1
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue Mar 19 21:22:01 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue Mar 19 21:22:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d454654

dev-libs/libsignal-ffi: new package, add 0.41.1

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 ++
 dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild | 38 ++++++++++++++++++++++
 dev-libs/libsignal-ffi/metadata.xml                | 13 ++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
new file mode 100644
index 0000000000..16e85f6e91
--- /dev/null
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -0,0 +1,2 @@
+DIST libsignal-ffi-0.41.1.gh.tar.gz 1317640 BLAKE2B 083ac5981e291c6b35be8133478010c9e6541ea82ebe3e0cf2f5d629e1e23e10f24799c50fdbaacdf9b25f5688ea2f4fcbf46f149e469486a6b2393ce64c52ce SHA512 045c03aca620918f28ae8119da084060edc9543c910dee4551a2bb86cf4e16fa1434cbb9a6d727e4302eaf172fc3c90de9f57dbd7450963e87c6369caa1761fb
+DIST libsignal-ffi-vendor-0.41.1.tar.xz 35833064 BLAKE2B 02c83a6b3dc592df14f33379bc8476fb1458e4d427d038fe1fb395b66ebe34c1bd0bb36af50c0f7a9b0d1a0d793826702544e5af52803d1ef5855b6a16f441eb SHA512 16aa343750b090bb051fb11210bd9f2b69187eff9fe20537f691e3432045c9fc67f29b8e1e90deebb6de299c0d21e702a557e574a0a8da518eb61046cbbb4f5a

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
new file mode 100644
index 0000000000..aeeeba99ab
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES=" "
+
+inherit cargo
+
+DESCRIPTION="A C ABI library which exposes Signal protocol logic"
+HOMEPAGE="https://github.com/signalapp/libsignal"
+SRC_URI="
+	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${PN}-vendor-${PV}.tar.xz
+"
+S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+}
+
+src_install() {
+	dolib.a "${WORKDIR}/${P/-ffi/}/target/release/${PN/-/_}.a"
+}

diff --git a/dev-libs/libsignal-ffi/metadata.xml b/dev-libs/libsignal-ffi/metadata.xml
new file mode 100644
index 0000000000..96e749476d
--- /dev/null
+++ b/dev-libs/libsignal-ffi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<name>Julien Roy</name>
+		<email>julien@jroy.ca</email>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/signalapp/libsignal/issues</bugs-to>
+		<changelog>https://github.com/signalapp/libsignal/releases</changelog>
+		<remote-id type="github">signalapp/libsignal</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
  2024-03-20 11:46 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-03-20 11:43 ` Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-03-20 11:43 UTC (permalink / raw
  To: gentoo-commits

commit:     24f3ec758f9213426cdf536b4a16ce464a13e7f3
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Wed Mar 20 11:37:54 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Mar 20 11:37:54 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24f3ec75

dev-libs/libsignal-ffi: add missing BDEPEND

Closes: https://bugs.gentoo.org/927325
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 .../{libsignal-ffi-0.41.1.ebuild => libsignal-ffi-0.41.1-r1.ebuild}   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
similarity index 97%
rename from dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
rename to dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
index aeeeba99ab..d901ea131e 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
@@ -23,6 +23,10 @@ LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
 
+BDEPEND="
+	dev-libs/protobuf
+"
+
 src_unpack() {
 	default
 	cargo_gen_config


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
  2024-03-22  0:24 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-03-22  0:24 ` Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-03-22  0:24 UTC (permalink / raw
  To: gentoo-commits

commit:     afa46c05e97bbd4f2b5c9358ffcf0a00024bed5e
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Mar 22 00:23:46 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Mar 22 00:23:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afa46c05

dev-libs/libsignal-ffi: Add missing BDEPEND

Closes: https://bugs.gentoo.org/927382
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
index d901ea131e..2b0b0c3cd1 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
@@ -25,6 +25,7 @@ KEYWORDS="~amd64"
 
 BDEPEND="
 	dev-libs/protobuf
+	sys-devel/clang
 "
 
 src_unpack() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-04-06  0:06 Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-04-06  0:06 UTC (permalink / raw
  To: gentoo-commits

commit:     638734e5c32977840cf3598f6f3aab7ec1c4cc58
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Apr  5 23:57:37 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Apr  5 23:57:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=638734e5

dev-libs/libsignal-ffi: add 0.44.0

Closes: https://bugs.gentoo.org/927803
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 +
 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 49 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index 16e85f6e91..b684ea16d0 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -1,2 +1,4 @@
 DIST libsignal-ffi-0.41.1.gh.tar.gz 1317640 BLAKE2B 083ac5981e291c6b35be8133478010c9e6541ea82ebe3e0cf2f5d629e1e23e10f24799c50fdbaacdf9b25f5688ea2f4fcbf46f149e469486a6b2393ce64c52ce SHA512 045c03aca620918f28ae8119da084060edc9543c910dee4551a2bb86cf4e16fa1434cbb9a6d727e4302eaf172fc3c90de9f57dbd7450963e87c6369caa1761fb
+DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0a1deb90d3bf12b236285d28b052bd7c2433e55b6f49b9583221f3f1af05b8efa6908179e9e8033cd97d8dcbfb13fdff6fe3035aa0 SHA512 5813be8ecb51e00bc544f5e92335f4fad4a7783254364cbe8a1377e690eac3d348b4f44e5eb3bd603661205135220c9cae321dd167ad5bdfe349618bf6dff77b
+DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784
 DIST libsignal-ffi-vendor-0.41.1.tar.xz 35833064 BLAKE2B 02c83a6b3dc592df14f33379bc8476fb1458e4d427d038fe1fb395b66ebe34c1bd0bb36af50c0f7a9b0d1a0d793826702544e5af52803d1ef5855b6a16f441eb SHA512 16aa343750b090bb051fb11210bd9f2b69187eff9fe20537f691e3432045c9fc67f29b8e1e90deebb6de299c0d21e702a557e574a0a8da518eb61046cbbb4f5a

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
new file mode 100644
index 0000000000..431f87aca3
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES=" "
+
+inherit cargo
+
+DESCRIPTION="A C ABI library which exposes Signal protocol logic"
+HOMEPAGE="https://github.com/signalapp/libsignal"
+SRC_URI="
+	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${P}-vendor.tar.xz
+"
+S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+	dev-libs/protobuf
+	sys-devel/clang
+"
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+}
+
+src_install() {
+	if [ "$(use debug)" ]; then
+		TARGET=debug
+	else
+		TARGET=release
+	fi
+
+	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
  2024-04-06  1:19 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-04-06  0:06 ` Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-04-06  0:06 UTC (permalink / raw
  To: gentoo-commits

commit:     af524c6606e9dd873d0ca6db410265c683bf424b
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Apr  5 23:58:03 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Apr  5 23:58:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=af524c66

dev-libs/libsignal-ffi: drop 0.41.1-r1

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 -
 .../libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild   | 43 ----------------------
 2 files changed, 45 deletions(-)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index b684ea16d0..d4183f790c 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -1,4 +1,2 @@
-DIST libsignal-ffi-0.41.1.gh.tar.gz 1317640 BLAKE2B 083ac5981e291c6b35be8133478010c9e6541ea82ebe3e0cf2f5d629e1e23e10f24799c50fdbaacdf9b25f5688ea2f4fcbf46f149e469486a6b2393ce64c52ce SHA512 045c03aca620918f28ae8119da084060edc9543c910dee4551a2bb86cf4e16fa1434cbb9a6d727e4302eaf172fc3c90de9f57dbd7450963e87c6369caa1761fb
 DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0a1deb90d3bf12b236285d28b052bd7c2433e55b6f49b9583221f3f1af05b8efa6908179e9e8033cd97d8dcbfb13fdff6fe3035aa0 SHA512 5813be8ecb51e00bc544f5e92335f4fad4a7783254364cbe8a1377e690eac3d348b4f44e5eb3bd603661205135220c9cae321dd167ad5bdfe349618bf6dff77b
 DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784
-DIST libsignal-ffi-vendor-0.41.1.tar.xz 35833064 BLAKE2B 02c83a6b3dc592df14f33379bc8476fb1458e4d427d038fe1fb395b66ebe34c1bd0bb36af50c0f7a9b0d1a0d793826702544e5af52803d1ef5855b6a16f441eb SHA512 16aa343750b090bb051fb11210bd9f2b69187eff9fe20537f691e3432045c9fc67f29b8e1e90deebb6de299c0d21e702a557e574a0a8da518eb61046cbbb4f5a

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
deleted file mode 100644
index 2b0b0c3cd1..0000000000
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.41.1-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# Autogenerated by pycargoebuild 0.13.1
-
-EAPI=8
-
-CRATES=" "
-
-inherit cargo
-
-DESCRIPTION="A C ABI library which exposes Signal protocol logic"
-HOMEPAGE="https://github.com/signalapp/libsignal"
-SRC_URI="
-	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
-	https://jroy.ca/dist/${PN}-vendor-${PV}.tar.xz
-"
-S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
-
-LICENSE="AGPL-3"
-# Dependent crate licenses
-LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
-SLOT="0"
-KEYWORDS="~amd64"
-
-BDEPEND="
-	dev-libs/protobuf
-	sys-devel/clang
-"
-
-src_unpack() {
-	default
-	cargo_gen_config
-	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
-	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
-	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
-}
-
-src_install() {
-	dolib.a "${WORKDIR}/${P/-ffi/}/target/release/${PN/-/_}.a"
-}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-04-07 15:25 Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-04-07 15:25 UTC (permalink / raw
  To: gentoo-commits

commit:     8f0215a727221fff39ec55107e4c3226a8b49581
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sun Apr  7 14:32:06 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Apr  7 14:32:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8f0215a7

dev-libs/libsignal-ffi: add debug USE flag

Closes: https://bugs.gentoo.org/928858
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
index 431f87aca3..30daaba809 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -22,6 +22,7 @@ LICENSE="AGPL-3"
 LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="debug"
 
 BDEPEND="
 	dev-libs/protobuf


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
  2024-04-08 11:44 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-04-08 11:44 ` Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-04-08 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     f000b2225940397c21f59be749688e4f322a04e9
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr  8 11:24:04 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr  8 11:29:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f000b222

dev-libs/libsignal-ffi: fix if condition

Closes: https://bugs.gentoo.org/928913
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
index 30daaba809..2fdf4530e7 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -40,7 +40,7 @@ src_unpack() {
 }
 
 src_install() {
-	if [ "$(use debug)" ]; then
+	if use debug; then
 		TARGET=debug
 	else
 		TARGET=release


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-05-14 19:07 Julien Roy
  0 siblings, 0 replies; 15+ messages in thread
From: Julien Roy @ 2024-05-14 19:07 UTC (permalink / raw
  To: gentoo-commits

commit:     d98d8db0ccb4080edcc6b4c0da525401869bb8fc
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Tue May 14 19:01:49 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 14 19:01:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d98d8db0

dev-libs/libsignal-ffi: add 0.46.0

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-libs/libsignal-ffi/Manifest                    |  2 +
 dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild | 50 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index d4183f790c..d4f5fb747a 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -1,2 +1,4 @@
 DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0a1deb90d3bf12b236285d28b052bd7c2433e55b6f49b9583221f3f1af05b8efa6908179e9e8033cd97d8dcbfb13fdff6fe3035aa0 SHA512 5813be8ecb51e00bc544f5e92335f4fad4a7783254364cbe8a1377e690eac3d348b4f44e5eb3bd603661205135220c9cae321dd167ad5bdfe349618bf6dff77b
 DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784
+DIST libsignal-ffi-0.46.0-vendor.tar.xz 33689364 BLAKE2B 260ce4c19f4f1467a32cc1a78af5e76def16acb0fa9c0fed74ddef345ec187523c5efa8f1cb49846346fd2d584076f014a6ba52d5c0ed3c8831ffb85c6e09288 SHA512 df5cb098b863c88d7451bb84bb43b5441d39ee9de37aacd7fd388b020c7827567c6adc088ea7a2c675562a0e6e4745e8c3fbebf4dcfc8051fa80378081815943
+DIST libsignal-ffi-0.46.0.gh.tar.gz 1405351 BLAKE2B fc9b4360b42b5ea925f11162736ae759008ec806c267e2bbfc4815ee501216e9669dc880528cd4cd4d6419496b4ffe61959d8af8cef99719878bd3c1eb02c309 SHA512 ca34ec4bb6d2931ba1b72c7c1640cb85e10b4418c305791494ba444afb7b9625c04d46c22eef2d070f66d7883e80f1a845b800ecd1344159877e84c757c78c0b

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
new file mode 100644
index 0000000000..2fdf4530e7
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES=" "
+
+inherit cargo
+
+DESCRIPTION="A C ABI library which exposes Signal protocol logic"
+HOMEPAGE="https://github.com/signalapp/libsignal"
+SRC_URI="
+	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://jroy.ca/dist/${P}-vendor.tar.xz
+"
+S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+BDEPEND="
+	dev-libs/protobuf
+	sys-devel/clang
+"
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+}
+
+src_install() {
+	if use debug; then
+		TARGET=debug
+	else
+		TARGET=release
+	fi
+
+	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-06-17  9:49 Alarig Le Lay
  0 siblings, 0 replies; 15+ messages in thread
From: Alarig Le Lay @ 2024-06-17  9:49 UTC (permalink / raw
  To: gentoo-commits

commit:     893b5880fbf3573f586c828a0ead5d897628f5d5
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Mon Jun 17 09:46:36 2024 +0000
Commit:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Mon Jun 17 09:46:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=893b5880

dev-libs/libsignal-ffi: add 0.51.0

Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 dev-libs/libsignal-ffi/Manifest                    |  2 +
 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 50 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index d4f5fb747..965e53253 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -2,3 +2,5 @@ DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0
 DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784
 DIST libsignal-ffi-0.46.0-vendor.tar.xz 33689364 BLAKE2B 260ce4c19f4f1467a32cc1a78af5e76def16acb0fa9c0fed74ddef345ec187523c5efa8f1cb49846346fd2d584076f014a6ba52d5c0ed3c8831ffb85c6e09288 SHA512 df5cb098b863c88d7451bb84bb43b5441d39ee9de37aacd7fd388b020c7827567c6adc088ea7a2c675562a0e6e4745e8c3fbebf4dcfc8051fa80378081815943
 DIST libsignal-ffi-0.46.0.gh.tar.gz 1405351 BLAKE2B fc9b4360b42b5ea925f11162736ae759008ec806c267e2bbfc4815ee501216e9669dc880528cd4cd4d6419496b4ffe61959d8af8cef99719878bd3c1eb02c309 SHA512 ca34ec4bb6d2931ba1b72c7c1640cb85e10b4418c305791494ba444afb7b9625c04d46c22eef2d070f66d7883e80f1a845b800ecd1344159877e84c757c78c0b
+DIST libsignal-ffi-0.51.0-vendor.tar.xz 45717128 BLAKE2B b062ae6884bfcc70d793b6aa4bfbb32c5a6ee129617c931fe77a75632429d03783bff8aa660446f91b8b1a46fa5fa208eb1b8291a5c0f5683d768d7902be3b6d SHA512 ec9315421da4997138284c896d4cbaf6a0cbcd911eef3d8d3dd4ae1bf97577dfe61ef3681abc9886a9b1e110794ccaae427de059cd8d5644e004657739b07d83
+DIST libsignal-ffi-0.51.0.gh.tar.gz 1482490 BLAKE2B c2f27c33e20c3b2701ea7025197371d8ed2f161123ecc58c2f50f5df7ca561f4295ae4142372e6d437d1203d3a148031604f6da69cfc231d8c580ba694be653a SHA512 646cb30451dc08f5659f61ea808d19d07336c7731c2309cb950e5f94e3993221ff7cb8311512c1490bbb09b6378f4cc14dfc2ff0689d6e3e7494f2b8a8769406

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
new file mode 100644
index 000000000..e45e06f0f
--- /dev/null
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Autogenerated by pycargoebuild 0.13.1
+
+EAPI=8
+
+CRATES=" "
+
+inherit cargo
+
+DESCRIPTION="A C ABI library which exposes Signal protocol logic"
+HOMEPAGE="https://github.com/signalapp/libsignal"
+SRC_URI="
+	https://github.com/signalapp/libsignal/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
+	https://herbizarre.swordarmor.fr/garbage/${P}-vendor.tar.xz
+"
+S="${WORKDIR}/libsignal-${PV}/rust/bridge/ffi"
+
+LICENSE="AGPL-3"
+# Dependent crate licenses
+LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug"
+
+BDEPEND="
+	dev-libs/protobuf
+	sys-devel/clang
+"
+
+src_unpack() {
+	default
+	cargo_gen_config
+	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
+	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
+	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+}
+
+src_install() {
+	if use debug; then
+		TARGET=debug
+	else
+		TARGET=release
+	fi
+
+	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-06-17 12:38 Alarig Le Lay
  0 siblings, 0 replies; 15+ messages in thread
From: Alarig Le Lay @ 2024-06-17 12:38 UTC (permalink / raw
  To: gentoo-commits

commit:     b9099803b10d5ca727c476a5df7d7643464204c2
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Mon Jun 17 12:37:11 2024 +0000
Commit:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Mon Jun 17 12:37:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9099803

dev-libs/libsignal-ffi: Fixing manifest and useless variables

Thanks @antecrescent for the review

Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 dev-libs/libsignal-ffi/Manifest                    | 2 +-
 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 3 ---
 2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-libs/libsignal-ffi/Manifest b/dev-libs/libsignal-ffi/Manifest
index 965e53253..ac6392800 100644
--- a/dev-libs/libsignal-ffi/Manifest
+++ b/dev-libs/libsignal-ffi/Manifest
@@ -2,5 +2,5 @@ DIST libsignal-ffi-0.44.0-vendor.tar.xz 33303356 BLAKE2B eee56cf615b8d84a1303fb0
 DIST libsignal-ffi-0.44.0.gh.tar.gz 1382003 BLAKE2B 9984a430e03b908468e0c773e717deb3a4d9e3997680ebd2a0f536c1377407edbd092f8f81b3bfdef8fff4cd8836f7bddfccd2190610216d283cd8da84ea73fd SHA512 ef5bb03e2ebf37aefb31eb7c2e6c5196d07ca90f056e834a580f6293505789cd56268296a4ebc44b60b7550f2d6995ff1d8e4d27e73e783dedc29d097135d784
 DIST libsignal-ffi-0.46.0-vendor.tar.xz 33689364 BLAKE2B 260ce4c19f4f1467a32cc1a78af5e76def16acb0fa9c0fed74ddef345ec187523c5efa8f1cb49846346fd2d584076f014a6ba52d5c0ed3c8831ffb85c6e09288 SHA512 df5cb098b863c88d7451bb84bb43b5441d39ee9de37aacd7fd388b020c7827567c6adc088ea7a2c675562a0e6e4745e8c3fbebf4dcfc8051fa80378081815943
 DIST libsignal-ffi-0.46.0.gh.tar.gz 1405351 BLAKE2B fc9b4360b42b5ea925f11162736ae759008ec806c267e2bbfc4815ee501216e9669dc880528cd4cd4d6419496b4ffe61959d8af8cef99719878bd3c1eb02c309 SHA512 ca34ec4bb6d2931ba1b72c7c1640cb85e10b4418c305791494ba444afb7b9625c04d46c22eef2d070f66d7883e80f1a845b800ecd1344159877e84c757c78c0b
-DIST libsignal-ffi-0.51.0-vendor.tar.xz 45717128 BLAKE2B b062ae6884bfcc70d793b6aa4bfbb32c5a6ee129617c931fe77a75632429d03783bff8aa660446f91b8b1a46fa5fa208eb1b8291a5c0f5683d768d7902be3b6d SHA512 ec9315421da4997138284c896d4cbaf6a0cbcd911eef3d8d3dd4ae1bf97577dfe61ef3681abc9886a9b1e110794ccaae427de059cd8d5644e004657739b07d83
+DIST libsignal-ffi-0.51.0-vendor.tar.xz 45705656 BLAKE2B 9cedcb219161b100d0b24319f3b1fd69d9ca6784d94b748bde12e4cb5f1621e6b71cc6b7909db6fc60b2ef45de4ad12992a902c5d86d79e6d4620fb47c0552cb SHA512 633cd8fcafd9b0f0c4454e6a56900c4188b2bd6cd8078517f6ad6ddb26cc07c9b53f5419239956007d2b770132834dd7384bfc65ae5ce552ac2d6e9950777b5c
 DIST libsignal-ffi-0.51.0.gh.tar.gz 1482490 BLAKE2B c2f27c33e20c3b2701ea7025197371d8ed2f161123ecc58c2f50f5df7ca561f4295ae4142372e6d437d1203d3a148031604f6da69cfc231d8c580ba694be653a SHA512 646cb30451dc08f5659f61ea808d19d07336c7731c2309cb950e5f94e3993221ff7cb8311512c1490bbb09b6378f4cc14dfc2ff0689d6e3e7494f2b8a8769406

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
index e45e06f0f..6947f0c86 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -5,8 +5,6 @@
 
 EAPI=8
 
-CRATES=" "
-
 inherit cargo
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
@@ -22,7 +20,6 @@ LICENSE="AGPL-3"
 LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="debug"
 
 BDEPEND="
 	dev-libs/protobuf


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-06-17 12:42 Alarig Le Lay
  0 siblings, 0 replies; 15+ messages in thread
From: Alarig Le Lay @ 2024-06-17 12:42 UTC (permalink / raw
  To: gentoo-commits

commit:     e90037a0dc749bcc923aab742cbd6b9513e9c2de
Author:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
AuthorDate: Mon Jun 17 12:42:17 2024 +0000
Commit:     Alarig Le Lay <alarig <AT> swordarmor <DOT> fr>
CommitDate: Mon Jun 17 12:42:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e90037a0

dev-libs/libsignal-ffi: Make only one sed call for cargo toml

Signed-off-by: Alarig Le Lay <alarig <AT> swordarmor.fr>

 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
index 6947f0c86..daf5f5e7a 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -30,9 +30,11 @@ src_unpack() {
 	default
 	cargo_gen_config
 	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
-	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
+	sed -i "${ECARGO_HOME}/config" \
+		-e '/source.crates-io/d' \
+		-e '/replace-with = "gentoo"/d' \
+		-e '/local-registry = "\/nonexistent"/d' \
+		|| die
 	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
 }
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-08-07 13:59 Lucio Sauer
  0 siblings, 0 replies; 15+ messages in thread
From: Lucio Sauer @ 2024-08-07 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     e50a65b49039fcbb6213f24a5ed6e3434486c8da
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed Aug  7 12:10:41 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed Aug  7 13:56:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e50a65b4

dev-libs/libsignal-ffi: update Cargo config file name

d57601effef63b266afe7df5c8cb7dae52fa44ac renamed deprecated config to
config.toml

Closes: https://bugs.gentoo.org/937498
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 13 ++++++-------
 dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild | 13 ++++++-------
 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild |  4 ++--
 3 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
index 2fdf4530e..299a61715 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -5,8 +5,6 @@
 
 EAPI=8
 
-CRATES=" "
-
 inherit cargo
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
@@ -22,7 +20,6 @@ LICENSE="AGPL-3"
 LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="debug"
 
 BDEPEND="
 	dev-libs/protobuf
@@ -33,10 +30,12 @@ src_unpack() {
 	default
 	cargo_gen_config
 	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
-	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
-	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+	sed -i "${ECARGO_HOME}/config.toml" \
+		-e '/source.crates-io/d' \
+		-e '/replace-with = "gentoo"/d' \
+		-e '/local-registry = "\/nonexistent"/d' \
+		|| die
+	cat vendor/vendor-config.toml >> "${ECARGO_HOME}/config.toml" || die
 }
 
 src_install() {

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
index 2fdf4530e..299a61715 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
@@ -5,8 +5,6 @@
 
 EAPI=8
 
-CRATES=" "
-
 inherit cargo
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
@@ -22,7 +20,6 @@ LICENSE="AGPL-3"
 LICENSE+=" AGPL-3 Apache-2.0 BSD-2 BSD ISC MIT Unicode-DFS-2016"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="debug"
 
 BDEPEND="
 	dev-libs/protobuf
@@ -33,10 +30,12 @@ src_unpack() {
 	default
 	cargo_gen_config
 	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
-	sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d'  || die
-	sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d'  || die
-	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+	sed -i "${ECARGO_HOME}/config.toml" \
+		-e '/source.crates-io/d' \
+		-e '/replace-with = "gentoo"/d' \
+		-e '/local-registry = "\/nonexistent"/d' \
+		|| die
+	cat vendor/vendor-config.toml >> "${ECARGO_HOME}/config.toml" || die
 }
 
 src_install() {

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
index daf5f5e7a..577f3cf6a 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -30,12 +30,12 @@ src_unpack() {
 	default
 	cargo_gen_config
 	ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die
-	sed -i "${ECARGO_HOME}/config" \
+	sed -i "${ECARGO_HOME}/config.toml" \
 		-e '/source.crates-io/d' \
 		-e '/replace-with = "gentoo"/d' \
 		-e '/local-registry = "\/nonexistent"/d' \
 		|| die
-	cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die
+	cat vendor/vendor-config.toml >> "${ECARGO_HOME}/config.toml" || die
 }
 
 src_install() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-08-09 14:56 Lucio Sauer
  0 siblings, 0 replies; 15+ messages in thread
From: Lucio Sauer @ 2024-08-09 14:56 UTC (permalink / raw
  To: gentoo-commits

commit:     fec6701bed41fe4ba68e3e79780d51b8a3b2e450
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Fri Aug  9 14:23:40 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Fri Aug  9 14:23:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fec6701b

dev-libs/libsignal-ffi: fix Cargo target directory

Following recent cargo eclass changes
(27d469a2114b4ad0b3e682854c50c806753eb472) the Cargo target directory
unconditionally contains $(rust_abi) in its path.

Closes: https://bugs.gentoo.org/937602
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 8 +-------
 dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild | 8 +-------
 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 8 +-------
 3 files changed, 3 insertions(+), 21 deletions(-)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
index 299a61715..924742f74 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -39,11 +39,5 @@ src_unpack() {
 }
 
 src_install() {
-	if use debug; then
-		TARGET=debug
-	else
-		TARGET=release
-	fi
-
-	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+	dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
 }

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
index 299a61715..924742f74 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
@@ -39,11 +39,5 @@ src_unpack() {
 }
 
 src_install() {
-	if use debug; then
-		TARGET=debug
-	else
-		TARGET=release
-	fi
-
-	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+	dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
 }

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
index 577f3cf6a..095652862 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -39,11 +39,5 @@ src_unpack() {
 }
 
 src_install() {
-	if use debug; then
-		TARGET=debug
-	else
-		TARGET=release
-	fi
-
-	dolib.a "${WORKDIR}/${P/-ffi/}/target/${TARGET}/${PN/-/_}.a"
+	dolib.a "${WORKDIR}/${P/-ffi/}/$(cargo_target_dir)/${PN/-/_}.a"
 }


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
@ 2024-10-13  9:21 Takuya Wakazono
  0 siblings, 0 replies; 15+ messages in thread
From: Takuya Wakazono @ 2024-10-13  9:21 UTC (permalink / raw
  To: gentoo-commits

commit:     9e4135ee77676657af24d114533317c87de3e526
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Oct 13 06:28:28 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun Oct 13 06:28:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9e4135ee

dev-libs/libsignal-ffi: fix clang dependency

Use llvm-r1 to properly set up clang for bindgen.

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild | 6 ++++--
 dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild | 6 ++++--
 dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 6 ++++--
 3 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
index 924742f74..adc0251a2 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.44.0.ebuild
@@ -5,7 +5,9 @@
 
 EAPI=8
 
-inherit cargo
+LLVM_COMPAT=( {18..19} )
+
+inherit cargo llvm-r1
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
 HOMEPAGE="https://github.com/signalapp/libsignal"
@@ -23,7 +25,7 @@ KEYWORDS="~amd64"
 
 BDEPEND="
 	dev-libs/protobuf
-	sys-devel/clang
+	$(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}')
 "
 
 src_unpack() {

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
index 924742f74..adc0251a2 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.46.0.ebuild
@@ -5,7 +5,9 @@
 
 EAPI=8
 
-inherit cargo
+LLVM_COMPAT=( {18..19} )
+
+inherit cargo llvm-r1
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
 HOMEPAGE="https://github.com/signalapp/libsignal"
@@ -23,7 +25,7 @@ KEYWORDS="~amd64"
 
 BDEPEND="
 	dev-libs/protobuf
-	sys-devel/clang
+	$(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}')
 "
 
 src_unpack() {

diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
index 095652862..6f8f1f580 100644
--- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
+++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild
@@ -5,7 +5,9 @@
 
 EAPI=8
 
-inherit cargo
+LLVM_COMPAT=( {18..19} )
+
+inherit cargo llvm-r1
 
 DESCRIPTION="A C ABI library which exposes Signal protocol logic"
 HOMEPAGE="https://github.com/signalapp/libsignal"
@@ -23,7 +25,7 @@ KEYWORDS="~amd64"
 
 BDEPEND="
 	dev-libs/protobuf
-	sys-devel/clang
+	$(llvm_gen_dep 'sys-devel/clang:${LLVM_SLOT}')
 "
 
 src_unpack() {


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

end of thread, other threads:[~2024-10-13  9:21 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-19 22:06 [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/ Julien Roy
2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-03-20 11:46 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-20 11:43 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-03-22  0:24 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-22  0:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-06  0:06 Julien Roy
2024-04-06  1:19 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-06  0:06 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-07 15:25 Julien Roy
2024-04-08 11:44 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-08 11:44 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-14 19:07 Julien Roy
2024-06-17  9:49 Alarig Le Lay
2024-06-17 12:38 Alarig Le Lay
2024-06-17 12:42 Alarig Le Lay
2024-08-07 13:59 Lucio Sauer
2024-08-09 14:56 Lucio Sauer
2024-10-13  9:21 Takuya Wakazono

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