Package Details: vlc-git 4.0.0.r20473.g3a08825c8a-1

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only, click to copy)
Package Base: vlc-git
Description: A multi-platform MPEG, VCD/DVD, and DivX player (GIT Version)
Upstream URL: https://www.videolan.org/vlc/
Licenses: GPL2, LGPL2.1
Conflicts: vlc, vlc-dev, vlc-plugin, vlc-stable-git
Provides: vlc
Submitter: None
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 203
Popularity: 0.102735
First Submitted: 2008-04-01 12:14 (UTC)
Last Updated: 2022-08-27 22:53 (UTC)

Required by (153)

Sources (3)

Latest Comments

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

slimb commented on 2022-12-03 09:49 (UTC)

their github repo has not update since 09-29, any reason not to use their gitlab instance repo https://code.videolan.org/videolan/vlc ?

j1simon commented on 2022-11-17 13:43 (UTC)

Why is this package compiled with the debug option? That should be up to me to decide.

On the other hand, to compile it with the debug option you would have to add in the makedepends, at least in my case, the debugedit program.

And there are options that are deprecated: configure: WARNING: unrecognized options: --enable-realrtsp, --enable-sdl-image, --enable-aa, --enable-libtar, --enable-aribcam.

andrewSC commented on 2022-08-27 23:03 (UTC) (edited on 2022-08-27 23:04 (UTC) by andrewSC)

Alright so I spent some time trying to figure out what the path forward should be for the protobuf-lite issue and --enable-chromecast flag.

If you want chromecast support all you should have to do is:

1) Replace protobuf in the makedeps array with protobuf-git
2) Build protobuf-git from the AUR and install it in the clean chroot before building vlc-git in the chroot
3) swap --disable-chromecast with --enable-chromecast in the vlc-git PKGBUILD
4) Attempt to build vlc-git

It sucks and isn't elegant, I know. I decided to go this route instead of just making protobuf-git a makedep (instead of protobuf) and causing folks to have to build an AUR package just to have vlc-git (when they very well may not need or care about chromecast support) build correctly.

If there's an overwhelming response to pulling chromecast support then I'll introduce protobuf-git and we'll go that route instead. I just have a suspicion that it's not a critical path feature.

Again, greatly appreciate the patience! If anyone has other ideas on how to solve the problem please feel free to propose: I'm all ears!

andrewSC commented on 2022-08-26 22:44 (UTC)

Hey folks, just an update i've set aside time tomorrow to take a look/work on this. Will follow up soon--thank you kindly for the patience!

jmk commented on 2022-08-26 10:25 (UTC)

@graysky

It seems libssl and libcrypto aren't linked correctly.

Looking at my original comment, it might not be a great idea to override LIVE555_LIBS from the command line; the original configure.ac patch may be correct after all. Unfortunately I don't have an Arch system to test on, but I'd try rebasing the existing live555 patch, keeping the configure.ac diff and removing the live555.cpp diff.

graysky commented on 2022-08-22 09:06 (UTC) (edited on 2022-08-22 09:23 (UTC) by graysky)

Suggestions from @jmk and @hvksmr1996. Patch: https://gist.github.com/graysky2/8d2e5442ab46deb807cedfbf2b5c247c

Still gives build errors with

--disable-chromecast

Example:

codec/gstreamer/gstdecode.c: In function 'gst_vlc_dec_ensure_empty_queue':
codec/gstreamer/gstdecode.c:122:9: warning: call to 'harmful_delay.constprop' declared with attribute warning: use proper event handling instead of short delay [-Wattribute-warning]
  122 |         vlc_tick_sleep ( VLC_TICK_FROM_MS(15) );
      |         ^
  CCLD     libavformat_plugin.la
  CCLD     libvlc_mp4.la
  CCLD     libplaylist_plugin.la
