commit: a6b12564591db4a0b8a73a20272f5bbffc5429da Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Mon Apr 14 02:00:06 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Mon Apr 14 02:02:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b12564
net-im/telepathy-logger: add 0.8.2_p4 applying Debian fixes Multiple bugfixes from upstream, fix gcc14 compat, update gtk-doc, stop using deprecated APIs, fix XML errors in example code, add systemd user service file. Support python 3.13. Closes: https://bugs.gentoo.org/815901 Closes: https://bugs.gentoo.org/922718 Closes: https://bugs.gentoo.org/952586 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> net-im/telepathy-logger/Manifest | 1 + .../telepathy-logger-0.8.2_p4.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-im/telepathy-logger/Manifest b/net-im/telepathy-logger/Manifest index 6dc4a3253142..f3af291afced 100644 --- a/net-im/telepathy-logger/Manifest +++ b/net-im/telepathy-logger/Manifest @@ -1,2 +1,3 @@ DIST telepathy-logger-0.8.2-py3.patch 15181 BLAKE2B bebd153a519ee6cd4d7e3e04b4516e6fb53b6efea1d0693133ca5807686e115d08998e9e3ad0d6308d01945a0ac1b66010c3e312346dd238c43be1418574e11e SHA512 98cd5f9af7d4781be30b15c58ca6cd3a131b52dbc5cc38eae3423fc3377a02451782838d9f32575a71dd8d6ce7f46657e17f3dee29059a728bb8988d05c716ea DIST telepathy-logger-0.8.2.tar.bz2 562670 BLAKE2B 357d717136fe099ee3788bcd004d3eb14e83520c39a8412f4586181e0a1c98ac21be26931759b8f0439ab6f2f9b32aaf6cbf586619ab0fe40ef0f9581b301a29 SHA512 f3eda26133a4c38eeb79b01cbe3b7801a5eb773e8b4e6ce621c47d3ca701025364c6b2b890caea00104f01ba85ae891a6fad82d7a9dc487fd7a980221cede451 +DIST telepathy-logger_0.8.2-4.2.debian.tar.xz 18204 BLAKE2B c533070d03b721bb9b0a945820b24dcff19b09ad5ca032c72fee900039e7a481d096479ebd98b05defbb1998a2a4946c70598fd1f2a3b7852e008ba4cc27f999 SHA512 e4fdc72077568299fff940f2cadf9318718b4f9b73f94e1dddd421f26bb86ec9d88e46c075320ce8718d2a897b2222bb497c6e959fc1e221c70acb8516a16af6 diff --git a/net-im/telepathy-logger/telepathy-logger-0.8.2_p4.ebuild b/net-im/telepathy-logger/telepathy-logger-0.8.2_p4.ebuild new file mode 100644 index 000000000000..94002b954684 --- /dev/null +++ b/net-im/telepathy-logger/telepathy-logger-0.8.2_p4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" +GNOME2_EAUTORECONF="yes" + +inherit gnome2 python-any-r1 virtualx + +DESCRIPTION="Daemon that centralizes the communication logging within the Telepathy framework" +HOMEPAGE="https://telepathy.freedesktop.org/components/telepathy-logger/" +# FIXME: Debian upstream uses 4.x for the latest patches, hopefully they +# will release _p5 to fix this in the near future +SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P/_p*}.tar.bz2 + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}-${PV/*_p}.2.debian.tar.xz" +S="${WORKDIR}/${P/_p*}" + +LICENSE="LGPL-2.1+" +SLOT="0/3" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux" +IUSE="+introspection" + +RDEPEND=" + >=dev-libs/glib-2.28:2 + >=sys-apps/dbus-1.1 + >=dev-libs/dbus-glib-0.82 + >=net-libs/telepathy-glib-0.19.2[introspection?] + dev-libs/libxml2 + dev-libs/libxslt + dev-db/sqlite:3 + introspection? ( >=dev-libs/gobject-introspection-0.9.6 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + dev-util/glib-utils + >=dev-build/gtk-doc-am-1.10 + >=dev-util/intltool-0.35 + virtual/pkgconfig +" + +src_prepare() { + # Debian patches + for p in $(<"${WORKDIR}"/debian/patches/series) ; do + eapply -p1 "${WORKDIR}/debian/patches/${p}" + done + gnome2_src_prepare +} + +src_configure() { + # --enable-debug needed due to https://bugs.freedesktop.org/show_bug.cgi?id=83390 + gnome2_src_configure \ + $(use_enable introspection) \ + --enable-debug \ + --enable-public-extensions \ + --disable-coding-style-checks \ + --disable-Werror \ + --disable-static +} + +src_test() { + virtx emake -j1 check +}
