On Tue, Jun 20, 2023 at 03:24:55PM +0000, Sergey A. Osokin wrote:
> Hi Antoine,
>
> On Tue, Jun 20, 2023 at 04:56:39PM +0200, Antoine Jacoutot wrote:
> > On Mon, Jun 19, 2023 at 09:39:13AM -0600, Klemens Nanni wrote:
> > > CVSROOT: /cvs
> > > Module name: ports
> > > Changes by: [email protected] 2023/06/19 09:39:13
> > >
> > > Modified files:
> > > net/tdesktop : Makefile distinfo
> > > Added files:
> > > net/tdesktop/patches:
> > >
> > > patch-Telegram_lib_base_base_platform_linux_base_system_media_controls_linux_cpp
> > >
> > > patch-cmake_external_glib_cppgir_CMakeLists_txt
> > > patch-cmake_external_glib_cppgir_tools_cppgir_cpp
> > > patch-cmake_external_glib_cppgir_tools_genns_cpp
> > >
> > > Log message:
> > > update to tdesktop 4.8.4, build fixes from FreeBSD
> >
> > Does not configure.
Fixed, thanks.
>
> [...]
> >
> > -- Could NOT find Boost (missing: Boost_DIR)
> > -- Found Boost: /usr/local/include (found suitable version "1.80.0",
> > minimum required is "1.58") found components: program_options
> > CMake Error at cmake/external/glib/cppgir/CMakeLists.txt:39 (message):
> > fmtlib.net format library not found
>
> the devel/fmt dependency is missing, could you try the following patch
> (not tested).
cppgir needs fmt, tdesktop does not (link against it).
>
> --
> Sergey A. Osokin
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/tdesktop/Makefile,v
> retrieving revision 1.89
> diff -u -p -r1.89 Makefile
> --- Makefile 19 Jun 2023 15:39:13 -0000 1.89
> +++ Makefile 20 Jun 2023 15:22:21 -0000
> @@ -9,6 +9,7 @@ V = 4.8.4
> DISTNAME = tdesktop-${V}-full
> PKGNAME = ${DISTNAME:-full=}
> CATEGORIES = net
> +REVISION = 0
>
> DPB_PROPERTIES = parallel
>
> @@ -31,7 +32,7 @@ PERMIT_PACKAGE = Yes
>
> WANTLIB += ${COMPILER_LIBCXX} Qt6Core Qt6DBus Qt6Gui Qt6Network
> WANTLIB += Qt6OpenGL Qt6OpenGLWidgets Qt6Svg Qt6Widgets absl_strings
> -WANTLIB += avcodec avfilter avformat avutil c crypto dispatch
> +WANTLIB += avcodec avfilter avformat avutil c crypto dispatch fmt
> WANTLIB += gio-2.0 giomm-2.68 glib-2.0 glibmm-2.68 gobject-2.0
> WANTLIB += hunspell-1.7 jpeg lz4 m openal opus protobuf-lite qrcodegencpp
> WANTLIB += rnnoise sigc-3.0 swresample swscale tg_owt xcb xcb-keysyms
> @@ -66,6 +67,7 @@ LIB_DEPENDS = archivers/lz4 \
> audio/opus \
> audio/rnnoise \
> devel/abseil-cpp \
> + devel/fmt \
> devel/glib2 \
> devel/glibmm268>=2.76.0 \
> devel/libdispatch \