1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

948 Commits

Author SHA1 Message Date
Steve Lhomme
3342f3d567 makefile: remove unknown disable-mkv option from distcheck
It generates a warning
configure: WARNING: unrecognized options: --disable-mkv
2022-02-26 15:42:17 +00:00
Thomas Guillem
abbe7f3b8b build: use DYLD_LIBRARY_PATH on macOS
cf. https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryUsageGuidelines.html#//apple_ref/doc/uid/TP40001928-SW12

"""
When the library name is a filename (that is, when it doesn’t include
directory names), the dynamic loader searches for the library in several
locations until it finds it, in the following order:

 - $LD_LIBRARY_PATH
 - $DYLD_LIBRARY_PATH
 - The process’s working directory
 - $DYLD_FALLBACK_LIBRARY_PATH

When the library name contains at least one directory name, that is,
when the name is a pathname (relative or fully qualified), the dynamic
loader searches for the library in the following order:

 - $DYLD_LIBRARY_PATH using the filename
 - The given pathname
 - $DYLD_FALLBACK_LIBRARY_PATH using the filename
 """

Conclusion: DYLD_LIBRARY_PATH on macOS behave like LD_LIBRARY_PATH on
Linux but LD_LIBRARY_PATH on macOS has a different behavior than
LD_LIBRARY_PATH on Linux, so DYLD_LIBRARY_PATH should be used on macOS.
Specially since we can't really control if the library name will include
a path or not (relative or absolute).
2021-11-03 07:38:52 +00:00
Jean-Baptiste Kempf
5f990b0cd3 Update Changelogs
Close #21463
2021-04-05 12:24:52 +02:00
Steve Lhomme
77e92517b8 bin: don't install aliases if the vlc executable is not built 2020-06-26 11:41:13 +02:00
Steve Lhomme
ab126f80d3 tools: patch cmake 3.17 so it builds with a macOS 10.13 SDK
Avoid this link error:
[ 44%] Linking C executable curltest
Undefined symbols for architecture x86_64:
  "_SSLCopyALPNProtocols", referenced from:
      _sectransp_connect_step2 in libcmcurl.a(sectransp.c.o)
  "_SSLSetALPNProtocols", referenced from:
      _sectransp_connect_common in libcmcurl.a(sectransp.c.o)
ld: symbol(s) not found for architecture x86_64

This only happens in the 3.0 macOS CI.
2020-06-18 07:30:14 +02:00
Steve Lhomme
9694912be0 don't package removed tools patch 2020-06-03 12:56:06 +02:00
Konstantin Pavlov
eb2ef5d781 Fixed make distcheck 2019-05-21 14:12:32 +02:00
Janne Grunau
d306cad028 build: x86: add build support for nasm via x86inc.asm/x86util.asm
x86inc.asm copied from dav1d (8c5d34c85613) and x86util.asm from libav
(994c4bc10751). Libav's LGPL licensed x86util.asm is required for yadif.

This reverts "Remove unused support for .asm files"
commit 6c0f63cd68.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2019-02-05 10:12:06 +01:00
Thomas Guillem
b8a070837a demux: add mock module
Changes:
 - Use var_LocationParse, with some X-Macros
 - Use check_LTLIBRARIES
 - Remove from coverage stats
 - Add more params (size, rate, channels, chroma, format...)

--

This new demuxer will be used for various VLC tests. It will be built for tests
(check_LTLIBRARIES). It will be mainly used to test the new vlc_player API.

Usage: ./vlc mock://length=10000000;audio_track_count=7

Why putting the parameters inside the URL ? In order to test input slaves for
example:

./vlc mock://length=10000000;video_track_count=1 \
    --input-slave mock://length=10000000;audio_track_count=1
2018-10-18 13:12:22 +02:00
Rémi Denis-Courmont
9ce86be4e8 Makefile: use pkglibdir for libraries
(see previous commit for rationale)
2018-03-06 20:55:50 +02:00
Rémi Denis-Courmont
ba05ad6164 vlc-cache-gen: use correct install directory
pkglibexecdir is the pseudo-directory for internal executables.
vlc-qt-check already uses that. Indeed, PROGRAMS and SCRIPTS targets
are not allowed by automake in pkglibdir.

(libexecdir can be set to '${libdir}' in configure if/when the
distinction is unwanted.)
2018-03-06 20:55:50 +02:00
Jean-Baptiste Kempf
19fce3b274 extras/tools: add all files in the dist package 2017-12-21 10:05:37 +01:00
Rémi Denis-Courmont
77a7a060b5 bin: build vlc-cache-gen even w/ --disable-vlc
This is required if plugins are supported, regardless of whether the
VLC executable is built.
2017-09-20 21:08:08 +03:00
Jean-Baptiste Kempf
5f2aa10e68 build: remove reference to ios build.sh 2016-12-04 11:37:18 +01:00
Jean-Baptiste Kempf
6f5d821574 Makefile: Move win32 and MacOS specific files in their folder 2016-11-19 23:51:51 +01:00
Marvin Scholz
6a5ae97de6 macosx: Remove fscontroller assets
Remove the old fullscreen controller assets and
their references from the Makefile and Xcode
project.
2016-10-30 22:45:13 +01:00
Marvin Scholz
43b089ca74 macosx: Add a new fullscreen controller
This introduces a new fullscreen controller
which uses NSVisualEffectView for it's background
and the icons that are used throughout the rest of
the macOS user interface, hence making it more
consistent with the overall look of VLC.

Additionally the new fullscreen controller is
resizable and, as it already used to be, can be
move around on the screen.

The user interface is now described in a interface
builder file (xib) instead of doing everything in
code. This allows easy usage of autolayout, which
is heavily used to allow adaption of the
buttons/sliders depending on the panel width and
height.
2016-10-30 22:44:29 +01:00
Marvin Scholz
03975b3009 macosx: Replace old Christmas Cone with new one
This replaces the old christmas cone, that will be
used after the 354 day of the year with a more
recent one.
2016-09-09 19:35:42 +02:00
Hugo Beauzée-Luyssen
27bcdc69fe Fix make install when configured with --disable-vlc
vlc-cache-gen isn't build, so it fails to execute, making the install
rule fail.
2016-07-26 17:43:22 +02:00
Marvin Scholz
fa8ca3d483 macosx: Add Renderer Dialog xib
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2016-06-17 17:10:50 +02:00
Rafaël Carré
5611142f4b distcheck: remove obsolete option 2016-06-14 20:31:20 +02:00
Hugo Beauzée-Luyssen
d070ceae65 Fix distcheck 2016-05-19 10:35:57 +02:00
Rémi Denis-Courmont
f4e4f23b95 Makefile: syntax error 2016-04-26 00:50:36 +03:00
Jean-Baptiste Kempf
652f5bde6d MacOS X: fix distcheck 2016-04-25 10:38:32 +02:00
Marvin Scholz
cdffc0fe78 macosx: Update VLCStatusBarIcon icon to a resolution-independent PDF 2016-04-18 16:20:20 +02:00
Jean-Baptiste Kempf
fd3b1b6cca Rename qt4 plugin to qt 2016-02-27 17:25:45 +01:00
Felix Paul Kühne
e3f2ec3e00 macosx/coredialogs: fix compilation by removing virtually all the legacy code 2016-02-04 18:43:47 +01:00
Goran Dokic
d276418d0d macosx: add status bar menu
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
2016-02-02 11:37:40 +01:00
Rémi Denis-Courmont
6297968fe7 lcov: force correct directory prefix 2016-01-07 23:22:41 +02:00
Rémi Denis-Courmont
0cb9ddcdc5 Makefile: restore lcov helper rules
Run 'make lcov' to produce the coverage report in the lcov/.
This requires lcov installed and the --enable-coverage configure flag.
2015-12-08 18:57:06 +02:00
David Fuhrmann
ffe31745fc macosx: Split GoToTime panel into separate xib and window controller
This improves separation between main menu and the unrelated goto
time window.

