Package Details: vlc-git 2.2.0.git.r6294.gc9c734d-1

Git Clone URL: https://aur.archlinux.org/vlc-git.git (read-only)
Package Base: vlc-git
Description: A multi-platform MPEG, VCD/DVD, and DivX player (GIT Version)
Upstream URL: http://www.videolan.org/vlc/
Licenses: GPL2, LGPL2.1
Conflicts: vlc, vlc-dev, vlc-plugin, vlc-stable-git
Provides: vlc=2.2.0.git.r6294.gc9c734d
Submitter: None
Maintainer: andrewSC
Last Packager: andrewSC
Votes: 168
Popularity: 1.007329
First Submitted: 2008-04-01 12:14
Last Updated: 2016-02-04 16:47

Dependencies (78)

Required by (80)

Sources (1)

Latest Comments

Cysioland commented on 2016-05-30 19:00

[00007f3048303d78] core generic error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[000000000136a868] qt interface error: Unable to load extensions module
[00007f30482b7408] core probe error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so

andrewSC commented on 2016-02-04 16:47

Det: Updated regex

Det commented on 2016-01-20 06:34

You're misplacing the "r". It belongs before the revision: 2.2.0.git.r6147.gf13c172

andrewSC commented on 2015-12-23 17:10

Confirmed build @ adfe0c2. Quit playing games with my heart guys ='(

bernd_b commented on 2015-12-15 22:28

Built and works here too with today's compile.
Why is this flagged out of date? This flag causes more confusion than guidance wherever I stumble upon it ...

FredBezies commented on 2015-12-15 11:38

Build it today : revision is r2.2.0.git.5630.g6cf7153

InfernoZeus commented on 2015-11-02 18:05

No longer building successfully for me. I get this error when build() tries to run ./bootstrap:

