Hello, As discussed previously, here's a diff to enable the dbus integration for tdesktop. tested for days on amd64, works fine :)
I'm particularly interested in this bit because it allows to "use native notifications" (settings -> notifications -> native notifications.) OK/comments? Index: Makefile =================================================================== RCS file: /home/cvs/ports/net/tdesktop/Makefile,v retrieving revision 1.6 diff -u -p -r1.6 Makefile --- Makefile 27 Jan 2022 07:03:36 -0000 1.6 +++ Makefile 30 Jan 2022 15:00:01 -0000 @@ -7,7 +7,7 @@ NOT_FOR_ARCHS = ${BE_ARCHS} COMMENT = Telegram Desktop messenger PORTROACH = limit:-full$$ V = 3.4.8 -REVISION = 0 +REVISION = 1 DISTNAME = tdesktop-${V}-full PKGNAME = tdesktop-${V} CATEGORIES = net @@ -22,11 +22,12 @@ MAINTAINER = Andrew Krasavin <noiseless # rlottie: LGPL 2.1 with freetype, LGPL, MIT, BSD dependencies PERMIT_PACKAGE = Yes -WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Network Qt5Svg -WANTLIB += Qt5Widgets absl_strings avcodec avformat avutil c crypto -WANTLIB += hunspell-1.7 lz4 m openal qrcodegencpp rnnoise swresample -WANTLIB += swscale tg_owt xcb xcb-keysyms xcb-record xcb-screensaver -WANTLIB += xxhash z +WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5DBus Qt5Gui Qt5Network +WANTLIB += Qt5Svg Qt5Widgets absl_strings avcodec avformat avutil +WANTLIB += c crypto dbusmenu-qt5 gio-2.0 giomm-2.4 glib-2.0 glibmm-2.4 +WANTLIB += gobject-2.0 hunspell-1.7 lz4 m openal qrcodegencpp +WANTLIB += rnnoise sigc-2.0 swresample swscale tg_owt xcb xcb-keysyms +WANTLIB += xcb-record xcb-screensaver xxhash z # C++17 set below COMPILER = base-clang ports-gcc @@ -44,11 +45,14 @@ LIB_DEPENDS = archivers/lz4 \ audio/rnnoise \ audio/openal \ devel/abseil-cpp \ + devel/glib2mm \ + devel/libsigc++-2 \ graphics/ffmpeg \ graphics/qr-code-generator>=1.7.0p1 \ net/tg_owt \ sysutils/xxhash \ textproc/hunspell \ + x11/dbusmenu-qt \ x11/qt5/qtsvg RUN_DEPENDS = devel/desktop-file-utils \ @@ -67,7 +71,6 @@ CONFIGURE_ARGS += -DTDESKTOP_API_ID=6113 # disable unported/unwanted components CONFIGURE_ARGS += -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON \ - -DDESKTOP_APP_DISABLE_DBUS_INTEGRATION=ON \ -DDESKTOP_APP_QT6=OFF # match standard version with abseil @@ -81,7 +84,7 @@ NO_TEST = Yes # archivers/minizip is minizip-ng, telegram requires incompatible original zlib NEEDED_BUNDLES += minizip # unported and required -NEEDED_BUNDLES += rlottie tgcalls +NEEDED_BUNDLES += rlottie statusnotifieritem tgcalls post-extract: # All bundles: