[Bug 266008] net/linphone: 4.4.8_1: broken plugin dir path

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 24 Aug 2022 03:14:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266008

            Bug ID: 266008
           Summary: net/linphone: 4.4.8_1: broken plugin dir path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: zirias@freebsd.org
          Reporter: rz@fabmicro.ru
             Flags: maintainer-feedback?(zirias@freebsd.org)
          Assignee: zirias@freebsd.org

After upgrading to net/linphone 4.4.8 I discovered that Linphone no longer
loads H264 plugin (msopenh264). Logging with -V has shown that mediastreamers
is provided with bogus path to find its plugins:

[06:25:03:075][Info]Core:linphone: Loading ms plugins from [/usr/local]

It should be /usr/local/lib/mediastreamer/plugins/ instead.

I tracked it down to the below code that coins incorrect MS plugin dir path:

linphone-app/src/app/paths/Paths.cpp:

static inline QString getAppPackageMsPluginsDirPath () {
        QDir dir = getAppPackageDir();
        dir.cd(MSPLUGINS_DIR);
        return dir.absolutePath();
}

-- 
You are receiving this mail because:
You are the assignee for the bug.