==> Starting build()...
generating modules/**/Makefile.am
.
+ autoreconf --install --force --verbose -I m4
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
/usr/bin/m4:configure.ac:5: Warning: excess arguments to builtin `m4_if' ignored
/usr/bin/m4:configure.ac:82: ERROR: end of file in string
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

andrewSC commented on 2015-06-04 10:17

Confirmed successful build @ 91f08755deaf420942cfa3604c90f97b34614322. Removing out-of-date flag.

korrode commented on 2015-05-14 23:12

"Heck, I can't even get vlc to use h264 anymore with the pacman version of vlc."

Are you running a non-standard ffmpeg package?
If so, re-build it.

shillshocked commented on 2015-05-14 21:18

As of today, it will not install, craps out with this:

/bin/sh: line 4: 29747 Segmentation fault (core dumped) ./vlc-cache-gen ../modules
Makefile:1505: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory '/tmp/yaourt-tmp-phoenix/aur-vlc-git/src/vlc/bin'
Makefile:2243: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-phoenix/aur-vlc-git/src/vlc'
Makefile:2128: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build vlc-git.

Tried both regular and testing repositories dependencies beforehand.

Heck, I can't even get vlc to use h264 anymore with the pacman version of vlc.

kizar commented on 2015-02-26 13:06

@andrewSC it's perfect now. Thank you.

andrewSC commented on 2015-02-22 00:40

kizar, korrode: This is the commit that fixed the build upstream: https://github.com/videolan/vlc/commit/5c07f87a773153c128b3a771ed61e7915cd8fe18 I've updated, successfully built the package, and updated the PKGBUILD here. Please let me know if there are any other concerns.

andrewSC commented on 2015-02-21 23:45

kizar, korrode: I've confirmed the current patch fails to apply and will have a fix out shortly.

korrode commented on 2015-02-21 01:39

@kizar:
Probably the patch in the prepare function is no longer needed.

Find the line in the PKGBUILD that looks like this:

patch -p1 -i $srcdir/vlc-freerdp.patch

...and comment it out:

#patch -p1 -i $srcdir/vlc-freerdp.patch

...then try building again.

Or just wait for andrewSC to update the PKGBUILD.

kizar commented on 2015-02-20 18:54

I'm getting this error and I can't build vlc. Nothing changes if I choose no.
patching file modules/access/rdp.c
Reversed (or previously applied) patch detected! Assume -R? [n] y
Hunk #1 succeeded at 432 with fuzz 2 (offset 4 lines).
Hunk #2 FAILED at 504.
1 out of 2 hunks FAILED -- saving rejects to file modules/access/rdp.c.rej

tajidinabd commented on 2015-01-29 15:05

@andrewSC was able to build vlc by removing the freerdp package. As others had stated about not being able to build the package successfully since November. Was relevant to the issue. thank you for updating package

tajidinabd commented on 2015-01-29 15:01

roger that

andrewSC commented on 2015-01-26 22:58

tajidinabd: Not only was the ticket you provided closed/outdated but the patch itself was completely irrelevant if you looked at the VLC source and compared it to what the patch is actually doing. I spent some time reviewing FreeRDP's source and found that they had removed the two functions the build was failing on from their codebase entirely. I've added a patch file to this AUR package to remove the two functions and was able to compile master successfully and run VLC.

tajidinabd commented on 2015-01-26 03:03

Also directly from VLC bug tracker here is the patch that fixes the issue

https://trac.videolan.org/vlc/ticket/10832

tajidinabd commented on 2015-01-26 02:45

The link that I have is a patch that fixes the issue with the freerdp vlc fails to build with freerdp installed that is in Arch Linux repo now.

http://pkg-multimedia-maintainers.alioth.debian.narkive.com/kHezDGFU/bug-757951-vlc-ftbfses-against-recently-uploaded-freerdp-1-1-api

rtfreedman commented on 2015-01-20 21:07

I think this is missing:
sed -i -e 's:/truetype/freefont:TTF:g' modules/text_renderer/platform_fonts.h
and you can scrap 'for res in ... done' in package() - it's part of 'make install'

andrewSC commented on 2015-01-07 01:10

What exactly is failing here? The source compiles fine? freerdp is not a requirement of this package in upstream.

trulex commented on 2015-01-05 15:41

It does not build for me:
access/rdp.c: In function ‘Close’:
access/rdp.c:507:5: error: implicit declaration of function ‘freerdp_channels_global_uninit’ [-Werror=implicit-function-declaration]
freerdp_channels_global_uninit();
^
CC access/libvnc_plugin_la-vnc.lo
CC access/libcdda_plugin_la-cdda.lo
CC access/libdvdnav_plugin_la-dvdnav.lo
cc1: some warnings being treated as errors
Makefile:11060: recipe for target 'access/librdp_plugin_la-rdp.lo' failed
make[4]: *** [access/librdp_plugin_la-rdp.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
access/cdda.c: In function ‘GetCDDBInfo’:
access/cdda.c:680:5: warning: format ‘%i’ expects argument of type ‘int’, but argument 5 has type ‘int64_t’ [-Wformat=]
msg_Dbg( p_access, "Total length: %i", i_length/1000000 );
^
In file included from ../include/vlc_common.h:417:0,
from access/dvdnav.c:46:
access/dvdnav.c: In function ‘Demux’:
../include/vlc_threads.h:317:19: warning: call to ‘harmful_delay.constprop’ declared with attribute warning: use proper event handling instead of short delay
#define msleep(d) msleep(check_delay(d))
^
access/dvdnav.c:710:9: note: in expansion of macro ‘msleep’
msleep( 40000 );
^

p_name commented on 2014-11-25 03:59

Junio_Calu: I tried. Doesn't work either. Only downgraing freerdp to stable-1.1 branch fixed it for me.

Junio_Calu commented on 2014-11-02 17:04

need freerdp-git? or, only Im having error?

andrewSC commented on 2014-10-26 00:38

erkexzcx: Hmmm, interesting. I checked the official repo vlc package for libxkbcommon-x11 and they don't list it as a dep. :shrugs: I'm gonna go ahead and unflag the package but I'll test it in a week on my system (in the middle of moving between apartments now) to try and get some more detail. Thanks for the heads up though :)

erkexzcx commented on 2014-10-26 00:13

installing libxkbcommon-x11 allowed me to start vlc with this output:

VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-1283-gaaef11b)
[0000000001b90fa8] core demux meta error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[0000000001a9b118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f09dc5343a8] core generic error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[0000000001bd0108] qt4 interface error: Unable to load extensions module

everything works for now, successfully watched a music video clip :)

I think "libxkbcommon-x11" package should be a dependency of vlc-git, but not sure... :P

erkexzcx commented on 2014-10-26 00:07

installing libxkbcommon-x11 allowed me to start vlc with this output:

VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-1283-gaaef11b)
[0000000001b90fa8] core demux meta error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[0000000001a9b118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f09dc5343a8] core generic error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[0000000001bd0108] qt4 interface error: Unable to load extensions module

everything works for now, successfully watched a music video clip :)

andrewSC commented on 2014-10-26 00:03

erkexzcx: Have you tried rebuilding/reinstalling xcb? Looking at that output it seem s it can't find or load xcb.

erkexzcx commented on 2014-10-25 23:58

fails to start. here is the output:

VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-1283-gaaef11b)
[0000000000f1cfa8] core demux meta error: corrupt module: /usr/lib/vlc/plugins/lua/liblua_plugin.so
[0000000000e27118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
This application failed to start because it could not find or load the Qt platform plugin "xcb".

Available platform plugins are: eglfs, kms, linuxfb, minimal, minimalegl, offscreen, xcb.

Reinstalling the application may fix this problem.
Aborted (core dumped)

Nothing4You commented on 2014-09-23 12:37

@FredBezies this PKGBUILD should update itself to the latest version when you run `makepkg`, as this is a VCS-package the version in the AUR shouldn't matter, rather you should check what pkgver() returns.

FredBezies commented on 2014-09-23 07:00

git version is tagged as 3.0.0, no more 2.2.0.

andrewSC commented on 2014-08-31 10:29

Korrode: I've addressed both of your concerns, thanks for the look over!

korrode commented on 2014-08-31 09:03

git should be a makedepend, not depend.

IIRC that sed command you added back to the prepare() function is no longer relevant for VLC git master, and is doing nothing.

andrewSC commented on 2014-08-31 08:23

Adopted and updated PKGBUILD. You can track the PKGBUILD and other source stuffs at: https://github.com/andrewSC/vlc-git

korrode commented on 2014-08-26 12:57

The next update to glib2 should fix the segfault issues some users experience.
https://git.gnome.org/browse/glib/commit/?id=2b178c762fbc0706031e9890ba190233e243a602

korrode commented on 2014-08-17 01:25

I've reverted this package to feature parity with the main Arch package and disowned it.

I will take my efforts to combat the segfaulting issue myself and others experience to the less prominent vlc-stable-git package (which i personally would prefer to run the stable maintenance branch than the current master branch anyway). I suggest people affected by the plugin cache generation segfault try vlc-stable-git:

https://aur.archlinux.org/packages/vlc-stable-git/

korrode commented on 2014-08-11 20:39

It is the way it is because many people get segfaults when trying to generate the plugin cache, which is done automatically at install time (and when that fails, it segfaults running the app):
https://www.google.com.au/search?&safe=off&num=100&q=arch+vlc-cache-gen#q=site%3Abbs.archlinux.org+vlc-cache-gen+%22Segmentation+fault%22&safe=off

There seems to be various reasons why different people get this issue. It's not the same plugin causing it for everyone.

For now i've just tried to have minimal features enabled that still provide VLC in a state that will do the job for most people. (...which according to jahiy's last comment isn't enough to prevent the issue from occurring for everyone anyway...)

korrode commented on 2014-08-11 20:36

It is the way it is because many people get segfaults when trying to generate the plugin cache (and when that fails, it segfaults running the app):
https://www.google.com.au/search?&safe=off&num=100&q=arch+vlc-cache-gen#q=site%3Abbs.archlinux.org+vlc-cache-gen+%22Segmentation+fault%22&safe=off

There seems to be various reason why different people get this issue. It's not the same plugin causing it for anyone.

For now i've just tried to have minimal features enabled that still provide VLC in a state that will do the job for most people. (...which according to jahiy's last comment isn't enough to prevent the issue from occurring for everyone anyway...)

heaven commented on 2014-08-11 12:29

@Kaan, ohh, just looked at pkgbuild, it really looks weird.

Kaan commented on 2014-08-11 12:04

@heaven, what do you mean? I'm talking about git version too, vlc 3 builds fine without disabling anything, this is for @korrode who wanted to know about it.

Kaan commented on 2014-08-11 12:03

I'm talking about the options. Vlc builds fine without disabling everything.

heaven commented on 2014-08-11 06:32

@Kaan, this is a git build and there's a big difference.

Kaan commented on 2014-08-11 03:14

I reverted everything in the pkg to arch defaults and it builds and runs fine. Why were they even disabled?

bernd_b commented on 2014-07-19 19:03

Don't know the problem, but I just succeeded with

vlc-current-git 2.2.0.git.225.g94eb951-1
or
vlc-current-git 3.0.git.225.g94eb951-1 (as it would be called here)

Still using this:
https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

because of having both, qt4 and qt5 installed.

jahiy commented on 2014-07-19 14:45

CCLD vlc-wrapper
CC vlc_static-vlc.o
CC vlc_static-override.o
CCLD vlc-static
CC cachegen.o
CCLD vlc-cache-gen
GEN ../modules/plugins.dat
/bin/sh: line 4: 29320 Segmentation fault ./vlc-cache-gen ../modules
Makefile:1518: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory '/home/jahiy/Downloads/PKGBUILD/vlc-git/src/vlc/bin'
Makefile:1939: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jahiy/Downloads/PKGBUILD/vlc-git/src/vlc'
Makefile:1823: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

What's the problem?

korrode commented on 2014-07-04 08:19

Ok, it's manually set to 3.0 now. I don't see it as terribly important either way, point is it's the current git master branch.

bernd_b commented on 2014-07-04 06:54

When git-Version changed from 2.1 to 2.2 recently, the application introduces itself as 3.0.
====
$vlc
VLC media player 3.0.0-git Vetinari (revision 2.2.0-git-130-g681a61d)
====
for example. So since this happens recently, 2.2 will be our friend for some time I guess.

korrode commented on 2014-07-04 05:07

oh, and @FredBezies:
I'll have the pkgver function get the series number from the git repo, however, fyi, last night at least it was still 2.2, but when the VLC devs change it, it'll change.

korrode commented on 2014-07-04 05:02

@bernd_b:

Yeah those are from the Arch proper VLC PKGBUILD, i meant to confirm their relevance, but obviously forgot :P

Seems the first sed command is no longer relevant, but the second one (appears) to still be.

When i get home from work i'll investigate properly, but they aren't harmful anyways.

bernd_b commented on 2014-07-03 23:14

What are these two lines doing:
sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp

korrode commented on 2014-07-03 14:33

Package updated. Builds, launches and plays MPEG4 parts 2 & 10 (eg. XviD & x264) fine for me.

I've disabled a lot of stuff and need to spend some time going through and enabling stuff slowly.

If there's something particular you want that i currently have disabled, that is enabled in the normal Arch VLC package, please adjust the configure parameters to include it and do a test build to ensure it works fine. If so, please post about it here and i'll test and enable.

bernd_b commented on 2014-07-03 10:15

I still don't understand why and when or if a git repo is updated with makepkg & co.
However, next run with manually updating the source compiles
vlc-current-git 2.2.0.git.130.g681a61d-1
as well.

heaven commented on 2014-07-03 08:51

Hi guys, I don't use VLC anymore because of the constant bugs, please feel free to adopt the package.

bernd_b commented on 2014-07-03 08:42

I just managed to compile
vlc-current-git 2.2.0.git.61.g97a9763-1

with the pkgbuild as described - using again a clean chroot environment as suggested by PerfectGentlemen. Without this, I still got this "video is playing in a separate window" - as far as I understood because of having qt4 and qt5 installed on my system. At least, in the chroot environment there is only qt4 to be installed.

spacepluk commented on 2014-07-02 14:44

I'm still getting the segfault, are you sure it's fixed?

bernd_b commented on 2014-06-22 11:25

Next addition: I commented out the line

export LD_PRELOAD=/usr/lib/libgobject-2.0.so.0

and got no segfaulting when compiling or running vlc of today.

bernd_b commented on 2014-06-22 11:22

Thanks @FredBezies for the updated script.

When running this in a clean chroot environment, I get the message at the end, that the files pointed at with the lines:

backup=('usr/share/vlc/lua/http/.hosts'
'usr/share/vlc/lua/http/dialogs/.hosts')

are not found.

The option "--disable-werror" is claimed not to be recognized by the configure script, so I guess one can leave it out.

FredBezies commented on 2014-06-16 19:57

Here is a working PKGBUILD : http://pastebin.com/HBDb4psH

And a related yaourt -Qi vlc-git :

Name : vlc-git
Version : 3.0.r57564.g3e6cd94-1
Description : A multi-platform MPEG, VCD/DVD, and DivX player. Development
GIT Version.
Architecture : x86_64
URL : http://www.videolan.org/vlc/
Licenses : LGPL2.1 GPL2
Groups : None
Provides : vlc
Depends On : a52dec libdvbpsi libxpm libdca qt4 libproxy sdl_image
libdvdnav libtiger libmatroska zvbi taglib libmpcdec
ffmpeg faad2 libupnp libshout libmad libmpeg2 libmodplug
libass xcb-util-keysyms
Optional Deps : avahi: for service discovery using bonjour protocol [installed]
libnotify: for notification plugin [installed]
ncurses: for ncurses interface support [installed]
libdvdcss: for decoding encrypted DVDs
lirc-utils: for lirc plugin [installed]
libavc1394: for devices using the 1394ta AV/C [installed]
libdc1394: for IEEE 1394 plugin [installed]
kdelibs: KDE Solid hardware integration
libva-vdpau-driver: vdpau back-end for nvidia
libva-intel-driver: back-end for intel cards
libbluray: for Blu-Ray support [installed]
flac: for Free Lossless Audio Codec plugin [installed]
portaudio: for portaudio support
twolame: for TwoLAME mpeg2 encoder plugin
projectm: for ProjectM visualisation plugin
libcaca: for colored ASCII art video output [installed]
libgme: for libgme plugin [installed]
librsvg: for SVG plugin [installed]
gnome-vfs: for GNOME Virtual File System support
libgoom2: for libgoom plugin
vcdimager: navigate VCD with libvcdinfo
xosd: for xosd support
aalib: for ASCII art plugin [installed]
libmtp: for MTP devices support [installed]
fluidsynth: for synthesizer MIDI FluidSynth [installed]
smbclient: for SMB access plugin [installed]
libcdio: for audio CD playback support [installed]
ttf-freefont: for subtitle font [installed]
ttf-dejavu: for subtitle font [installed]
opus: for opus support [installed]
libssh2: for sftp support [installed]
Required By : None
Optional For : None
Conflicts With : vlc vlc-stable-git vlc-dev
Replaces : None
Installed Size : 45415,00 KiB
Packager : Unknown Packager
Build Date : lun. 16 juin 2014 21:49:45 CEST
Install Date : lun. 16 juin 2014 21:51:08 CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By : None

Feel free to use it to upgrade this AUR package.

FredBezies commented on 2014-06-16 19:35

@android and @perfectgentlement : about vlc-cache-gen segfault : https://bugs.archlinux.org/task/39676

FredBezies commented on 2014-06-16 11:33

Looks like vlc.git is now 3.0-something :

http://git.videolan.org/?p=vlc.git;a=commit;h=ee5be2d073f6669f1cc994bfef3de442cc3f80c6

"On the road to 3.0.0"

Time to upgrade PKGBUILD ?

PerfectGentleman commented on 2014-04-28 04:44

https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

android commented on 2014-04-28 04:43

PerfectGentleman: Thanks for the reply! but I'm not sure what you mean by "clean chroot":
* A 32bit chroot?
* A chroot with no vlc installed?

PerfectGentleman commented on 2014-04-28 03:31

@android, try to build in clean chroot

android commented on 2014-04-28 03:00

Whenever I try to build this, I get this build error:
...
CCLD vlc-wrapper
CC vlc_static-vlc.o
CC vlc_static-override.o
CCLD vlc-static
CC cachegen.o
CCLD vlc-cache-gen
GEN ../modules/plugins.dat
/bin/sh: line 4: 21395 Segmentation fault (core dumped) ./vlc-cache-gen ../modules
Makefile:1493: recipe for target '../modules/plugins.dat' failed
make[2]: *** [../modules/plugins.dat] Error 139
make[2]: Leaving directory '/home/johnea/src/aur/vlc-git/src/vlc/bin'
Makefile:1914: recipe for target 'all-recursive' failed

FredBezies commented on 2014-04-10 09:10

This multiple windows bug is related to... QT5 ! Had it a long time ago. Opened a bug : https://trac.videolan.org/vlc/ticket/9410

To see QT5 progress : https://trac.videolan.org/vlc/ticket/8532

r08 commented on 2014-03-29 16:51

@bamasmu
Tools-->Preferences-->Show settings(All)-->Video--> Check the box "Embedded video"-->click save

Then exit vlc by Media-->Quit

bamasmu commented on 2014-03-26 18:08

When I make vlc.git, I end up with video playing in a separate window (= two-windowed-vlc; window 1: main interface + window 2: video).
sudo pacman -S vlc, doesn't have this issue (=one-windowed-vlc).

I made this topic: https://bbs.archlinux.org/viewtopic.php?pid=1397249

Do you guys also get two-windowed-vlc when making latest vlc.git? I'd appreciate if you guys could tell me how to get one-windowed latest vlc.git :)

bamasmu commented on 2014-03-24 13:41

When I make vlc.git, I end up with video playing in a separate window (= two-windowed-vlc; window 1: main interface + window 2: video).
sudo pacman -S vlc, doesn't have this issue (=one-windowed-vlc).

I made this topic: https://bbs.archlinux.org/viewtopic.php?id=178995

Do you guys also get two-windowed-vlc when making latest vlc.git? I'd appreciate if you guys could tell me how to get one-windowed latest vlc.git :)

PerfectGentleman commented on 2014-03-08 06:14

checking for VDPAU... yes
configure: error: libavutil >= 0.52.4 and libavcodec >= 55.26.0 are required for VDPAU decoding.

$ pkg-config --modversion libavutil libavcodec
52.48.101
55.39.101

PerfectGentleman commented on 2014-03-08 06:13

checking for VDPAU... yes
configure: error: libavutil >= 0.52.4 and libavcodec >= 55.26.0 are required for VDPAU decoding.

PerfectGentleman commented on 2014-03-01 07:44

it happened again

PerfectGentleman commented on 2014-02-24 10:15

vdpau.diff
--------------------------------------------------------------------
diff -rupN a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -280,4 +280,4 @@
return VLC_ENOMEM;

-#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 26, 0))
+#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 40, 0))
sys->context = av_vdpau_alloc_context();
------------------------------------------------------------------

hussam commented on 2014-02-22 14:31

--- vlc/modules/hw/vdpau/avcodec.c
+++ vlc/modules/hw/vdpau/avcodec.c
@@ -279,7 +279,7 @@
if (unlikely(sys == NULL))
return VLC_ENOMEM;

-#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 26, 0))
+#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 40, 0))
sys->context = av_vdpau_alloc_context();
#else
sys->context = calloc(1, sizeof (*sys->context));

so something like this.

hussam commented on 2014-02-22 13:18

in vlc/modules/hw/vdpau/avcodec.c
change
look for
sys->context = av_vdpau_alloc_context();
change the line above it to
#if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55, 40, 0))

PerfectGentleman commented on 2014-02-11 12:58

make[5]: Entering directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc/modules/hw/vdpau'
CC libvlc_vdpau_la-vlc_vdpau.lo
CC libvdpau_avcodec_plugin_la-avcodec.lo
CC libvlc_vdpau_la-instance.lo
CC libvdpau_avcodec_plugin_la-picture.lo
CC libvdpau_deinterlace_plugin_la-deinterlace.lo
CC libvdpau_deinterlace_plugin_la-picture.lo
avcodec.c: In function ‘Open’:
avcodec.c:283:5: error: implicit declaration of function ‘av_vdpau_alloc_context’ [-Werror=implicit-function-declaration]
sys->context = av_vdpau_alloc_context();
^
avcodec.c:283:18: warning: assignment makes pointer from integer without a cast [enabled by default]
sys->context = av_vdpau_alloc_context();
^
CC libvdpau_adjust_plugin_la-adjust.lo
CC libvdpau_adjust_plugin_la-picture.lo
cc1: some warnings being treated as errors
Makefile:1301: recipe for target 'libvdpau_avcodec_plugin_la-avcodec.lo' failed
make[5]: *** [libvdpau_avcodec_plugin_la-avcodec.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc/modules/hw/vdpau'
Makefile:1115: recipe for target 'all' failed
make[4]: *** [all] Error 2
make[4]: Leaving directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc/modules/hw/vdpau'
Makefile:9402: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc/modules'
Makefile:4371: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc/modules'
Makefile:1914: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/S3TB_1/Distributives/PkgBuilds/vlc-git/src/vlc'
Makefile:1798: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

adirat commented on 2013-12-08 05:35

Please add libtoolize or libtoolize-multilib as a dependency, otherwise the build fails with "error: Libtool library used but 'LIBTOOL' is undefined"

heaven commented on 2013-10-17 06:53

I am getting segmentation fault at the moment. Will apply these fixes in PKGBUILD once the build is fixed.

Even though I think x265 should only be added to the optdepends.

lluixhi commented on 2013-10-17 02:29

http://anzwix.com/a/VLC/X265Encoder

Could you please add x265 to the build dependencies?
(If it is installed, it is autodetected in the build, like x264)

lluixhi commented on 2013-10-17 02:25

http://anzwix.com/a/VLC/X265Encoder
Could you please add "x265" to the build dependencies?

PerfectGentleman commented on 2013-10-13 04:32

x86_64
------
$ vlc -vvv
VLC media player 2.2.0-git Weatherwax (revision 2.1.0-git-1040-g67def28)
[0x1a88118] main libvlc debug: VLC media player - 2.2.0-git Weatherwax
[0x1a88118] main libvlc debug: Copyright © 1996-2013 the VideoLAN team
[0x1a88118] main libvlc debug: revision 2.1.0-git-1040-g67def28
[0x1a88118] main libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-pvr' '--enable-ncurses' '--enable-realrtsp' '--enable-xosd' '--enable-aa' '--enable-vcdx' '--enable-upnp' '--enable-opus' '--enable-sftp' '--enable-merge-ffmpeg' '--enable-vdpau' '--enable-alsa' '--enable-wma-fixed' 'RCC=/usr/bin/rcc-qt4' 'CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer'

PerfectGentleman commented on 2013-10-11 02:45

$ vlc -vvv
VLC media player 2.2.0-git Weatherwax (revision 2.1.0-git-1040-g67def28)
[0x1a88118] main libvlc debug: VLC media player - 2.2.0-git Weatherwax
[0x1a88118] main libvlc debug: Copyright © 1996-2013 the VideoLAN team
[0x1a88118] main libvlc debug: revision 2.1.0-git-1040-g67def28
[0x1a88118] main libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--disable-rpath' '--enable-faad' '--enable-nls' '--enable-lirc' '--enable-pvr' '--enable-ncurses' '--enable-realrtsp' '--enable-xosd' '--enable-aa' '--enable-vcdx' '--enable-upnp' '--enable-opus' '--enable-sftp' '--enable-merge-ffmpeg' '--enable-vdpau' '--enable-alsa' '--enable-wma-fixed' 'RCC=/usr/bin/rcc-qt4' 'CFLAGS=-march=native -O2 -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-march=native -O2 -pipe -fomit-frame-pointer'

PerfectGentleman commented on 2013-10-11 02:43

@heaven, yes with lua build works

heaven commented on 2013-10-10 06:39

@PerfectGentleman Hi, please see the comments below, there was an error with the x86_64 platform. If you are on x86_64, can you please confirm that the build works with lua now?

PerfectGentleman commented on 2013-10-10 00:38

maybe it would be better to remove "--disable-lua" as vlc modules written on lua ?

hepha commented on 2013-09-27 10:08

make[6]: Nothing to be done for `install-exec-am'.
/usr/sbin/mkdir -p '/tmp/yaourt-tmp-hepha/aur-vlc-git/pkg/vlc-git/usr/lib/vlc/plugins/visualization'
../../doltlibtool --mode=install ../../autotools/install-sh -c libprojectm_plugin.la libvisual_plugin.la libglspectrum_plugin.la libgoom_plugin.la '/tmp/yaourt-tmp-hepha/aur-vlc-git/pkg/vlc-git/usr/lib/vlc/plugins/visualization'
libtool: install: error: cannot install `libprojectm_plugin.la' to a directory not ending in
make[6]: *** [install-visualizationLTLIBRARIES] Error 1

DaveCode commented on 2013-09-01 00:11

I'm running stock vlc from main repos. It can't do CDDB lookup whereas all other players on the system do. Is vlc-git any better at CDDB? Thanks.

heaven commented on 2013-08-11 08:19

Merged, thank you. But I am not sure if we should move kdelibs to the depends, it is already in optdepends and the one who need to build this package for KDE env will already have kdelibs installed, and others don't need to.

FredBezies commented on 2013-07-28 14:10

Another PKGBUILD, pacman 4.1 compliant, with a more speaking version number.

Trunk is now tagged as 2.2

http://pastebin.com/zMKKs08F

graysky commented on 2013-07-14 01:43

Ah, also need to update for pacman 4.1... see the format in https://aur.archlinux.org/packages/vlc-stable-git/

KerrickStaley commented on 2013-07-13 21:46

You need to remove the comma in the "conflicts" array. In Bash,
conflicts=('vlc', 'vlc-stable-git')
is equivalent to
conflicts=('vlc,' 'vlc-stable-git')
What you want is
conflicts=('vlc' 'vlc-stable-git')

Nothing4You commented on 2013-06-23 11:48

How about adding a pkgver() with `git describe`?
Also, in case you do that, you should add a line saying "epoch=1" (see https://wiki.archlinux.org/index.php/PKGBUILD#epoch )

Sunday commented on 2013-05-23 17:16

After installing libvpx-git, x264-git and ffmpeg-git i was finally able to compile and install vlc-git. I had to add "--enable-shared" to x264 and ffmpeg but it stillt didn't work at first: vlc would not compile due to some failing static assertion in alsa.c:

In file included from /usr/include/alsa/asoundlib.h:37:0,
from alsa.c:28:
alsa.c: In Funktion »Open«:
alsa.c:329:5: Fehler: statische Behauptung gescheitert: "unknown formats"
static_assert (sizeof (formats) / sizeof (formats[0]) ==
^
make[5]: *** [libaccess_alsa_plugin_la-alsa.lo] Fehler 1

But i use pulseaudio anyways so i just went "--disable-alsa". And all of this because of some new video filters still missing in repository ffmpeg (especially fieldmatch which is a very easy way correcting some odd material)...

heaven commented on 2013-04-24 10:30

@FredBezies Thx, will do asap

FredBezies commented on 2013-04-22 09:59

And also, a cleaner PKGBUILD, following new PKGBUILD syntax for git package.

http://pastebin.com/Pp6Hnk0T

Feel free to test it and use it !

FredBezies commented on 2013-04-22 09:54

Using namcap, found that you can remove or move to optdepends : libproxy, lua51.

Chromaprint must be added in depends.

vlc-git E: Dependency chromaprint detected and not included (libraries ['usr/lib/libchromaprint.so.0'] needed in files ['usr/lib/vlc/plugins/stream_out/libstream_out_chromaprint_plugin.so'])

KaiSforza commented on 2013-04-10 21:45

This should be updated to reflect the new pacman 4.1 source array and version scheme.

heaven commented on 2013-04-01 11:38

@graysky yup, you're right, updated now. Also vdpau seems work with new ffmpeg from extra.

oboedad55 commented on 2013-03-29 18:44

Why does this require phonon? Normal VLC has no such requirements.

graysky commented on 2013-03-29 18:30

Technically you should use a separate 'build' function and 'package' function. Also consider adding 'vlc-stable-git' to the conflicts array.

heaven commented on 2013-03-29 10:16

Looks like it is possible to return vdpau support by using ffmpeg-git, but it and x264 should be compiled with -fPIC CFLAG. Will experiment with this a bit later on.

graysky commented on 2013-03-28 23:15

I updated the PKGBUILD and can verify that it works on x86_64. Find it here: https://gist.github.com/graysky2/5072045

heaven commented on 2013-03-27 21:16

Hi guys, sorry, just have no time at all. I promise to update the PKGBUILD tomorrow morning.

graysky commented on 2013-03-27 21:04

@heaven - Plz update the PKGBUILD so it builds. For example, my post from 2013-03-02 17:17.

graysky commented on 2013-03-27 20:57

==> Missing Dependencies:
-> qt
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

FredBezies commented on 2013-03-04 17:24

@graysky : no libavcodec, no more mpeg file reading. It is that simple :(

kalio commented on 2013-03-03 14:49

/bin/sh: rcc: command not found
make[5]: *** [resources.cpp] Error 127
make[5]: Leaving directory `/tmp/yaourt-tmp-brad/aur-vlc-git/src/vlc-build/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-brad/aur-vlc-git/src/vlc-build/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-brad/aur-vlc-git/src/vlc-build/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-brad/aur-vlc-git/src/vlc-build/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-brad/aur-vlc-git/src/vlc-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build vlc-git.

I had to change the line "RCC = rcc" in modules/gui/qt4/Makefile to "RCC = rcc-qt4" to build. (using graysky's PKGBUILD)

graysky commented on 2013-03-02 17:18

Ah, I see you beat me to it :)

The latest git version does not fix the f*cked up audio with wmv files described here though: https://bbs.archlinux.org/viewtopic.php?id=159015

graysky commented on 2013-03-02 17:17

Not hard, updated PKGBUILD: https://gist.github.com/graysky2/5072045

FredBezies commented on 2013-03-02 17:09

New working PKGBUILD : http://pastebin.com/GzvX3NX9

1) You have to use libav which conflicts with ffmpeg
2) I moved libav in makedepends, vlc works (good ?) with ffmpeg
3) lua is disabled, not working on x86_64 arch.

FredBezies commented on 2013-03-02 17:02

You have no other choice as of now but to leave it. I'm working on a usable PKGBUILD and it is hard to do :(

graysky commented on 2013-03-02 16:58

@Fred - Yes, I can pass the `--disable-lua` switch, but I'd like to build with this support. No clear to me how to do that under x86_64.

FredBezies commented on 2013-03-02 16:10

@graysky : either remove enable-lua option or try replacing lua51 by lua in depends or makedepends.

FredBezies commented on 2013-03-02 16:08

