commit:     2c297a5d6acec05aaa94de3215be947d12ef86a5
Author:     Cristian Othón Martínez Vera <cfuga <AT> cfuga <DOT> mx>
AuthorDate: Wed Mar 26 16:55:54 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 10 09:32:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c297a5d

x11-plugins/pidgin-encryption: drop strip/replace compiler flags by default

+20 years ago there's was a bug with ```net-im/gaim```, probably caused by
gcc-2.95 and ```-Os``` optimization.

The following developers and maintainers just copied those lines when bumping
versions, and nobody tried to remove them with new Gaim/Pidgin/GCC versions.

Also ```x11-plugins/pidgin-encryption``` has the same code; I guess the Gentoo
maintainer/developer was extra cautious.

Bug: https://bugs.gentoo.org/29394
Signed-off-by: Cristian Othón Martínez Vera <cfuga <AT> cfuga.mx>
Closes: https://github.com/gentoo/gentoo/pull/41309
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pidgin-encryption-3.1-r4.ebuild                | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r4.ebuild 
b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r4.ebuild
new file mode 100644
index 000000000000..6dec4ae5a551
--- /dev/null
+++ b/x11-plugins/pidgin-encryption/pidgin-encryption-3.1-r4.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Pidgin IM Encryption PlugIn"
+HOMEPAGE="https://pidgin-encrypt.sourceforge.net/";
+SRC_URI="https://downloads.sourceforge.net/pidgin-encrypt/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="nls"
+
+BDEPEND="virtual/pkgconfig"
+RDEPEND="
+       >=dev-libs/nss-3.11
+       net-im/pidgin[gui]
+       x11-libs/gtk+:2
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+       "${FILESDIR}/${P}-glib2.32.patch"
+       "${FILESDIR}/${P}-time.patch"
+       "${FILESDIR}/${P}-includes.patch"
+)
+
+src_configure() {
+       econf $(use_enable nls)
+}
+
+src_install() {
+       emake install DESTDIR="${ED}"
+       dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
+
+       find "${ED}" -type f -name "*.la" -delete || die
+}

Reply via email to