From 6a7c388dfcf728d28126bfe7f0e61fffb3775b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Oth=C3=B3n=20Mart=C3=ADnez=20Vera?= Date: Sat, 6 Dec 2025 19:48:47 -0600 Subject: [PATCH] x11-plugins/purple-libnotify-plus: add 2.99.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Cristian Othón Martínez Vera Part-of: https://github.com/gentoo/gentoo/pull/44932 Closes: https://github.com/gentoo/gentoo/pull/44932 Signed-off-by: Sam James --- x11-plugins/purple-libnotify-plus/Manifest | 1 + ...ple-libnotify-plus-2.99.2-fno-common.patch | 43 +++++++++++++++++++ .../purple-libnotify-plus-2.99.2.ebuild | 29 +++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.2-fno-common.patch create mode 100644 x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.2.ebuild diff --git a/x11-plugins/purple-libnotify-plus/Manifest b/x11-plugins/purple-libnotify-plus/Manifest index 72d8e1a414986..2dc162b5fdb2c 100644 --- a/x11-plugins/purple-libnotify-plus/Manifest +++ b/x11-plugins/purple-libnotify-plus/Manifest @@ -1 +1,2 @@ DIST purple-libnotify-plus-2.99.1.tar.gz 20168 BLAKE2B bab24be1a541ae50fbbbacb0fa507f0e6000c3e74f1fa75ccceb809de88012f7492ec29ae96cf303cb38463e3af0c916aaead9365d5dce18904b34844e1e8c64 SHA512 436c2363c05b21f0a980e020fe09f3f285e8c9a4d131377f20ec13ecf5ce6ef1bea8ca6ae16de6154657e5d4a9b0229204e7f48a6807d36e516b95248daf11bf +DIST purple-libnotify-plus-2.99.2.tar.gz 19869 BLAKE2B c54f743c181f25062e9a5f9e693a50582138f3f2130b63fc7776fc65783f771ecc1b3ff1d410236cff6fe28aaa9c61db885c68a126547e2b8d6138efe02fcd0d SHA512 03e237eef8f2e9e202d5097ffe6f440dfecb42ebb16044eba4d2e4305cd1375edb7845164b66f1acf739338cf49fcde713762cf28260b99d06e1f41ee5e427a7 diff --git a/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.2-fno-common.patch b/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.2-fno-common.patch new file mode 100644 index 0000000000000..038b8b717848b --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/files/purple-libnotify-plus-2.99.2-fno-common.patch @@ -0,0 +1,43 @@ +# https://bugs.gentoo.org/955791 +# https://bugs.gentoo.org/717422 +# From: Bill Prendergast + +--- a/meson.build ++++ b/meson.build +@@ -23,7 +23,6 @@ + add_project_arguments( + '-fvisibility=hidden', + '-Wno-unused-parameter', +- '-fcommon', + language: 'c' + ) + +--- a/src/purple-libnotify+-common.h ++++ b/src/purple-libnotify+-common.h +@@ -27,13 +27,14 @@ + + extern PurplePlugin *notify_plus; + +-struct ++struct notify_plus_data_ + { + gboolean modify_notification; + gboolean use_svg; + gboolean overlay_icon; + gboolean set_transient; + gboolean actions; +-} notify_plus_data; ++}; ++extern struct notify_plus_data_ notify_plus_data; + + #endif /* __PURPLE_LIBNOTIFY_PLUS_COMMON_H__ */ +--- a/src/purple-libnotify+.c ++++ b/src/purple-libnotify+.c +@@ -31,6 +31,7 @@ + #include "purple-libnotify+-frames.h" + + PurplePlugin *notify_plus = NULL; ++struct notify_plus_data_ notify_plus_data; + + static void + _purple_notify_plus_signed_on(PurpleBuddy *buddy, PurplePlugin *plugin) diff --git a/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.2.ebuild b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.2.ebuild new file mode 100644 index 0000000000000..b96828189febe --- /dev/null +++ b/x11-plugins/purple-libnotify-plus/purple-libnotify-plus-2.99.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +DESCRIPTION="Provide libnotify interface to Pidgin and Finch" +HOMEPAGE="https://github.com/sardemff7/purple-libnotify-plus" +SRC_URI="https://github.com/sardemff7/purple-libnotify-plus/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-libs/glib:2 + net-im/pidgin + >=net-im/purple-events-0.99.1 + x11-libs/gdk-pixbuf:2 + >=x11-libs/libnotify-0.7.0 +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/${P}-fno-common.patch )