@graysky : either remove enable-lua option or try replacing lua by lua51 in depends or makedepends.

graysky commented on 2013-03-02 15:58

checking for LUA... yes
checking for luac... /usr/bin/luac
configure: error: You need 32-bits luac when using using lua from contrib.
==> ERROR: A failure occurred in build().
Aborting...

Anonymous comment on 2013-02-23 08:49

> I am having issues with avcodec. http://pastebin.com/90JM8Ca2
> Anyone else seeing this?

I have.

oconnors11 commented on 2013-02-15 16:45

I am having issues with avcodec. http://pastebin.com/90JM8Ca2

Anyone else seeing this?

oconnors11 commented on 2013-02-15 16:43

I am having issues with avcodec. http://pastebin.com/90JM8Ca2

Anyone else seeing this?

oconnors11 commented on 2013-02-13 14:02

THat's the only thing I could come up with too. Thanks.

FredBezies commented on 2013-02-12 21:09

@oconnors11 : just replace LUA by --disable-lua for now. Only workaround I found.

oconnors11 commented on 2013-02-12 21:06

No one is getting this on compile checks?
checking if gcc -std=gnu99 groks SSE inline assembly... yes
checking if gcc -std=gnu99 groks SSE2 inline assembly... yes
checking if gcc -std=gnu99 groks SSE3 inline assembly... yes
checking if gcc -std=gnu99 groks SSSE3 inline assembly... yes
checking if gcc -std=gnu99 groks SSE4.1 inline assembly... yes
checking if gcc -std=gnu99 groks SSE4.2 inline assembly... yes
checking if gcc -std=gnu99 groks SSE4A inline assembly... yes
checking if gcc -std=gnu99 groks 3D Now! inline assembly... yes
checking for LUA... yes
checking for luac... /usr/bin/luac
configure: error: You need 32-bits luac when using using lua from contrib.
==> ERROR: A failure occurred in build().
Aborting...