access/dtv/en50221.c: In function 'en50221_Init':
access/dtv/en50221.c:1963:9: warning: call to 'harmful_delay.constprop' declared with attribute warning: use proper event handling instead of short delay [-Wattribute-warning]
 1963 |         vlc_tick_sleep( VLC_TICK_FROM_MS(100) );
      |         ^
  CCLD     libts_plugin.la
  CCLD     libvlc_json.la
  CCLD     libnoseek_plugin.la
  CCLD     libncurses_plugin.la
  CXXLD    libqt_plugin.la
  CXXLD    libskins2_plugin.la
  CCLD     libmemory_keystore_plugin.la
  CCLD     libfile_keystore_plugin.la
  CCLD     libsecret_plugin.la
  CCLD     libkwallet_plugin.la
  CCLD     libconsole_logger_plugin.la
  CCLD     libfile_logger_plugin.la
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::write(char const*, unsigned int)':
(.text+0x3a): undefined reference to `SSL_write'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::read(unsigned char*, unsigned int)':
(.text+0x4e): undefined reference to `SSL_read'
/usr/bin/ld: (.text+0x68): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::initLibrary()':
(.text+0x9a): undefined reference to `OPENSSL_init_ssl'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `TLSState::reset()':
(.text+0xc9): undefined reference to `SSL_free'
/usr/bin/ld: (.text+0xe0): undefined reference to `SSL_CTX_free'
/usr/bin/ld: (.text+0xf6): undefined reference to `SSL_shutdown'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::setup(int)':
(.text+0x217): undefined reference to `TLS_client_method'
/usr/bin/ld: (.text+0x225): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x237): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x24a): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x25a): undefined reference to `SSL_set_bio'
/usr/bin/ld: (.text+0x264): undefined reference to `SSL_set_connect_state'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ClientTLSState::connect(int)':
(.text+0x2c4): undefined reference to `SSL_connect'
/usr/bin/ld: (.text+0x2d2): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::setup(int)':
(.text+0x3b7): undefined reference to `TLS_server_method'
/usr/bin/ld: (.text+0x3c5): undefined reference to `SSL_CTX_new'
/usr/bin/ld: (.text+0x3e0): undefined reference to `SSL_CTX_use_certificate_file'
/usr/bin/ld: (.text+0x3f5): undefined reference to `ERR_print_errors_fp'
/usr/bin/ld: (.text+0x41f): undefined reference to `SSL_CTX_use_PrivateKey_file'
/usr/bin/ld: (.text+0x42e): undefined reference to `SSL_new'
/usr/bin/ld: (.text+0x441): undefined reference to `BIO_new_socket'
/usr/bin/ld: (.text+0x451): undefined reference to `SSL_set_bio'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(TLSState.o): in function `ServerTLSState::accept(int)':
(.text+0x483): undefined reference to `SSL_accept'
/usr/bin/ld: (.text+0x491): undefined reference to `SSL_get_error'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::cryptData(SRTPCryptographicContext::derivedKeys&, unsigned long, unsigned int, unsigned char*, unsigned int)':
(.text+0x2f3): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0x301): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0x312): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0x369): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0x3bd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(SRTPCryptographicContext.o): in function `SRTPCryptographicContext::deriveSingleKey(unsigned char const*, unsigned char const*, SRTPCryptographicContext::SRTPKeyDerivationLabel, unsigned int, unsigned char*)':
(.text+0xa37): undefined reference to `EVP_CIPHER_CTX_new'
/usr/bin/ld: (.text+0xa45): undefined reference to `EVP_aes_128_ecb'
/usr/bin/ld: (.text+0xa56): undefined reference to `EVP_EncryptInit'
/usr/bin/ld: (.text+0xaef): undefined reference to `EVP_EncryptUpdate'
/usr/bin/ld: (.text+0xafd): undefined reference to `EVP_CIPHER_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `sha1(unsigned char*, unsigned char const*, unsigned int, unsigned char const*, unsigned int)':
(.text+0x1e): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x27): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x33): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x41): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x55): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x63): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x7a): undefined reference to `EVP_MD_CTX_free'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.0/../../../../lib/libliveMedia.a(HMAC_SHA1.o): in function `HMAC_SHA1(unsigned char const*, unsigned int, unsigned char const*, unsigned int, unsigned char*)':
(.text+0x236): undefined reference to `EVP_MD_CTX_new'
/usr/bin/ld: (.text+0x23f): undefined reference to `EVP_sha1'
/usr/bin/ld: (.text+0x24b): undefined reference to `EVP_DigestInit'
/usr/bin/ld: (.text+0x259): undefined reference to `EVP_DigestUpdate'
/usr/bin/ld: (.text+0x26f): undefined reference to `EVP_DigestFinal'
/usr/bin/ld: (.text+0x278): undefined reference to `EVP_MD_CTX_free'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:19275: liblive555_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/bin/nm: gui/qt/util/.libs/libqt_plugin_la-registry.o: no symbols
/usr/bin/nm: gui/qt/util/.libs/libqt_plugin_la-qsgroundedrectangularimagenode.moc.o: no symbols
make[4]: Leaving directory '/build/vlc-git/src/vlc/modules'
make[3]: *** [Makefile:37433: all-recursive] Error 1
make[3]: Leaving directory '/build/vlc-git/src/vlc/modules'
make[2]: *** [Makefile:15649: all] Error 2
make[2]: Leaving directory '/build/vlc-git/src/vlc/modules'
make[1]: *** [Makefile:1611: all-recursive] Error 1
make[1]: Leaving directory '/build/vlc-git/src/vlc'
make: *** [Makefile:1498: all] Error 2

