Created attachment 161063 [details] jitsi patch attached patch fixes build with openjdk8
Hello Steve, Thank you for the patch. I have not used Jitsi for quite some time now, and I am away from "FreeBSD on the desktop" landscape too, but I think that with the proposed patch Jitsi will not have neither audio nor video capabilities. The distfile that the port currently use is a custom one that includes some native libraries (e.g., libjnffmpeg.so, libjnopus.so, libjnpulseaudio.so, libjnvideo4linux2.so, libjnvpx.so) that I have built for FreeBSD because they were not included in the original Jitsi build. As I can see, the patch does not list these libraries in the pkg-plist file. So can you please tell me if you have tested an installation that does not include the above libraries, if Jitsi has audio and video capabilities? If yes, for sure we can apply the patch, but if not, maybe we can find another way to bypass the blocking that this port causes to bug 199591 that you mentioned. Regards, Tzanetos
(In reply to tzabal from comment #1) I have tested that the updated port runs but didn't test audio or video capabilities. I'm guessing they don't work with this patch. Can you tell me how you build the libraries it needs to do audio/video? I would like to add that to the port. And also, how to test audio/video?
(In reply to Steve Wills from comment #2) Thanks for your interest. I am now working on the 2.8 version of Jitsi for the port, and as soon as I have something I will post it, along with the procedure that is needed to update the port for future updates. Generally, the procedure can be summarized by the following steps: * Download a stable Jitsi snapshot, extract and run 'ant rebuild' and 'ant run' to check that Jitsi can at least build and run on the system. * Because many features will not work with only the above step (e.g., no audio, no video, even no system tray icon), it is needed to build the equivalent libraries that are missing for these functions. * Find and download the libjitsi snapshot from the repository of libjitsi (github.com/jitsi/libjitsi) that was used to build the libjitsi.jar inside the Jitsi snapshot. The only way to determine the version is to check the commit messages of jitsi to find when they updated the libjitsi.jar. [1] * Extract the libjitsi snapshot and run 'ant rebuild' to build the libjitsi.jar. Then, run 'ant pulseaudio', 'ant video4linux2', 'ant opus', 'ant ffmpeg', and 'and libvpx'. The result of these actions is to build the needed libraries for FreeBSD. It is needed to generate libraries for both i386 and amd64. [1] http://lists.jitsi.org/pipermail/dev/2013-October/018485.html
An update has been released that solves the issue with OpenJDK 8 and updates Jitsi to the latest stable snapshot. bug #203676
Closing, bug #203676 fixed it.