Package Details: vlc-git 4.0.0.r31756.g76cd807c24-2

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: GPL-2.0-or-later, LGPL-2.1-or-later
Conflicts: libvlc, vlc
Provides: libvlc, vlc
Submitter: None
Maintainer: xiota (knoelli)
Last Packager: xiota
Votes: 210
Popularity: 1.11
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2024-11-16 22:21 (UTC)

Dependencies (160)

Required by (154)

Sources (3)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 45 Next › Last »

ManuelBoe commented on 2024-04-24 12:15 (UTC)

Something still doesn't seem right.

Hunk #1 succeeded at 1 with fuzz 1.
Hunk #2 succeeded at 39 with fuzz 1 (offset -1 lines).
can't find file to patch at input line 1924
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch b/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
|index 6a8edacf20c1..ebfd73309e49 100644
|--- a/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
|+++ b/contrib/src/qtshadertools/0001-Use-fxc2-through-wine-instead-of-fxc.patch
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
3 out of 3 hunks ignored
patching file contrib/src/qtshadertools/SHA512SUMS
patching file contrib/src/qtshadertools/rules.mak
patching file contrib/src/qtsvg/SHA512SUMS
patching file contrib/src/qtsvg/rules.mak
patching file contrib/src/qtvlcdeps/vlcdeps.pro
Hunk #1 succeeded at 6 with fuzz 1 (offset 2 lines).
patching file contrib/src/qtwayland/SHA512SUMS
patching file contrib/src/qtwayland/rules.mak
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: vlc-git-exit status 4

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!