FredBezies commented on 2013-01-21 20:04

You should add --disable-vdpau. I keep on getting build error with vdpau enabled :(

heaven commented on 2013-01-04 15:15

Hi, thank you for the fix, will apply it ASAP.

FredBezies commented on 2013-01-02 21:16

Cleaner PKGBUILD : http://pastebin.com/hhWSNjGu

Used it to build a new vlc-git version. And it seems a little quicker.

FredBezies commented on 2013-01-02 20:35

For example, this PKGBUILD seems cleaner and better :

# Maintainer: heaven <aheaven87 at gmail dot com>
# Contributor: Arkham <arkham at archlinux dot us>
# Contributor: MacWolf <macwolf at archlinux dot de>

pkgname='vlc-git'
pkgver=20130102
pkgrel=1
pkgdesc='A multi-platform MPEG, VCD/DVD, and DivX player. Development GIT Version.'
arch=('i686' 'x86_64')
url='http://www.videolan.org/vlc/'
license='GPL'

depends=('a52dec' 'libdvbpsi' 'libxpm' 'libdca' 'qt' 'libproxy'
'sdl_image' 'libdvdnav' 'libtiger' 'lua51' 'libmatroska'
'zvbi' 'taglib' 'libmpcdec' 'ffmpeg' 'faad2' 'libupnp'
'libshout' 'libmad' 'libmpeg2' 'libmodplug' 'libass'
'xcb-util-keysyms')
makedepends=('live-media' 'libnotify' 'libbluray' 'flac' 'kdelibs'
'fluidsynth' 'libdc1394' 'libavc1394' 'lirc-utils'
'libcaca' 'librsvg' 'portaudio' 'oss' 'libgme' 'xosd'
'projectm' 'twolame' 'aalib' 'libmtp' 'libdvdcss'
'gnome-vfs' 'libgoom2' 'libtar' 'vcdimager' 'opus' 'libssh2'
'mesa')
optdepends=('avahi: for service discovery using bonjour protocol'
'libnotify: for notification plugin'
'ncurses: for ncurses interface support'
'libdvdcss: for decoding encrypted DVDs'
'lirc-utils: for lirc plugin'
'libavc1394: for devices using the 1394ta AV/C'
'libdc1394: for IEEE 1394 plugin'
'kdelibs: KDE Solid hardware integration'
'libva-vdpau-driver: vdpau back-end for nvidia'
'libva-intel-driver: back-end for intel cards'
'libbluray: for Blu-Ray support'
'flac: for Free Lossless Audio Codec plugin'
'oss: for OSS audio support'
'portaudio: for portaudio support'
'twolame: for TwoLAME mpeg2 encoder plugin'
'projectm: for ProjectM visualisation plugin'
'libcaca: for colored ASCII art video output'
'libgme: for libgme plugin'
'librsvg: for SVG plugin'
'gnome-vfs: for GNOME Virtual File System support'
'libgoom2: for libgoom plugin'
'vcdimager: navigate VCD with libvcdinfo'
'xosd: for xosd support'
'aalib: for ASCII art plugin'
'libmtp: for MTP devices support'
'fluidsynth: for synthesizer MIDI FluidSynth'
'smbclient: for SMB access plugin'
'libcdio: for audio CD playback support'
'ttf-freefont: for subtitle font '
'ttf-dejavu: for subtitle font'
'opus: for opus support'
'libssh2: for sftp support')

backup=('usr/share/vlc/lua/http/.hosts'
'usr/share/vlc/lua/http/dialogs/.hosts')
options=('!libtool' '!emptydirs')

conflicts='vlc'
provides='vlc'
install='vlc-git.install'

source=()
md5sums=()

_gitroot='git://git.videolan.org/vlc.git'
_gitname='vlc'
_buildir=${_gitname}-build

build() {
cd ${srcdir}

msg 'Connecting to GIT server...'

if [ -d ${_gitname} ]; then
cd ${_gitname} && git pull origin
cd ..
else
git clone ${_gitroot}
fi

msg 'GIT checkout done or server timeout.'

if [ -d ${_buildir} ]; then
msg 'Cleaning previous build...'
rm -rf ${_buildir}
fi

git clone ${_gitname} ${_buildir}
cd ${_buildir}

msg 'Generating necessary files...'

sed -i -e 's:truetype/freefont:TTF:g' modules/text_renderer/freetype.c
sed -i -e 's:truetype/ttf-dejavu:TTF:g' modules/visualization/projectm.cpp
./bootstrap

msg 'Generating done.'
msg 'Configuring VLC...'

/configure --prefix=/usr \
--sysconfdir=/etc \
--disable-rpath \
--enable-oss \
--enable-faad \
--enable-nls \
--enable-lirc \
--enable-pvr \
--enable-ncurses \
--enable-realrtsp \
--enable-xosd \
--enable-aa \
--enable-vcdx \
--enable-upnp \
--enable-opus \
--enable-sftp \
LUAC=luac5.1

CFLAGS="$CFLAGS -fPIC"

msg 'Starting make...'

make
make DESTDIR=${pkgdir} install

rm -rf ${srcdir}/${_buildir}

for res in 16 32 48 128; do
install -D -m644 "${srcdir}/vlc-${pkgver}/share/icons/${res}x${res}/vlc.png" \
"${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png"
done
}

FredBezies commented on 2013-01-02 20:30

Fixed upstream. Anyway, this PKGBUILD needs a little cleaning / sync with the official one.

sl1pkn07 commented on 2013-01-01 18:28

or

[ "$(LANG=C pacman -Qi automake |grep Version | cut -d ' ' -f10 | sed 's|.[0-9]-[0-9]||g')" = "1.13" ] && sed 's|AM_CONFIG_HEADER(config.h)|AC_CONFIG_HEADERS([config.h])|g' -i configure.ac

for detect autoconf is installed from testing

sl1pkn07 commented on 2013-01-01 18:28

or

[ "$(LANG=C pacman -Qi automake |grep Version | cut -d ' ' -f10 | sed 's|.[0-9]-[0-9]||g')" = "1.13" ] && sed 's|AM_CONFIG_HEADER(config.h)|AC_CONFIG_HEADERS([config.h])|g' -i configure.ac

to detect autoconf is installed from testing

FredBezies commented on 2013-01-01 15:34

Well, with automake 1.13.x, it won't build anymore.

You have to add this in PKGBUILD :

sed 's|AM_CONFIG_HEADER(config.h)|AC_CONFIG_HEADERS([config.h])|g' -i configure.ac

And bug reported upstream : https://trac.videolan.org/vlc/ticket/7975

gmurray commented on 2012-12-22 17:13

Just reporting my linking error:

CCLD libx264_plugin.la
/usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libx264.a(common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/libx264.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *** [libx264_plugin.la] Error 1
make[4]: Leaving directory `/home/grant/Downloads/vlc-git/src/vlc-build/modules/codec'
make[3]: *** [all] Error 2

earlier in the stream...
libvlc configuration
--------------------
version : 2.1.0-git
system : linux
architecture : x86_64 mmx sse sse2
optimizations : yes


looking at the git log for vlc the most recent commit cloned was ...
commit 28d465e81563ca495d1466a60451c743e3f69791
Author: Francois Cartegnie <fcvlcdev@free.fr>
Date: Sat Dec 22 17:17:13 2012 +0100

Qt: hotkeys: allow filtering by field (fix #7931)


xyproto commented on 2012-10-15 18:42

Looks like a bug in the code. That happens with development versions. But, since it's only libcaca, you can probably just disable caca somehow. (--disable-caca?)

FredBezies commented on 2012-10-08 18:48

Since 2 days, got this error while trying to get it build. Any idea ?

CC libcaca_plugin_la-caca.lo
opengl.c:179:5: erreur: unknown type name ‘PFNGLCLIENTACTIVETEXTUREPROC’
opengl.c: In function ‘vout_display_opengl_New’:
opengl.c:330:33: erreur: ‘PFNGLCLIENTACTIVETEXTUREPROC’ undeclared (first use in this function)
opengl.c:330:33: note: each undeclared identifier is reported only once for each function it appears in
opengl.c:330:62: erreur: expected ‘;’ before ‘vlc_gl_GetProcAddress’
opengl.c: In function ‘vout_display_opengl_GetPool’:
opengl.c:603:41: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c: In function ‘vout_display_opengl_Prepare’:
opengl.c:662:37: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c:691:37: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c: In function ‘draw_without_shaders’:
opengl.c:782:32: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c:793:29: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c:801:32: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c:807:29: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c: In function ‘draw_with_shaders’:
opengl.c:830:33: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c:842:29: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
opengl.c: In function ‘vout_display_opengl_Display’:
opengl.c:901:29: erreur: called object ‘vgl->ClientActiveTexture’ is not a function
make[4]: *** [libxcb_glx_plugin_la-opengl.lo] Error 1

heaven commented on 2012-08-08 06:52

@endre
If you'll use tool like yaourt it will download the entire repository only once and all next builds will pull updates only.

Also this cause troubles with "git clone" because git can't fetch or clone from a shallow repository (there is workarounds but they looks more like hacks).

In case we will remove cached git copy before each build and do clone with --depth=1 it will be much worse because it requires to load about 17Mb instead of the few kilobytes of recent changes when we have complete git copy.

heaven commented on 2012-08-08 06:50

@endre
If you'll use tool like yaourt it will download the entire repository only once and all next builds will pull updates only.

Also this cause troubles with "git clone" because git can't fetch or clone from a shallow repository (there is workarounds but they looks more line hacks).

In case we will remove cached git copy before each build and do clone with --depth=1 it will be much worse because it requires to load about 15Mb instead of the few kilobytes of recent changes when we have complete git copy.

endre commented on 2012-08-06 20:29

Consider git cloning with '--depth=1' option. Thus it will clone only the last revision, not the entrie repository that is 200+ MB.

heaven commented on 2012-03-26 17:43

Merged with PKGBUILD from extra, also added --enable-sftp.
Some dependencies have been removed, so plese notify me if I have removed something useful.

Anonymous comment on 2012-03-23 12:52

Could you add --enable-sftp to the configure options (depends on libssh2)? I find that option really useful (e.g. for playing stuff on a laptop from another PC)!

heaven commented on 2012-03-13 14:36

@Det ok, I will update these things, thank you

Det commented on 2012-03-13 13:46

I mean the dependency/option stuff. It's pretty out of sync when compared to [extra]'s VLC.

heaven commented on 2012-03-11 07:58

@Det
Sorry, I am not understand what you mean by this. Just tried to re-build the package and it was successful.

Det commented on 2012-03-10 21:15

The PKGBUILD is so out-of-date.

Phlogiston commented on 2011-12-25 23:55

configure: WARNING: unrecognized options: --enable-v4l, --enable-snapshot, --with-live555-tree

Maybe these should be removed.

Do you guys get opengl support as video output module? Is that possible?

xyproto commented on 2011-12-18 12:46

ridikulus_rat, if this is an issue with the regular "vlc" package as well, please report a bug at https://bugs.archlinux.org/newtask?project=1&product_category=2&item_summary=[vlc].
If not, perhaps moving ~/.vlc to ~/.vlc.backup temporarily may resolve the issue. If not, you could try a different video driver.

ridikulusrat commented on 2011-12-18 10:02

Anyone experiencing weird video positioning issues in full-screen. My videos are either moved up or left, but not centered (and part of it is cropped). Any idea? This is in x86_64 with gcc-multilib.

RazrFalcon commented on 2011-11-15 22:23

Why it didn't play 10bit video. It must: http://forum.videolan.org/viewtopic.php?f=7&t=93542
Thanks.

heaven commented on 2011-10-17 17:43

VLC is one of my favorite players :)

FredBezies commented on 2011-10-17 17:22

@heaven: you're welcome. vlc-git is one of my favourite aur package ;)

heaven commented on 2011-10-17 09:59

Fixed, thanks.

FredBezies commented on 2011-10-17 06:20

Bug fixing with pacman 4.0 : replacing install=('vlc-git.install') by install='vlc-git.install'

FredBezies commented on 2011-10-14 04:51

Using pacman 4.0 from testing, I get this error after typing makepkg

[fred@fredo-arch vlc-git]$ makepkg
==> ERROR : install file (('vlc-git.install')) doesn't exist

But a little ls tells me :

[fred@fredo-arch vlc-git]$ ls
PKGBUILD vlc-git.install

heaven commented on 2011-05-28 14:56

To gun26
Thx, done.

gun26 commented on 2011-05-27 16:35

libegl now appears to be at least a makedepend - building vlc-git today the compile failed when it couldn't find khrplatform.h. Installing libegl fixed it.

xyproto commented on 2011-04-13 08:55

colbert, that's part of life, working with code that comes freshly cooked, straight from the developers' stove

colbert commented on 2011-04-13 04:18

Just tried to build, failed with following:

x264.c: In function âvlc_entry__1_2_0gâ:
x264.c:431:9: error: âx264_open_gop_namesâ undeclared (first use in this function)
x264.c:431:9: note: each undeclared identifier is reported only once for each function it appears in
x264.c: In function âOpenâ:
x264.c:922:21: error: âx264_param_tâ has no member named âi_open_gopâ
x264.c:922:35: error: âX264_OPEN_GOP_NONEâ undeclared (first use in this function)
x264.c:924:21: error: âx264_param_tâ has no member named âi_open_gopâ
x264.c:924:35: error: âX264_OPEN_GOP_NORMALâ undeclared (first use in this function)
x264.c:926:21: error: âx264_param_tâ has no member named âi_open_gopâ
x264.c:926:35: error: âX264_OPEN_GOP_BLURAYâ undeclared (first use in this function)
make[5]: *** [libx264_plugin_la-x264.lo] Error 1
make[5]: Leaving directory `/tmp/yaourt-tmp-bobby/aur-vlc-git/src/vlc-build/modules/codec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/yaourt-tmp-bobby/aur-vlc-git/src/vlc-build/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-bobby/aur-vlc-git/src/vlc-build/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-bobby/aur-vlc-git/src/vlc-build/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-bobby/aur-vlc-git/src/vlc-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build vlc-git.
==> Restart building vlc-git ? [y/N]
==> --------------------------------
==>

misc commented on 2011-03-28 12:50

PKGBUILD is faulty. makepkg immediately aborts with:

./tmp.YMKTPxgzGs contains CRLF characters and cannot be sourced.
Unable to read PKGBUILD

FredBezies commented on 2011-03-27 06:39

Have to comment

sed -i -e 's:truetype/freefont:TTF:g' modules/misc/freetype.c

to get makepkg build vlc.

rafmav commented on 2011-03-16 13:59

did vlc-git-20110316-1-x86_64.pkg.tar.xz with yaourt:

this is the namcap answer:
vlc-git E: Dependency detected and not included ('hicolor-icon-theme')
vlc-git E: Dependency detected and not included (libavc1394) from files ['usr/lib/vlc/plugins/access/libaccess_dv_plugin.so']
vlc-git E: Dependency detected and not included (ffmpeg-svn) from files ['usr/lib/vlc/plugins/codec/libavcodec_plugin.so', 'usr/lib/vlc/plugins/video_filter/libpostproc_plugin.so', 'usr/lib/vlc/plugins/video_filter/libswscale_plugin.so']
vlc-git E: Dependency detected and not included (vlc) from files ['usr/bin/vlc', 'usr/lib/vlc/vlc-cache-gen']
vlc-git E: Dependency detected and not included (libdc1394) from files ['usr/lib/vlc/plugins/access/libdc1394_plugin.so']
vlc-git E: Dependency detected and not included (libcaca) from files ['usr/lib/vlc/plugins/video_output/libcaca_plugin.so']
vlc-git E: Dependency detected and not included (librsvg) from files ['usr/lib/vlc/plugins/misc/libsvg_plugin.so']
vlc-git E: Dependency detected and not included (libxpm) from files ['usr/lib/vlc/plugins/gui/libskins2_plugin.so']
vlc-git E: Dependency detected and not included (lirc-utils) from files ['usr/lib/vlc/plugins/control/liblirc_plugin.so']
vlc-git E: Dependency detected and not included (libnotify) from files ['usr/lib/vlc/plugins/misc/libnotify_plugin.so']
vlc-git E: Dependency detected and not included (portaudio) from files ['usr/lib/vlc/plugins/audio_output/libportaudio_plugin.so']
vlc-git E: Dependency detected and not included (libgme) from files ['usr/lib/vlc/plugins/demux/libgme_plugin.so']
vlc-git E: Dependency detected and not included (schroedinger) from files ['usr/lib/vlc/plugins/codec/libschroedinger_plugin.so']
vlc-git E: Dependency detected and not included (gnome-vfs) from files ['usr/lib/vlc/plugins/access/libaccess_gnomevfs_plugin.so']
vlc-git W: Referenced library 'libvlccore.so.5' is an uninstalled dependency
vlc-git W: Dependency included but already satisfied ('a52dec')
vlc-git W: Dependency included but already satisfied ('faad2')
vlc-git W: Dependency included but already satisfied ('fluidsynth')
vlc-git W: Dependency included but already satisfied ('fribidi')
vlc-git W: Dependency included and not needed ('live-media')
vlc-git W: Dependency included but already satisfied ('lua')
vlc-git W: Dependency included but already satisfied ('ncurses')
vlc-git W: Dependency included but already satisfied ('qt')
vlc-git W: Dependency included but already satisfied ('sdl_image')
vlc-git W: Dependency included but already satisfied ('smbclient')
vlc-git W: Dependency included and not needed ('sysfsutils')
vlc-git W: Dependency included but already satisfied ('taglib')
vlc-git W: Dependency included and not needed ('ttf-freefont')
vlc-git W: Dependency included and not needed ('xdg-utils')
vlc-git W: Dependency included but already satisfied ('zvbi')
vlc-git W: Dependency included but already satisfied ('libdvbpsi')
vlc-git W: Dependency included but already satisfied ('libdca')
vlc-git W: Dependency included but already satisfied ('libproxy')
vlc-git W: Dependency included but already satisfied ('libdvdnav')
vlc-git W: Dependency included but already satisfied ('libmtp')
vlc-git W: Dependency included but already satisfied ('libcddb')
vlc-git W: Dependency included but already satisfied ('libmatroska')
vlc-git W: Dependency included but already satisfied ('libmpcdec')
vlc-git W: Dependency included but already satisfied ('libshout')
vlc-git W: Dependency included but already satisfied ('libmad')
vlc-git W: Dependency included but already satisfied ('libmpeg2')
vlc-git W: Dependency included but already satisfied ('libmodplug')
vlc-git W: Dependency included and not needed ('libxv')
vlc-git W: Dependency included but already satisfied ('libass')
vlc-git W: Dependency included and not needed ('libcdio')
vlc-git W: Directory (usr/lib/vlc/plugins/media_library) is empty

vlc-git et vlc sont en conflit. Supprimer vlc ? [o/N] o
Erreur: la préparation de la transaction a échoué (la satisfaction des dépendances a échoué)
:: vlc-plugin: requiert vlc=1.1.7

Anonymous comment on 2011-02-22 23:48

I have x86_64 and I get this error: http://aur.pastebin.com/746azinr

I also have libGL.so in /usr/lib64, don't know if that matters.

xyproto commented on 2011-01-30 17:23

Please makedepend on libtar-shared for x86_64, it does not compile with libtar from community.

Det commented on 2011-01-13 05:11

About the configure section: http://aur.pastebin.com/Caq4cAGK

Anonymous comment on 2010-12-18 15:13

@FredBezies: libusb-compat was missing a lot of files when I looked at the results of "pacman -Qk", one of which was usb.h. Reinstalling it fixed it and this package builds now... Odd...

FredBezies commented on 2010-12-15 07:16

@Skyalmian :

yaourt / sudo pacman -S libmtp will help a little ;)

Anonymous comment on 2010-12-13 02:10

Bah. It used to work...

[]
jack.c:463:2: warning: #warning Hmm.... looks wrong
CCLD libaccess_jack_plugin.la
CC libaccess_mtp_plugin_la-mtp.lo
In file included from mtp.c:54:0:
/usr/include/libmtp.h:56:17: fatal error: usb.h: No such file or directory
compilation terminated.
make[5]: *** [libaccess_mtp_plugin_la-mtp.lo] Error 1
Aborting...
==> ERROR: Makepkg was unable to build vlc-git.
[/]

Det commented on 2010-11-19 11:02

@surfed, thanks for notifying others that way but in future you should use pastebin with such long posts.

@heaven, the install line should be a string, not an array (the brackets are redundant).

FredBezies commented on 2010-11-10 18:49

surfed : no need to use it... It works flawlessly.

Anonymous comment on 2010-10-28 18:24

Due to a fault in projectm vlc-git will not build. Either disable with --disable-projectm in PKGBUILD

or


changing /usr/lib/pkgconfig/libprojectM.pc

CODE: SELECT ALL
prefix=/usr
exec_prefix=/usr
libdir=
includedir=/usr/include
pkgdatadir=/usr/share/projectM
sysconfdir=/usr/share/projectM

Name: libprojectM
Version: 2.0.0
Description: projectM - OpenGL Milkdrop
Requires:
Libs: -L${libdir} -lprojectM
Cflags: -I${includedir}


to this will solve this issue and vlc will build again

CODE: SELECT ALL
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=/usr/include
pkgdatadir=/usr/share/projectM
sysconfdir=/usr/share/projectM

Name: libprojectM
Version: 2.0.0
Description: projectM - OpenGL Milkdrop
Requires:
Libs: -L${libdir} -lprojectM
Cflags: -I${includedir}

heaven commented on 2010-08-04 06:37

Done :)