Besides that, note that each time bindings are used with the file
owner, this owner needs to be an NSWindowController class. Only in
this case retain cycles are avoided (bindings have a strong
reference to the object used).

Thus, this commit helps to properly deinitialize the VLCMain object.
2015-08-11 20:17:56 +02:00
David Fuhrmann
4da13fbc66 macosx: Modernize and fix shared dialog panels
Splits PopupPanel and TextfieldPanel into two xib files and
creates NSWindowController subclasses for each panel.

Each user of the panel gets its own window controller instance.
This is needed as the same kind of window can be shown multiple
times simultaneously (e.g. both in video and audio effects).

This also did not work with the previous implementation of the
2.2 branch and fixes broken behaviour.
2015-08-09 20:00:11 +02:00
Felix Paul Kühne
9e783b7164 macosx: split output from open panel 2015-07-20 14:25:46 +02:00
Felix Paul Kühne
19e793f983 macosx/prefs: split complete from simple prefs, fix class API and remove object instances from xib 2015-07-16 18:37:34 +02:00
Felix Paul Kühne
d21e2440ea macosx: remove support for OS X 10.6 Snow Leopard 2015-07-15 20:27:15 +02:00
David Fuhrmann
39cafcda8b Fix make dist and POTFILES.in 2015-07-11 15:00:24 +02:00
Rémi Denis-Courmont
3d934764fa Remove unfinished dead Symbian port
The port has never worked and has not been improved for over 4 years.
The platform itself has been totally discontinued for 18 months.
2015-07-06 18:46:26 +03:00
David Fuhrmann
383a20900c bin: build a vlc-osx-static similar to vlc-static, to fix tests 2015-06-21 17:20:35 +02:00
David Fuhrmann
491bef0b30 macosx: Remove sharedInstance from About window and rework
Removes sharedInstance from About window controller, and rework
as a NSWindowController subclass. This is the new owner of the xib
and thus instantiated outside the nib bundle.

Splits Help window in own xib and add own NSWindowController as
well.

refs #5556
2015-05-16 13:06:07 +02:00
Jean-Baptiste Kempf
d8976582c4 2015
Still alive!
2015-01-24 09:54:43 +01:00
David Fuhrmann
5cb2c76435 Makefile.am: Add new macosx ressources 2014-10-02 14:04:22 +02:00
Konstantin Pavlov
e23945f09a Extras/tools: ship ragel-6.8-javacodegen.patch in the tarball. 2014-09-21 20:38:17 +04:00
Felix Paul Kühne
d3b37a8247 macosx: add basic addon manager
no fancy UI, but it works

Needs further UX improvements
2014-02-12 20:18:14 +01:00
Rafaël Carré
0e630d124b Remove reference to deleted file 2014-01-13 08:39:47 +01:00
Jean-Baptiste Kempf
33d54e40eb Happy New Year 2014! 2014-01-01 11:31:17 +01:00
Jean-Baptiste Kempf
27de05c91f Fix make dist 2013-12-05 19:04:25 +01:00
Felix Paul Kühne
a19d8403aa fix make dist 2013-11-11 17:19:09 +01:00
Rémi Denis-Courmont
6e92a6302c Exclude ALSA from test builds
libasound2 seem to cause spurious test suite failures.
2013-09-16 18:54:30 +03:00
Rémi Denis-Courmont
3ed51c5e32 Remove old unused recursive variables - make automake happy 2013-06-04 20:55:04 +03:00
Rafaël Carré
a42bb44165 Win32: use ld options rather than a perl script to set PE flags 2013-05-18 13:08:29 +02:00