Commit eb4b9b42 authored by Daniel Engberg's avatar Daniel Engberg
Browse files

net-im/tdlib-purple: Remove port

Marked broken in May 2025 and dead upstream

PR:		278263
parent 483e7ba9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4849,3 +4849,4 @@ devel/electron35||2025-11-01|Has expired: EOLed upstream, switch to newer versio
lang/python39||2025-11-01|Has expired: Upgrade to a newer Python version. 3.9 is in maintenance status and gets security fixes only. End-of-Life: 2025-10. See https://devguide.python.org/versions/
devel/py-pyjq|textproc/py-jq|2025-11-01|Removed: Depended on expired Python version 3.9 and does not build with newer Python
devel/py-ctags||2025-11-01|Removed: Depended on expired Python version 3.9 and does not build with newer Python
net-im/tdlib-purple||2025-11-01|Remove broken port
+0 −1
Original line number Diff line number Diff line
@@ -147,7 +147,6 @@
    SUBDIR += sshout
    SUBDIR += tde2e
    SUBDIR += tdlib
    SUBDIR += tdlib-purple
    SUBDIR += telegram-cli
    SUBDIR += telegram-desktop
    SUBDIR += telegramqml

net-im/tdlib-purple/Makefile

deleted100644 → 0
+0 −51
Original line number Diff line number Diff line
PORTNAME=	tdlib-purple
DISTVERSIONPREFIX=	v
DISTVERSION=	0.8.1
PORTREVISION=	3
CATEGORIES=	net-im

PATCH_SITES=	https://github.com/ars3niy/tdlib-purple/commit/
PATCHFILES+=	8c87b899ddbec32.patch:-p1 # https://github.com/ars3niy/tdlib-purple/pull/154

MAINTAINER=	ports@virtual-estates.net
COMMENT=	Telegram plugin for libpurple, using tdlib
WWW=		https://github.com/ars3niy/tdlib-purple

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN=		fails to compile with the latest revision of net-im/tdlib

LIB_DEPENDS=	libfmt.so:devel/libfmt	\
		libtdapi.so:net-im/tdlib	\
		librlottie.so:graphics/rlottie	\
		libwebp.so:graphics/webp	\
		libpurple.so:net-im/libpurple	\
		libpng.so:graphics/png
TEST_LIB_DEPENDS=libgtest.so:devel/googletest

USES=		cmake localbase pkgconfig

USE_GITHUB=	yeah
GH_ACCOUNT=	ars3niy

OPTIONS_DEFINE=	NLS TEST
OPTIONS_DEFAULT=NLS
OPTIONS_SUB=	yes
TEST_DESC=	Do not enable, tests are broken

CMAKE_ON+=	NoVoip	# tgvoip is yet to be ported
CMAKE_ON+=	NoBundledLottie	# Using graphics/rlottie
NLS_CMAKE_OFF+=	-DNoTranslations=1
NLS_USES=	gettext-tools gettext-runtime

EXTRACT_AFTER_ARGS=--exclude rlottie --exclude fmt

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTEST}
WARNING+=	"Tests are stale at this time and are likely to fail to compile"
TEST_TARGET=	tests
.endif

.include <bsd.port.mk>

net-im/tdlib-purple/distinfo

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
TIMESTAMP = 1702875649
SHA256 (ars3niy-tdlib-purple-v0.8.1_GH0.tar.gz) = 8eb8b10c714368d7435d34ccda66a918e59c4cb4d2f49b6e16a246a78abd1a62
SIZE (ars3niy-tdlib-purple-v0.8.1_GH0.tar.gz) = 776564
SHA256 (8c87b899ddbec32.patch) = b6861f1129a8e17564c2f4abfc264fc95801ad22d00326c3c05d3003fd1b3832
SIZE (8c87b899ddbec32.patch) = 11742
+0 −17
Original line number Diff line number Diff line
--- CMakeLists.txt	2021-12-17 04:50:38.000000000 -0500
+++ CMakeLists.txt	2023-12-18 00:14:18.331831000 -0500
@@ -69,4 +69,5 @@
     secret-chat.cpp
 )
+target_link_libraries(telegram-tdlib PRIVATE z)
 
 # libpurple uses the deprecated glib-type `GParameter` and the deprecated glib-macro `G_CONST_RETURN`, which
@@ -94,7 +95,5 @@
 
 set(BUILD_SHARED_LIBS OFF)
-add_subdirectory(fmt)
-target_compile_options(fmt PRIVATE -fPIC)
-target_link_libraries(telegram-tdlib PRIVATE fmt::fmt)
+target_link_libraries(telegram-tdlib PRIVATE fmt)
 
 if (NOT NoLottie)
Loading