flamelab commented on 2010-08-04 06:25

automake, pkg-config and udev must not be included in the pkgbuild deps/makedeps, since they are included in the base and base-devel groups, according to the aur guidelines.

tzok commented on 2010-08-02 13:38

'automake' make dependency is missing

heaven commented on 2010-06-29 12:08

Currently I have an another weird issue with this git build. It can't open a file, when path contains the Cyrillic symbols. That is it can, but only the first file (while VLC isn't running yet), and when I do the second click on a next file, that I want to watch, VLC shows me an error message. I already described it here — http://forum.videolan.org/viewtopic.php?f=34&t=76148 but this forum is currently locked.

At the same time, I did not have this problem, when I rebuilt VLC from the extra repository (through ABS). But there is only one difference that I can see — the source code, that is loaded when I build VLC through ABS, is already bootstrapped.

wonder commented on 2010-06-29 10:41

webm doesn't work because in ffmpeg there are two vp8 decoders.

http://trac.videolan.org/vlc/ticket/3820

heaven commented on 2010-06-29 09:19

I could but x264 and libvpx are already included into ffmpeg dependencies list. And seem that webm doesn't work at this point. At least, it doesn't work for me, but libvpx-git and ffmpeg-svn are installed.

julroy67 commented on 2010-06-28 20:39

