Commit Graph

944 Commits

Author SHA1 Message Date
Thomas Guillem db55aaa090 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).

(cherry picked from commit abbe7f3b8b)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2021-12-02 08:46:16 +00:00
Jean-Baptiste Kempf 5d1fc09458 Update Changelogs
Close #21463

(cherry picked from commit 5f990b0cd3)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2021-04-05 12:27:20 +02:00
Steve Lhomme f19ae10d7c bin: don't install aliases if the vlc executable is not built
(cherry picked from commit 77e92517b8)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-08-27 09:36:58 +02:00
Steve Lhomme 3572bd9877 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.

(cherry picked from commit ab126f80d3)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-18 12:58:46 +02:00
Steve Lhomme 4d6f1f130e don't package removed tools patch
(cherry picked from commit 9694912be0)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-18 12:58:46 +02:00
Konstantin Pavlov 1800a5d567 Fixed make distcheck
(cherry picked from commit eb2ef5d781) (edited)

edited:
- libtool-2.4.6-clang-libs.patch was already merged in this branch

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2020-06-18 12:58:41 +02:00
David Fuhrmann 4b868c8d61 make dist: Include libtool-2.4.6-clang-libs.patch
Fixes building from source tarball which was missing this file.
2020-06-17 19:10:16 +02:00
Jean-Baptiste Kempf a9bb2dae6e extras/tools: add all files in the dist package
(cherry picked from commit 19fce3b274)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2017-12-21 10:52:52 +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
Ludovic Fauvet 3fde8c359d Win32: MSI package
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
2013-02-12 17:08:04 +01:00
Rémi Denis-Courmont ff385d0374 lua: fix distcheck without LUA 2013-01-02 18:18:46 +02:00
Rafaël Carré fccc6ab913 Happy new year 2013 2013-01-01 20:18:09 +01:00
Rafaël Carré ed810a5693 UAC: distribute source code (and doc+examples) 2012-12-15 12:07:39 +01:00