diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /x11-plugins/pidgin-gpg | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'x11-plugins/pidgin-gpg')
| -rw-r--r-- | x11-plugins/pidgin-gpg/Manifest | 1 | ||||
| -rw-r--r-- | x11-plugins/pidgin-gpg/files/pidgin-gpg-0.9.3_musl-support.patch | 32 | ||||
| -rw-r--r-- | x11-plugins/pidgin-gpg/metadata.xml | 13 | ||||
| -rw-r--r-- | x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3-r1.ebuild | 35 |
4 files changed, 81 insertions, 0 deletions
diff --git a/x11-plugins/pidgin-gpg/Manifest b/x11-plugins/pidgin-gpg/Manifest new file mode 100644 index 000000000000..df2f2ce9ad1b --- /dev/null +++ b/x11-plugins/pidgin-gpg/Manifest @@ -0,0 +1 @@ +DIST pidgin-gpg-0.9.3.tar.gz 806492 BLAKE2B 67ca75307419fe25d6a7f90ce33f63e736eae59e0cab9fd2fafbf7f9ccd61569fb9906e755163400c462bcd63fa8e9b1e42deb98e459fb9e070d73de9cfb28ab SHA512 bff7ec08d7999d40b689aabc0b559b7eab1fae765b6ffc799e355601ac3a2bb05c3831c1e56e30b95f387c446f7d07d1576af7e7824094fca9ac6c6636d62f6c diff --git a/x11-plugins/pidgin-gpg/files/pidgin-gpg-0.9.3_musl-support.patch b/x11-plugins/pidgin-gpg/files/pidgin-gpg-0.9.3_musl-support.patch new file mode 100644 index 000000000000..47de6808fd5c --- /dev/null +++ b/x11-plugins/pidgin-gpg/files/pidgin-gpg-0.9.3_musl-support.patch @@ -0,0 +1,32 @@ +From https://github.com/Draghtnod/Pidgin-GPG/pull/9 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Sat, 17 Feb 2024 13:28:40 +0300 +Subject: [PATCH] Fix compilation on MUSL systems + +In MUSL encrypt() is part of unistd.h, which conflicts with internal +static function encrypt(). Renamed last one to fix that. + +See: https://bugs.gentoo.org/831185 +--- a/src/pidgin-gpg.c ++++ b/src/pidgin-gpg.c +@@ -604,7 +604,7 @@ static char* verify( const char* sig_str ) { + * encrypt a plain string with the key found with fingerprint fpr + * FREE MEMORY AFTER USAGE OF RETURN VALUE! + * ------------------ */ +-static char* encrypt( gpgme_ctx_t* ctx, gpgme_key_t* key_arr, const char* plain_str, const char* fpr ) { ++static char* pidgin_gpg_encrypt( gpgme_ctx_t* ctx, gpgme_key_t* key_arr, const char* plain_str, const char* fpr ) { + if( ctx == NULL ) { + purple_debug_error( PLUGIN_ID, "encrypt: missing ctx\n" ); + return NULL; +@@ -1054,7 +1054,7 @@ void jabber_send_signal_cb( PurpleConnection* pc, xmlnode** packet, gpointer unu + g_free( bare_jid ); + + // encrypt message +- enc_str = encrypt( &item->ctx, item->key_arr, message, item->fpr ); ++ enc_str = pidgin_gpg_encrypt( &item->ctx, item->key_arr, message, item->fpr ); + g_free( message ); + if( enc_str != NULL ) { + // remove message from body +-- +2.43.0 + diff --git a/x11-plugins/pidgin-gpg/metadata.xml b/x11-plugins/pidgin-gpg/metadata.xml new file mode 100644 index 000000000000..becda8e6473a --- /dev/null +++ b/x11-plugins/pidgin-gpg/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>azamat.hackimov@gmail.com</email> + <name>Azamat H. Hackimov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3-r1.ebuild b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3-r1.ebuild new file mode 100644 index 000000000000..03ca90a1df37 --- /dev/null +++ b/x11-plugins/pidgin-gpg/pidgin-gpg-0.9.3-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Pidgin GPG/OpenPGP (XEP-0027) plugin" +HOMEPAGE="https://github.com/Draghtnod/Pidgin-GPG" +SRC_URI="https://github.com/Draghtnod/Pidgin-GPG/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~riscv ~x86" + +RDEPEND="app-crypt/gpgme:= + net-im/pidgin" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/Pidgin-GPG-${PV}" + +PATCHES=( + "${FILESDIR}/pidgin-gpg-0.9.3_musl-support.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |
