FreeBSD Bugzilla – Attachment 230034 Details for
Bug 260048
[NEW PORT] net-im/purple-tdlib: New libpurple plugin for Telegram
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Remove runtime dependency with tdlib
tdlib-purple.diff (text/plain), 4.68 KB, created by
Jose G. Juanino
on 2021-12-10 22:25:08 UTC
(
hide
)
Description:
Remove runtime dependency with tdlib
Filename:
MIME Type:
Creator:
Jose G. Juanino
Created:
2021-12-10 22:25:08 UTC
Size:
4.68 KB
patch
obsolete
>diff --git a/net-im/tdlib-purple/Makefile b/net-im/tdlib-purple/Makefile >new file mode 100644 >index 000000000000..ad46940811e3 >--- /dev/null >+++ b/net-im/tdlib-purple/Makefile >@@ -0,0 +1,35 @@ >+PORTNAME= tdlib-purple >+DISTVERSIONPREFIX= v >+DISTVERSION= 0.8.0 >+CATEGORIES= net-im >+ >+MAINTAINER= jjuanino@gmail.com >+COMMENT= New libpurple plugin for Telegram >+ >+LICENSE= GPLv2+ >+ >+BUILD_DEPENDS= tdlib>=1.7.9:net-im/tdlib >+LIB_DEPENDS= libpng16.so:graphics/png \ >+ libpurple.so:net-im/libpurple \ >+ libwebp.so:graphics/webp >+ >+USES= cmake gnome pkgconfig ssl >+ >+USE_GITHUB= yes >+GH_ACCOUNT= ars3niy >+GH_PROJECT= tdlib-purple >+ >+USE_GNOME= glib20 >+ >+CMAKE_ARGS= -DNoVoip:BOOL=True \ >+ -DTd_DIR=${LOCALBASE}/lib/cmake/Td >+ >+CONFLICTS_INSTALL= telegram-purple >+ >+OPTIONS_DEFINE= NLS >+OPTIONS_SUB= yes >+ >+NLS_USES= gettext >+NLS_CMAKE_BOOL_OFF= NoTranslations >+ >+.include <bsd.port.mk> >diff --git a/net-im/tdlib-purple/distinfo b/net-im/tdlib-purple/distinfo >new file mode 100644 >index 000000000000..579695e21fe0 >--- /dev/null >+++ b/net-im/tdlib-purple/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1639137405 >+SHA256 (ars3niy-tdlib-purple-v0.8.0_GH0.tar.gz) = 3d330dbebf15464d9377d9159495c652e7d9d2a2a2e946ac644dab32d17dce5b >+SIZE (ars3niy-tdlib-purple-v0.8.0_GH0.tar.gz) = 776556 >diff --git a/net-im/tdlib-purple/files/patch-tdlib-purple.cpp b/net-im/tdlib-purple/files/patch-tdlib-purple.cpp >new file mode 100644 >index 000000000000..f6a26226ed3f >--- /dev/null >+++ b/net-im/tdlib-purple/files/patch-tdlib-purple.cpp >@@ -0,0 +1,10 @@ >+--- tdlib-purple.cpp.orig 2021-12-07 23:40:41 UTC >++++ tdlib-purple.cpp >+@@ -6,6 +6,7 @@ >+ #include "buildopt.h" >+ #include <purple.h> >+ >++#include <array> >+ #include <cstdint> >+ #include <functional> >+ #include <iostream> >diff --git a/net-im/tdlib-purple/pkg-descr b/net-im/tdlib-purple/pkg-descr >new file mode 100644 >index 000000000000..69b6deea72f2 >--- /dev/null >+++ b/net-im/tdlib-purple/pkg-descr >@@ -0,0 +1,4 @@ >+tdlib-purple is a libpurple plugin that adds support for the Telegram >+messenger. This is a future successor to telegram-purple port. >+ >+WWW: https://github.com/ars3niy/tdlib-purple >diff --git a/net-im/tdlib-purple/pkg-plist b/net-im/tdlib-purple/pkg-plist >new file mode 100644 >index 000000000000..f4295535e316 >--- /dev/null >+++ b/net-im/tdlib-purple/pkg-plist >@@ -0,0 +1,9 @@ >+lib/purple-2/libtelegram-tdlib.so >+share/locale/cs/LC_MESSAGES/tdlib-purple.mo >+share/locale/de/LC_MESSAGES/tdlib-purple.mo >+share/locale/pl/LC_MESSAGES/tdlib-purple.mo >+share/locale/sq/LC_MESSAGES/tdlib-purple.mo >+share/metainfo/tdlib-purple.metainfo.xml >+share/pixmaps/pidgin/protocols/16/telegram.png >+share/pixmaps/pidgin/protocols/22/telegram.png >+share/pixmaps/pidgin/protocols/48/telegram.png >diff --git a/net-im/tdlib/Makefile b/net-im/tdlib/Makefile >index 2c955fc62d6a..2f86d55e2583 100644 >--- a/net-im/tdlib/Makefile >+++ b/net-im/tdlib/Makefile >@@ -1,6 +1,6 @@ > PORTNAME= tdlib > DISTVERSIONPREFIX= v >-DISTVERSION= 1.7.8 # 1.7.8 is not tagged, just set in CMakeLists.txt >+DISTVERSION= 1.7.9 # 1.7.9 is not tagged, just set in CMakeLists.txt > CATEGORIES= net-im devel > > MAINTAINER= yuri@FreeBSD.org >@@ -12,7 +12,7 @@ USES= cmake:testing compiler:c++14-lang gperf ssl > > USE_GITHUB= yes > GH_PROJECT= td >-GH_TAGNAME= a7dcbe8c18938c67d35dee6da7782851e3b5ec4b >+GH_TAGNAME= 7d41d9eaa58a6e0927806283252dc9e74eda5512 > > CMAKE_OFF= BUILD_TESTING FREEBSD_BUILD_BENCHMARKS > >diff --git a/net-im/tdlib/distinfo b/net-im/tdlib/distinfo >index 10901f956edd..9d8d087f8f4e 100644 >--- a/net-im/tdlib/distinfo >+++ b/net-im/tdlib/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1632676495 >-SHA256 (tdlib-td-v1.7.8-a7dcbe8c18938c67d35dee6da7782851e3b5ec4b_GH0.tar.gz) = 2bd70431120f2d7ac681056f3b619a6f85b385c1b687fd8ba2ed27a10e9da039 >-SIZE (tdlib-td-v1.7.8-a7dcbe8c18938c67d35dee6da7782851e3b5ec4b_GH0.tar.gz) = 4471816 >+TIMESTAMP = 1639133102 >+SHA256 (tdlib-td-v1.7.9-7d41d9eaa58a6e0927806283252dc9e74eda5512_GH0.tar.gz) = 44fcd402628a4f9c335988b319b86e89abf78193c0b24d4b45643ddd2ac0367f >+SIZE (tdlib-td-v1.7.9-7d41d9eaa58a6e0927806283252dc9e74eda5512_GH0.tar.gz) = 4506744 >diff --git a/net-im/tdlib/pkg-plist b/net-im/tdlib/pkg-plist >index 473e248bed63..cdd4519095b9 100644 >--- a/net-im/tdlib/pkg-plist >+++ b/net-im/tdlib/pkg-plist >@@ -16,7 +16,7 @@ lib/libtdclient.a > lib/libtdcore.a > lib/libtddb.a > lib/libtdjson.so >-lib/libtdjson.so.1.7.8 >+lib/libtdjson.so.1.7.9 > lib/libtdjson_private.a > lib/libtdjson_static.a > lib/libtdnet.a >diff --git a/net-im/telegram-purple/Makefile b/net-im/telegram-purple/Makefile >index f6e0c1cd6aa1..4f62f63a3dac 100644 >--- a/net-im/telegram-purple/Makefile >+++ b/net-im/telegram-purple/Makefile >@@ -26,6 +26,8 @@ USE_GNOME= glib20 > > GNU_CONFIGURE= yes > >+CONFLICTS_INSTALL= net-im/tdlib-purple >+ > OPTIONS_DEFINE= NLS > OPTIONS_SUB= yes > NLS_USES= gettext
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jjuanino
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 260048
:
229728
|
229747
|
230000
|
230020
|
230034
|
230074