public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/
Date: Sat,  6 Apr 2024 00:06:07 +0000 (UTC)	[thread overview]
Message-ID: <1712361457.638734e5c32977840cf3598f6f3aab7ec1c4cc58.julien@gentoo> (raw)

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"
+}


WARNING: multiple messages have this Message-ID (diff)
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/
Date: Sat,  6 Apr 2024 01:19:39 +0000 (UTC)	[thread overview]
Message-ID: <1712361457.638734e5c32977840cf3598f6f3aab7ec1c4cc58.julien@gentoo> (raw)
Message-ID: <20240406011939.AhkhpD7zaL4WhbdOENRZL4sTeU6EqxPoKxqpM1kRQNY@z> (raw)

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"
+}


             reply	other threads:[~2024-04-06  0:06 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06  0:06 Julien Roy [this message]
2024-04-06  1:19 ` [gentoo-commits] repo/proj/guru:master commit in: dev-libs/libsignal-ffi/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2025-01-11 22:19 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-11-19 10:42 Julien Roy
2024-11-19 10:42 Julien Roy
2024-10-13  9:21 Takuya Wakazono
2024-08-09 14:56 Lucio Sauer
2024-08-07 13:59 Lucio Sauer
2024-06-17 12:42 Alarig Le Lay
2024-06-17 12:38 Alarig Le Lay
2024-06-17  9:49 Alarig Le Lay
2024-05-14 19:07 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-04-07 15:25 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-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-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-19 22:06 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1712361457.638734e5c32977840cf3598f6f3aab7ec1c4cc58.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox