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:master commit in: dev-libs/libsignal-ffi/
Date: Tue, 19 Mar 2024 22:06:35 +0000 (UTC)	[thread overview]
Message-ID: <1710883321.9d454654994a086246809683d763755664caf9b1.julien@gentoo> (raw)

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>


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:dev commit in: dev-libs/libsignal-ffi/
Date: Tue, 19 Mar 2024 21:24:26 +0000 (UTC)	[thread overview]
Message-ID: <1710883321.9d454654994a086246809683d763755664caf9b1.julien@gentoo> (raw)
Message-ID: <20240319212426.sObcKkhDnc-gs0k6w1ds2mxEJCYLH5ConLBKQpDDfKA@z> (raw)

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>


             reply	other threads:[~2024-03-19 22:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 22:06 Julien Roy [this message]
2024-03-19 21:24 ` [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/libsignal-ffi/ 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-22  0:24 Julien Roy
2024-04-06  0:06 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-06  1:19 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-06  1:19 Julien Roy
2024-04-07 15:25 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-04-07 15:46 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-08 11:44 Julien Roy
2024-05-14 19:07 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-14 19:12 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-06-17 21:40 Julien Roy
2024-06-17 21:40 Julien Roy
2024-06-17 21:40 Julien Roy
2024-08-07 13:59 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-07 23:36 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-08-09 14:56 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2024-08-10 14:33 ` [gentoo-commits] repo/proj/guru:master " Lucio Sauer
2024-10-13 14:51 David Roman
2024-11-19 10:42 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-11-19 10:46 ` [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-11-19 10:42 [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-11-19 10:46 ` [gentoo-commits] repo/proj/guru:master " 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=1710883321.9d454654994a086246809683d763755664caf9b1.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