Summary: | [new port] net-im/tg_owt: webrtc library used by telegram-desktop | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Henry Hu <henry.hu.sh> | ||||||||||||
Component: | Individual Port(s) | Assignee: | Li-Wen Hsu <lwhsu> | ||||||||||||
Status: | Closed FIXED | ||||||||||||||
Severity: | Affects Only Me | CC: | lwhsu | ||||||||||||
Priority: | --- | ||||||||||||||
Version: | Latest | ||||||||||||||
Hardware: | Any | ||||||||||||||
OS: | Any | ||||||||||||||
Bug Depends on: | |||||||||||||||
Bug Blocks: | 253336 | ||||||||||||||
Attachments: |
|
Description
Henry Hu
2021-02-08 02:32:53 UTC
I noticed a small problem; please don't commit this for now. Created attachment 222256 [details]
patch for the new port
Patch updated. Now we use the install mechanism provided by the port, which installs 3k header files. It turns out that these files are needed to build telegram-desktop, so I just add them to pkg-plist.
Created attachment 222264 [details]
updated Makefile
Created attachment 222265 [details]
updated distinfo
There is a small error in Makefile, and the distfiles seem to be rerolled, can you check the updated Makefile and distinfo? I am worried if the tar file from chromium.googlesource.com will be changed again. Also, I suggest we can name those distfile with more meaningful names, like libyuv-ad89006.tar.gz or put to a subdir named libyuv. It looks ad89006.tar.gz is rerolled again, we need to have a way to get a deterministic distfile. (In reply to Li-Wen Hsu from comment #7) So, any suggestion on how we can deal with this? I checked the libyuv port (graphics/libyuv), and it mentioned the same problem, and local distfiles were used. libvpx port seems to be getting it from github (I guess it's a clone/synced repo?). Should we also roll our own distfiles for these 2 libraries? The reason the checksum is changing seems to be the file metadata: the file creation/modification time seems to be set to current time, so it changes every time. One idea is depending on github. libvpx already has an (official?) mirror at https://github.com/webmproject/libvpx/, and that's what libvpx port uses. libyuv does not have an official mirror; I can create one. As long as the git hash matches, it should show that the mirror is exactly the same as the original one. What do you think? Created attachment 222313 [details]
updated patch with github source only
Now it's using github sources only:
* libvpx from webmproject
* libyuv from my clone
I'll update my clone every time I update this port.
A commit references this bug: Author: lwhsu Date: Thu Feb 11 12:30:59 UTC 2021 New revision: 564937 URL: https://svnweb.freebsd.org/changeset/ports/564937 Log: Add net-im/tg_owt, webrtc library used by telegram-desktop PR: 253334 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Changes: head/net-im/Makefile head/net-im/tg_owt/ head/net-im/tg_owt/Makefile head/net-im/tg_owt/distinfo head/net-im/tg_owt/files/ head/net-im/tg_owt/files/patch-CMakeLists.txt head/net-im/tg_owt/files/patch-cmake_external.cmake head/net-im/tg_owt/files/patch-cmake_libevent.cmake head/net-im/tg_owt/files/patch-cmake_libyuv.cmake head/net-im/tg_owt/files/patch-src_rtc__base_byte__order.h head/net-im/tg_owt/files/patch-src_rtc__base_ip__address.cc head/net-im/tg_owt/files/patch-src_rtc__base_physical__socket__server.cc head/net-im/tg_owt/files/patch-src_rtc__base_physical__socket__server.h head/net-im/tg_owt/files/patch-src_rtc__base_platform__thread__types.cc head/net-im/tg_owt/pkg-descr head/net-im/tg_owt/pkg-plist |