Could you add a libvpx (or eventually libvpx-git) to force VP8/WebM support, I think it will be as important as x264 in the near future.

heaven commented on 2010-06-26 14:04

> Allright, sounds like somebody knows what he's doing.
Simply at first, when I adopted this package, I did everything like you described below :)

> The Configure wiki page seems to be just wonderful.
Yep, it helped to me.

Det commented on 2010-06-26 13:47

Allright, sounds like somebody knows what he's doing. The Configure wiki page seems to be just wonderful.

Det commented on 2010-06-26 13:46

Allright, sounds like somebody knows what he's doing. The Configure help wiki page seems to be just wonderful.

Det commented on 2010-06-26 13:46

Allright, sounds like somebody knows what he's doing. The configuration site seems to be just wonderful.

Det commented on 2010-06-26 13:41

Allright, sounds like somebody knows what he's doing.

heaven commented on 2010-06-26 12:13

Vdpau-video and libva-sds isn't a required, since vlc could detect and using it automatically while configuring, and because some people use ati/amd or intel cards and I don't know how it will be work there. So, I can add them into the optdepends list, but again, these packages must be installed before vlc, so that it was able to use them.

About ffmpeg-svn and x264-git — vlc compiles fine and with versions from the official repos, that gives a choice to users to select what they need. If you need GPU acceleration, you could just recompile ffmpeg trough ABS (without any additional flags), or install ffmpeg-svn(as I did). Ofcourse previously ypu should install libva and vdpau-video.

