-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[gstreamer,libsoup,libpsl,glib-networking] enable soup plugins of gstreamer #36679
Conversation
@dg0yt ci for x64_windows trigger huge ports rebuild which I untouched. And I have test in centos, x64_linux should work, but ci show it failed, but I can't see why because I have not access to /mnt/vcpkg-ci/b/libsoup/package-x64-linux-dbg-err.log |
CI rebuilds reverse dependencies (i.e. consumers), and so it also needs to install their dependencies. Some huge artifacts cannot be cached (llvm). |
@dg0yt Thanks. Through logs, I found x64_linux fails because the |
When testing
G:\gs\buildtrees\gstreamer\package-x64-windows-static-dbg-out.log:
|
I change portfile of gstreamer back (disable soup feature), and only add gstreamer[plugins-good] as dependence, the gstreamer[plugins-good]:x64-windows-static build failed too. The same error. Can you check without my pr, will gstreamer[plugins-good]:x64-windows-static build successfuly on your host? |
@MonicaLiu0311 I have test the latest master baseline 72d66da which not include my pr, the error appear as well. So I am sure the build errors are not related to my pr. Should I disabe windows-static on gstreamer in this pr? |
No need to disable it, thank you for your contribution. |
@MonicaLiu0311 So what should I do now? |
gstreamerFeature
glib-networkingFeature
Other features are tested successfully in the following triplet:
libpslFeature
Feature
Test libsoupTest |
Update port gstreamer
./vcpkg x-add-version --all
and committing the result.Add port libsoup,libpsl,glib-networking
find_package
calls are REQUIRED, are satisfied byvcpkg.json
's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx.vcpkg.json
matches what upstream says.vcpkg.json
matches what upstream says../vcpkg x-add-version --all
and committing the result.I found the offical tutorials not work because the uridecodebin plugin can not handle https uri. Then I found that soup plugins is disabled. So I update the gstreamer to enable it. The gstreamer compiled successfuly without new port which I add. However the soup plugins will not work without libsoup. So I add the port libsoup. And it depend on libpsl and glib-networking. The glib-networking is a gio module. To make it work, we should set env GIO_MODULE_DIR to the plugins dir which glib-networking dll live in. And now I uridecodebin works properly.
By the way, how vcpkg deal with plugin dll? I put them to a plugins dir just like gstreamer. However to use them is a hard work. For a gio module, we have to set the env GIO_MODULE_DIR to the dyamic library location.