jmk commented on 2022-08-03 20:02 (UTC) (edited on 2022-08-03 20:04 (UTC) by jmk)

  1. The existing live555 patch should be dropped.
  2. ./configure should be called with LIVE555_LIBS="-lcrypto -lssl", since Arch has live555 with OpenSSL, but upstream does not use OpenSSL for live555 in contribs.

koloved commented on 2022-08-03 09:09 (UTC)

faild to compile (

Building vlc-git... ==> Making package: vlc-git 4.0.0.r19766.g0e448365f6-1 (Ср 03 авг 2022 12:08:14) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating vlc git repo... -> Found vlc-live-media-2021.patch -> Found update-vlc-plugin-cache.hook ==> Validating source files with sha512sums... vlc ... Skipped vlc-live-media-2021.patch ... Passed update-vlc-plugin-cache.hook ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of vlc git repo... Cloning into 'vlc'... done. ==> Starting prepare()... autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force Copying file ABOUT-NLS Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-potcdate.sin autoreconf: running: aclocal -I m4 --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'. libtoolize: copying file 'autotools/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal -I m4 --force -I m4 autoreconf: running: /usr/bin/autoconf --include=m4 --force autoreconf: running: /usr/bin/autoheader --include=m4 --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:36: installing 'autotools/compile' configure.ac:23: installing 'autotools/config.guess' configure.ac:23: installing 'autotools/config.sub' configure.ac:27: installing 'autotools/install-sh' configure.ac:27: installing 'autotools/missing' parallel-tests: installing 'autotools/test-driver' bin/Makefile.am: installing 'autotools/depcomp' configure.ac: installing 'autotools/ylwrap' autoreconf: Leaving directory '.' Successfully bootstrapped patching file configure.ac Hunk #1 succeeded at 1903 (offset 78 lines). patching file modules/access/live555.cpp Hunk #1 FAILED at 852. 1 out of 1 hunk FAILED -- saving rejects to file modules/access/live555.cpp.rej ==> ERROR: A failure occurred in prepare(). Aborting...

Louwenus commented on 2022-07-31 13:28 (UTC)

since https://github.com/videolan/vlc/commit/70fedf2523a3ae5b3c41234f0bf37cd6e57e01a6 the .patch file does not need to include patch about live555 file anymore

hvksmr1996 commented on 2022-07-29 13:38 (UTC) (edited on 2022-07-29 13:38 (UTC) by hvksmr1996)

Please replace libidn with libidn11 to fix vlc not finding libidn.so.11.

Please also replace libixml.so with libupnp to make --noconfirm run smoothly.