Package Details: vlc-git 4.0.0.r28594.g30b5a2ac41-1

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only, click to copy)
Package Base: vlc-git
Description: Multi-platform MPEG, VCD/DVD, and DivX player
Upstream URL: https://code.videolan.org/videolan/vlc
Licenses: GPL2, LGPL2.1
Conflicts: vlc
Provides: vlc
Submitter: None
Maintainer: xiota (knoelli)
Last Packager: knoelli
Votes: 206
Popularity: 0.50
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2024-04-17 11:35 (UTC)

Required by (161)

Sources (4)

Latest Comments

1 2 3 4 5 6 .. 43 Next › Last »

kunring commented on 2024-04-14 15:43 (UTC)

@knoelli Thank you, the package is working for me now.

knoelli commented on 2024-04-14 00:21 (UTC)

@kunring Current VLC source is not yet compatible with Qt 6.7 which is now the default installed on Arch. There is a patch available to make VLC compatible with Qt 6.7, which has not yet been merged into the source. I've updated the package to include this patch and VLC should now compile again.

kunring commented on 2024-04-13 21:33 (UTC)

Fails for me in a clean chroot:

/usr/include/qt6/QtCore/qobjectdefs.h:480:15: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  480 |         using R = typename QtPrivate::Callable<Func, Args...>::ReturnType;
      |               ^
/usr/include/qt6/QtCore/qobjectdefs.h:481:47: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  481 |         QTemplatedMetaMethodReturnArgument<R> r{ QtPrivate::qMetaTypeInterfaceForType<R>(), nullptr,
      |                                               ^
/usr/include/qt6/QtCore/qobjectdefs.h:481:47: error: no type named ‘ReturnType’ in ‘struct QtPrivate::Callable<InterfaceWindowHandler::InterfaceWindowHandler(qt_intf_t*, MainCtx*, QWindow*, QObject*)::<lambda()>, std::nullptr_t>’
  CXX      maininterface/libqt_plugin_la-compositor_x11_uisurface.lo
  CXX      maininterface/libqt_plugin_la-compositor_x11_utils.lo
make[5]: *** [Makefile:8099: maininterface/libqt_plugin_la-interface_window_handler.lo] Error 1

qakaroo commented on 2024-04-12 04:27 (UTC)

I finally got it installed. I have been trying all day long, and finally I succeeded. I had SO MANY PROBLEMS installing this package. Git wouldn't clone for me, it kept saying "early EOF". I have slow internet and I tried this between 5-10 times total today, each and everytime it failed before it was able to complete. One time it got to 96%. Not sure about the other times. I tried building with the bz2 tarball on the website but it wouldn't build because it's "not a git repo". To circumvent this issue I used "git clone --depth 1" and combined it with the bz2 tarball download. This is honestly helpful for anyone with slow internet, whether "git clone" fails or not, because the bz2 tarball download is about 10x smaller. Don't quote me on that, I didn't count it. I read the previous comments about /bin/qmake. The patches didn't work for me it seems, I had to rename /bin/qmake and then symlink /usr/lib/qt6/bin/qmake to /bin/qmake. I think that's about it, for anyone reading this. This really doesn't describe how much effort, how much downloading, and how much trial and error I put into work here. It took me all day long to get this installed. In the process of being unsuccessful with this package, I also tried (out of desperation) the binary of vlc4 from opensuse, which did not run at all, and the snap edge vlc 4, which is built without wayland support (which wayland is the reason I'm wanting the newer vlc in the first place) Most of my problems were from git failing to clone. If only someone had the idea of combining the bz2 tarball with "git clone --depth 1" this morning on IRC, it would have saved me 16 hours of attempts. Being literal here, it's passed midnight where I live. Hopefully this helps people out.

qakaroo commented on 2024-04-12 02:55 (UTC)

Here's an update: I installed the VLC v4 Edge snap and it successfully installed and it wouldn't open because it said "no QT platform plugin could be initialized" and "skins2 interface error". Some googling led me to this page https://code.videolan.org/videolan/vlc/-/issues/27531 that says "Hi, you may try to set DISABLE_WAYLAND=1 as we don't ship the wayland backend at the moment." Running the VLC v4 Edge snap with this environment variable worked. But the whole point of me wanting a newer version of VLC than the one in the main Arch repos is for wayland support, so this is really inconvenient. I suspect this vlc-git package will build if I modify the PKGBUILD to disable wayland, too. Is there a solution here? Since it builds for others (with wayland support) I'm still guessing there is an unknown dependency here that I need to install.

qakaroo commented on 2024-04-11 22:00 (UTC)

For me this fails to build, is there a dep that isn't listed here?

https://0x0.st/X-bZ.c

It seems that some stuff it thinks is missing (QtQml.WorkerScript QtQml.Models etc) are provided by either qt5-declarative or qt6-declarative but I have both installed. I also installed qtcreator and that had no effect.

knoelli commented on 2024-04-08 19:33 (UTC)

@Atticus Thank you for sharing your findings. While I can reproduce the problem with desktop recording throwing the error screenshooter extension not supported, I don't think it's a compilation or packaging issue but rather some problem within the source code itself. Wayland support in VLC is quite new, as is support for Qt6. Maybe they are yet missing some changes for the screenshooter to work (it's source hasn't been touched for quite a while now). I would therefore kindly ask you that you open an issue in the VLC issue tracker containing the details you've found.

Atticus commented on 2024-04-08 18:49 (UTC)

@knoelli, @MBK updates:

Using ldd, readelf, gdb, and grep, I-'ll get the source location for the following error: [00007fff84000ea0] wl_screenshooter access error: screenshooter extension not supported

When VLC can record a destop and show that desktop recording at the same time, then I-'ll say wayland enterprises is nearly operational!

What is your build system like. What gpu are you using, which gpu drivers have you installed, etc.

This is priority 4 on my list... I have other projects I-'m working on!

Atticus commented on 2024-04-07 17:42 (UTC) (edited on 2024-04-08 18:40 (UTC) by Atticus)

@Knoelli, @MBK I feel your pain. Multiple build tools, 3000 line long makefile, multiple protocols...


[XH0@archlinux bin]$ ldd vlc-static 
        linux-vdso.so.1 (0x00007ffc1b147000)
        libvlc.so.12 => /home/.../chroot/.../build/vlc-git/src/vlc/lib/.libs/libvlc.so.12 (0x000072267baec000)
        libvlccore.so.9 => /home/.../chroot/.../build/vlc-git/src/vlc/src/.libs/libvlccore.so.9 (0x000072267b9b1000)
        libidn.so.12 => /usr/lib/libidn.so.12 (0x000072267b943000)
        libm.so.6 => /usr/lib/libm.so.6 (0x000072267b857000)
        libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x000072267b806000)
        libc.so.6 => /usr/lib/libc.so.6 (0x000072267b622000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x000072267bb17000)
        libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x000072267b535000)
        libcap.so.2 => /usr/lib/libcap.so.2 (0x000072267b529000)
        libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x000072267b3e0000)
        liblz4.so.1 => /usr/lib/liblz4.so.1 (0x000072267b3bb000)
        liblzma.so.5 => /usr/lib/liblzma.so.5 (0x000072267b386000)
        libzstd.so.1 => /usr/lib/libzstd.so.1 (0x000072267b2b3000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x000072267b28e000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x000072267b268000)

Still doesn-'t record desktop under wayland.


$ gdb vlc-static
...

[00007fff84000ea0] wl_screenshooter access error: screenshooter extension not supported
[New Thread 0x7fffba5ff6c0 (LWP 6073)]                                                                        
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu
Downloading separate debug info for /usr/lib/libgsm.so.1                                                      
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libgsm.so.1.  
Downloading separate debug info for /usr/lib/libx264.so.164                                                   
Download failed: Connection reset by peer.  Continuing without separate debug info for /usr/lib/libx264.so.164.
Downloading separate debug info for /usr/lib/libx265.so.199