| Summary: | [NEW PORT] net-im/purple-tdlib: New libpurple plugin for Telegram | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jose G. Juanino <jjuanino> | ||||||||||||||
| Component: | Individual Port(s) | Assignee: | Daniel Engberg <diizzy> | ||||||||||||||
| Status: | Closed Overcome By Events | ||||||||||||||||
| Severity: | Affects Only Me | CC: | diizzy, mt-bugs | ||||||||||||||
| Priority: | --- | Keywords: | needs-patch | ||||||||||||||
| Version: | Latest | Flags: | jjuanino:
maintainer-feedback+
|
||||||||||||||
| Hardware: | Any | ||||||||||||||||
| OS: | Any | ||||||||||||||||
| URL: | https://github.com/ars3niy/tdlib-purple | ||||||||||||||||
| Bug Depends on: | 260380 | ||||||||||||||||
| Bug Blocks: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Jose G. Juanino
2021-11-25 20:55:21 UTC
Created attachment 229747 [details]
remove useless test
Created attachment 230000 [details]
update tdlib to 1.7.9
Hi, there are some issues with telegram and tdlib before 1.7.9 version. But the latest tdlib-purple has support for tdlib 1.7.9. Even version 0.8.0 supports tdlib 1.7. Can you update this port to use the latest tdlib-purple from github? Then we just need to update tdlib in our ports to 1.7.9 (patch attached). I'm using latest tdlib-purple + tdlib 1.7.9 on 12-STABLE and it works ok (using bitlbee). BR/Marko (In reply to Marko Turk from comment #3) Hi Marko, thank you for report the dependency change. That makes things easier. I am going to upload a new patch to consider the new scenario, including your patch to update the version of net-im/tdlib port, from 1.7.8 to 1.7.9. Regards Created attachment 230020 [details]
0.8.0 version of tdlib-purble, and update tdlib to 1.7.9
Daniel Engberg:
I submit a new patch to cover the new scenario, where no dependency on 1.6 version of tdlib is required.
Content summary:
- new net-im/tdlib-purple port (0.8.0 version)
- update net-im/tdlib from 1.7.8 to 1.7.9
- new CONFLICT_INSTALL in net-im/telegram-purple, as both telegram-purple and tdlib-purple may not coexist.
Notice that tdlib-purple requires tdlib>=1.7.9 in both build_depends and run_depends.
The patch can be applied on the c46943ed9d69 commit of ports tree (as of Fri Dec 10 12:05:15 2021).
Poudriere passed in 13.0-RELEASE|12.2-RELEASE amd64|i386
Thanks to Marko Turk for reporting the last dependency change in upstream.
Regards
Hi, I think tdlib should not be a RUN_DEPENDS for tdlib-purple, tdlib is only needed during build. BR/Marko (In reply to Marko Turk from comment #6) Marko, you are right, the runtime dependency with tdlib is not required, only the buildtime one. I submit again the patch with that fix. Thanks again for noticing that issue, regards. Created attachment 230034 [details]
Remove runtime dependency with tdlib
Split these changes into two PRs (and patches) one that introduces purple-tdlib and another (new PR) that bumps net-im/tdlib Created attachment 230074 [details]
remove the net-im/tdlib chunk
Hi, I have split the patch as you suggests, and a new PR 260380 has been created. Regards
net-im/tdlib 1.7.10 version has been committed in ports tree a few minutes ago, but sadly, net-im/tdlib 1.7.10 version breaks build of net-im/tdlib-purple 0.8.0: see https://github.com/ars3niy/tdlib-purple/commit/f7829a498ac4c0f359bbfdf1001e274196ef2069 Therefore, we have to await until this issue be fixed by upstream. Regards net-im/purple-tdlib added in e07c60d9f57c6cac085b9a953aa41a02fa0ac71f |