x11-plugins/purple-libnotify-plus: add 2.99.2

Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/44932
Closes: https://github.com/gentoo/gentoo/pull/44932
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Cristian Othón Martínez Vera
2026-01-10 12:53:41 +00:00
committed by Sam James
parent 92c6bdcfc2
commit 6a7c388dfc
3 changed files with 73 additions and 0 deletions
@@ -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
@@ -0,0 +1,43 @@
# https://bugs.gentoo.org/955791
# https://bugs.gentoo.org/717422
# From: Bill Prendergast <dek.devel@baisenvar.info>
--- 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)
@@ -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 )