>'mesa' and 'avahi' are missing from dependencies
I could not find anything about these dependencies on the configuring help page.

> This stuff is easy to check from the official vlc package in [extra].
You are wrong. Maintainer from extra can install all-all possible packages, build VLC and then add some of them to the optdepends list. Then you are downloading binaries, but we have source code here and if ncurses or lirc-utils will be missed — you are get an configuring error, because PKGBUILD contains the "--enable-ncurses" and "--enable-lirc" options respectively. That is why I can't do the same here.

By the way, these options isn't required. I've reread the configuring help page and learned that all it can be enabled automatically. I left them just for clarity.
--enable-nls \
--enable-qt4 \
--enable-skins2 \
--enable-dbus \
--enable-dbus-control \
--enable-dvb \
--enable-dvdread \
--enable-dvdnav \
--enable-libass \
--enable-x264 \
--enable-zvbi \
--enable-shared \
--enable-live555 \

Det commented on 2010-06-26 11:46

Yeah, but I mean the VAAPI support. Did you read my comment on the vlc-dev's comment section?

Det commented on 2010-06-26 11:44

Yeah, but I mean the VAAPI support. Did you read my comment on the 'vlc-dev' package section?

uwinkelvos commented on 2010-06-26 11:41

it does. i just tried. so i guess vlc-git-va has done its duty :)

Det commented on 2010-06-26 11:33

Does it? You are absolutely sure?

uwinkelvos commented on 2010-06-26 11:23

it should work with stock ffmpeg recompiled, as libva-sds support will be autodetected. at least it does work this way for vlc-dev.

Det commented on 2010-06-26 11:19

Hmm, it's up to you whether the vlc-git-va package will continue its existance. If you decide that this package is enough in itself, you can add (under an option or not) the required dependenices. These are ffmpeg-svn, x264-git (a depedency of ffmpeg-svn), vdpau-video and libva-sds (dependency of vdpau-video) and tell to people tick the "Use GPU Acceleration (experimental)" box in "Input & Codecs". You can also use my 'vlc-dev' package (the PKGBUILD) to make your life easier if you decide to do so.

E: Also it'd look like there's still some tweaking with this package's dependencies (and build options?). Such as: 'mesa' and 'avahi' are missing from dependencies, while 'libnotify' and 'lirc-utils' should be changed and 'ncurses' 'libdvdcss' added as _optional_ dependencies. This stuff is easy to check from the official vlc package in [extra].

Det commented on 2010-06-26 11:16

Hmm, it's up to you whether the vlc-git-va package will continue its existance. If you decide that this package is enough in itself, you can add (under an option or not) the required dependenices. These are ffmpeg-svn, x264-git (a depedency of ffmpeg-svn), vdpau-video and libva-sds (dependency of vdpau-video) and tell to people tick the "Use GPU Acceleration (experimental)" box in "Input & Codecs".

E: Also it'd look like there's still some tweaking with this package's dependencies (and build options?). Such as: 'mesa' and 'avahi' are missing from dependencies, while 'libnotify' and 'lirc-utils' should be changed and 'ncurses' 'libdvdcss' added as _optional_ dependencies. This stuff is easy to check from the official vlc package in [extra].

Det commented on 2010-06-26 10:57

Hmm, it's up to you whether the vlc-git-va package will continue its existance. If you decide that this package is enough in itself, you can add (under an option or not) the required dependenices. These are ffmpeg-svn, x264-git (a depedency of ffmpeg-svn), vdpau-video and libva-sds (dependency of vdpau-video) and tell to people tick the "Use GPU Acceleration (experimental)" box in "Input & Codecs".

Det commented on 2010-06-26 10:56

Hmm, it's up to you whether the vlc-git-va package will continue its existance. If you decide that this package is enough in itself, you can add (under an option or not) the required dependenices. These are ffmpeg-svn, x264-git (a depedency of ffmpeg-svn), vdpau-video and libva-sds (dependency of vdpau-video) and tell to people to tick the "Use GPU Acceleration (experimental)" box in "Input & Codecs".

heaven commented on 2010-06-15 15:00

Done.
P.S. This construction is no needed anymore.

heaven commented on 2010-06-15 14:55

Done.
P.S. This construction is no needed anymore.

amirs commented on 2010-06-15 05:32

icons changed place, please update the PKGBUILD:

install -D -m644 ${srcdir}/${_buildname}/share/icons/${res}x${res}/vlc.png \
${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/vlc.png || return 1

evr commented on 2010-06-06 17:07

To all, sorry I haven't had the time to update this package recently. I am no longer using vlc, so I am going to orphan this package and let someone else maintain it. Regards.

heaven commented on 2010-06-06 10:42

Ah, now I've got it and agrees that PKGBUILD is a little outdated.

heaven commented on 2010-06-06 10:41

Ah, now I've got it, and agrees that PKGBUILD is a little outdated.

Det commented on 2010-06-05 06:57

No, I wasn't talking about vaapi but the build options and the dependencies.

Det commented on 2010-06-05 06:57

No, I wasn't talking about vaapi but about the build options and the dependencies.

heaven commented on 2010-06-01 12:50

heaven commented on 2010-06-01 12:48

2 Det
This build works with vaapi too, without any changes in PKGBUILD.

Det commented on 2010-05-29 17:32

You should probably do a diff with the 'vlc-dev-va' package, which I just adopted and modified a bit.

Det commented on 2010-05-29 17:31

You should probably do a diff with the 'vlc-dev-va', which I just adopted and modified a bit.

heaven commented on 2010-05-26 09:01

configure: WARNING: unrecognized options: --enable-hal, --enable-release
VLC builds fine without HAL, so I think you could remove it from the dependencies list, or move it into the optdepends list.
Regards.

heaven commented on 2010-05-05 16:16

Please, add --enable-libva to the options list.

amirs commented on 2010-04-11 04:14

vlc-git/PKGBUILD: line 19: syntax error near unexpected token `'git''
you forgot the "="

goetzc commented on 2010-04-08 04:37

Please, add: makedepends=('git')